GEOS
|
Multiscale mesh level. More...
#include <MeshLevel.hpp>
Public Member Functions | |
MeshLevel (string const &name) | |
Constructor. More... | |
MeshObjectManager & | cellManager () |
MeshObjectManager const & | cellManager () const |
MeshObjectManager & | nodeManager () |
MeshObjectManager const & | nodeManager () const |
void | buildFineMesh (DomainPartition &domain, Span< geos::DofManager::FieldSupport const > const support) |
Construct the finest level mesh representation at this level. More... | |
void | buildCoarseMesh (multiscale::MeshLevel &fineMesh, LinearSolverParameters::Multiscale::Coarsening const ¶ms, string_array const &boundaryNodeSets) |
Construct a coarse mesh representation at this level. More... | |
void | writeCellData (std::vector< string > const &fieldNames, int depth=0) const |
Push cell data to finer levels. More... | |
void | writeNodeData (std::vector< string > const &fieldNames, int depth=0) const |
Push node data to finer levels. More... | |
string const & | name () const |
DomainPartition * | domain () const |
multiscale::MeshLevel * | fineMesh () const |
Multiscale mesh level.
Mesh representation differs from the main code in several ways:
Definition at line 46 of file MeshLevel.hpp.
|
explicit |
Constructor.
name | the level name |
void geos::multiscale::MeshLevel::buildCoarseMesh | ( | multiscale::MeshLevel & | fineMesh, |
LinearSolverParameters::Multiscale::Coarsening const & | params, | ||
string_array const & | boundaryNodeSets | ||
) |
Construct a coarse mesh representation at this level.
fineMesh | previous (fine) level mesh |
params | coarsening parameters |
boundaryNodeSets | list of global domain boundary node set names |
void geos::multiscale::MeshLevel::buildFineMesh | ( | DomainPartition & | domain, |
Span< geos::DofManager::FieldSupport const > const | support | ||
) |
Construct the finest level mesh representation at this level.
domain | the physical domain |
support | the support domain (list of bodies/regions) for the physical field |
|
inline |
Definition at line 59 of file MeshLevel.hpp.
|
inline |
Definition at line 64 of file MeshLevel.hpp.
|
inline |
Definition at line 116 of file MeshLevel.hpp.
|
inline |
Definition at line 121 of file MeshLevel.hpp.
|
inline |
Definition at line 111 of file MeshLevel.hpp.
|
inline |
Definition at line 69 of file MeshLevel.hpp.
|
inline |
Definition at line 74 of file MeshLevel.hpp.
void geos::multiscale::MeshLevel::writeCellData | ( | std::vector< string > const & | fieldNames, |
int | depth = 0 |
||
) | const |
Push cell data to finer levels.
fieldNames | the list of field names to write |
depth | counter used to track recursion depth (leave default value of 0) |
void geos::multiscale::MeshLevel::writeNodeData | ( | std::vector< string > const & | fieldNames, |
int | depth = 0 |
||
) | const |
Push node data to finer levels.
fieldNames | the list of field names to write |
depth | counter used to track recursion depth (leave default value of 0) |