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::DistributedModelPartInitializer Class Reference

Initialize a distributed ModelPart from a serial one. More...

#include <distributed_model_part_initializer.h>

Collaboration diagram for Kratos::DistributedModelPartInitializer:

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 ()
 

Detailed Description

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!

Constructor & Destructor Documentation

◆ DistributedModelPartInitializer()

Kratos::DistributedModelPartInitializer::DistributedModelPartInitializer ( ModelPart rModelPart,
const DataCommunicator rDataComm,
int  SourceRank 
)
inline

Constructor.

◆ ~DistributedModelPartInitializer()

virtual Kratos::DistributedModelPartInitializer::~DistributedModelPartInitializer ( )
virtualdefault

Destructor.

Member Function Documentation

◆ CopySubModelPartStructure()

void Kratos::DistributedModelPartInitializer::CopySubModelPartStructure ( )

◆ Execute()

void Kratos::DistributedModelPartInitializer::Execute ( )

◆ KRATOS_CLASS_POINTER_DEFINITION()

Kratos::DistributedModelPartInitializer::KRATOS_CLASS_POINTER_DEFINITION ( DistributedModelPartInitializer  )

Pointer definition of DistributedModelPartInitializer.


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