128 rLocalMappingMatrix.
resize(0, 0,
false);
129 rOriginIds.resize(0);
130 rDestinationIds.resize(0);
149 if (!r_info->GetIsApproximation()) {
163 KRATOS_ERROR <<
"Create is not implemented for NodePointerType!" << std::endl;
168 KRATOS_ERROR <<
"Create is not implemented for GeometryPointerType!" << std::endl;
188 KRATOS_ERROR <<
"SetPairingStatusForPrinting is not implemented!" << std::endl;
198 virtual std::string
Info()
const {
return "MapperLocalSystem";}
Geometry base class.
Definition: geometry.h:71
void resize(std::size_t NewSize1, std::size_t NewSize2, bool preserve=0)
Definition: amatrix_interface.h:224
void clear()
Definition: amatrix_interface.h:284
InterfaceObject::CoordinatesArrayType CoordinatesArrayType
Definition: mapper_interface_info.h:52
This is the "Condition" of the mappers.
Definition: mapper_local_system.h:39
void AddInterfaceInfo(MapperInterfaceInfoPointerType pInterfaceInfo)
Definition: mapper_local_system.h:136
PairingStatus GetPairingStatus() const
Definition: mapper_local_system.h:181
std::vector< MapperInterfaceInfoPointerType > mInterfaceInfos
Definition: mapper_local_system.h:218
PairingStatus
Definition: mapper_local_system.h:63
virtual std::string Info() const
Turn back information as a string.
Definition: mapper_local_system.h:198
KRATOS_CLASS_POINTER_DEFINITION(MapperLocalSystem)
Pointer definition of MapperLocalSystem.
Kratos::shared_ptr< MapperInterfaceInfo > MapperInterfaceInfoPointerType
Definition: mapper_local_system.h:47
std::vector< int > EquationIdVectorType
Definition: mapper_local_system.h:53
EquationIdVectorType mOriginIds
Definition: mapper_local_system.h:223
InterfaceObject::NodePointerType NodePointerType
Definition: mapper_local_system.h:55
void EquationIdVectors(EquationIdVectorType &rOriginIds, EquationIdVectorType &rDestinationIds)
Definition: mapper_local_system.h:80
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...
Definition: mapper_local_system.h:121
virtual CoordinatesArrayType & Coordinates() const =0
bool mIsComputed
Definition: mapper_local_system.h:220
virtual MapperLocalSystemUniquePointer Create(NodePointerType pNode) const
Definition: mapper_local_system.h:161
virtual ~MapperLocalSystem()=default
Destructor.
virtual void PrintInfo(std::ostream &rOStream) const
Print information about this object.
Definition: mapper_local_system.h:201
virtual void PairingInfo(std::ostream &rOStream, const int EchoLevel) const =0
bool HasInterfaceInfoThatIsNotAnApproximation() const
Definition: mapper_local_system.h:146
MapperInterfaceInfo::CoordinatesArrayType CoordinatesArrayType
Definition: mapper_local_system.h:50
bool HasInterfaceInfo() const
Definition: mapper_local_system.h:141
virtual void Clear()
Definition: mapper_local_system.h:172
MatrixType mLocalMappingMatrix
Definition: mapper_local_system.h:222
virtual MapperLocalSystemUniquePointer Create(GeometryPointerType pGeometry) const
Definition: mapper_local_system.h:166
Kratos::unique_ptr< MapperLocalSystem > MapperLocalSystemUniquePointer
Definition: mapper_local_system.h:48
Matrix MatrixType
Definition: mapper_local_system.h:52
EquationIdVectorType mDestinationIds
Definition: mapper_local_system.h:224
virtual void CalculateAll(MatrixType &rLocalMappingMatrix, EquationIdVectorType &rOriginIds, EquationIdVectorType &rDestinationIds, MapperLocalSystem::PairingStatus &rPairingStatus) const =0
virtual void PrintData(std::ostream &rOStream) const
Print object's data.
Definition: mapper_local_system.h:204
virtual void SetPairingStatusForPrinting()
Definition: mapper_local_system.h:186
InterfaceObject::GeometryPointerType GeometryPointerType
Definition: mapper_local_system.h:56
virtual bool IsDoneSearching() const
Definition: mapper_local_system.h:156
PairingStatus mPairingStatus
Definition: mapper_local_system.h:226
void CalculateLocalSystem(MatrixType &rLocalMappingMatrix, EquationIdVectorType &rOriginIds, EquationIdVectorType &rDestinationIds) const
Definition: mapper_local_system.h:92
MapperLocalSystem()=default
This class defines the node.
Definition: node.h:65
#define KRATOS_ERROR
Definition: exception.h:161
static int EchoLevel
Definition: co_sim_EMPIRE_API.h:42
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::shared_ptr< T > shared_ptr
Definition: smart_pointers.h:27
std::unique_ptr< T > unique_ptr
Definition: smart_pointers.h:33