![]() |
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.
|
This function provides essential capabilities for mapping between local and global ids in a distributed vector. More...
#include <distributed_numbering.h>
Public Member Functions | |
Life Cycle | |
| DistributedNumbering (const DataCommunicator &rComm, const IndexType LocalSize) | |
| DistributedNumbering (const DataCommunicator *pComm, const IndexType LocalSize) | |
| DistributedNumbering (const DataCommunicator &rComm, const IndexType TotalSize, const MpiIndexType Nranks) | |
| DistributedNumbering (const DataCommunicator *pComm, const IndexType TotalSize, const MpiIndexType Nranks) | |
| DistributedNumbering (const DataCommunicator *pComm, const std::vector< IndexType > &CpuBounds) | |
| DistributedNumbering (const DataCommunicator &rComm, const std::vector< IndexType > &CpuBounds) | |
| DistributedNumbering (const DistributedNumbering &rOther) | |
| Copy constructor. More... | |
| ~DistributedNumbering () | |
| Destructor. More... | |
Type Definitions | |
| typedef TIndexType | IndexType |
| typedef int | MpiIndexType |
| KRATOS_CLASS_POINTER_DEFINITION (DistributedNumbering) | |
| Pointer definition of DistributedNumbering. More... | |
Operators | |
| const DataCommunicator & | GetComm () const |
| const DataCommunicator * | pGetComm () const |
| IndexType | LocalSize () const |
| IndexType | Size () const |
| bool | IsLocal (const IndexType I) const |
| IndexType | LocalId (const IndexType rGlobalId) const |
| IndexType | GlobalId (const IndexType rLocalId) const |
| IndexType | RemoteLocalId (const IndexType rGlobalId, const IndexType rOwnerRank) const |
| IndexType | RemoteGlobalId (const IndexType rRemoteLocalId, const IndexType rOwnerRank) const |
| IndexType | OwnerRank (const IndexType RowIndex) const |
| const std::vector< IndexType > & | GetCpuBounds () const |
| std::string | Info () const |
| Turn back information as a string. More... | |
| void | PrintInfo (std::ostream &rOStream) const |
| Print information about this object. More... | |
| void | PrintData (std::ostream &rOStream) const |
| Print object's data. More... | |
This function provides essential capabilities for mapping between local and global ids in a distributed vector.
| typedef TIndexType Kratos::DistributedNumbering< TIndexType >::IndexType |
| typedef int Kratos::DistributedNumbering< TIndexType >::MpiIndexType |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Copy constructor.
|
inline |
Destructor.
|
inline |
|
inline |
|
inline |
|
inline |
Turn back information as a string.
|
inline |
| Kratos::DistributedNumbering< TIndexType >::KRATOS_CLASS_POINTER_DEFINITION | ( | DistributedNumbering< TIndexType > | ) |
Pointer definition of DistributedNumbering.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Print object's data.
|
inline |
Print information about this object.
|
inline |
|
inline |
|
inline |