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.
Namespaces | Macros | Functions
integration_point_expression_io.cpp File Reference
#include <type_traits>
#include "expression/expression_io_utils.h"
#include "expression/variable_expression_data_io.h"
#include "includes/process_info.h"
#include "integration_point_expression_io.h"
Include dependency graph for integration_point_expression_io.cpp:

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::IntegrationPointExpressionIOUtils
 

Macros

#define KRATOS_INSTANTIATE_ENTITY_CONTAINER_IO_METHODS(CONTAINER_TYPE, MESH_TYPE)
 
#define KRATOS_INSTANTIATE_CONTAINER_VARIABLE_EXPRESSION_IO(MESH_TYPE)
 

Functions

template<class TContainerType , class TVariableType >
static Expression::Pointer Kratos::IntegrationPointExpressionIOUtils::ReadToExpression (TContainerType &rContainer, TVariableType pVariable, const DataCommunicator &rDataCommunicator, const ProcessInfo &rProcessInfo)
 
template<class TContainerType , class TVariableType >
static void Kratos::IntegrationPointExpressionIOUtils::WriteFromExpression (TContainerType &rContainer, Communicator &rCommunicator, const Expression &rExpression, const ProcessInfo &rProcessInfo, TVariableType pVariable)
 

Macro Definition Documentation

◆ KRATOS_INSTANTIATE_CONTAINER_VARIABLE_EXPRESSION_IO

#define KRATOS_INSTANTIATE_CONTAINER_VARIABLE_EXPRESSION_IO (   MESH_TYPE)
Value:
KRATOS_INSTANTIATE_ENTITY_CONTAINER_IO_METHODS(ModelPart::ElementsContainerType, MESH_TYPE)
#define KRATOS_INSTANTIATE_ENTITY_CONTAINER_IO_METHODS(CONTAINER_TYPE, MESH_TYPE)
Definition: integration_point_expression_io.cpp:225
ModelPart::ConditionsContainerType ConditionsContainerType
Definition: find_conditions_neighbours_process.h:45
ModelPart::ElementsContainerType ElementsContainerType
Definition: clear_contact_conditions_mesher_process.hpp:43

◆ KRATOS_INSTANTIATE_ENTITY_CONTAINER_IO_METHODS

#define KRATOS_INSTANTIATE_ENTITY_CONTAINER_IO_METHODS (   CONTAINER_TYPE,
  MESH_TYPE 
)
Value:
template KRATOS_API(KRATOS_CORE) void IntegrationPointExpressionIO::Read(ContainerExpression<CONTAINER_TYPE, MESH_TYPE>&, const IntegrationPointExpressionIO::VariableType&); \
template KRATOS_API(KRATOS_CORE) void IntegrationPointExpressionIO::Write(const ContainerExpression<CONTAINER_TYPE, MESH_TYPE>&, const IntegrationPointExpressionIO::VariableType&);\
#define KRATOS_API(...)
Definition: kratos_export_api.h:40
void Read(LiteralFlatExpression< std::conditional_t< std::is_same_v< TDataType, int >, int, double >> &rExpression, const IndexType EntityDataBeginIndex, const TDataType &rValue, std::index_sequence< TIndex... >)
Definition: variable_expression_data_io.cpp:31