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 | Namespaces
expression_utils.h File Reference
#include <type_traits>
#include <iterator>
#include "includes/define.h"
#include "includes/data_communicator.h"
#include "expression/container_expression.h"
#include "expression/expression.h"
#include "expression/unary_reshape_expression.h"
#include "expression/unary_combine_expression.h"
Include dependency graph for expression_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Kratos::ExpressionUtils
 

Namespaces

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

Macros

Static Container expression operations
#define KRATOS_EXPRESSION_UTILS_CEXP_METHOD_1(METHOD_NAME)
 
#define KRATOS_EXPRESSION_UTILS_CEXP_METHOD_2(METHOD_NAME)
 
#define KRATOS_EXPRESSION_UTILS_CEXP_METHOD_3(METHOD_NAME)
 

Macro Definition Documentation

◆ KRATOS_EXPRESSION_UTILS_CEXP_METHOD_1

#define KRATOS_EXPRESSION_UTILS_CEXP_METHOD_1 (   METHOD_NAME)
Value:
\
template <class TContainerType> \
static ContainerExpression<TContainerType> METHOD_NAME( \
const ContainerExpression<TContainerType>& rContainerExpression) \
{ \
auto copy = rContainerExpression; \
copy.SetExpression(METHOD_NAME(rContainerExpression.pGetExpression())); \
return copy; \
}

◆ KRATOS_EXPRESSION_UTILS_CEXP_METHOD_2

#define KRATOS_EXPRESSION_UTILS_CEXP_METHOD_2 (   METHOD_NAME)
Value:
\
template <class TContainerType> \
static double METHOD_NAME(const ContainerExpression<TContainerType>& rContainerExpression) \
{ \
return METHOD_NAME( \
rContainerExpression.pGetExpression(), \
rContainerExpression.GetModelPart().GetCommunicator().GetDataCommunicator()); \
}

◆ KRATOS_EXPRESSION_UTILS_CEXP_METHOD_3

#define KRATOS_EXPRESSION_UTILS_CEXP_METHOD_3 (   METHOD_NAME)