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::MapperFactory< TSparseSpace, TDenseSpace > Class Template Reference

Python Interface of the MappingApplication. More...

#include <mapper_factory.h>

Collaboration diagram for Kratos::MapperFactory< TSparseSpace, TDenseSpace >:

Public Member Functions

Type Definitions
 KRATOS_CLASS_POINTER_DEFINITION (MapperFactory)
 Pointer definition of MapperFactory. More...
 
Life Cycle
virtual ~MapperFactory ()=default
 Destructor. More...
 
Input and output
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...
 

Static Public Member Functions

Operations
static Mapper< TSparseSpace, TDenseSpace >::Pointer CreateMapper (ModelPart &rModelPartOrigin, ModelPart &rModelPartDestination, Parameters MapperSettings)
 
static void Register (const std::string &rMapperName, typename Mapper< TSparseSpace, TDenseSpace >::Pointer pMapperPrototype)
 
static bool HasMapper (const std::string &rMapperName)
 
static std::vector< std::string > GetRegisteredMapperNames ()
 

Detailed Description

template<class TSparseSpace, class TDenseSpace>
class Kratos::MapperFactory< TSparseSpace, TDenseSpace >

Python Interface of the MappingApplication.

This class constructs the mappers and exposes them to Python Some checks are performed to see if the Input (ModelParts and JSON-Parameters) are valid

Constructor & Destructor Documentation

◆ ~MapperFactory()

template<class TSparseSpace , class TDenseSpace >
virtual Kratos::MapperFactory< TSparseSpace, TDenseSpace >::~MapperFactory ( )
virtualdefault

Destructor.

Member Function Documentation

◆ CreateMapper()

template<class TSparseSpace , class TDenseSpace >
static Mapper<TSparseSpace, TDenseSpace>::Pointer Kratos::MapperFactory< TSparseSpace, TDenseSpace >::CreateMapper ( ModelPart rModelPartOrigin,
ModelPart rModelPartDestination,
Parameters  MapperSettings 
)
inlinestatic

◆ GetRegisteredMapperNames()

template<class TSparseSpace , class TDenseSpace >
static std::vector<std::string> Kratos::MapperFactory< TSparseSpace, TDenseSpace >::GetRegisteredMapperNames ( )
inlinestatic

◆ HasMapper()

template<class TSparseSpace , class TDenseSpace >
static bool Kratos::MapperFactory< TSparseSpace, TDenseSpace >::HasMapper ( const std::string &  rMapperName)
inlinestatic

◆ Info()

template<class TSparseSpace , class TDenseSpace >
virtual std::string Kratos::MapperFactory< TSparseSpace, TDenseSpace >::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<class TSparseSpace , class TDenseSpace >
Kratos::MapperFactory< TSparseSpace, TDenseSpace >::KRATOS_CLASS_POINTER_DEFINITION ( MapperFactory< TSparseSpace, TDenseSpace >  )

Pointer definition of MapperFactory.

◆ PrintData()

template<class TSparseSpace , class TDenseSpace >
virtual void Kratos::MapperFactory< TSparseSpace, TDenseSpace >::PrintData ( std::ostream &  rOStream) const
inlinevirtual

Print object's data.

◆ PrintInfo()

template<class TSparseSpace , class TDenseSpace >
virtual void Kratos::MapperFactory< TSparseSpace, TDenseSpace >::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

◆ Register()

template<class TSparseSpace , class TDenseSpace >
static void Kratos::MapperFactory< TSparseSpace, TDenseSpace >::Register ( const std::string &  rMapperName,
typename Mapper< TSparseSpace, TDenseSpace >::Pointer  pMapperPrototype 
)
inlinestatic

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