Back to index

salome-med  6.5.0
Static Public Member Functions | Static Public Attributes | Private Member Functions
MEDLOADER_EXPORT Protocol Reference

#include <MEDLoader.hxx>

List of all members.

Static Public Member Functions

static void setEpsilonForNodeComp (double val) throw (INTERP_KERNEL::Exception)
static void setCompPolicyForCell (int val) throw (INTERP_KERNEL::Exception)
static void setTooLongStrPolicy (int val) throw (INTERP_KERNEL::Exception)
static void CheckFileForRead (const char *fileName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetMeshNames (const char *fileName) throw (INTERP_KERNEL::Exception)
static std::vector
< std::vector< std::pair
< INTERP_KERNEL::NormalizedCellType,
int > > > 
GetUMeshGlobalInfo (const char *fileName, const char *meshName, int &meshDim, int &spaceDim, int &numberOfNodes) throw (INTERP_KERNEL::Exception)
static std::vector< std::pair
< std::string, std::string > > 
GetComponentsNamesOfField (const char *fileName, const char *fieldName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetMeshNamesOnField (const char *fileName, const char *fieldName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetMeshGroupsNames (const char *fileName, const char *meshName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetMeshFamiliesNames (const char *fileName, const char *meshName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetMeshFamiliesNamesOnGroup (const char *fileName, const char *meshName, const char *grpName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetMeshGroupsNamesOnFamily (const char *fileName, const char *meshName, const char *famName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetAllFieldNames (const char *fileName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetAllFieldNamesOnMesh (const char *fileName, const char *meshName) throw (INTERP_KERNEL::Exception)
static std::vector
< ParaMEDMEM::TypeOfField
GetTypesOfField (const char *fileName, const char *meshName, const char *fieldName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetFieldNamesOnMesh (ParaMEDMEM::TypeOfField type, const char *fileName, const char *meshName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetCellFieldNamesOnMesh (const char *fileName, const char *meshName) throw (INTERP_KERNEL::Exception)
static std::vector< std::string > GetNodeFieldNamesOnMesh (const char *fileName, const char *meshName) throw (INTERP_KERNEL::Exception)
static std::vector< std::pair
< int, int > > 
GetFieldIterations (ParaMEDMEM::TypeOfField type, const char *fileName, const char *meshName, const char *fieldName) throw (INTERP_KERNEL::Exception)
static std::vector< std::pair
< int, int > > 
GetCellFieldIterations (const char *fileName, const char *meshName, const char *fieldName) throw (INTERP_KERNEL::Exception)
static std::vector< std::pair
< int, int > > 
GetNodeFieldIterations (const char *fileName, const char *meshName, const char *fieldName) throw (INTERP_KERNEL::Exception)
static std::vector< std::pair
< std::pair< int, int >
, double > > 
GetAllFieldIterations (const char *fileName, const char *meshName, const char *fieldName) throw (INTERP_KERNEL::Exception)
static double GetTimeAttachedOnFieldIteration (const char *fileName, const char *fieldName, int iteration, int order) throw (INTERP_KERNEL::Exception)
static
ParaMEDMEM::MEDCouplingUMesh
ReadUMeshFromFamilies (const char *fileName, const char *meshName, int meshDimRelToMax, const std::vector< std::string > &fams) throw (INTERP_KERNEL::Exception)
static
ParaMEDMEM::MEDCouplingUMesh
ReadUMeshFromGroups (const char *fileName, const char *meshName, int meshDimRelToMax, const std::vector< std::string > &grps) throw (INTERP_KERNEL::Exception)
static
ParaMEDMEM::MEDCouplingUMesh
ReadUMeshFromFile (const char *fileName, const char *meshName, int meshDimRelToMax=0) throw (INTERP_KERNEL::Exception)
static
ParaMEDMEM::MEDCouplingUMesh
ReadUMeshFromFile (const char *fileName, int meshDimRelToMax=0) throw (INTERP_KERNEL::Exception)
static int ReadUMeshDimFromFile (const char *fileName, const char *meshName) throw (INTERP_KERNEL::Exception)
static
ParaMEDMEM::MEDCouplingFieldDouble
ReadField (ParaMEDMEM::TypeOfField type, const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, int iteration, int order) throw (INTERP_KERNEL::Exception)
static std::vector
< ParaMEDMEM::MEDCouplingFieldDouble * > 
ReadFieldsOnSameMesh (ParaMEDMEM::TypeOfField type, const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, const std::vector< std::pair< int, int > > &its) throw (INTERP_KERNEL::Exception)
static std::vector
< ParaMEDMEM::MEDCouplingFieldDouble * > 
ReadFieldsCellOnSameMesh (const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, const std::vector< std::pair< int, int > > &its) throw (INTERP_KERNEL::Exception)
static std::vector
< ParaMEDMEM::MEDCouplingFieldDouble * > 
ReadFieldsNodeOnSameMesh (const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, const std::vector< std::pair< int, int > > &its) throw (INTERP_KERNEL::Exception)
static std::vector
< ParaMEDMEM::MEDCouplingFieldDouble * > 
ReadFieldsGaussOnSameMesh (const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, const std::vector< std::pair< int, int > > &its) throw (INTERP_KERNEL::Exception)
static std::vector
< ParaMEDMEM::MEDCouplingFieldDouble * > 
ReadFieldsGaussNEOnSameMesh (const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, const std::vector< std::pair< int, int > > &its) throw (INTERP_KERNEL::Exception)
static
ParaMEDMEM::MEDCouplingFieldDouble
ReadFieldCell (const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, int iteration, int order) throw (INTERP_KERNEL::Exception)
static
ParaMEDMEM::MEDCouplingFieldDouble
ReadFieldNode (const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, int iteration, int order) throw (INTERP_KERNEL::Exception)
static
ParaMEDMEM::MEDCouplingFieldDouble
ReadFieldGauss (const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, int iteration, int order) throw (INTERP_KERNEL::Exception)
static
ParaMEDMEM::MEDCouplingFieldDouble
ReadFieldGaussNE (const char *fileName, const char *meshName, int meshDimRelToMax, const char *fieldName, int iteration, int order) throw (INTERP_KERNEL::Exception)
static void WriteUMesh (const char *fileName, const ParaMEDMEM::MEDCouplingUMesh *mesh, bool writeFromScratch) throw (INTERP_KERNEL::Exception)
static void WriteUMeshDep (const char *fileName, const ParaMEDMEM::MEDCouplingUMesh *mesh, bool writeFromScratch) throw (INTERP_KERNEL::Exception)
static void WriteUMeshesPartition (const char *fileName, const char *meshName, const std::vector< const ParaMEDMEM::MEDCouplingUMesh * > &meshes, bool writeFromScratch) throw (INTERP_KERNEL::Exception)
static void WriteUMeshesPartitionDep (const char *fileName, const char *meshName, const std::vector< const ParaMEDMEM::MEDCouplingUMesh * > &meshes, bool writeFromScratch) throw (INTERP_KERNEL::Exception)
static void WriteUMeshes (const char *fileName, const std::vector< const ParaMEDMEM::MEDCouplingUMesh * > &meshes, bool writeFromScratch) throw (INTERP_KERNEL::Exception)
static void WriteField (const char *fileName, const ParaMEDMEM::MEDCouplingFieldDouble *f, bool writeFromScratch) throw (INTERP_KERNEL::Exception)
static void WriteFieldDep (const char *fileName, const ParaMEDMEM::MEDCouplingFieldDouble *f, bool writeFromScratch) throw (INTERP_KERNEL::Exception)
static void WriteFieldUsingAlreadyWrittenMesh (const char *fileName, const ParaMEDMEM::MEDCouplingFieldDouble *f) throw (INTERP_KERNEL::Exception)
static int getStatusOfFile (const char *fileName)
static char * buildEmptyString (int lgth)
static std::string buildUnionUnit (const char *name, int nameLgth, const char *unit, int unitLgth)
static void splitIntoNameAndUnit (const std::string &s, std::string &name, std::string &unit)
static void strip (std::string &s)
static void safeStrCpy (const char *src, int maxLgth, char *dest, int behaviour) throw (INTERP_KERNEL::Exception)
static void safeStrCpy2 (const char *src, int maxLgth, char *dest, int behaviour) throw (INTERP_KERNEL::Exception)
static std::string buildStringFromFortran (const char *expr, int lgth)
static void zipEqualConsChar (std::string &s, int minConsSmChar)
static std::string zipString (const char *src, int sizeToRespect)

Static Public Attributes

static double _EPS_FOR_NODE_COMP
static int _COMP_FOR_CELL
static int _TOO_LONG_STR
static const int EXIST_RW = 0
static const int NOT_EXIST = 1
static const int EXIST_RDONLY = 2
static const int EXIST_WRONLY = 3
static const int DIR_LOCKED = 4
static const char WHITE_SPACES []

Private Member Functions

 MEDLoader ()

Detailed Description

Definition at line 38 of file MEDLoader.hxx.


Member Function Documentation

static char* MEDLOADER_EXPORT::buildEmptyString ( int  lgth) [static]
static std::string MEDLOADER_EXPORT::buildStringFromFortran ( const char *  expr,
int  lgth 
) [static]
static std::string MEDLOADER_EXPORT::buildUnionUnit ( const char *  name,
int  nameLgth,
const char *  unit,
int  unitLgth 
) [static]
static void MEDLOADER_EXPORT::CheckFileForRead ( const char *  fileName) throw (INTERP_KERNEL::Exception) [static]
static std::vector< std::pair< std::pair<int,int>, double> > MEDLOADER_EXPORT::GetAllFieldIterations ( const char *  fileName,
const char *  meshName,
const char *  fieldName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetAllFieldNames ( const char *  fileName) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetAllFieldNamesOnMesh ( const char *  fileName,
const char *  meshName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector< std::pair<int,int> > MEDLOADER_EXPORT::GetCellFieldIterations ( const char *  fileName,
const char *  meshName,
const char *  fieldName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetCellFieldNamesOnMesh ( const char *  fileName,
const char *  meshName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector< std::pair<std::string,std::string> > MEDLOADER_EXPORT::GetComponentsNamesOfField ( const char *  fileName,
const char *  fieldName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector< std::pair<int,int> > MEDLOADER_EXPORT::GetFieldIterations ( ParaMEDMEM::TypeOfField  type,
const char *  fileName,
const char *  meshName,
const char *  fieldName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetFieldNamesOnMesh ( ParaMEDMEM::TypeOfField  type,
const char *  fileName,
const char *  meshName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetMeshFamiliesNames ( const char *  fileName,
const char *  meshName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetMeshFamiliesNamesOnGroup ( const char *  fileName,
const char *  meshName,
const char *  grpName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetMeshGroupsNames ( const char *  fileName,
const char *  meshName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetMeshGroupsNamesOnFamily ( const char *  fileName,
const char *  meshName,
const char *  famName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetMeshNames ( const char *  fileName) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetMeshNamesOnField ( const char *  fileName,
const char *  fieldName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector< std::pair<int,int> > MEDLOADER_EXPORT::GetNodeFieldIterations ( const char *  fileName,
const char *  meshName,
const char *  fieldName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<std::string> MEDLOADER_EXPORT::GetNodeFieldNamesOnMesh ( const char *  fileName,
const char *  meshName 
) throw (INTERP_KERNEL::Exception) [static]
static int MEDLOADER_EXPORT::getStatusOfFile ( const char *  fileName) [static]
static double MEDLOADER_EXPORT::GetTimeAttachedOnFieldIteration ( const char *  fileName,
const char *  fieldName,
int  iteration,
int  order 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<ParaMEDMEM::TypeOfField> MEDLOADER_EXPORT::GetTypesOfField ( const char *  fileName,
const char *  meshName,
const char *  fieldName 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector< std::vector< std::pair<INTERP_KERNEL::NormalizedCellType,int> > > MEDLOADER_EXPORT::GetUMeshGlobalInfo ( const char *  fileName,
const char *  meshName,
int &  meshDim,
int &  spaceDim,
int &  numberOfNodes 
) throw (INTERP_KERNEL::Exception) [static]
static ParaMEDMEM::MEDCouplingFieldDouble* MEDLOADER_EXPORT::ReadField ( ParaMEDMEM::TypeOfField  type,
const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
int  iteration,
int  order 
) throw (INTERP_KERNEL::Exception) [static]
static ParaMEDMEM::MEDCouplingFieldDouble* MEDLOADER_EXPORT::ReadFieldCell ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
int  iteration,
int  order 
) throw (INTERP_KERNEL::Exception) [static]
static ParaMEDMEM::MEDCouplingFieldDouble* MEDLOADER_EXPORT::ReadFieldGauss ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
int  iteration,
int  order 
) throw (INTERP_KERNEL::Exception) [static]
static ParaMEDMEM::MEDCouplingFieldDouble* MEDLOADER_EXPORT::ReadFieldGaussNE ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
int  iteration,
int  order 
) throw (INTERP_KERNEL::Exception) [static]
static ParaMEDMEM::MEDCouplingFieldDouble* MEDLOADER_EXPORT::ReadFieldNode ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
int  iteration,
int  order 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<ParaMEDMEM::MEDCouplingFieldDouble *> MEDLOADER_EXPORT::ReadFieldsCellOnSameMesh ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
const std::vector< std::pair< int, int > > &  its 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<ParaMEDMEM::MEDCouplingFieldDouble *> MEDLOADER_EXPORT::ReadFieldsGaussNEOnSameMesh ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
const std::vector< std::pair< int, int > > &  its 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<ParaMEDMEM::MEDCouplingFieldDouble *> MEDLOADER_EXPORT::ReadFieldsGaussOnSameMesh ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
const std::vector< std::pair< int, int > > &  its 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<ParaMEDMEM::MEDCouplingFieldDouble *> MEDLOADER_EXPORT::ReadFieldsNodeOnSameMesh ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
const std::vector< std::pair< int, int > > &  its 
) throw (INTERP_KERNEL::Exception) [static]
static std::vector<ParaMEDMEM::MEDCouplingFieldDouble *> MEDLOADER_EXPORT::ReadFieldsOnSameMesh ( ParaMEDMEM::TypeOfField  type,
const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const char *  fieldName,
const std::vector< std::pair< int, int > > &  its 
) throw (INTERP_KERNEL::Exception) [static]
static int MEDLOADER_EXPORT::ReadUMeshDimFromFile ( const char *  fileName,
const char *  meshName 
) throw (INTERP_KERNEL::Exception) [static]
static ParaMEDMEM::MEDCouplingUMesh* MEDLOADER_EXPORT::ReadUMeshFromFamilies ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const std::vector< std::string > &  fams 
) throw (INTERP_KERNEL::Exception) [static]
static ParaMEDMEM::MEDCouplingUMesh* MEDLOADER_EXPORT::ReadUMeshFromFile ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax = 0 
) throw (INTERP_KERNEL::Exception) [static]
static ParaMEDMEM::MEDCouplingUMesh* MEDLOADER_EXPORT::ReadUMeshFromFile ( const char *  fileName,
int  meshDimRelToMax = 0 
) throw (INTERP_KERNEL::Exception) [static]
static ParaMEDMEM::MEDCouplingUMesh* MEDLOADER_EXPORT::ReadUMeshFromGroups ( const char *  fileName,
const char *  meshName,
int  meshDimRelToMax,
const std::vector< std::string > &  grps 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::safeStrCpy ( const char *  src,
int  maxLgth,
char *  dest,
int  behaviour 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::safeStrCpy2 ( const char *  src,
int  maxLgth,
char *  dest,
int  behaviour 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::setCompPolicyForCell ( int  val) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::setEpsilonForNodeComp ( double  val) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::setTooLongStrPolicy ( int  val) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::splitIntoNameAndUnit ( const std::string &  s,
std::string &  name,
std::string &  unit 
) [static]
static void MEDLOADER_EXPORT::strip ( std::string &  s) [static]
static void MEDLOADER_EXPORT::WriteField ( const char *  fileName,
const ParaMEDMEM::MEDCouplingFieldDouble f,
bool  writeFromScratch 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::WriteFieldDep ( const char *  fileName,
const ParaMEDMEM::MEDCouplingFieldDouble f,
bool  writeFromScratch 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::WriteFieldUsingAlreadyWrittenMesh ( const char *  fileName,
const ParaMEDMEM::MEDCouplingFieldDouble f 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::WriteUMesh ( const char *  fileName,
const ParaMEDMEM::MEDCouplingUMesh mesh,
bool  writeFromScratch 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::WriteUMeshDep ( const char *  fileName,
const ParaMEDMEM::MEDCouplingUMesh mesh,
bool  writeFromScratch 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::WriteUMeshes ( const char *  fileName,
const std::vector< const ParaMEDMEM::MEDCouplingUMesh * > &  meshes,
bool  writeFromScratch 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::WriteUMeshesPartition ( const char *  fileName,
const char *  meshName,
const std::vector< const ParaMEDMEM::MEDCouplingUMesh * > &  meshes,
bool  writeFromScratch 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::WriteUMeshesPartitionDep ( const char *  fileName,
const char *  meshName,
const std::vector< const ParaMEDMEM::MEDCouplingUMesh * > &  meshes,
bool  writeFromScratch 
) throw (INTERP_KERNEL::Exception) [static]
static void MEDLOADER_EXPORT::zipEqualConsChar ( std::string &  s,
int  minConsSmChar 
) [static]
static std::string MEDLOADER_EXPORT::zipString ( const char *  src,
int  sizeToRespect 
) [static]

Member Data Documentation

Definition at line 141 of file MEDLoader.hxx.

Definition at line 140 of file MEDLoader.hxx.

Definition at line 142 of file MEDLoader.hxx.

const int MEDLOADER_EXPORT::DIR_LOCKED = 4 [static]

Definition at line 46 of file MEDLoaderBase.hxx.

const int MEDLOADER_EXPORT::EXIST_RDONLY = 2 [static]

Definition at line 44 of file MEDLoaderBase.hxx.

const int MEDLOADER_EXPORT::EXIST_RW = 0 [static]

Definition at line 42 of file MEDLoaderBase.hxx.

const int MEDLOADER_EXPORT::EXIST_WRONLY = 3 [static]

Definition at line 45 of file MEDLoaderBase.hxx.

const int MEDLOADER_EXPORT::NOT_EXIST = 1 [static]

Definition at line 43 of file MEDLoaderBase.hxx.

const char MEDLOADER_EXPORT::WHITE_SPACES[] [static]

Definition at line 47 of file MEDLoaderBase.hxx.


The documentation for this protocol was generated from the following files: