#include <nav.hpp>

Public Types

typedef Coord3D coord_t
 
typedef int elem_t
 

Public Member Functions

 Cart3D (const UnstructuredGrid &g)
 Initialize POD from an existing (3D) grid. More...
 
Cart2D project () const
 Project grid into a surface. More...
 
coord_t coord (const elem_t &cart_ndx) const
 Deconstruct Cartesian index into coordinates. More...
 

Public Attributes

const int ni
 
const int nj
 
const int nk
 

Detailed Description

Navigate a three-dimensional grid.

In this module, we only need this to get the structured index of each three-dimensional element, in order to know into which column we should assign this element. However, we keep the design in the same manner as the two-dimensional case.

Member Typedef Documentation

typedef int Cart3D::elem_t

Constructor & Destructor Documentation

Cart3D::Cart3D ( const UnstructuredGrid &  g)
inline

Initialize POD from an existing (3D) grid.

Member Function Documentation

coord_t Cart3D::coord ( const elem_t cart_ndx) const
inline

Deconstruct Cartesian index into coordinates.

Cart2D Cart3D::project ( ) const
inline

Project grid into a surface.

Member Data Documentation

const int Cart3D::ni
const int Cart3D::nj
const int Cart3D::nk

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