MESH Nodes information

Functions

int MEDMEM::MESH::getNumberOfNodes () const
virtual const COORDINATE * MEDMEM::MESH::getCoordinateptr () const
string MEDMEM::MESH::getCoordinatesSystem () const
virtual const double * MEDMEM::MESH::getCoordinates (MED_EN::medModeSwitch Mode) const
virtual const double MEDMEM::MESH::getCoordinate (int Number, int Axis) const
const string * MEDMEM::MESH::getCoordinatesNames () const
const string * MEDMEM::MESH::getCoordinatesUnits () const

Detailed Description

These methods are related to the extraction of information about the mesh nodes.


Function Documentation

int MEDMEM::MESH::getNumberOfNodes (  )  const [inherited]
const COORDINATE * MEDMEM::MESH::getCoordinateptr (  )  const [virtual, inherited]
string MEDMEM::MESH::getCoordinatesSystem (  )  const [inherited]

Retrieves the system in which coordinates are given (CARTESIAN,CYLINDRICAL,SPHERICAL).

References MEDMEM::MESH::_coordinate.

Referenced by MEDMEM::SUPPORT::makeMesh().

const double * MEDMEM::MESH::getCoordinates ( MED_EN::medModeSwitch  Mode  )  const [virtual, inherited]

Gets the whole coordinates array in a given interlacing mode. The interlacing mode are :

  • MED_NO_INTERLACE : X1 X2 Y1 Y2 Z1 Z2
  • MED_FULL_INTERLACE : X1 Y1 Z1 X2 Y2 Z2

Reimplemented in MEDMEM::GRID.

Examples:
MESHcoordinates.cxx.

References MEDMEM::MESH::_coordinate.

Referenced by MEDMEM::FIELD< T, INTERLACING_TAG >::buildGradient(), MEDMEM::MESH::deepCompare(), MEDMEM::FIELD< T, INTERLACING_TAG >::fillFromAnalytic(), MEDMEM::MESH::getElementContainingPoint(), MEDMEM::SUPPORT::makeMesh(), and MEDMEM::MESH::printMySelf().

const double MEDMEM::MESH::getCoordinate ( int  number,
int  axis 
) const [virtual, inherited]

Gets the coordinate number number on axis axis.

Reimplemented in MEDMEM::GRID.

References MEDMEM::MESH::_coordinate.

const string * MEDMEM::MESH::getCoordinatesNames (  )  const [inherited]

Gets a pointer to the coordinate names array.

Examples:
MESHcoordinates.cxx.

References MEDMEM::MESH::_coordinate.

Referenced by MEDMEM::MESH::getBarycenter(), MEDMEM::SUPPORT::makeMesh(), and MEDMEM::MESH::printMySelf().

const string * MEDMEM::MESH::getCoordinatesUnits (  )  const [inherited]
Generated on Tue Jul 27 21:55:03 2010 for Med Memory Users' Guide by  doxygen 1.6.3