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.
List of all members
Kratos::MapperVertexMorphingImprovedIntegration Class Reference

Short class definition. More...

#include <mapper_vertex_morphing_improved_integration.h>

Inheritance diagram for Kratos::MapperVertexMorphingImprovedIntegration:
Collaboration diagram for Kratos::MapperVertexMorphingImprovedIntegration:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (MapperVertexMorphingImprovedIntegration)
 Pointer definition of MapperVertexMorphingImprovedIntegration. More...
 
Life Cycle
 MapperVertexMorphingImprovedIntegration (ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart, Parameters MapperSettings)
 Default constructor. More...
 
virtual ~MapperVertexMorphingImprovedIntegration ()
 Destructor. More...
 
Operations
void Initialize () override
 
void Update () override
 
Input and output
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...
 
- Public Member Functions inherited from Kratos::MapperVertexMorphing
 MapperVertexMorphing (ModelPart &rOriginModelPart, ModelPart &rDestinationModelPart, Parameters MapperSettings)
 Default constructor. More...
 
virtual ~MapperVertexMorphing ()
 Destructor. More...
 
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
 
 KRATOS_CLASS_POINTER_DEFINITION (MapperVertexMorphing)
 Pointer definition of MapperVertexMorphing. 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 TMappingMatrixTypeGetMappingMatrix ()
 This method returns the mapping-matrix. More...
 
virtual ModelPartGetInterfaceModelPartOrigin ()
 
virtual ModelPartGetInterfaceModelPartDestination ()
 
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...
 

Additional Inherited Members

- Public Types inherited from Kratos::MapperVertexMorphing
typedef Node NodeType
 
typedef Node ::Pointer NodeTypePointer
 
typedef std::vector< NodeType::Pointer > NodeVector
 
typedef std::vector< NodeType::Pointer >::iterator NodeIterator
 
typedef std::vector< double >::iterator DoubleVectorIterator
 
typedef ModelPart::ConditionsContainerType ConditionsArrayType
 
typedef array_1d< double, 3 > array_3d
 
typedef UblasSpace< double, CompressedMatrix, VectorSparseSpaceType
 
typedef SparseSpaceType::MatrixType SparseMatrixType
 
typedef SparseSpaceType::VectorType VectorType
 
typedef Bucket< 3, NodeType, NodeVector, NodeTypePointer, NodeIterator, DoubleVectorIteratorBucketType
 
typedef Tree< KDTreePartition< BucketType > > KDTree
 
- Public Types inherited from Kratos::Mapper< TSparseSpace, TDenseSpace >
typedef Kratos::unique_ptr< MapperMapperUniquePointerType
 
typedef TSparseSpace::MatrixType TMappingMatrixType
 
typedef array_1d< double, 3 > array_3d
 
typedef Node NodeType
 
- Protected Member Functions inherited from Kratos::MapperVertexMorphing
double GetVertexMorphingRadius (const NodeType &rNode) const override
 
Protected Operators
- Protected Attributes inherited from Kratos::MapperVertexMorphing
ModelPartmrOriginModelPart
 
ModelPartmrDestinationModelPart
 
Parameters mMapperSettings
 
FilterFunction::UniquePointer mpFilterFunction
 
bool mIsMappingInitialized = false
 

Detailed Description

Short class definition.

Detail class definition.

Constructor & Destructor Documentation

◆ MapperVertexMorphingImprovedIntegration()

Kratos::MapperVertexMorphingImprovedIntegration::MapperVertexMorphingImprovedIntegration ( ModelPart rOriginModelPart,
ModelPart rDestinationModelPart,
Parameters  MapperSettings 
)
inline

Default constructor.

◆ ~MapperVertexMorphingImprovedIntegration()

virtual Kratos::MapperVertexMorphingImprovedIntegration::~MapperVertexMorphingImprovedIntegration ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ Info()

std::string Kratos::MapperVertexMorphingImprovedIntegration::Info ( ) const
inlineoverridevirtual

Turn back information as a string.

Reimplemented from Kratos::MapperVertexMorphing.

◆ Initialize()

void Kratos::MapperVertexMorphingImprovedIntegration::Initialize ( void  )
overridevirtual

Reimplemented from Kratos::MapperVertexMorphing.

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::MapperVertexMorphingImprovedIntegration::KRATOS_CLASS_POINTER_DEFINITION ( MapperVertexMorphingImprovedIntegration  )

◆ PrintData()

void Kratos::MapperVertexMorphingImprovedIntegration::PrintData ( std::ostream &  rOStream) const
inlineoverridevirtual

Print object's data.

Reimplemented from Kratos::MapperVertexMorphing.

◆ PrintInfo()

void Kratos::MapperVertexMorphingImprovedIntegration::PrintInfo ( std::ostream &  rOStream) const
inlineoverridevirtual

Print information about this object.

Reimplemented from Kratos::MapperVertexMorphing.

◆ Update()

void Kratos::MapperVertexMorphingImprovedIntegration::Update ( )
overridevirtual

Reimplemented from Kratos::MapperVertexMorphing.


The documentation for this class was generated from the following files: