|
|
| NearestElementMapper (ModelPart &rModelPartOrigin, ModelPart &rModelPartDestination) |
|
| NearestElementMapper (ModelPart &rModelPartOrigin, ModelPart &rModelPartDestination, Parameters JsonParameters) |
|
| ~NearestElementMapper () override=default |
| Destructor. More...
|
|
|
MapperUniquePointerType | Clone (ModelPart &rModelPartOrigin, ModelPart &rModelPartDestination, Parameters JsonParameters) const override |
| Cloning the Mapper returns a clone of the current Mapper pure virtual, has to be implemented in every derived mapper, used in the creation of the Mappers. More...
|
|
|
std::string | Info () const override |
| Turn back information as a string. More...
|
|
void | PrintInfo (std::ostream &rOStream) const override |
| Print information about this object. More...
|
|
void | PrintData (std::ostream &rOStream) const override |
| Print object's data. More...
|
|
| InterpolativeMapperBase (ModelPart &rModelPartOrigin, ModelPart &rModelPartDestination) |
|
| InterpolativeMapperBase (ModelPart &rModelPartOrigin, ModelPart &rModelPartDestination, Parameters JsonParameters) |
|
| ~InterpolativeMapperBase () override=default |
| Destructor. More...
|
|
void | UpdateInterface (Kratos::Flags MappingOptions, double SearchRadius) override |
| Updates the mapping-system after the geometry/mesh has changed After changes in the topology (e.g. remeshing or sliding interfaces) the relations for the mapping have to be recomputed. This means that the search has to be conducted again and the mapping-system has to be rebuilt, hence this is expensive. More...
|
|
void | Map (const Variable< double > &rOriginVariable, const Variable< double > &rDestinationVariable, Kratos::Flags MappingOptions) override |
| Mapping from Origin to Destination, Scalar Variable Data is exchanged on the Interface, from the Origin-Modelpart to the Destination-ModelPart (the modelparts were specified in the construction Phase of the Mapper) More...
|
|
void | Map (const Variable< array_1d< double, 3 > > &rOriginVariable, const Variable< array_1d< double, 3 > > &rDestinationVariable, Kratos::Flags MappingOptions) override |
| Mapping from Origin to Destination, Vector Variable Same as Map, but maps an array3-variable. More...
|
|
void | InverseMap (const Variable< double > &rOriginVariable, const Variable< double > &rDestinationVariable, Kratos::Flags MappingOptions) override |
| Mapping from Destination to Origin, Scalar Variable Data is exchanged on the Interface, from the Destination-Modelpart to the Origin-ModelPart (the modelparts were specified in the construction Phase of the Mapper) It does the opposite of Map. More...
|
|
void | InverseMap (const Variable< array_1d< double, 3 > > &rOriginVariable, const Variable< array_1d< double, 3 > > &rDestinationVariable, Kratos::Flags MappingOptions) override |
| Mapping from Destination to Origin, Vector Variable Same as InveseMap, but maps an array3-variable. More...
|
|
TMappingMatrixType & | GetMappingMatrix () override |
| This method returns the mapping-matrix. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (InterpolativeMapperBase) |
| Pointer definition of InterpolativeMapperBase. More...
|
|
| Mapper ()=default |
| Constructor. More...
|
|
virtual | ~Mapper ()=default |
| Destructor. More...
|
|
| Mapper () |
| Default constructor. More...
|
|
virtual | ~Mapper () |
| Destructor. More...
|
|
virtual void | Update () |
|
virtual void | Map (const Variable< array_3d > &rOriginVariable, const Variable< array_3d > &rDestinationVariable)=0 |
|
virtual void | Map (const Variable< double > &rOriginVariable, const Variable< double > &rDestinationVariable)=0 |
|
virtual void | InverseMap (const Variable< array_3d > &rDestinationVariable, const Variable< array_3d > &rOriginVariable)=0 |
|
virtual void | InverseMap (const Variable< double > &rDestinationVariable, const Variable< double > &rOriginVariable)=0 |
|
virtual ModelPart & | GetInterfaceModelPartOrigin () |
|
virtual ModelPart & | GetInterfaceModelPartDestination () |
|
virtual int | AreMeshesConforming () const |
| Quering for mesh conformity This function is deprecated and will eventually be removed, hence it is best not to use it returns 1 if all the nodes are conform and 0 otherwise. More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (Mapper) |
|
| KRATOS_CLASS_POINTER_DEFINITION (Mapper) |
| Pointer definition of Mapper. More...
|
|
template<class TSparseSpace, class TDenseSpace, class TMapperBackend>
class Kratos::NearestElementMapper< TSparseSpace, TDenseSpace, TMapperBackend >
Interpolative Mapper.
This class implements the Nearest Element Mapping technique. Each node on the destination side gets assigned is's closest condition or element (distance to center) on the other side of the interface. In the mapping phase every node gets assigned the interpolated value of the condition/element. The interpolation is done with the shape funcitons For information abt the available echo_levels and the JSON default-parameters look into the class description of the MapperCommunicator