Version: 6.3.1
Packages | Defines | Functions | Variables

src/MEDMEM/MEDMEM_EnsightUtils.cxx File Reference

#include "MEDMEM_Field.hxx"
#include "MEDMEM_EnsightUtils.hxx"
#include "MEDMEM_EnsightMeshDriver.hxx"
#include "MEDMEM_EnsightFieldDriver.hxx"
#include "MEDMEM_DriverTools.hxx"
#include <unistd.h>
#include <fcntl.h>
Include dependency graph for MEDMEM_EnsightUtils.cxx:

Packages

package  MEDMEM
package  MEDMEM_ENSIGHT

Defines

#define FILE_SEPARATOR   '/'
#define _ATOI(str)   atoi((str).c_str())
#define _ATOF(str)   atof((str).c_str())
#define BUFFER_SIZE   16184
#define READ_NEXT_LINE   continue
#define RAISE_EXCEPTION   break

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.
bool MEDMEM_ENSIGHT.isToIgnore (const _CaseFileDriver_User *driver)
 Add a driver to the registry and return true if was already in.
void MEDMEM_ENSIGHT.unregister (const _CaseFileDriver_User *driver)
 Remove a driver from the registry.
_InterMed * MEDMEM_ENSIGHT.getMeshData (const string &key)
 Return mesh data needed by field driver.
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.
template<class TSet >
bool MEDMEM_ENSIGHT.isValidIndex (const string &index, const map< int, TSet > &aMap)
 Return true if set index is empty or corresponds to an existing set.
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.contains (const char *what, const char *inString)
 Search substring in a string.
std::ostream & MEDMEM_ENSIGHT.operator<< (std::ostream &os, const _SubPartDesc &desc)
 print _SubPartDesc

Variables

EnSightFormat MEDMEM.theEnSightFormatForWriting = ENSIGHT_6
bool MEDMEM.theBinaryFormatForWriting = false
bool MEDMEM.theIgnoreIncompatibility = false
set< const _CaseFileDriver_User * > MEDMEM_ENSIGHT.theCaseUsers
 Registry of drivers creating _CaseFileDriver.
map< string, _InterMed * > MEDMEM_ENSIGHT.theInterMedMap
 Storage of data read by mesh driver to be used by field drivers.

Define Documentation

#define FILE_SEPARATOR   '/'
#define _ATOI (   str)    atoi((str).c_str())
#define _ATOF (   str)    atof((str).c_str())
#define BUFFER_SIZE   16184
#define READ_NEXT_LINE   continue
#define RAISE_EXCEPTION   break
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