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

#include <literal_expression_input.h>

Collaboration diagram for Kratos::LiteralExpressionIO:

Classes

class  Input
 

Public Types

Type definitions
using DataType = std::variant< int, double, array_1d< double, 3 >, array_1d< double, 4 >, array_1d< double, 6 >, array_1d< double, 9 >, Vector, Matrix >
 
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 > * >
 

Static Public Member Functions

Public static operations
template<class TContainerType , MeshType TMeshType = MeshType::Local>
static void SetData (ContainerExpression< TContainerType, TMeshType > &rContainerExpression, const DataType &rValue)
 
template<class TContainerType , MeshType TMeshType = MeshType::Local>
static void SetDataToZero (ContainerExpression< TContainerType, TMeshType > &rContainerExpression, const VariableType &rVariable)
 

Member Typedef Documentation

◆ DataType

◆ VariableType

using Kratos::LiteralExpressionIO::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

◆ SetData()

template<class TContainerType , MeshType TMeshType>
void Kratos::LiteralExpressionIO::SetData ( ContainerExpression< TContainerType, TMeshType > &  rContainerExpression,
const DataType rValue 
)
static

◆ SetDataToZero()

template<class TContainerType , MeshType TMeshType>
void Kratos::LiteralExpressionIO::SetDataToZero ( ContainerExpression< TContainerType, TMeshType > &  rContainerExpression,
const VariableType rVariable 
)
static

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