Version: 6.3.1
Defines | Functions

src/MEDMEM/MEDMEM_EnsightFieldDriver.cxx File Reference

#include <fstream>
#include <sstream>
#include <iomanip>
#include <fenv.h>
#include "MEDMEM_Utilities.hxx"
#include "MEDMEM_Field.hxx"
#include "MEDMEM_EnsightUtils.hxx"
Include dependency graph for MEDMEM_EnsightFieldDriver.cxx:

Defines

#define TStrTool   _ASCIIFileReader

Functions

const char * getValuePointer (int i, const FIELD_ *field)
 Return pointer to the value of the i-th element.
template<typename T >
void write6ASCIIValues (const _SubPartValues &subPartValues, int nbValues, int nbComponents, int componentShift, ofstream &ensightDataFile)
 Write field values in EnSight6 ASCII format.
template<typename T >
void writeGoldASCIIValues (const _SubPartValues &subPartValues, int nbValues, int nbComponents, int componentShift, ofstream &ensightDataFile)
 Write field values in EnSight GOLD ASCII format.
template<typename T >
void write6BinaryValues (const _SubPartValues &subPartValues, int nbValues, int nbComponents, int componentShift, _BinaryFileWriter &ensightDataFile)
 Write field values in EnSight6 Binary format.
template<typename T >
void writeGoldBinaryValues (const _SubPartValues &subPartValues, int nbValues, int nbComponents, int componentShift, _BinaryFileWriter &ensightDataFile)
 Write field values in EnSight GOLD Binary format.

Define Documentation

#define TStrTool   _ASCIIFileReader

Function Documentation

const char * getValuePointer ( int  i,
const FIELD_ field 
)
template<typename T >
void write6ASCIIValues ( const _SubPartValues &  subPartValues,
int  nbValues,
int  nbComponents,
int  componentShift,
ofstream &  ensightDataFile 
)

Write field values in EnSight6 ASCII format.

References MEDMEM_ENSIGHT._toFloat().

template<typename T >
void writeGoldASCIIValues ( const _SubPartValues &  subPartValues,
int  nbValues,
int  nbComponents,
int  componentShift,
ofstream &  ensightDataFile 
)

Write field values in EnSight GOLD ASCII format.

References MEDMEM_ENSIGHT._toFloat(), MEDMEM_ENSIGHT._ValueIterator< T >.next(), and medMeshing_test.values.

template<typename T >
void write6BinaryValues ( const _SubPartValues &  subPartValues,
int  nbValues,
int  nbComponents,
int  componentShift,
_BinaryFileWriter ensightDataFile 
)

Write field values in EnSight6 Binary format.

References MEDMEM_ENSIGHT._BinaryFileWriter.addReal(), and MED_EN.MED_FULL_INTERLACE.

template<typename T >
void writeGoldBinaryValues ( const _SubPartValues &  subPartValues,
int  nbValues,
int  nbComponents,
int  componentShift,
_BinaryFileWriter ensightDataFile 
)

Write field values in EnSight GOLD Binary format.

References MEDMEM_ENSIGHT._BinaryFileWriter.addReal(), MED_EN.MED_NO_INTERLACE, and medMeshing_test.values.

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