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::CouplingGeometryLocalSystem Class Reference

#include <coupling_geometry_mapper.h>

Inheritance diagram for Kratos::CouplingGeometryLocalSystem:
Collaboration diagram for Kratos::CouplingGeometryLocalSystem:

Public Member Functions

 CouplingGeometryLocalSystem (GeometryPointerType pGeom, const bool IsProjection, const bool IsDualMortar, const bool IsDestinationIsSlave)
 
void CalculateAll (MatrixType &rLocalMappingMatrix, EquationIdVectorType &rOriginIds, EquationIdVectorType &rDestinationIds, MapperLocalSystem::PairingStatus &rPairingStatus) const override
 
CoordinatesArrayTypeCoordinates () const override
 
MapperLocalSystemUniquePointer Create (GeometryPointerType pGeometry) const override
 
void PairingInfo (std::ostream &rOStream, const int EchoLevel) const override
 Turn back information as a string. More...
 
- 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 bool IsDoneSearching () const
 
virtual MapperLocalSystemUniquePointer Create (NodePointerType pNode) const
 
virtual void Clear ()
 
PairingStatus GetPairingStatus () const
 
virtual void SetPairingStatusForPrinting ()
 
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

◆ CouplingGeometryLocalSystem()

Kratos::CouplingGeometryLocalSystem::CouplingGeometryLocalSystem ( GeometryPointerType  pGeom,
const bool  IsProjection,
const bool  IsDualMortar,
const bool  IsDestinationIsSlave 
)
inlineexplicit

Member Function Documentation

◆ CalculateAll()

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

◆ Coordinates()

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

◆ Create()

MapperLocalSystemUniquePointer Kratos::CouplingGeometryLocalSystem::Create ( GeometryPointerType  pGeometry) const
inlineoverridevirtual

Reimplemented from Kratos::MapperLocalSystem.

◆ PairingInfo()

void Kratos::CouplingGeometryLocalSystem::PairingInfo ( std::ostream &  rOStream,
const int  EchoLevel 
) const
inlineoverridevirtual

Turn back information as a string.

Implements Kratos::MapperLocalSystem.


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