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

PropertiesLayout. More...

#include <properties_layout.hpp>

Collaboration diagram for Kratos::PropertiesLayout:

Public Member Functions

Life Cycle
 PropertiesLayout ()
 Default constructor. More...
 
 PropertiesLayout (const PropertiesLayout &rOther)
 Copy constructor. More...
 
PropertiesLayout::Pointer Clone () const
 Clone. More...
 
 ~PropertiesLayout ()
 Destructor. More...
 
Operators
PropertiesLayoutoperator= (PropertiesLayout const &rOther)
 Assignment operator. More...
 
Operations
void RegisterTable (const Variable< double > &rXVariable, const Variable< double > &rYVariable)
 
void Configure (const Properties &rProperties, const GeometryType &rGeometry, const Vector &rShapeFunctions)
 
template<class TVariableType >
void GetValue (const TVariableType &rVariable, typename TVariableType::Type &rValue) const
 
template<class TVariableType >
void GetValue (const TVariableType &rVariable, typename TVariableType::Type &rValue)
 
bool HasVariables () const
 
bool HasTables () const
 
bool IsEmpty () const
 
Input and output
std::string Info () const
 Turn back information as a string. More...
 
void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream) const
 Print object's data. More...
 

Type Definitions

typedef DataValueContainer ContainerType
 Type of container used for variables. More...
 
typedef Node NodeType
 
typedef Geometry< NodeTypeGeometryType
 
typedef NodeType::IndexType IndexType
 
typedef Table< doubleTableType
 Type of container used for tables. More...
 
typedef std::unordered_map< std::size_t, TableTypeTablesContainerType
 
typedef std::pair< std::size_t, doubleVariableKeyArgumentsType
 
typedef std::pair< std::size_t, VariableKeyArgumentsTypeScalarTableArgumentsType
 
typedef std::vector< ScalarTableArgumentsTypeScalarTableArgumentsContainerType
 
 KRATOS_CLASS_POINTER_DEFINITION (PropertiesLayout)
 Pointer definition of PropertiesLayout. More...
 

Serialization

class Serializer
 

Detailed Description

PropertiesLayout.

Configures the propeties data and supplies it propertly according to problem configuration

Member Typedef Documentation

◆ ContainerType

Type of container used for variables.

◆ GeometryType

◆ IndexType

◆ NodeType

◆ ScalarTableArgumentsContainerType

◆ ScalarTableArgumentsType

◆ TablesContainerType

typedef std::unordered_map<std::size_t, TableType> Kratos::PropertiesLayout::TablesContainerType

◆ TableType

Type of container used for tables.

◆ VariableKeyArgumentsType

Constructor & Destructor Documentation

◆ PropertiesLayout() [1/2]

Kratos::PropertiesLayout::PropertiesLayout ( )
inline

Default constructor.

◆ PropertiesLayout() [2/2]

Kratos::PropertiesLayout::PropertiesLayout ( const PropertiesLayout rOther)
inline

Copy constructor.

◆ ~PropertiesLayout()

Kratos::PropertiesLayout::~PropertiesLayout ( )
inline

Destructor.

Member Function Documentation

◆ Clone()

PropertiesLayout::Pointer Kratos::PropertiesLayout::Clone ( ) const
inline

Clone.

◆ Configure()

void Kratos::PropertiesLayout::Configure ( const Properties rProperties,
const GeometryType rGeometry,
const Vector rShapeFunctions 
)

◆ GetValue() [1/2]

template<class TVariableType >
void Kratos::PropertiesLayout::GetValue ( const TVariableType &  rVariable,
typename TVariableType::Type &  rValue 
)
inline

◆ GetValue() [2/2]

template<class TVariableType >
void Kratos::PropertiesLayout::GetValue ( const TVariableType &  rVariable,
typename TVariableType::Type &  rValue 
) const
inline

◆ HasTables()

bool Kratos::PropertiesLayout::HasTables ( ) const
inline

◆ HasVariables()

bool Kratos::PropertiesLayout::HasVariables ( ) const
inline

◆ Info()

std::string Kratos::PropertiesLayout::Info ( ) const
inline

Turn back information as a string.

◆ IsEmpty()

bool Kratos::PropertiesLayout::IsEmpty ( ) const
inline

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::PropertiesLayout::KRATOS_CLASS_POINTER_DEFINITION ( PropertiesLayout  )

Pointer definition of PropertiesLayout.

◆ operator=()

PropertiesLayout& Kratos::PropertiesLayout::operator= ( PropertiesLayout const &  rOther)
inline

Assignment operator.

◆ PrintData()

void Kratos::PropertiesLayout::PrintData ( std::ostream &  rOStream) const
inline

Print object's data.

◆ PrintInfo()

void Kratos::PropertiesLayout::PrintInfo ( std::ostream &  rOStream) const
inline

Print information about this object.

◆ RegisterTable()

void Kratos::PropertiesLayout::RegisterTable ( const Variable< double > &  rXVariable,
const Variable< double > &  rYVariable 
)
inline

Friends And Related Function Documentation

◆ Serializer

friend class Serializer
friend

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