Version: 6.3.1
Data Structures | Packages | Functions | Variables

src/MEDLoader/MEDLoader.cxx File Reference

#include "MEDLoader.hxx"
#include "MEDLoaderBase.hxx"
#include "MEDFileUtilities.hxx"
#include "CellModel.hxx"
#include "MEDCouplingUMesh.hxx"
#include "MEDCouplingMemArray.hxx"
#include "MEDCouplingFieldDouble.hxx"
#include "MEDCouplingGaussLocalization.hxx"
#include "MEDCouplingAutoRefCountObjectPtr.hxx"
#include "InterpKernelAutoPtr.hxx"
#include "med.h"
#include <string>
#include <limits>
#include <cstring>
#include <sstream>
#include <fstream>
#include <numeric>
#include <iterator>
#include <algorithm>
Include dependency graph for MEDLoader.cxx:

Data Structures

class  MEDLoaderNS.FieldPerTypeCopier
class  MEDLoaderNS.ConnReaderML
class  FieldPerTypeAccumulator
class  PolyCounterForFams

Packages

package  MEDLoaderNS

Functions

std::vector< std::string > MEDLoaderNS.getMeshNamesFid (med_idt fid)
void MEDLoaderNS.readFieldDoubleDataInMedFile (const char *fileName, const char *meshName, const char *fieldName, int iteration, int order, ParaMEDMEM::TypeOfField typeOfOutField, std::list< MEDLoader::MEDFieldDoublePerCellType > &field, double &time, std::vector< std::string > &infos)
std::vector< intMEDLoaderNS.getIdsFromFamilies (const char *fileName, const char *meshName, const std::vector< std::string > &fams)
std::vector< intMEDLoaderNS.getIdsFromGroups (const char *fileName, const char *meshName, const std::vector< std::string > &grps)
med_int MEDLoaderNS.getIdFromMeshName (med_idt fid, const char *meshName, std::string &trueMeshName) throw (INTERP_KERNEL::Exception)
void MEDLoaderNS.dispatchElems (int nbOfElemCell, int nbOfElemFace, int &nbOfElem, med_entity_type &whichEntity)
int MEDLoaderNS.readUMeshDimFromFile (const char *fileName, const char *meshName, std::vector< int > &possibilities)
void MEDLoaderNS.readUMeshDataInMedFile (med_idt fid, med_int meshId, DataArrayDouble *&coords, std::list< MEDLoader::MEDConnOfOneElemType > &conn, std::string &desc)
int MEDLoaderNS.buildMEDSubConnectivityOfOneType (const std::vector< const DataArrayInt * > &conn, const std::vector< const DataArrayInt * > &connIndex, const std::vector< const DataArrayInt * > &families, INTERP_KERNEL::NormalizedCellType type, std::vector< int > &conn4MEDFile, std::vector< int > &connIndex4MEDFile, std::vector< int > &connIndexRk24MEDFile, std::vector< int > &fam4MEDFile, std::vector< int > &renumber)
MEDCouplingUMeshMEDLoaderNS.readUMeshFromFileLev1 (const char *fileName, const char *meshName, int meshDimRelToMax, const std::vector< int > &ids, const std::vector< INTERP_KERNEL::NormalizedCellType > &typesToKeep, unsigned &meshDimExtract, int *&cellRenum) throw (INTERP_KERNEL::Exception)
void MEDLoaderNS.tradMEDFileCoreFrmt2MEDCouplingUMesh (const std::list< MEDLoader::MEDConnOfOneElemType > &medConnFrmt, const std::vector< int > &familiesToKeep, DataArrayInt *&conn, DataArrayInt *&connIndex, int *&cellRenum)
ParaMEDMEM::DataArrayDoubleMEDLoaderNS.buildArrayFromRawData (const std::list< MEDLoader::MEDFieldDoublePerCellType > &fieldPerType, const std::vector< std::string > &infos)
int MEDLoaderNS.buildMEDSubConnectivityOfOneTypesPolyg (const std::vector< const DataArrayInt * > &conn, const std::vector< const DataArrayInt * > &connIndex, const std::vector< const DataArrayInt * > &families, std::vector< int > &conn4MEDFile, std::vector< int > &connIndex4MEDFile, std::vector< int > &fam4MEDFile, std::vector< int > &renumber)
int MEDLoaderNS.buildMEDSubConnectivityOfOneTypesPolyh (const std::vector< const DataArrayInt * > &conn, const std::vector< const DataArrayInt * > &connIndex, const std::vector< const DataArrayInt * > &families, std::vector< int > &conn4MEDFile, std::vector< int > &connIndex4MEDFile, std::vector< int > &connIndexRk24MEDFile, std::vector< int > &fam4MEDFile, std::vector< int > &renumber)
int MEDLoaderNS.buildMEDSubConnectivityOfOneTypeStaticTypes (const std::vector< const DataArrayInt * > &conn, const std::vector< const DataArrayInt * > &connIndex, const std::vector< const DataArrayInt * > &families, INTERP_KERNEL::NormalizedCellType type, std::vector< int > &conn4MEDFile, std::vector< int > &fam4MEDFile, std::vector< int > &renumber)
ParaMEDMEM::MEDCouplingFieldDoubleMEDLoaderNS.readFieldDoubleLev1 (const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, int iteration, int order, ParaMEDMEM::TypeOfField typeOfOutField) throw (INTERP_KERNEL::Exception)
ParaMEDMEM::MEDCouplingFieldDoubleMEDLoaderNS.readFieldDoubleLev2 (const char *fileName, ParaMEDMEM::TypeOfField typeOfOutField, unsigned meshDim, const int *renumCell, const ParaMEDMEM::MEDCouplingUMesh *mesh, const std::vector< std::string > &infos, const char *fieldName, int iteration, int order, double time, std::list< MEDLoader::MEDFieldDoublePerCellType > &fieldPerCellType) throw (INTERP_KERNEL::Exception)
med_idt MEDLoaderNS.appendFieldSimpleAtt (const char *fileName, const ParaMEDMEM::MEDCouplingFieldDouble *f, med_int &numdt, med_int &numo, med_float &dt)
void MEDLoaderNS.appendFieldDirectly (const char *fileName, const ParaMEDMEM::MEDCouplingFieldDouble *f)
void MEDLoaderNS.appendNodeProfileField (const char *fileName, const ParaMEDMEM::MEDCouplingFieldDouble *f, const int *thisMeshNodeIds)
void MEDLoaderNS.appendCellProfileField (const char *fileName, const ParaMEDMEM::MEDCouplingFieldDouble *f, const int *thisMeshCellIds)
void MEDLoaderNS.prepareCellFieldDoubleForWriting (const ParaMEDMEM::MEDCouplingFieldDouble *f, const int *cellIds, std::list< MEDLoader::MEDFieldDoublePerCellType > &split)
void MEDLoaderNS.fillGaussDataOnField (const char *fileName, const std::list< MEDLoader::MEDFieldDoublePerCellType > &data, MEDCouplingFieldDouble *f)
void MEDLoaderNS.writeUMeshesDirectly (const char *fileName, const std::vector< const ParaMEDMEM::MEDCouplingUMesh * > &mesh, const std::vector< const DataArrayInt * > &families, bool forceFromScratch, bool &isRenumbering)
void MEDLoaderNS.writeUMeshesPartitionDirectly (const char *fileName, const char *meshName, const std::vector< const ParaMEDMEM::MEDCouplingUMesh * > &meshes, bool forceFromScratch)
void MEDLoaderNS.writeFieldAndMeshDirectly (const char *fileName, const ParaMEDMEM::MEDCouplingFieldDouble *f, bool forceFromScratch)
void MEDLoaderNS.writeFieldTryingToFitExistingMesh (const char *fileName, const ParaMEDMEM::MEDCouplingFieldDouble *f)
template<class T >
unsigned MEDLoaderNS.calculateHighestMeshDim (const std::list< T > &conn)
template<class T >
void MEDLoaderNS.keepSpecifiedMeshDim (typename std::list< T > &conn, unsigned meshDim)
template<class T >
void MEDLoaderNS.keepTypes (typename std::list< T > &conn, const std::vector< INTERP_KERNEL::NormalizedCellType > &typesToKeep)
template<class T >
void MEDLoaderNS.releaseMEDFileCoreFrmt (typename std::list< T > &medConnFrmt)

Variables

med_geometry_type typmai [MED_N_CELL_FIXED_GEO]
med_geometry_type typmainoeud [1] = { MED_NONE }
INTERP_KERNEL::NormalizedCellType typmai2 [MED_N_CELL_FIXED_GEO]
med_geometry_type typmai3 [32]

Variable Documentation

med_geometry_type typmai[MED_N_CELL_FIXED_GEO]
Initial value:
 { MED_POINT1,
                                                   MED_SEG2,
                                                   MED_SEG3,
                                                   MED_SEG4,
                                                   MED_TRIA3,
                                                   MED_QUAD4,
                                                   MED_TRIA6,
                                                   MED_TRIA7,
                                                   MED_QUAD8,
                                                   MED_QUAD9,
                                                   MED_TETRA4,
                                                   MED_PYRA5,
                                                   MED_PENTA6,
                                                   MED_HEXA8,
                                                   MED_OCTA12,
                                                   MED_TETRA10,
                                                   MED_PYRA13,
                                                   MED_PENTA15,
                                                   MED_HEXA20,
                                                   MED_HEXA27,
                                                   MED_POLYGON,
                                                   MED_POLYHEDRON }
med_geometry_type typmainoeud[1] = { MED_NONE }
med_geometry_type typmai3[32]
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