KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
Short class definition. More...
#include <mapper_vertex_morphing_symmetric.h>
Public Member Functions | |
Life Cycle | |
MapperVertexMorphingSymmetric (ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart, Parameters MapperSettings) | |
Default constructor. More... | |
virtual | ~MapperVertexMorphingSymmetric () |
Destructor. More... | |
Operations | |
void | Initialize () override |
void | Map (const Variable< array_3d > &rOriginVariable, const Variable< array_3d > &rDestinationVariable) override |
void | Map (const Variable< double > &rOriginVariable, const Variable< double > &rDestinationVariable) override |
void | InverseMap (const Variable< array_3d > &rDestinationVariable, const Variable< array_3d > &rOriginVariable) override |
void | InverseMap (const Variable< double > &rDestinationVariable, const Variable< double > &rOriginVariable) override |
void | Update () override |
Input and output | |
virtual std::string | Info () const override |
Turn back information as a string. More... | |
virtual void | PrintInfo (std::ostream &rOStream) const override |
Print information about this object. More... | |
virtual void | PrintData (std::ostream &rOStream) const override |
Print object's data. More... | |
Public Member Functions inherited from Kratos::Mapper< TSparseSpace, TDenseSpace > | |
Mapper ()=default | |
Constructor. More... | |
virtual | ~Mapper ()=default |
Destructor. More... | |
Mapper () | |
Default constructor. More... | |
virtual | ~Mapper () |
Destructor. More... | |
virtual void | UpdateInterface (Kratos::Flags MappingOptions, double SearchRadius)=0 |
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... | |
virtual void | Map (const Variable< double > &rOriginVariable, const Variable< double > &rDestinationVariable, Kratos::Flags MappingOptions)=0 |
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... | |
virtual void | Map (const Variable< array_1d< double, 3 > > &rOriginVariable, const Variable< array_1d< double, 3 > > &rDestinationVariable, Kratos::Flags MappingOptions)=0 |
Mapping from Origin to Destination, Vector Variable Same as Map, but maps an array3-variable. More... | |
virtual void | InverseMap (const Variable< double > &rOriginVariable, const Variable< double > &rDestinationVariable, Kratos::Flags MappingOptions)=0 |
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... | |
virtual void | InverseMap (const Variable< array_1d< double, 3 > > &rOriginVariable, const Variable< array_1d< double, 3 > > &rDestinationVariable, Kratos::Flags MappingOptions)=0 |
Mapping from Destination to Origin, Vector Variable Same as InveseMap, but maps an array3-variable. More... | |
virtual MapperUniquePointerType | Clone (ModelPart &rModelPartOrigin, ModelPart &rModelPartDestination, Parameters JsonParameters) const =0 |
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... | |
virtual TMappingMatrixType & | GetMappingMatrix () |
This method returns the mapping-matrix. More... | |
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... | |
Protected Member Functions | |
Protected Operations | |
virtual void | InitializeComputationOfMappingMatrix () |
Protected Operators |
Protected Attributes | |
Protected member Variables | |
ModelPart & | mrOriginModelPart |
ModelPart & | mrDestinationModelPart |
Parameters | mMapperSettings |
Kratos::unique_ptr< FilterFunction > | mpFilterFunction |
bool | mIsMappingInitialized = false |
Type Definitions | |
typedef Node | NodeType |
typedef NodeType::Pointer | NodePointerType |
typedef std::vector< NodePointerType > | NodeVectorType |
typedef std::vector< NodePointerType >::iterator | NodeIteratorType |
typedef std::vector< double >::iterator | DoubleVectorIteratorType |
typedef array_1d< double, 3 > | array_3d |
typedef TUblasSparseSpace< double > | SparseSpaceType |
typedef SparseSpaceType::MatrixType | SparseMatrixType |
typedef SparseSpaceType::VectorType | VectorType |
typedef Bucket< 3, NodeType, NodeVectorType, NodePointerType, NodeIteratorType, DoubleVectorIteratorType > | BucketType |
typedef Tree< KDTreePartition< BucketType > > | KDTree |
KRATOS_CLASS_POINTER_DEFINITION (MapperVertexMorphingSymmetric) | |
Pointer definition of MapperVertexMorphingSymmetric. More... | |
Additional Inherited Members | |
Public Types inherited from Kratos::Mapper< TSparseSpace, TDenseSpace > | |
typedef Kratos::unique_ptr< Mapper > | MapperUniquePointerType |
typedef TSparseSpace::MatrixType | TMappingMatrixType |
typedef array_1d< double, 3 > | array_3d |
typedef Node | NodeType |
Short class definition.
Detail class definition.
typedef Bucket< 3, NodeType, NodeVectorType, NodePointerType, NodeIteratorType, DoubleVectorIteratorType > Kratos::MapperVertexMorphingSymmetric::BucketType |
typedef std::vector<double>::iterator Kratos::MapperVertexMorphingSymmetric::DoubleVectorIteratorType |
typedef std::vector<NodePointerType>::iterator Kratos::MapperVertexMorphingSymmetric::NodeIteratorType |
typedef NodeType::Pointer Kratos::MapperVertexMorphingSymmetric::NodePointerType |
typedef std::vector<NodePointerType> Kratos::MapperVertexMorphingSymmetric::NodeVectorType |
|
inline |
Default constructor.
|
inlinevirtual |
Destructor.
|
inlineoverridevirtual |
Turn back information as a string.
Reimplemented from Kratos::Mapper< TSparseSpace, TDenseSpace >.
|
overridevirtual |
Reimplemented from Kratos::Mapper< TSparseSpace, TDenseSpace >.
|
protectedvirtual |
|
overridevirtual |
Implements Kratos::Mapper< TSparseSpace, TDenseSpace >.
|
overridevirtual |
Implements Kratos::Mapper< TSparseSpace, TDenseSpace >.
Kratos::MapperVertexMorphingSymmetric::KRATOS_CLASS_POINTER_DEFINITION | ( | MapperVertexMorphingSymmetric | ) |
Pointer definition of MapperVertexMorphingSymmetric.
|
overridevirtual |
Implements Kratos::Mapper< TSparseSpace, TDenseSpace >.
|
overridevirtual |
Implements Kratos::Mapper< TSparseSpace, TDenseSpace >.
|
inlineoverridevirtual |
Print object's data.
Reimplemented from Kratos::Mapper< TSparseSpace, TDenseSpace >.
|
inlineoverridevirtual |
Print information about this object.
Reimplemented from Kratos::Mapper< TSparseSpace, TDenseSpace >.
|
overridevirtual |
Reimplemented from Kratos::Mapper< TSparseSpace, TDenseSpace >.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |