Version: 6.3.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

ParaMEDMEM.MEDFileField1TSWithoutDAS Class Reference

#include <MEDFileField.hxx>

Inheritance diagram for ParaMEDMEM.MEDFileField1TSWithoutDAS:
Inheritance graph

Public Member Functions

void copyTinyInfoFrom (const MEDCouplingFieldDouble *field) throw (INTERP_KERNEL::Exception)
int getDimension () const
int getIteration () const
int getOrder () const
double getTime () const
std::string getName () const
const std::string & getDtUnit () const
std::string getMeshName () const throw (INTERP_KERNEL::Exception)
int getMeshIteration () const throw (INTERP_KERNEL::Exception)
int getMeshOrder () const throw (INTERP_KERNEL::Exception)
int getNumberOfComponents () const
bool isDealingTS (int iteration, int order) const
std::pair< int, intgetDtIt () const
void fillIteration (std::pair< int, int > &p) const
const std::vector< std::string > & getInfo () const
void finishLoading (med_idt fid) throw (INTERP_KERNEL::Exception)
void writeLL (med_idt fid) const throw (INTERP_KERNEL::Exception)
std::vector< std::string > getPflsReallyUsed2 () const
std::vector< std::string > getLocsReallyUsed2 () const
void setFieldNoProfileSBT (const MEDCouplingFieldDouble *field, MEDFieldFieldGlobs &glob) throw (INTERP_KERNEL::Exception)
void setFieldProfile (const MEDCouplingFieldDouble *field, const MEDFileMesh *mesh, int meshDimRelToMax, const DataArrayInt *profile, MEDFieldFieldGlobs &glob) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublegetFieldAtLevel (TypeOfField type, int meshDimRelToMax, const char *mName, int renumPol, const MEDFieldFieldGlobs *glob) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublegetFieldOnMeshAtLevel (TypeOfField type, int meshDimRelToMax, int renumPol, const MEDFieldFieldGlobs *glob, const MEDFileMesh *mesh) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDoublegetFieldOnMeshAtLevel (TypeOfField type, int renumPol, const MEDFieldFieldGlobs *glob, const MEDCouplingMesh *mesh, const DataArrayInt *cellRenum, const DataArrayInt *nodeRenum) const throw (INTERP_KERNEL::Exception)
DataArrayDoublegetFieldWithProfile (TypeOfField type, int meshDimRelToMax, const MEDFileMesh *mesh, DataArrayInt *&pfl, const MEDFieldFieldGlobs *glob) const throw (INTERP_KERNEL::Exception)
 MEDFileField1TSWithoutDAS ()

Static Public Member Functions

static MEDFileField1TSWithoutDASNew (const char *fieldName, int csit, int iteration, int order, const std::vector< std::string > &infos)
static void CheckMeshDimRel (int meshDimRelToMax) throw (INTERP_KERNEL::Exception)
static std::vector< intCheckSBTMesh (const MEDCouplingMesh *mesh) throw (INTERP_KERNEL::Exception)

Protected Member Functions

int addNewEntryIfNecessary (const MEDCouplingMesh *mesh) throw (INTERP_KERNEL::Exception)
int getMeshIdFromMeshName (const char *mName) const throw (INTERP_KERNEL::Exception)
 MEDFileField1TSWithoutDAS (const char *fieldName, int csit, int iteration, int order, const std::vector< std::string > &infos)

Protected Attributes

std::string _name
std::string _dt_unit
std::vector< std::string > _infos
std::vector
< MEDCouplingAutoRefCountObjectPtr
< MEDFileFieldPerMesh > > 
_field_per_mesh
int _csit
int _iteration
int _order
double _dt

Constructor & Destructor Documentation

MEDFileField1TSWithoutDAS::MEDFileField1TSWithoutDAS ( const char *  fieldName,
int  csit,
int  iteration,
int  order,
const std::vector< std::string > &  infos 
) [protected]
MEDFileField1TSWithoutDAS::MEDFileField1TSWithoutDAS ( )

Member Function Documentation

void MEDFileField1TSWithoutDAS::copyTinyInfoFrom ( const MEDCouplingFieldDouble field) throw (INTERP_KERNEL::Exception)
int MEDFileField1TSWithoutDAS::getDimension ( ) const

This method returns the max dimension of 'this'. This method returns -2 if 'this' is empty, -1 if only nodes are defined.

References ParaMEDMEM.MEDFileField1TSWithoutDAS._field_per_mesh, Med_Gen_test.it, and testMEDMEM.ret.

int ParaMEDMEM.MEDFileField1TSWithoutDAS.getIteration ( ) const
int ParaMEDMEM.MEDFileField1TSWithoutDAS.getOrder ( ) const
double ParaMEDMEM.MEDFileField1TSWithoutDAS.getTime ( ) const
std::string ParaMEDMEM.MEDFileField1TSWithoutDAS.getName ( ) const
const std::string& ParaMEDMEM.MEDFileField1TSWithoutDAS.getDtUnit ( ) const
std::string MEDFileField1TSWithoutDAS::getMeshName ( ) const throw (INTERP_KERNEL::Exception)
int MEDFileField1TSWithoutDAS::getMeshIteration ( ) const throw (INTERP_KERNEL::Exception)
int MEDFileField1TSWithoutDAS::getMeshOrder ( ) const throw (INTERP_KERNEL::Exception)
int ParaMEDMEM.MEDFileField1TSWithoutDAS.getNumberOfComponents ( ) const
bool MEDFileField1TSWithoutDAS::isDealingTS ( int  iteration,
int  order 
) const
std::pair< int, int > MEDFileField1TSWithoutDAS::getDtIt ( ) const
void MEDFileField1TSWithoutDAS::fillIteration ( std::pair< int, int > &  p) const
const std::vector<std::string>& ParaMEDMEM.MEDFileField1TSWithoutDAS.getInfo ( ) const
MEDFileField1TSWithoutDAS * MEDFileField1TSWithoutDAS::New ( const char *  fieldName,
int  csit,
int  iteration,
int  order,
const std::vector< std::string > &  infos 
) [static]
void MEDFileField1TSWithoutDAS::finishLoading ( med_idt  fid) throw (INTERP_KERNEL::Exception)
void MEDFileField1TSWithoutDAS::writeLL ( med_idt  fid) const throw (INTERP_KERNEL::Exception)
std::vector< std::string > MEDFileField1TSWithoutDAS::getPflsReallyUsed2 ( ) const
std::vector< std::string > MEDFileField1TSWithoutDAS::getLocsReallyUsed2 ( ) const
void MEDFileField1TSWithoutDAS::CheckMeshDimRel ( int  meshDimRelToMax) throw (INTERP_KERNEL::Exception) [static]
std::vector< int > MEDFileField1TSWithoutDAS::CheckSBTMesh ( const MEDCouplingMesh mesh) throw (INTERP_KERNEL::Exception) [static]
void MEDFileField1TSWithoutDAS::setFieldNoProfileSBT ( const MEDCouplingFieldDouble field,
MEDFieldFieldGlobs glob 
) throw (INTERP_KERNEL::Exception)

SBT means Sort By Type. This method is the most basic method to assign field in this. Basic in sense that no renumbering is done. Underlying mesh in 'field' is globaly ignored except for type contiguous check.

References ParaMEDMEM.MEDFileField1TSWithoutDAS.CheckSBTMesh(), MED_test2.field, MED_test2.mesh, ParaMEDMEM.ON_NODES, and medClient_test.type.

void MEDFileField1TSWithoutDAS::setFieldProfile ( const MEDCouplingFieldDouble field,
const MEDFileMesh mesh,
int  meshDimRelToMax,
const DataArrayInt profile,
MEDFieldFieldGlobs glob 
) throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDFileField1TSWithoutDAS::getFieldAtLevel ( TypeOfField  type,
int  meshDimRelToMax,
const char *  mName,
int  renumPol,
const MEDFieldFieldGlobs glob 
) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDFileField1TSWithoutDAS::getFieldOnMeshAtLevel ( TypeOfField  type,
int  meshDimRelToMax,
int  renumPol,
const MEDFieldFieldGlobs glob,
const MEDFileMesh mesh 
) const throw (INTERP_KERNEL::Exception)
MEDCouplingFieldDouble * MEDFileField1TSWithoutDAS::getFieldOnMeshAtLevel ( TypeOfField  type,
int  renumPol,
const MEDFieldFieldGlobs glob,
const MEDCouplingMesh mesh,
const DataArrayInt cellRenum,
const DataArrayInt nodeRenum 
) const throw (INTERP_KERNEL::Exception)
DataArrayDouble * MEDFileField1TSWithoutDAS::getFieldWithProfile ( TypeOfField  type,
int  meshDimRelToMax,
const MEDFileMesh mesh,
DataArrayInt *&  pfl,
const MEDFieldFieldGlobs glob 
) const throw (INTERP_KERNEL::Exception)
int MEDFileField1TSWithoutDAS::addNewEntryIfNecessary ( const MEDCouplingMesh mesh) throw (INTERP_KERNEL::Exception) [protected]
int MEDFileField1TSWithoutDAS::getMeshIdFromMeshName ( const char *  mName) const throw (INTERP_KERNEL::Exception) [protected]

Field Documentation

std::vector<std::string> ParaMEDMEM.MEDFileField1TSWithoutDAS._infos [protected]
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