preCICE v3.1.2
|
Stores a mesh and related objects and data. More...
#include <MeshContext.hpp>
Public Member Functions | |
void | require (mapping::Mapping::MeshRequirement requirement) |
void | clearMappings () |
Public Attributes | |
mesh::PtrMesh | mesh |
Mesh holding the geometry data structure. | |
mapping::Mapping::MeshRequirement | meshRequirement = mapping::Mapping::MeshRequirement::UNDEFINED |
Determines which mesh type has to be provided by the accessor. | |
std::string | receiveMeshFrom |
Name of participant that creates the mesh. | |
double | safetyFactor = -1 |
bounding box to speed up decomposition of received mesh is increased by this safety factor | |
bool | allowDirectAccess = false |
bool | provideMesh = false |
True, if accessor does create the mesh. | |
partition::ReceivedPartition::GeometricFilter | geoFilter = partition::ReceivedPartition::GeometricFilter::UNDEFINED |
type of geometric filter | |
partition::PtrPartition | partition |
Partition creating the parallel decomposition of the mesh. | |
std::vector< MappingContext > | fromMappingContexts |
Mappings used when mapping data from the mesh. Can be empty. | |
std::vector< MappingContext > | toMappingContexts |
Mappings used when mapping data to the mesh. Can be empty. | |
Stores a mesh and related objects and data.
Definition at line 16 of file MeshContext.hpp.
|
inline |
Definition at line 53 of file MeshContext.hpp.
|
inline |
Upgrades the mesh requirement to a more specific level.
[in] | requirement | The requirement to upgrade to. |
Definition at line 64 of file MeshContext.hpp.
bool precice::impl::MeshContext::allowDirectAccess = false |
In case a mapping done by the solver is favored over a preCICE mapping, apply user-defined bounding-boxes.
Definition at line 36 of file MeshContext.hpp.
std::vector<MappingContext> precice::impl::MeshContext::fromMappingContexts |
Mappings used when mapping data from the mesh. Can be empty.
Definition at line 48 of file MeshContext.hpp.
partition::ReceivedPartition::GeometricFilter precice::impl::MeshContext::geoFilter = partition::ReceivedPartition::GeometricFilter::UNDEFINED |
type of geometric filter
Definition at line 42 of file MeshContext.hpp.
mesh::PtrMesh precice::impl::MeshContext::mesh |
Mesh holding the geometry data structure.
Definition at line 23 of file MeshContext.hpp.
mapping::Mapping::MeshRequirement precice::impl::MeshContext::meshRequirement = mapping::Mapping::MeshRequirement::UNDEFINED |
Determines which mesh type has to be provided by the accessor.
Definition at line 26 of file MeshContext.hpp.
partition::PtrPartition precice::impl::MeshContext::partition |
Partition creating the parallel decomposition of the mesh.
Definition at line 45 of file MeshContext.hpp.
bool precice::impl::MeshContext::provideMesh = false |
True, if accessor does create the mesh.
Definition at line 39 of file MeshContext.hpp.
std::string precice::impl::MeshContext::receiveMeshFrom |
Name of participant that creates the mesh.
Definition at line 29 of file MeshContext.hpp.
double precice::impl::MeshContext::safetyFactor = -1 |
bounding box to speed up decomposition of received mesh is increased by this safety factor
Definition at line 32 of file MeshContext.hpp.
std::vector<MappingContext> precice::impl::MeshContext::toMappingContexts |
Mappings used when mapping data to the mesh. Can be empty.
Definition at line 51 of file MeshContext.hpp.