Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::ScdParData Class Reference

struct for keeping parallel data in one place More...

#include <ScdInterface.hpp>

+ Collaboration diagram for moab::ScdParData:

Public Types

enum  PartitionMethod {
  ALLJORKORI = 0 , ALLJKBAL , SQIJ , SQJK ,
  SQIJK , TRIVIAL , RCBZOLTAN , NOPART
}
 Partition method enumeration; these strategies are described in comments for compute_partition_alljorkori, compute_partition_alljkbal, compute_partition_sqij, compute_partition_sqjk, and compute_partition_sqijk. More...
 

Public Member Functions

 ScdParData ()
 

Public Attributes

int partMethod
 partition method used to partition global parametric space More...
 
int gDims [6]
 lower and upper corners of global box More...
 
int gPeriodic [3]
 is globally periodic in i or j or k More...
 
int pDims [3]
 number of procs in each direction More...
 
ParallelCommpComm
 parallel communicator object for this par scd mesh More...
 

Static Public Attributes

static MOAB_EXPORT const char * PartitionMethodNames [NOPART+1]
 Partition method names. More...
 

Detailed Description

struct for keeping parallel data in one place

Definition at line 107 of file ScdInterface.hpp.

Member Enumeration Documentation

◆ PartitionMethod

Partition method enumeration; these strategies are described in comments for compute_partition_alljorkori, compute_partition_alljkbal, compute_partition_sqij, compute_partition_sqjk, and compute_partition_sqijk.

Enumerator
ALLJORKORI 
ALLJKBAL 
SQIJ 
SQJK 
SQIJK 
TRIVIAL 
RCBZOLTAN 
NOPART 

Definition at line 120 of file ScdInterface.hpp.

121  {
122  ALLJORKORI = 0,
123  ALLJKBAL,
124  SQIJ,
125  SQJK,
126  SQIJK,
127  TRIVIAL,
128  RCBZOLTAN,
129  NOPART
130  };

Constructor & Destructor Documentation

◆ ScdParData()

moab::ScdParData::ScdParData ( )
inline

Definition at line 110 of file ScdInterface.hpp.

110  : partMethod( NOPART ), pComm( NULL )
111  {
112  gDims[0] = gDims[1] = gDims[2] = gDims[3] = gDims[4] = gDims[5] = 0;
113  gPeriodic[0] = gPeriodic[1] = gPeriodic[2] = 0;
114  pDims[0] = pDims[1] = pDims[2] = 0;
115  }

References gDims, gPeriodic, and pDims.

Member Data Documentation

◆ gDims

◆ gPeriodic

◆ PartitionMethodNames

const char * moab::ScdParData::PartitionMethodNames
static
Initial value:
= { "alljorkori", "alljkbal", "sqij", "sqjk",
"sqijk", "trivial", "rcbzoltan", "nopart" }

Partition method names.

Definition at line 133 of file ScdInterface.hpp.

Referenced by moab::operator<<(), and moab::ReadNC::parse_options().

◆ partMethod

◆ pComm

ParallelComm* moab::ScdParData::pComm

parallel communicator object for this par scd mesh

Definition at line 148 of file ScdInterface.hpp.

Referenced by moab::ScdInterface::construct_box().

◆ pDims


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