rsvs3D  0.0.0
Codes for the c++ implementation of the 3D RSVS
meshdependence Class Reference

Class for connecting meshes. More...

#include <mesh.hpp>

Public Member Functions

int NumberOfParents () const
 
const meshParentPointer (int a) const
 
std::vector< int > ChildIndices (int parent, int parentVoluIndex) const
 
void clear ()
 

Protected Member Functions

int AddParent (mesh *meshin)
 
int AddChild (mesh *meshin)
 
void AddParent (mesh *meshin, std::vector< int > &parentind)
 
void RemoveChild (mesh *meshin)
 
void RemoveParent (mesh *meshin)
 

Protected Attributes

int nParents = 0
 Number of parent meshes.
 
std::vector< int > elemind
 Indices of the active elements of the owning mesh.
 
std::vector< mesh * > parentmesh
 Vector of pointers to the mesh which are coarser (parents).
 
std::vector< mesh * > childmesh
 Vector of pointers to the mesh which are finer (children).
 
std::vector< HashedVectorSafe< int, int > > parentconn
 parent/to self connectivity, 1 vector element per parent. More...
 

Friends

class mesh
 

Detailed Description

Class for connecting meshes.

Stores a vector of mesh references for parent and children. Needs to support partial meshes for constraint handling.

Definition at line 529 of file mesh.hpp.

Member Data Documentation

◆ parentconn

std::vector<HashedVectorSafe<int, int> > meshdependence::parentconn
protected

parent/to self connectivity, 1 vector element per parent.

This is an vector with the index of each parent element stored at the location of each self element.

Definition at line 544 of file mesh.hpp.


The documentation for this class was generated from the following files: