preCICE v3.1.2
Loading...
Searching...
No Matches
MeshContext.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4#include "MappingContext.hpp"
5#include "SharedPointer.hpp"
7#include "mapping/Mapping.hpp"
11
12namespace precice {
13namespace impl {
14
63
68
69} // namespace impl
70} // namespace precice
MeshRequirement
Specifies requirements for the input and output meshes of a mapping.
Definition Mapping.hpp:45
GeometricFilter
Defines the type of geometric filter used.
T max(T... args)
Main namespace of the precice library.
static std::unique_ptr< precice::Participant > impl
Definition preciceC.cpp:21
Stores a mesh and related objects and data.
mesh::PtrMesh mesh
Mesh holding the geometry data structure.
mapping::Mapping::MeshRequirement meshRequirement
Determines which mesh type has to be provided by the accessor.
partition::PtrPartition partition
Partition creating the parallel decomposition of the mesh.
partition::ReceivedPartition::GeometricFilter geoFilter
type of geometric filter
std::vector< MappingContext > toMappingContexts
Mappings used when mapping data to the mesh. Can be empty.
std::string receiveMeshFrom
Name of participant that creates the mesh.
bool provideMesh
True, if accessor does create the mesh.
std::vector< MappingContext > fromMappingContexts
Mappings used when mapping data from the mesh. Can be empty.
void require(mapping::Mapping::MeshRequirement requirement)
double safetyFactor
bounding box to speed up decomposition of received mesh is increased by this safety factor