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 | Public Types | Public Member Functions | Static Public Member Functions | List of all members
Kratos::MpiDebugUtilities Class Reference

#include <debug_utilities.h>

Collaboration diagram for Kratos::MpiDebugUtilities:

Classes

struct  is_any
 
struct  is_kratos_bounded_vector_variable
 
struct  is_kratos_single_variable
 
struct  is_kratos_unbounded_vector_variable
 

Public Types

template<class TVarType , class TReturnType >
using EnalbeIfSingle = typename std::enable_if< is_kratos_single_variable< TVarType >::value, TReturnType >::type
 
template<class TVarType , class TReturnType >
using EnalbeIfBoundedVector = typename std::enable_if< is_kratos_bounded_vector_variable< TVarType >::value, TReturnType >::type
 
template<class TVarType , class TReturnType >
using EnalbeIfUnbounedVector = typename std::enable_if< is_kratos_unbounded_vector_variable< TVarType >::value, TReturnType >::type
 

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (MpiDebugUtilities)
 
 MpiDebugUtilities ()
 

Static Public Member Functions

template<class TVarType >
static EnalbeIfSingle< TVarType, boolInteralCmpEq (const TVarType &rVar1, const TVarType &rVar2)
 
template<class TVarType >
static EnalbeIfBoundedVector< TVarType, boolInteralCmpEq (const TVarType &rVar1, const TVarType &rVar2)
 
template<class TVarType , class TContainerType >
static void CheckNonHistoricalVariable (ModelPart &rModelPart, const TContainerType &rContainer, const TVarType &rVariable)
 
template<class TContainerType , class TVarType >
static void CheckNonHistoricalVariable (ModelPart &rModelPart, const TContainerType &rContainer, const TVarType &rVariable, GlobalPointerCommunicator< typename TContainerType::data_type > &rPointerCommunicator, std::unordered_map< int, GlobalPointer< typename TContainerType::data_type >> &gp_map)
 
template<class TVarType >
static void CheckHistoricalVariable (ModelPart &rModelPart, const TVarType &rVariable)
 
template<class TVarType >
static void CheckHistoricalVariable (ModelPart &rModelPart, const TVarType &rVariable, GlobalPointerCommunicator< Node > &rPointerCommunicator, std::unordered_map< int, GlobalPointer< Node >> &gp_map)
 

Member Typedef Documentation

◆ EnalbeIfBoundedVector

template<class TVarType , class TReturnType >
using Kratos::MpiDebugUtilities::EnalbeIfBoundedVector = typename std::enable_if<is_kratos_bounded_vector_variable<TVarType>::value, TReturnType>::type

◆ EnalbeIfSingle

template<class TVarType , class TReturnType >
using Kratos::MpiDebugUtilities::EnalbeIfSingle = typename std::enable_if<is_kratos_single_variable<TVarType>::value, TReturnType>::type

◆ EnalbeIfUnbounedVector

template<class TVarType , class TReturnType >
using Kratos::MpiDebugUtilities::EnalbeIfUnbounedVector = typename std::enable_if<is_kratos_unbounded_vector_variable<TVarType>::value, TReturnType>::type

Constructor & Destructor Documentation

◆ MpiDebugUtilities()

Kratos::MpiDebugUtilities::MpiDebugUtilities ( )
inline

Member Function Documentation

◆ CheckHistoricalVariable() [1/2]

template<class TVarType >
static void Kratos::MpiDebugUtilities::CheckHistoricalVariable ( ModelPart rModelPart,
const TVarType &  rVariable 
)
inlinestatic

◆ CheckHistoricalVariable() [2/2]

template<class TVarType >
static void Kratos::MpiDebugUtilities::CheckHistoricalVariable ( ModelPart rModelPart,
const TVarType &  rVariable,
GlobalPointerCommunicator< Node > &  rPointerCommunicator,
std::unordered_map< int, GlobalPointer< Node >> &  gp_map 
)
inlinestatic

◆ CheckNonHistoricalVariable() [1/2]

template<class TVarType , class TContainerType >
static void Kratos::MpiDebugUtilities::CheckNonHistoricalVariable ( ModelPart rModelPart,
const TContainerType &  rContainer,
const TVarType &  rVariable 
)
inlinestatic

◆ CheckNonHistoricalVariable() [2/2]

template<class TContainerType , class TVarType >
static void Kratos::MpiDebugUtilities::CheckNonHistoricalVariable ( ModelPart rModelPart,
const TContainerType &  rContainer,
const TVarType &  rVariable,
GlobalPointerCommunicator< typename TContainerType::data_type > &  rPointerCommunicator,
std::unordered_map< int, GlobalPointer< typename TContainerType::data_type >> &  gp_map 
)
inlinestatic

◆ InteralCmpEq() [1/2]

template<class TVarType >
static EnalbeIfSingle<TVarType, bool> Kratos::MpiDebugUtilities::InteralCmpEq ( const TVarType &  rVar1,
const TVarType &  rVar2 
)
inlinestatic

◆ InteralCmpEq() [2/2]

template<class TVarType >
static EnalbeIfBoundedVector<TVarType, bool> Kratos::MpiDebugUtilities::InteralCmpEq ( const TVarType &  rVar1,
const TVarType &  rVar2 
)
inlinestatic

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::MpiDebugUtilities::KRATOS_CLASS_POINTER_DEFINITION ( MpiDebugUtilities  )

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