VAPOR3 3.9.4
Classes | Public Member Functions | List of all members
VAPoR::GridHelper Class Reference

#include <GridHelper.h>

Inheritance diagram for VAPoR::GridHelper:
Wasp::MyBase

Public Member Functions

 GridHelper (size_t max_size=10)
 
 ~GridHelper ()
 
string GetGridType (const DC::Mesh &m, const std::vector< DC::CoordVar > &cvarsinfo, const std::vector< vector< string > > &cdimnames) const
 
bool IsUnstructured (std::string gridType) const
 
bool IsStructured (std::string gridType) const
 
StructuredGridMakeGridStructured (string gridType, size_t ts, int level, int lod, const DC::DataVar &var, const std::vector< DC::CoordVar > &cvarsinfo, const DimsType &roi_dims, const DimsType &dims, const std::vector< float * > &blkvec, const std::vector< DimsType > &bsvec, const std::vector< DimsType > &bminvec, const std::vector< DimsType > &bmaxvec)
 
UnstructuredGridMakeGridUnstructured (string gridType, size_t ts, int level, int lod, const DC::DataVar &var, const std::vector< DC::CoordVar > &cvarsinfo, const DimsType &roi_dims, const DimsType &dims, const std::vector< float * > &blkvec, const std::vector< DimsType > &bsvec, const std::vector< DimsType > &bminvec, const std::vector< DimsType > &bmaxvec, const std::vector< int * > &conn_blkvec, const std::vector< DimsType > &conn_bsvec, const std::vector< DimsType > &conn_bminvec, const std::vector< DimsType > &conn_bmaxvec, const DimsType &vertexDims, const DimsType &faceDims, const DimsType &edgeDims, UnstructuredGrid::Location location, size_t maxVertexPerFace, size_t maxFacePerVertex, long vertexOffset, long faceOffset)
 
- Public Member Functions inherited from Wasp::MyBase
 MyBase ()
 
const string & getClassName () const
 

Additional Inherited Members

- Public Types inherited from Wasp::MyBase
typedef void(* ErrMsgCB_T) (const char *msg, int err_code)
 
typedef void(* DiagMsgCB_T) (const char *msg)
 
- Static Public Member Functions inherited from Wasp::MyBase
static void SetErrMsg (const char *format,...)
 Record a formatted error message.
 
static void SetErrMsg (int errcode, const char *format,...)
 Record a formatted error message and an error code.
 
static const char * GetErrMsg ()
 
static void SetErrCode (int err_code)
 Record an error code.
 
static int GetErrCode ()
 Retrieve the current error code.
 
static void SetErrMsgCB (ErrMsgCB_T cb)
 
static ErrMsgCB_T GetErrMsgCB ()
 
static void SetErrMsgFilePtr (FILE *fp)
 
static const FILE * SetErrMsgFilePtr ()
 
static void SetDiagMsg (const char *format,...)
 Record a formatted diagnostic message.
 
static const char * GetDiagMsg ()
 
static void SetDiagMsgCB (DiagMsgCB_T cb)
 
static DiagMsgCB_T GetDiagMsgCB ()
 
static void SetDiagMsgFilePtr (FILE *fp)
 
static bool EnableErrMsg (bool enable)
 
static bool GetEnableErrMsg ()
 
- Static Public Attributes inherited from Wasp::MyBase
static char * ErrMsg
 
static int ErrCode
 
static int ErrMsgSize
 
static FILE * ErrMsgFilePtr
 
static ErrMsgCB_T ErrMsgCB
 
static char * DiagMsg
 
static int DiagMsgSize
 
static FILE * DiagMsgFilePtr
 
static DiagMsgCB_T DiagMsgCB
 
static bool Enabled
 
- Protected Member Functions inherited from Wasp::MyBase
void SetClassName (const string &name)
 

Detailed Description

Definition at line 22 of file GridHelper.h.

Constructor & Destructor Documentation

◆ GridHelper()

VAPoR::GridHelper::GridHelper ( size_t  max_size = 10)
inline

Definition at line 24 of file GridHelper.h.

◆ ~GridHelper()

VAPoR::GridHelper::~GridHelper ( )

Member Function Documentation

◆ GetGridType()

string VAPoR::GridHelper::GetGridType ( const DC::Mesh m,
const std::vector< DC::CoordVar > &  cvarsinfo,
const std::vector< vector< string > > &  cdimnames 
) const

◆ IsStructured()

bool VAPoR::GridHelper::IsStructured ( std::string  gridType) const

◆ IsUnstructured()

bool VAPoR::GridHelper::IsUnstructured ( std::string  gridType) const

◆ MakeGridStructured()

StructuredGrid * VAPoR::GridHelper::MakeGridStructured ( string  gridType,
size_t  ts,
int  level,
int  lod,
const DC::DataVar var,
const std::vector< DC::CoordVar > &  cvarsinfo,
const DimsType roi_dims,
const DimsType dims,
const std::vector< float * > &  blkvec,
const std::vector< DimsType > &  bsvec,
const std::vector< DimsType > &  bminvec,
const std::vector< DimsType > &  bmaxvec 
)

◆ MakeGridUnstructured()

UnstructuredGrid * VAPoR::GridHelper::MakeGridUnstructured ( string  gridType,
size_t  ts,
int  level,
int  lod,
const DC::DataVar var,
const std::vector< DC::CoordVar > &  cvarsinfo,
const DimsType roi_dims,
const DimsType dims,
const std::vector< float * > &  blkvec,
const std::vector< DimsType > &  bsvec,
const std::vector< DimsType > &  bminvec,
const std::vector< DimsType > &  bmaxvec,
const std::vector< int * > &  conn_blkvec,
const std::vector< DimsType > &  conn_bsvec,
const std::vector< DimsType > &  conn_bminvec,
const std::vector< DimsType > &  conn_bmaxvec,
const DimsType vertexDims,
const DimsType faceDims,
const DimsType edgeDims,
UnstructuredGrid::Location  location,
size_t  maxVertexPerFace,
size_t  maxFacePerVertex,
long  vertexOffset,
long  faceOffset 
)

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