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.
List of all members
Kratos::MPM_MPI_Utilities Class Reference

Provides place to add mpi related utility functions. More...

#include <mpi_utilities.h>

Collaboration diagram for Kratos::MPM_MPI_Utilities:

Static Public Member Functions

Static Operations
static void TransferElements (ModelPart &rModelPart, std::vector< ElementsContainerType > &rSendElements)
 Interface to exchange elements. More...
 
static void TransferConditions (ModelPart &rModelPart, std::vector< ConditionsContainerType > &rSendCondition)
 Interface to exchange conditions. More...
 

Type Definitions

typedef ModelPart::ElementsContainerType ElementsContainerType
 
typedef ModelPart::ConditionsContainerType ConditionsContainerType
 
 KRATOS_CLASS_POINTER_DEFINITION (MPM_MPI_Utilities)
 Pointer definition of MPM_MPI_Utilities. More...
 

Detailed Description

Provides place to add mpi related utility functions.

Member Typedef Documentation

◆ ConditionsContainerType

◆ ElementsContainerType

Member Function Documentation

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::MPM_MPI_Utilities::KRATOS_CLASS_POINTER_DEFINITION ( MPM_MPI_Utilities  )

Pointer definition of MPM_MPI_Utilities.

◆ TransferConditions()

void Kratos::MPM_MPI_Utilities::TransferConditions ( ModelPart rModelPart,
std::vector< ConditionsContainerType > &  rSendCondition 
)
static

Interface to exchange conditions.

Interface to exchange conditions betweem mpi-processes and remove/add conditions from/to respective ModelPart.

Parameters
rSendConditionlist of conditions to be send. SendObjects[i] -> Objects to process i

◆ TransferElements()

void Kratos::MPM_MPI_Utilities::TransferElements ( ModelPart rModelPart,
std::vector< ElementsContainerType > &  rSendElements 
)
static

Interface to exchange elements.

Interface to exchange elements betweem mpi-processes and remove/add elements from/to respective ModelPart.

Parameters
rSendElementslist of objects to be send. SendObjects[i] -> Objects to process i

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