Classes | |
class | base |
class | halo |
struct | intervalset |
class | parallel_base |
class | parallel_blockstructured |
struct | partition_info |
struct | patch_info |
struct | pbsintervals |
struct | subregion |
class | unstructured |
Enumerations | |
enum | TopoType { CARTESIAN =0, UNIRECT, RECTILINEAR, CURVILINEAR, NUMTOPOTYPE } |
Geometry/grid topology types. More... | |
Functions | |
int | ResolveTopoName (const std::string &inName) |
std::string | ResolveTopoType (int inType) |
int | InitSubRegionFromString (const std::string &inString, const std::vector< size_t > &gridSizes, subregion &inSubRegion) |
pcpp::IndexIntervalType | ResolveBufferInterval (const pcpp::IndexIntervalType &partitionInterval, const pcpp::IndexIntervalType &partitionBufferInterval, const pcpp::IndexIntervalType &partitionSubInterval) |
template<typename GridType > | |
std::vector< double > | GenerateUniformGrid (GridType &inGrid, const std::vector< double > &physicalExtent) |
Variables | |
static const int | NUMGRIDTYPES = NUMTOPOTYPE |
static const char * | topoNames [] = {"Cartesian","Uniform-rectangular","Rectilinear","Curvilinear","Unknown"} |
enum TopoType |
Geometry/grid topology types.
This enumerates the types of block-structured grid topologies.
Enumerator | |
---|---|
CARTESIAN | |
UNIRECT | |
RECTILINEAR | |
CURVILINEAR | |
NUMTOPOTYPE |
std::vector<double> simulation::grid::GenerateUniformGrid | ( | GridType & | inGrid, |
const std::vector< double > & | physicalExtent | ||
) |
Definition at line 717 of file Grid.H.
References bufferSizes, gridSizes, and numPointsBuffer.
int InitSubRegionFromString | ( | const std::string & | inString, |
const std::vector< size_t > & | gridSizes, | ||
subregion & | inSubRegion | ||
) |
Definition at line 174 of file Grid.C.
References sizeextent::InitSimple(), subregion::normalDirection, base::numDim, subregion::regionInterval, subregion::regionName, and sizeextent::Sync().
Referenced by plascom2::util::ConfigureGridSubRegions(), and TestGrid_SubRegion().
pcpp::IndexIntervalType ResolveBufferInterval | ( | const pcpp::IndexIntervalType & | partitionInterval, |
const pcpp::IndexIntervalType & | partitionBufferInterval, | ||
const pcpp::IndexIntervalType & | partitionSubInterval | ||
) |
Definition at line 153 of file Grid.C.
References base::numDim, sizeextent::Overlap(), and sizeextent::Sync().
int ResolveTopoName | ( | const std::string & | inName | ) |
Definition at line 135 of file Grid.C.
References CARTESIAN, NUMTOPOTYPE, and topoNames.
Referenced by plascom2::util::ConfigureGrid(), and plascom2::util::ConfigureGridInfo().
std::string ResolveTopoType | ( | int | inType | ) |
Definition at line 144 of file Grid.C.
References NUMTOPOTYPE, and topoNames.
Referenced by plascom2::util::ConfigureGrid(), and plascom2::util::ConfigureGridInfo().
|
static |
Definition at line 29 of file Grid.H.
Referenced by TestViscidKernelsMetrics().
|
static |
Definition at line 30 of file Grid.H.
Referenced by ResolveTopoName(), and ResolveTopoType().