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.
|
Initialize a distributed ModelPart from a serial one. More...
#include <distributed_model_part_initializer.h>
Public Member Functions | |
Type Definitions | |
KRATOS_CLASS_POINTER_DEFINITION (DistributedModelPartInitializer) | |
Pointer definition of DistributedModelPartInitializer. More... | |
Life Cycle | |
DistributedModelPartInitializer (ModelPart &rModelPart, const DataCommunicator &rDataComm, int SourceRank) | |
Constructor. More... | |
virtual | ~DistributedModelPartInitializer ()=default |
Destructor. More... | |
Operations | |
void | CopySubModelPartStructure () |
void | Execute () |
Initialize a distributed ModelPart from a serial one.
This class initializes a distributed ModelPart from a serial one. It creates the ModelPart hierarchy that exists on the source rank also on the other ranks. Furthermore it initializes the (MPI-)Communicators. Note that all the entities are still only on the source rank, no partitioning is done!
|
inline |
Constructor.
|
virtualdefault |
Destructor.
void Kratos::DistributedModelPartInitializer::CopySubModelPartStructure | ( | ) |
void Kratos::DistributedModelPartInitializer::Execute | ( | ) |
Kratos::DistributedModelPartInitializer::KRATOS_CLASS_POINTER_DEFINITION | ( | DistributedModelPartInitializer | ) |
Pointer definition of DistributedModelPartInitializer.