preCICE v3.2.0
Loading...
Searching...
No Matches
MappingContext.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "mapping/Mapping.hpp"
6
7namespace precice::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 precice::impl
std::shared_ptr< Mapping > PtrMapping
std::shared_ptr< Data > PtrData
int MeshID
Definition Types.hpp:30
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