1#ifndef _StructuredGrid_
2#define _StructuredGrid_
11 #pragma warning(disable : 4661 4251)
65 StructuredGrid(
const std::vector<size_t> &dims,
const std::vector<size_t> &bs,
const std::vector<float *> &blks);
73 std::string
GetType()
const override {
return (GetClassType()); }
87 using Grid::GetCellNodes;
107 virtual void ClampCoord(
const double coords[3],
double cCoords[3])
const override { Grid::ClampCoord(coords, cCoords); }
118 void _structuredGrid(
const DimsType &dims,
const DimsType &bs,
const std::vector<float *> &blks);
Abstract base class for a 2D or 3D structured or unstructured grid.
Abstract base class for a 2D or 3D structured grid.
virtual bool GetEnclosingRegion(const CoordType &minu, const CoordType &maxu, DimsType &min, DimsType &max) const override
virtual bool HasInvertedCoordinateSystemHandiness() const override
const DimsType & GetNodeDimensions() const override
virtual void ClampCoord(const double coords[3], double cCoords[3]) const override
const size_t GetNumCellDimensions() const override
virtual bool GetCellNeighbors(const DimsType &cindices, std::vector< DimsType > &cells) const override
static std::string GetClassType()
size_t GetMaxVertexPerCell() const override
virtual bool GetCellNodes(const DimsType &cindices, std::vector< DimsType > &nodes) const override
virtual bool GetNodeCells(const DimsType &cindices, std::vector< DimsType > &cells) const override
VDF_API friend std::ostream & operator<<(std::ostream &o, const StructuredGrid &sg)
StructuredGrid(const DimsType &dims, const DimsType &bs, const std::vector< float * > &blks)
const DimsType & GetCellDimensions() const override
virtual void ClampCoord(const CoordType &coords, CoordType &cCoords) const override
const size_t GetNumNodeDimensions() const override
size_t GetMaxVertexPerFace() const override
StructuredGrid(const std::vector< size_t > &dims, const std::vector< size_t > &bs, const std::vector< float * > &blks)
std::string GetType() const override
virtual ~StructuredGrid()=default
std::array< double, 3 > CoordType
Type for specifying floating point coordinates.
std::array< size_t, 3 > DimsType
Type for specifying integer indices.