Version: 6.5.0
Functions
General information settings

Functions

void MEDMEM::MESHING::setCoordinatesNames (const string *names)
void MEDMEM::MESHING::setCoordinateName (const string name, const int i)
void MEDMEM::MESHING::setCoordinatesUnits (const string *units)
void MEDMEM::MESHING::setCoordinateUnit (const string unit, const int i)

Detailed Description

Function Documentation

void MEDMEM::MESHING::setCoordinatesNames ( const string *  name)

Sets the coordinate names array. Coordinates names must not exceed the storage length defined in MED-file : MED_TAILLE_PNOM (8).

Example:

string coord[3]={"x","y","z"};
meshing.setCoordinatesNames(coord);

References MEDMEM::MESH::_coordinate.

Referenced by MEDMEM::GRID::convertInMESH(), and MEDMEM::SUPPORT::makeMesh().

void MEDMEM::MESHING::setCoordinateName ( const string  name,
const int  i 
)
void MEDMEM::MESHING::setCoordinatesUnits ( const string *  units)

Sets the coordinate unit names array of size n*MED_TAILLE_PNOM. Coordinates units must not exceed the storage length defined in MED-file : MED_TAILLE_PNOM (8).

Example:

string coord[3]={"cm","cm","cm"};
meshing.setCoordinatesUnits(coord);

References MEDMEM::MESH::_coordinate.

Referenced by MEDMEM::GRID::convertInMESH(), and MEDMEM::SUPPORT::makeMesh().

void MEDMEM::MESHING::setCoordinateUnit ( const string  unit,
const int  i 
)
Copyright © 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS