MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
PartitionInfo< nDim > Class Template Reference

#include <structuredpartition.h>

Collaboration diagram for PartitionInfo< nDim >:
[legend]

Public Member Functions

 PartitionInfo ()
 
 ~PartitionInfo ()
 

Public Attributes

MInt blockId = -1
 
MInt partitionId = -1
 
MInt cpu = -1
 
std::unique_ptr< MInt[]> size {}
 
std::unique_ptr< MInt[]> offset {}
 
MLong totalSize = 0
 
MFloat weight = 1.0
 

Detailed Description

template<MInt nDim>
class PartitionInfo< nDim >

Definition at line 26 of file structuredpartition.h.

Constructor & Destructor Documentation

◆ PartitionInfo()

template<MInt nDim>
PartitionInfo< nDim >::PartitionInfo ( )
inline

Definition at line 28 of file structuredpartition.h.

28 {
29 size = std::make_unique<MInt[]>(nDim);
30 offset = std::make_unique<MInt[]>(nDim);
31 };
std::unique_ptr< MInt[]> offset
std::unique_ptr< MInt[]> size

◆ ~PartitionInfo()

template<MInt nDim>
PartitionInfo< nDim >::~PartitionInfo ( )
inline

Definition at line 32 of file structuredpartition.h.

32{};

Member Data Documentation

◆ blockId

template<MInt nDim>
MInt PartitionInfo< nDim >::blockId = -1

Definition at line 34 of file structuredpartition.h.

◆ cpu

template<MInt nDim>
MInt PartitionInfo< nDim >::cpu = -1

Definition at line 36 of file structuredpartition.h.

◆ offset

template<MInt nDim>
std::unique_ptr<MInt[]> PartitionInfo< nDim >::offset {}

Definition at line 38 of file structuredpartition.h.

◆ partitionId

template<MInt nDim>
MInt PartitionInfo< nDim >::partitionId = -1

Definition at line 35 of file structuredpartition.h.

◆ size

template<MInt nDim>
std::unique_ptr<MInt[]> PartitionInfo< nDim >::size {}

Definition at line 37 of file structuredpartition.h.

◆ totalSize

template<MInt nDim>
MLong PartitionInfo< nDim >::totalSize = 0

Definition at line 39 of file structuredpartition.h.

◆ weight

template<MInt nDim>
MFloat PartitionInfo< nDim >::weight = 1.0

Definition at line 40 of file structuredpartition.h.


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