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

#include <collective_expression_io.h>

Collaboration diagram for Kratos::CollectiveExpressionIO:

Classes

class  HistoricalVariable
 
class  NonHistoricalVariable
 
class  PropertiesVariable
 

Public Types

Type definitions
using VariableType = std::variant< const Variable< int > *, const Variable< double > *, const Variable< array_1d< double, 3 > > *, const Variable< array_1d< double, 4 > > *, const Variable< array_1d< double, 6 > > *, const Variable< array_1d< double, 9 > > *, const Variable< Vector > *, const Variable< Matrix > * >
 
Public classes
using ContainerVariableType = std::variant< HistoricalVariable::Pointer, NonHistoricalVariable::Pointer, PropertiesVariable::Pointer >
 

Static Public Member Functions

Public static operations
template<class TRawDataType >
static void Read (CollectiveExpression &rCollectiveExpression, TRawDataType const *pBegin, int const *NumberOfEntities, int const **pListShapeBegin, int const *ShapeSizes, const int NumberOfContainers)
 
template<class TRawDataType >
static void Move (CollectiveExpression &rCollectiveExpression, TRawDataType *pBegin, int const *NumberOfEntities, int const **pListShapeBegin, int const *ShapeSizes, const int NumberOfContainers)
 
template<class TRawDataType >
static void Write (const CollectiveExpression &rCollectiveExpression, TRawDataType *pBegin, const int Size)
 
static void Read (CollectiveExpression &rCollectiveExpression, const ContainerVariableType &rContainerVariable)
 
static void Read (CollectiveExpression &rCollectiveExpression, const std::vector< ContainerVariableType > &rContainerVariables)
 
static void Write (const CollectiveExpression &rCollectiveExpression, const ContainerVariableType &rContainerVariable)
 
static void Write (const CollectiveExpression &rCollectiveExpression, const std::vector< ContainerVariableType > &rContainerVariables)
 

Member Typedef Documentation

◆ ContainerVariableType

using Kratos::CollectiveExpressionIO::ContainerVariableType = std::variant< HistoricalVariable::Pointer, NonHistoricalVariable::Pointer, PropertiesVariable::Pointer>

◆ VariableType

using Kratos::CollectiveExpressionIO::VariableType = std::variant< const Variable<int>*, const Variable<double>*, const Variable<array_1d<double, 3> >*, const Variable<array_1d<double, 4> >*, const Variable<array_1d<double, 6> >*, const Variable<array_1d<double, 9> >*, const Variable<Vector>*, const Variable<Matrix>*>

Member Function Documentation

◆ Move()

template<class TRawDataType >
template void Kratos::CollectiveExpressionIO::Move ( CollectiveExpression rCollectiveExpression,
TRawDataType *  pBegin,
int const *  NumberOfEntities,
int const **  pListShapeBegin,
int const *  ShapeSizes,
const int  NumberOfContainers 
)
static

◆ Read() [1/3]

void Kratos::CollectiveExpressionIO::Read ( CollectiveExpression rCollectiveExpression,
const ContainerVariableType rContainerVariable 
)
static

◆ Read() [2/3]

void Kratos::CollectiveExpressionIO::Read ( CollectiveExpression rCollectiveExpression,
const std::vector< ContainerVariableType > &  rContainerVariables 
)
static

◆ Read() [3/3]

template<class TRawDataType >
void Kratos::CollectiveExpressionIO::Read ( CollectiveExpression rCollectiveExpression,
TRawDataType const *  pBegin,
int const *  NumberOfEntities,
int const **  pListShapeBegin,
int const *  ShapeSizes,
const int  NumberOfContainers 
)
static

◆ Write() [1/3]

void Kratos::CollectiveExpressionIO::Write ( const CollectiveExpression rCollectiveExpression,
const ContainerVariableType rContainerVariable 
)
static

◆ Write() [2/3]

void Kratos::CollectiveExpressionIO::Write ( const CollectiveExpression rCollectiveExpression,
const std::vector< ContainerVariableType > &  rContainerVariables 
)
static

◆ Write() [3/3]

template<class TRawDataType >
void Kratos::CollectiveExpressionIO::Write ( const CollectiveExpression rCollectiveExpression,
TRawDataType *  pBegin,
const int  Size 
)
static

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