Med Memory Users' Guide 5.1.3
|
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) |
These methods are the different constructors for the grid objects.
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.
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().