OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
ugrid::TwoDMeshTopology Class Reference

Identifies the location/rank/dimension that various grid components are associated with. More...

#include <TwoDMeshTopology.h>

Collaboration diagram for ugrid::TwoDMeshTopology:
Collaboration graph

Public Member Functions

void addIndexVariable (locationType location)
 Adds an index variable at the gridfields rank as indicated by the passed locationType. More...
 
void applyRestrictOperator (locationType loc, string filterExpression)
 
void buildBasicGfTopology ()
 
void convertResultGridFieldStructureToDapObjects (vector< libdap::BaseType * > *results)
 
int getInputGridSize (locationType location)
 
libdap::BaseType * getMeshVariable ()
 
void getResultGFAttributeValues (string attrName, libdap::Type type, locationType rank, void *target)
 Retrieves a single dimensional GF attribute array from a GF::GridField and places the data into DAP array of the appropriate type. More...
 
int getResultGridSize (locationType location)
 
void getResultIndex (locationType location, void *target)
 
void init (string meshVarName, libdap::DDS *dds)
 only call this from the constructor?? Seems like the thing to do, but then the constructor will be possibly throwing an Error - Is that OK? More...
 
string name ()
 
void setLocationCoordinateDimension (MeshDataVariable *mdv)
 
 TwoDMeshTopology (string meshVarName, DDS &dds)
 
 TwoDMeshTopology ()
 
 ~TwoDMeshTopology ()
 

Detailed Description

Identifies the location/rank/dimension that various grid components are associated with.

Definition at line 52 of file TwoDMeshTopology.h.

Constructor & Destructor Documentation

ugrid::TwoDMeshTopology::TwoDMeshTopology ( string  meshVarName,
DDS &  dds 
)
ugrid::TwoDMeshTopology::TwoDMeshTopology ( )

Definition at line 65 of file TwoDMeshTopology.cc.

ugrid::TwoDMeshTopology::~TwoDMeshTopology ( )

Definition at line 87 of file TwoDMeshTopology.cc.

References BESDEBUG.

Member Function Documentation

void ugrid::TwoDMeshTopology::addIndexVariable ( locationType  location)

Adds an index variable at the gridfields rank as indicated by the passed locationType.

Definition at line 1527 of file TwoDMeshTopology.cc.

References BESDEBUG, getInputGridSize(), name(), and ugrid::newGFIndexArray().

Referenced by ugrid::ugr5().

Here is the call graph for this function:

void ugrid::TwoDMeshTopology::applyRestrictOperator ( locationType  loc,
string  filterExpression 
)

Definition at line 898 of file TwoDMeshTopology.cc.

References BESDEBUG.

Referenced by ugrid::ugr5().

void ugrid::TwoDMeshTopology::buildBasicGfTopology ( )

Definition at line 688 of file TwoDMeshTopology.cc.

References BESDEBUG, ugrid::extractGridFieldArray(), face, getMeshVariable(), name(), and node.

Referenced by ugrid::ugr5().

Here is the call graph for this function:

void ugrid::TwoDMeshTopology::convertResultGridFieldStructureToDapObjects ( vector< libdap::BaseType * > *  results)

Definition at line 1065 of file TwoDMeshTopology.cc.

References BESDEBUG, face, getMeshVariable(), and node.

Referenced by ugrid::ugr5().

Here is the call graph for this function:

int ugrid::TwoDMeshTopology::getInputGridSize ( locationType  location)

Definition at line 1496 of file TwoDMeshTopology.cc.

References BESDEBUG, edge, face, and node.

Referenced by addIndexVariable().

libdap::BaseType* ugrid::TwoDMeshTopology::getMeshVariable ( )
inline
void ugrid::TwoDMeshTopology::getResultGFAttributeValues ( string  attrName,
libdap::Type  type,
locationType  rank,
void *  target 
)

Retrieves a single dimensional GF attribute array from a GF::GridField and places the data into DAP array of the appropriate type.

Definition at line 1399 of file TwoDMeshTopology.cc.

References BESDEBUG.

Referenced by getResultIndex().

int ugrid::TwoDMeshTopology::getResultGridSize ( locationType  location)

Definition at line 757 of file TwoDMeshTopology.cc.

Referenced by ugrid::ugr5().

void ugrid::TwoDMeshTopology::getResultIndex ( locationType  location,
void *  target 
)

Definition at line 1547 of file TwoDMeshTopology.cc.

References getResultGFAttributeValues(), and name().

Referenced by ugrid::ugr5().

Here is the call graph for this function:

void ugrid::TwoDMeshTopology::init ( string  meshVarName,
libdap::DDS *  dds 
)

only call this from the constructor?? Seems like the thing to do, but then the constructor will be possibly throwing an Error - Is that OK?

Definition at line 152 of file TwoDMeshTopology.cc.

References BESDEBUG, ugrid::getAttributeValue(), getMeshVariable(), and UGRID_TOPOLOGY_DIMENSION.

Referenced by ugrid::ugr5().

Here is the call graph for this function:

string ugrid::TwoDMeshTopology::name ( )
inline

Definition at line 228 of file TwoDMeshTopology.h.

Referenced by addIndexVariable(), buildBasicGfTopology(), and getResultIndex().

void ugrid::TwoDMeshTopology::setLocationCoordinateDimension ( MeshDataVariable mdv)

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