LifeV
MeshVolumeSubdivision< MeshType > Class Template Reference

MeshVolumeSubdivision. More...

#include <MeshVolumeSubdivision.hpp>

+ Collaboration diagram for MeshVolumeSubdivision< MeshType >:

Public Types

typedef MeshType mesh_Type
 
typedef std::shared_ptr< MeshTypemeshPtr_Type
 
bool M_verbose
 
std::shared_ptr< Epetra_Comm > M_comm
 
UInt M_numSubregions
 
UInt ** M_elements
 
Epetra_IntSerialDenseVector M_regionFlags
 
Epetra_IntSerialDenseVector M_numElementPerFlag
 
meshPtr_Type M_mesh
 
bool M_readRegionFlags
 
 MeshVolumeSubdivision ()
 
 MeshVolumeSubdivision (std::shared_ptr< Epetra_Comm > _comm)
 
 MeshVolumeSubdivision (std::shared_ptr< Epetra_Comm > _comm, bool _verbose=false)
 
 MeshVolumeSubdivision (std::shared_ptr< Epetra_Comm > _comm, UInt _numSubregions=1, bool _verbose=false)
 
 MeshVolumeSubdivision (std::shared_ptr< Epetra_Comm > _comm, meshPtr_Type _mesh, UInt _numSubregions=1, bool _verbose=false)
 
 MeshVolumeSubdivision (std::shared_ptr< Epetra_Comm > _comm, meshPtr_Type _mesh, Epetra_IntSerialDenseVector _regionFlags, UInt _numSubregions=1, bool _verbose=false)
 
 ~MeshVolumeSubdivision ()
 
void printFlags ()
 
void printNumElementPerFlag ()
 
void printElementPerFlag ()
 
UInt makeSubDivision ()
 
const UInt getNumElements (UInt flag) const
 
const UIntgetSubmesh (UInt flag) const
 
const UInt getFlag (UInt flag) const
 
UInt countElementPerFlag ()
 
UInt assignRegionFlags (Epetra_IntSerialDenseVector _regionFlags)
 
UInt allocatePerElements ()
 
UInt fillElementPerFlag ()
 

Detailed Description

template<typename MeshType>
class LifeV::MeshVolumeSubdivision< MeshType >

MeshVolumeSubdivision.

Author
Constructs local arrays containing the volumes ID corresponding to the Physical Entities specified by different regionflags

Definition at line 21 of file MeshVolumeSubdivision.hpp.

Member Typedef Documentation

◆ mesh_Type

Definition at line 26 of file MeshVolumeSubdivision.hpp.

◆ meshPtr_Type

typedef std::shared_ptr<MeshType> meshPtr_Type

Definition at line 27 of file MeshVolumeSubdivision.hpp.

Constructor & Destructor Documentation

◆ MeshVolumeSubdivision() [1/6]

◆ MeshVolumeSubdivision() [2/6]

MeshVolumeSubdivision ( std::shared_ptr< Epetra_Comm >  _comm)

Definition at line 74 of file MeshVolumeSubdivision.hpp.

+ Here is the caller graph for this function:

◆ MeshVolumeSubdivision() [3/6]

MeshVolumeSubdivision ( std::shared_ptr< Epetra_Comm >  _comm,
bool  _verbose = false 
)

Definition at line 81 of file MeshVolumeSubdivision.hpp.

+ Here is the caller graph for this function:

◆ MeshVolumeSubdivision() [4/6]

MeshVolumeSubdivision ( std::shared_ptr< Epetra_Comm >  _comm,
UInt  _numSubregions = 1,
bool  _verbose = false 
)

Definition at line 89 of file MeshVolumeSubdivision.hpp.

+ Here is the caller graph for this function:

◆ MeshVolumeSubdivision() [5/6]

MeshVolumeSubdivision ( std::shared_ptr< Epetra_Comm >  _comm,
meshPtr_Type  _mesh,
UInt  _numSubregions = 1,
bool  _verbose = false 
)

Definition at line 107 of file MeshVolumeSubdivision.hpp.

+ Here is the caller graph for this function:

◆ MeshVolumeSubdivision() [6/6]

MeshVolumeSubdivision ( std::shared_ptr< Epetra_Comm >  _comm,
meshPtr_Type  _mesh,
Epetra_IntSerialDenseVector  _regionFlags,
UInt  _numSubregions = 1,
bool  _verbose = false 
)

Definition at line 130 of file MeshVolumeSubdivision.hpp.

+ Here is the caller graph for this function:

◆ ~MeshVolumeSubdivision()

Definition at line 146 of file MeshVolumeSubdivision.hpp.

Member Function Documentation

◆ countElementPerFlag()

UInt countElementPerFlag ( )
private

Definition at line 167 of file MeshVolumeSubdivision.hpp.

+ Here is the caller graph for this function:

◆ assignRegionFlags()

UInt assignRegionFlags ( Epetra_IntSerialDenseVector  _regionFlags)
private

Definition at line 158 of file MeshVolumeSubdivision.hpp.

◆ allocatePerElements()

UInt allocatePerElements ( )
private

Definition at line 303 of file MeshVolumeSubdivision.hpp.

+ Here is the caller graph for this function:

◆ fillElementPerFlag()

UInt fillElementPerFlag ( )
private

Definition at line 223 of file MeshVolumeSubdivision.hpp.

+ Here is the caller graph for this function:

◆ printFlags()

void printFlags ( )

Definition at line 270 of file MeshVolumeSubdivision.hpp.

◆ printNumElementPerFlag()

void printNumElementPerFlag ( )

Definition at line 285 of file MeshVolumeSubdivision.hpp.

+ Here is the caller graph for this function:

◆ printElementPerFlag()

void printElementPerFlag ( )

Definition at line 328 of file MeshVolumeSubdivision.hpp.

◆ makeSubDivision()

UInt makeSubDivision ( )

Definition at line 353 of file MeshVolumeSubdivision.hpp.

◆ getNumElements()

const UInt getNumElements ( UInt  flag) const

Definition at line 364 of file MeshVolumeSubdivision.hpp.

◆ getSubmesh()

const UInt * getSubmesh ( UInt  flag) const

Definition at line 372 of file MeshVolumeSubdivision.hpp.

◆ getFlag()

const UInt getFlag ( UInt  flag) const

Definition at line 380 of file MeshVolumeSubdivision.hpp.

Field Documentation

◆ M_verbose

bool M_verbose
private

Definition at line 59 of file MeshVolumeSubdivision.hpp.

◆ M_comm

std::shared_ptr< Epetra_Comm > M_comm
private

Definition at line 60 of file MeshVolumeSubdivision.hpp.

◆ M_numSubregions

UInt M_numSubregions
private

Definition at line 62 of file MeshVolumeSubdivision.hpp.

◆ M_elements

UInt** M_elements
private

Definition at line 63 of file MeshVolumeSubdivision.hpp.

◆ M_regionFlags

Epetra_IntSerialDenseVector M_regionFlags
private

Definition at line 64 of file MeshVolumeSubdivision.hpp.

◆ M_numElementPerFlag

Epetra_IntSerialDenseVector M_numElementPerFlag
private

Definition at line 65 of file MeshVolumeSubdivision.hpp.

◆ M_mesh

meshPtr_Type M_mesh
private

Definition at line 67 of file MeshVolumeSubdivision.hpp.

◆ M_readRegionFlags

bool M_readRegionFlags
private

Definition at line 68 of file MeshVolumeSubdivision.hpp.


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