Constructors

Functions

 MEDMEM::GRID::GRID (const std::vector< std::vector< double > > &xyz_array, const std::vector< std::string > &coord_name, const std::vector< std::string > &coord_unit, const MED_EN::med_grid_type type=MED_EN::MED_CARTESIAN)

Detailed Description

These methods are the different constructors for the grid objects.


Function Documentation

GRID::GRID ( const std::vector< std::vector< double > > &  xyz_array,
const std::vector< std::string > &  coord_name,
const std::vector< std::string > &  coord_unit,
const MED_EN::med_grid_type  type = MED_EN::MED_CARTESIAN 
) [inherited]

Constructor specifying the axes of the grid.

This constructor describes the grid by specifying the location of the nodes on each of the axis. The dimension of the grid is implicitly defined by the size of vector xyz_array.

Parameters:
xyz_array specifies the node coordinates for each direction
coord_name names of the different coordinates
coord_unit names of the different coordinate units
type grid type (MED_POLAR, MED_CARTESIAN)

References MEDMEM::MESH::_coordinate, MEDMEM::GRID::_gridType, MEDMEM::GRID::_iArray, MEDMEM::GRID::_iArrayLength, MEDMEM::GRID::_is_connectivity_filled, MEDMEM::GRID::_is_coordinates_filled, MEDMEM::GRID::_is_default_gridType, MEDMEM::MESH::_isAGrid, MEDMEM::GRID::_jArray, MEDMEM::GRID::_jArrayLength, MEDMEM::GRID::_kArray, MEDMEM::GRID::_kArrayLength, MEDMEM::MESH::_meshDimension, MEDMEM::MESH::_numberOfNodes, MEDMEM::MESH::_spaceDimension, and MEDMEM::GRID::init().

Generated on Sat May 1 03:22:41 2010 for Med Memory Users' Guide by  doxygen 1.6.3