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.
Public Member Functions | List of all members
Kratos::NearestElementLocalSystem Class Reference

#include <nearest_element_mapper.h>

Inheritance diagram for Kratos::NearestElementLocalSystem:
Collaboration diagram for Kratos::NearestElementLocalSystem:

Public Member Functions

 NearestElementLocalSystem (NodePointerType pNode)
 
void CalculateAll (MatrixType &rLocalMappingMatrix, EquationIdVectorType &rOriginIds, EquationIdVectorType &rDestinationIds, MapperLocalSystem::PairingStatus &rPairingStatus) const override
 
CoordinatesArrayTypeCoordinates () const override
 
MapperLocalSystemUniquePointer Create (NodePointerType pNode) const override
 
void PairingInfo (std::ostream &rOStream, const int EchoLevel) const override
 
void SetPairingStatusForPrinting () override
 
bool IsDoneSearching () const override
 
- Public Member Functions inherited from Kratos::MapperLocalSystem
virtual ~MapperLocalSystem ()=default
 Destructor. More...
 
void EquationIdVectors (EquationIdVectorType &rOriginIds, EquationIdVectorType &rDestinationIds)
 
void CalculateLocalSystem (MatrixType &rLocalMappingMatrix, EquationIdVectorType &rOriginIds, EquationIdVectorType &rDestinationIds) const
 
void ResizeToZero (MatrixType &rLocalMappingMatrix, EquationIdVectorType &rOriginIds, EquationIdVectorType &rDestinationIds, MapperLocalSystem::PairingStatus &rPairingStatus) const
 Resizing the output if no InterfaceInfo is available This function resizes the system vectors to zero and also sets that no valid Information from the other side could be found to compute the local system. More...
 
void AddInterfaceInfo (MapperInterfaceInfoPointerType pInterfaceInfo)
 
bool HasInterfaceInfo () const
 
bool HasInterfaceInfoThatIsNotAnApproximation () const
 
virtual MapperLocalSystemUniquePointer Create (GeometryPointerType pGeometry) const
 
virtual void Clear ()
 
PairingStatus GetPairingStatus () const
 
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
virtual void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 
 KRATOS_CLASS_POINTER_DEFINITION (MapperLocalSystem)
 Pointer definition of MapperLocalSystem. More...
 

Additional Inherited Members

- Public Types inherited from Kratos::MapperLocalSystem
enum class  PairingStatus { NoInterfaceInfo , Approximation , InterfaceInfoFound }
 
typedef Kratos::shared_ptr< MapperInterfaceInfoMapperInterfaceInfoPointerType
 
typedef Kratos::unique_ptr< MapperLocalSystemMapperLocalSystemUniquePointer
 
typedef MapperInterfaceInfo::CoordinatesArrayType CoordinatesArrayType
 
typedef Matrix MatrixType
 
typedef std::vector< intEquationIdVectorType
 
typedef InterfaceObject::NodePointerType NodePointerType
 
typedef InterfaceObject::GeometryPointerType GeometryPointerType
 
- Protected Member Functions inherited from Kratos::MapperLocalSystem
 MapperLocalSystem ()=default
 
- Protected Attributes inherited from Kratos::MapperLocalSystem
std::vector< MapperInterfaceInfoPointerTypemInterfaceInfos
 
bool mIsComputed = false
 
MatrixType mLocalMappingMatrix
 
EquationIdVectorType mOriginIds
 
EquationIdVectorType mDestinationIds
 
PairingStatus mPairingStatus = PairingStatus::NoInterfaceInfo
 

Constructor & Destructor Documentation

◆ NearestElementLocalSystem()

Kratos::NearestElementLocalSystem::NearestElementLocalSystem ( NodePointerType  pNode)
inlineexplicit

Member Function Documentation

◆ CalculateAll()

void Kratos::NearestElementLocalSystem::CalculateAll ( MatrixType rLocalMappingMatrix,
EquationIdVectorType rOriginIds,
EquationIdVectorType rDestinationIds,
MapperLocalSystem::PairingStatus rPairingStatus 
) const
overridevirtual

◆ Coordinates()

CoordinatesArrayType& Kratos::NearestElementLocalSystem::Coordinates ( ) const
inlineoverridevirtual

◆ Create()

MapperLocalSystemUniquePointer Kratos::NearestElementLocalSystem::Create ( NodePointerType  pNode) const
inlineoverridevirtual

Reimplemented from Kratos::MapperLocalSystem.

◆ IsDoneSearching()

bool Kratos::NearestElementLocalSystem::IsDoneSearching ( ) const
overridevirtual

Reimplemented from Kratos::MapperLocalSystem.

◆ PairingInfo()

void Kratos::NearestElementLocalSystem::PairingInfo ( std::ostream &  rOStream,
const int  EchoLevel 
) const
overridevirtual

◆ SetPairingStatusForPrinting()

void Kratos::NearestElementLocalSystem::SetPairingStatusForPrinting ( )
overridevirtual

Reimplemented from Kratos::MapperLocalSystem.


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