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.
Macros
process_info_extensions.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DECLARE_HAS_THIS_TYPE_PROCESS_INFO
 
#define DECLARE_HAS_THIS_TYPE_PROCESS_INFO_PYTHON(TClassName)    .def_static("HasProcessInfo", &TClassName::HasProcessInfo< Variable< TClassName > >)
 
#define DECLARE_HAS_THIS_TYPE_PROCESS_INFO_PYTHON_AS_POINTER(TClassName)    .def_static("HasProcessInfo", &TClassName::HasProcessInfo< Variable< TClassName::Pointer > >)
 
#define DECLARE_ADD_THIS_TYPE_TO_PROCESS_INFO
 
#define DECLARE_ADD_THIS_TYPE_TO_PROCESS_INFO_PYTHON(TClassName)    .def_static("AddToProcessInfo", &TClassName::AddToProcessInfo< Variable< TClassName > >)
 
#define DECLARE_ADD_THIS_TYPE_TO_PROCESS_INFO_PYTHON_AS_POINTER(TClassName)    .def_static("AddToProcessInfo", &TClassName::AddToProcessInfo< Variable< TClassName::Pointer > >)
 
#define DECLARE_GET_THIS_TYPE_FROM_PROCESS_INFO
 
#define DECLARE_GET_THIS_TYPE_FROM_PROCESS_INFO_PYTHON(TClassName)    .def_static("GetFromProcessInfo", &TClassName::GetFromProcessInfo< Variable< TClassName > >)
 
#define DECLARE_GET_THIS_TYPE_FROM_PROCESS_INFO_PYTHON_AS_POINTER(TClassName)    .def_static("GetFromProcessInfo", &TClassName::GetFromProcessInfo< Variable< TClassName::Pointer > >)
 

Macro Definition Documentation

◆ DECLARE_ADD_THIS_TYPE_TO_PROCESS_INFO

#define DECLARE_ADD_THIS_TYPE_TO_PROCESS_INFO
Value:
template<class TVariable> \
static void AddToProcessInfo(TVariable const& rV, typename TVariable::Type const& rValue, ProcessInfo::Pointer& p) \
{ \
p->SetValue(rV, rValue); \
}
p
Definition: sensitivityMatrix.py:52

◆ DECLARE_ADD_THIS_TYPE_TO_PROCESS_INFO_PYTHON

#define DECLARE_ADD_THIS_TYPE_TO_PROCESS_INFO_PYTHON (   TClassName)     .def_static("AddToProcessInfo", &TClassName::AddToProcessInfo< Variable< TClassName > >)

◆ DECLARE_ADD_THIS_TYPE_TO_PROCESS_INFO_PYTHON_AS_POINTER

#define DECLARE_ADD_THIS_TYPE_TO_PROCESS_INFO_PYTHON_AS_POINTER (   TClassName)     .def_static("AddToProcessInfo", &TClassName::AddToProcessInfo< Variable< TClassName::Pointer > >)

◆ DECLARE_GET_THIS_TYPE_FROM_PROCESS_INFO

#define DECLARE_GET_THIS_TYPE_FROM_PROCESS_INFO
Value:
template<class TVariable> \
static typename TVariable::Type GetFromProcessInfo(TVariable const& rV, ProcessInfo::Pointer& p) \
{ \
return p->GetValue(rV); \
}

◆ DECLARE_GET_THIS_TYPE_FROM_PROCESS_INFO_PYTHON

#define DECLARE_GET_THIS_TYPE_FROM_PROCESS_INFO_PYTHON (   TClassName)     .def_static("GetFromProcessInfo", &TClassName::GetFromProcessInfo< Variable< TClassName > >)

◆ DECLARE_GET_THIS_TYPE_FROM_PROCESS_INFO_PYTHON_AS_POINTER

#define DECLARE_GET_THIS_TYPE_FROM_PROCESS_INFO_PYTHON_AS_POINTER (   TClassName)     .def_static("GetFromProcessInfo", &TClassName::GetFromProcessInfo< Variable< TClassName::Pointer > >)

◆ DECLARE_HAS_THIS_TYPE_PROCESS_INFO

#define DECLARE_HAS_THIS_TYPE_PROCESS_INFO
Value:
template<class TVariable> \
static bool HasProcessInfo(TVariable const& rV, ProcessInfo::Pointer& p) \
{ \
return p->Has(rV); \
}

◆ DECLARE_HAS_THIS_TYPE_PROCESS_INFO_PYTHON

#define DECLARE_HAS_THIS_TYPE_PROCESS_INFO_PYTHON (   TClassName)     .def_static("HasProcessInfo", &TClassName::HasProcessInfo< Variable< TClassName > >)

◆ DECLARE_HAS_THIS_TYPE_PROCESS_INFO_PYTHON_AS_POINTER

#define DECLARE_HAS_THIS_TYPE_PROCESS_INFO_PYTHON_AS_POINTER (   TClassName)     .def_static("HasProcessInfo", &TClassName::HasProcessInfo< Variable< TClassName::Pointer > >)