Version: 6.3.1
Data Structures | Packages | Typedefs | Enumerations | Functions | Variables

src/MEDMEM/MEDMEM_EnsightUtils.hxx File Reference

#include "MEDMEM_GenDriver.hxx"
#include "MEDMEM_Exception.hxx"
#include "MEDMEM_DriverTools.hxx"
#include "MEDMEM_Mesh.hxx"
#include <set>
#include <float.h>
#include <cmath>
Include dependency graph for MEDMEM_EnsightUtils.hxx:

Go to the source code of this file.

Data Structures

struct  MEDMEM_ENSIGHT.TEnSightElemType
 EnSight element type name and an array to convert med connectivity to EnSight one. More...
class  MEDMEM_ENSIGHT._CaseFileDriver
 Reader/writer of EnSight Case file. More...
struct  MEDMEM_ENSIGHT._CaseFileDriver._Model
struct  MEDMEM_ENSIGHT._CaseFileDriver._Variable
struct  MEDMEM_ENSIGHT._CaseFileDriver._FileSet
struct  MEDMEM_ENSIGHT._CaseFileDriver._TimeSet
class  MEDMEM_ENSIGHT._CaseFileDriver_User
 Base of all Ensight drivers. It stores data passed from case file. More...
struct  MEDMEM_ENSIGHT._SubPartDesc
 Descriptor of the sub-part: part number and elem type or "block" etc. More...
struct  MEDMEM_ENSIGHT._SubPart
 A type within EnSight part. It stores data needed by field driver to know nb of values of a geometric type and what place they get in MED group. More...
struct  MEDMEM_ENSIGHT._Support
 EnSight variable support composed of _SubPart's. More...
struct  MEDMEM_ENSIGHT._InterMed
 Structure to temporarily store data read from EnSight geom file. More...
struct  MEDMEM_ENSIGHT._ValueOwner< T >
 Simple owner of C array. More...
class  MEDMEM_ENSIGHT._ValueIterator< T >
 Iterator on values of a component. More...
class  MEDMEM_ENSIGHT._ASCIIFileReader
 Reader of ASCII files. More...
class  MEDMEM_ENSIGHT._BinaryFileReader
 Reader of binary files. More...
class  MEDMEM_ENSIGHT._BinaryFileWriter
 Writer of binary files. More...
class  MEDMEM_ENSIGHT._BinaryFileWriter._RealData
 Container of temporary data converting any data to floats. More...

Packages

package  MEDMEM
package  MEDMEM_ENSIGHT

Typedefs

typedef std::set< _SubPartDesc > MEDMEM_ENSIGHT._SupportDesc
typedef _ValueOwner< char > MEDMEM_ENSIGHT.TStrOwner
typedef _ValueOwner< intMEDMEM_ENSIGHT.TIntOwner
typedef _ValueOwner< doubleMEDMEM_ENSIGHT.TDblOwner
typedef _ValueOwner< float > MEDMEM_ENSIGHT.TFltOwner

Enumerations

enum  MEDMEM.EnSightFormat { MEDMEM.ENSIGHT_6, MEDMEM.ENSIGHT_GOLD }
 

Functions to set writing format. Default format is EnSight6 ASCII.

More...

Functions

void MEDMEM.setEnSightFormatForWriting (EnSightFormat format, bool isBinary)
EnSightFormat MEDMEM.getEnSightFormatForWriting ()
bool MEDMEM.isBinaryEnSightFormatForWriting ()
void MEDMEM.setIgnoreIncompatibility (bool toIgnore=true)
 To raise or not if MEDMEM-EnSight incompatibility encounters or suspected.
STRING MEDMEM_ENSIGHT.compatibilityPb (const string &exceptionText)
 Prepend "EnSight-MEDMEM compatibility problem" to the text of an exception.
bool MEDMEM_ENSIGHT.toIgnoreIncompatibility ()
 To ignore incompatibility or not.
bool MEDMEM_ENSIGHT.contains (const char *what, const char *inString)
 Search substring in a string.
const TEnSightElemType & MEDMEM_ENSIGHT.getEnSightType (medGeometryElement medType)
 Return EnSight type corresponding to med one.
const TEnSightElemType & MEDMEM_ENSIGHT.getEnSightType (const string &theTypeName)
 Return EnSight type having a given name.
bool MEDMEM_ENSIGHT.isGhostType (const string &typeName)
 Return true if typeName begins with "g_".
static float MEDMEM_ENSIGHT._toFloat (const double &value)
 Cast value to float and protect from overflow.
static float MEDMEM_ENSIGHT._toFloat (const int &value)
static float MEDMEM_ENSIGHT._toFloat (const long &value)
std::ostream & MEDMEM_ENSIGHT.operator<< (std::ostream &os, const _SubPartDesc &desc)
 print _SubPartDesc

Variables

const int MEDMEM_ENSIGHT.MAX_LINE_LENGTH = 80
 Maximal EnSight line length.
const int MEDMEM_ENSIGHT.MAX_FIELD_NAME_LENGTH = 19
 Maximal length of field name in EnSight.
const string MEDMEM_ENSIGHT.ILLEGAL_FIELD_NAME_CHARACTERS = " !@#$^()[]*/+-"
 Maximal length of field name in EnSight.
const int MEDMEM_ENSIGHT.INT_WIDTH_6 = 8
 Width of fields in ASCII file.
const int MEDMEM_ENSIGHT.INT_WIDTH_GOLD = 10
const int MEDMEM_ENSIGHT.FLT_WIDTH = 12
const int MEDMEM_ENSIGHT.SPACE_DIM = 3
 EnSight space dimension.
static const char * MEDMEM_ENSIGHT.TIME_STEP_BEG = "BEGIN TIME STEP"
 Time step data boundaries in single-file mode.
static const char * MEDMEM_ENSIGHT.TIME_STEP_END = "END TIME STEP"
const size_t MEDMEM_ENSIGHT.TIME_STEP_BEG_LEN = 15
const size_t MEDMEM_ENSIGHT.TIME_STEP_END_LEN = 13
Copyright © 2007-2011 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