preCICE v3.1.2
Loading...
Searching...
No Matches
MappingContext.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "mapping/Mapping.hpp"
6namespace precice {
7namespace impl {
8
13
16
19
22
25
28
30 void requireGradientData(const std::string &dataName)
31 {
32 mapping->getInputMesh()->data(dataName)->requireDataGradient();
33 }
34};
35
36} // namespace impl
37} // namespace precice
Main namespace of the precice library.
int MeshID
Definition Types.hpp:30
static std::unique_ptr< precice::Participant > impl
Definition preciceC.cpp:21
Holds a data mapping and related information.
mesh::PtrData fromData
data which is mapped from mesh
mapping::PtrMapping mapping
Data mapping.
MeshID fromMeshID
id of mesh from which is mapped
mesh::PtrData toData
data which is mapped to mesh
bool configuredWithAliasTag
used the automatic rbf alias tag in order to set the mapping
void requireGradientData(const std::string &dataName)
Enables gradient data in the corresponding 'from' data class.
MeshID toMeshID
id of mesh to which is mapped