#include <fstream>#include <sstream>#include <iomanip>#include <fenv.h>#include "MEDMEM_Utilities.hxx"#include "MEDMEM_Field.hxx"#include "MEDMEM_EnsightUtils.hxx"
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 TStrTool _ASCIIFileReader |
Return pointer to the value of the i-th element.
References MED_test2.field, MEDMEM.FIELD_.getInterlacingType(), MEDMEM.FIELD_.getValueType(), MED_EN.MED_FULL_INTERLACE, MED_EN.MED_NO_INTERLACE, MED_EN.MED_NO_INTERLACE_BY_TYPE, and MED_EN.MED_REEL64.
| void write6ASCIIValues | ( | const _SubPartValues & | subPartValues, |
| int | nbValues, | ||
| int | nbComponents, | ||
| int | componentShift, | ||
| ofstream & | ensightDataFile | ||
| ) |
Write field values in EnSight6 ASCII format.
References MEDMEM_ENSIGHT._toFloat().
| 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.
| 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.
| 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.