Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MEDCoupling::MEDCouplingFieldDiscretizationGaussNE Class Reference
Inheritance diagram for MEDCoupling::MEDCouplingFieldDiscretizationGaussNE:
Collaboration diagram for MEDCoupling::MEDCouplingFieldDiscretizationGaussNE:

Public Member Functions

MEDCouplingMeshbuildSubMeshData (const MEDCouplingMesh *mesh, const int *start, const int *end, DataArrayInt *&di) const
 
MEDCouplingMeshbuildSubMeshDataRange (const MEDCouplingMesh *mesh, int beginCellIds, int endCellIds, int stepCellIds, int &beginOut, int &endOut, int &stepOut, DataArrayInt *&di) const
 
void checkCoherencyBetween (const MEDCouplingMesh *mesh, const DataArray *da) const
 
void checkCompatibilityWithNature (NatureOfField nat) const
 
MEDCouplingFieldDiscretizationclone () const
 
void computeMeshRestrictionFromTupleIds (const MEDCouplingMesh *mesh, const int *tupleIdsBg, const int *tupleIdsEnd, DataArrayInt *&cellRestriction, DataArrayInt *&trueTupleRestriction) const
 
DataArrayIntcomputeTupleIdsToSelectFromCellIds (const MEDCouplingMesh *mesh, const int *startCellIds, const int *endCellIds) const
 
TypeOfField getEnum () const
 
double getIJK (const MEDCouplingMesh *mesh, const DataArrayDouble *da, int cellId, int nodeIdInCell, int compoId) const
 
DataArrayDoublegetLocalizationOfDiscValues (const MEDCouplingMesh *mesh) const
 
MEDCouplingFieldDoublegetMeasureField (const MEDCouplingMesh *mesh, bool isAbs) const
 
int getNumberOfMeshPlaces (const MEDCouplingMesh *mesh) const
 
int getNumberOfTuples (const MEDCouplingMesh *mesh) const
 
int getNumberOfTuplesExpectedRegardingCode (const std::vector< int > &code, const std::vector< const DataArrayInt * > &idsPerType) const
 
DataArrayIntgetOffsetArr (const MEDCouplingMesh *mesh) const
 
const char * getRepr () const
 
std::string getStringRepr () const
 
void getValueOn (const DataArrayDouble *arr, const MEDCouplingMesh *mesh, const double *loc, double *res) const
 
DataArrayDoublegetValueOnMulti (const DataArrayDouble *arr, const MEDCouplingMesh *mesh, const double *loc, int nbOfPoints) const
 
void getValueOnPos (const DataArrayDouble *arr, const MEDCouplingMesh *mesh, int i, int j, int k, double *res) const
 
void integral (const MEDCouplingMesh *mesh, const DataArrayDouble *arr, bool isWAbs, double *res) const
 
bool isEqualIfNotWhy (const MEDCouplingFieldDiscretization *other, double eps, std::string &reason) const
 
 MEDCouplingFieldDiscretizationGaussNE ()
 
void renumberArraysForCell (const MEDCouplingMesh *mesh, const std::vector< DataArray * > &arrays, const int *old2NewBg, bool check)
 
void renumberValuesOnCells (double epsOnVals, const MEDCouplingMesh *mesh, const int *old2New, int newSz, DataArrayDouble *arr) const
 
void renumberValuesOnCellsR (const MEDCouplingMesh *mesh, const int *new2old, int newSz, DataArrayDouble *arr) const
 
void renumberValuesOnNodes (double epsOnVals, const int *old2New, int newNbOfNodes, DataArrayDouble *arr) const
 
void reprQuickOverview (std::ostream &stream) const
 
- Public Member Functions inherited from MEDCoupling::MEDCouplingFieldDiscretization
virtual void checkForUnserialization (const std::vector< int > &tinyInfo, const DataArrayInt *arr)
 
virtual void clearGaussLocalizations ()
 
virtual
MEDCouplingFieldDiscretization
clonePart (const int *startCellIds, const int *endCellIds) const
 
virtual
MEDCouplingFieldDiscretization
clonePartRange (int beginCellIds, int endCellIds, int stepCellIds) const
 
virtual
MEDCouplingFieldDiscretization
deepCopy () const
 
virtual void finishUnserialization (const std::vector< double > &tinyInfo)
 
virtual void getCellIdsHavingGaussLocalization (int locId, std::vector< int > &cellIds) const
 
std::vector< const
BigMemoryObject * > 
getDirectChildrenWithNull () const
 
virtual
MEDCouplingGaussLocalization
getGaussLocalization (int locId)
 
virtual const
MEDCouplingGaussLocalization
getGaussLocalization (int locId) const
 
virtual int getGaussLocalizationIdOfOneCell (int cellId) const
 
virtual int getGaussLocalizationIdOfOneType (INTERP_KERNEL::NormalizedCellType type) const
 
virtual std::set< int > getGaussLocalizationIdsOfOneType (INTERP_KERNEL::NormalizedCellType type) const
 
std::size_t getHeapMemorySizeWithoutChildren () const
 
virtual int getNbOfGaussLocalization () const
 
double getPrecision () const
 
virtual void getSerializationIntArray (DataArrayInt *&arr) const
 
virtual void getTinySerializationDbleInformation (std::vector< double > &tinyInfo) const
 
virtual void getTinySerializationIntInformation (std::vector< int > &tinyInfo) const
 
virtual bool isEqual (const MEDCouplingFieldDiscretization *other, double eps) const
 
virtual bool isEqualWithoutConsideringStr (const MEDCouplingFieldDiscretization *other, double eps) const
 
virtual void normL1 (const MEDCouplingMesh *mesh, const DataArrayDouble *arr, double *res) const
 
virtual void normL2 (const MEDCouplingMesh *mesh, const DataArrayDouble *arr, double *res) const
 
virtual void renumberCells (const int *old2NewBg, bool check=true)
 
virtual void resizeForUnserialization (const std::vector< int > &tinyInfo, DataArrayInt *&arr)
 
virtual void setGaussLocalizationOnCells (const MEDCouplingMesh *m, const int *begin, const int *end, const std::vector< double > &refCoo, const std::vector< double > &gsCoo, const std::vector< double > &wg)
 
virtual void setGaussLocalizationOnType (const MEDCouplingMesh *m, INTERP_KERNEL::NormalizedCellType type, const std::vector< double > &refCoo, const std::vector< double > &gsCoo, const std::vector< double > &wg)
 
void setPrecision (double val)
 
void updateTime () const
 
virtual ~MEDCouplingFieldDiscretization ()
 
- Public Member Functions inherited from MEDCoupling::TimeLabel
void declareAsNew () const
 
std::size_t getTimeOfThis () const
 
TimeLabeloperator= (const TimeLabel &other)
 

Static Public Member Functions

static const double * GetLocsFromGeometricType (INTERP_KERNEL::NormalizedCellType geoType, std::size_t &lgth)
 
static const double * GetRefCoordsFromGeometricType (INTERP_KERNEL::NormalizedCellType geoType, std::size_t &lgth)
 
static const double * GetWeightArrayFromGeometricType (INTERP_KERNEL::NormalizedCellType geoType, std::size_t &lgth)
 
- Static Public Member Functions inherited from MEDCoupling::MEDCouplingFieldDiscretization
static TypeOfField GetTypeOfFieldFromStringRepr (const std::string &repr)
 
static std::string GetTypeOfFieldRepr (TypeOfField type)
 
static
MEDCouplingFieldDiscretization
New (TypeOfField type)
 

Static Public Attributes

static const double FGP_HEXA20 [20] ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
 
static const double FGP_HEXA27 [27] ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
 
static const double FGP_HEXA8 [8] ={1.,1.,1.,1.,1.,1.,1.,1.}
 
static const double FGP_PENTA15 [15] ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
 
static const double FGP_PENTA6 [6] ={0.16666666666666666,0.16666666666666666,0.16666666666666666,0.16666666666666666,0.16666666666666666,0.16666666666666666}
 
static const double FGP_POINT1 [1] ={0.}
 
static const double FGP_PYRA13 [13] ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
 
static const double FGP_PYRA5 [5] ={0.13333333333333333,0.13333333333333333,0.13333333333333333,0.13333333333333333,0.13333333333333333}
 
static const double FGP_QUAD4 [4] ={1.,1.,1.,1.}
 
static const double FGP_QUAD8 [8] ={1.,1.,1.,1.,1.,1.,1.,1.}
 
static const double FGP_QUAD9 [9] ={0.30864197530864196,0.30864197530864196,0.30864197530864196,0.30864197530864196,0.49382716049382713,0.49382716049382713,0.49382716049382713,0.49382716049382713,0.7901234567901234}
 
static const double FGP_SEG2 [2] ={1.,1.}
 
static const double FGP_SEG3 [3] ={0.5555555555555556,0.8888888888888888,0.5555555555555556}
 
static const double FGP_SEG4 [4] ={0.347854845137454,0.347854845137454,0.652145154862546,0.652145154862546}
 
static const double FGP_TETRA10 [10] ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
 
static const double FGP_TETRA4 [4] ={0.041666666666666664,0.041666666666666664,0.041666666666666664,0.041666666666666664}
 
static const double FGP_TRI3 [3] ={0.16666666666666666,0.16666666666666666,0.16666666666666666}
 
static const double FGP_TRI6 [6] ={0.0549758718227661,0.0549758718227661,0.0549758718227661,0.11169079483905,0.11169079483905,0.11169079483905}
 
static const double FGP_TRI7 [7] ={0.062969590272413,0.062969590272413,0.062969590272413,0.066197076394253,0.066197076394253,0.066197076394253,0.1125}
 
static const double LOC_HEXA20 [60] ={-1.,-1.,-1.,1.,-1.,-1.,1.,1.,-1.,-1.,1.,-1.,-1.,-1.,1.,1.,-1.,1.,1.,1.,1.,-1.,1.,1.,0.,-1.,-1.,1.,0.,-1.,0.,1.,-1.,-1.,0.,-1.,-1.,-1.,0.,1.,-1.,0.,1.,1.,0.,-1.,1.,0.,0.,-1.,1.,1.,0.,1.,0.,1.,1.,-1.,0.,1.}
 
static const double LOC_HEXA27 [81] ={-1.,-1.,-1.,-1.,1.,-1.,1.,1.,-1.,1.,-1.,-1.,-1.,-1.,1.,-1.,1.,1.,1.,1.,1.,1.,-1.,1.,-1.,0.,-1.,0.,1.,-1.,1.,0.,-1.,0.,-1.,-1.,-1.,0.,1.,0.,1.,1.,1.,0.,1.,0.,-1.,1.,-1.,-1.,0.,-1.,1.,0.,1.,1.,0.,1.,-1.,0.,0.,0.,-1.,-1.,0.,0.,0.,1.,0.,1.,0.,0.,0.,-1.,0.,0.,0.,1.,0.,0.,0.}
 
static const double LOC_HEXA8 [24] ={-0.5773502691896258,-0.5773502691896258,-0.5773502691896258,-0.5773502691896258,-0.5773502691896258,0.5773502691896258,-0.5773502691896258,0.5773502691896258,-0.5773502691896258,-0.5773502691896258,0.5773502691896258,0.5773502691896258,0.5773502691896258,-0.5773502691896258,-0.5773502691896258,0.5773502691896258,-0.5773502691896258,0.5773502691896258,0.5773502691896258,0.5773502691896258,-0.5773502691896258,0.5773502691896258,0.5773502691896258,0.5773502691896258}
 
static const double LOC_PENTA15 [45] ={-1.,1.,0.,-1.,0.,1.,-1.,0.,0.,1.,1.,0.,1.,0.,1.,1.,0.,0.,-1.,0.5,0.5,-1.,0.,0.5,-1.,0.5,0.,0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.5,0.5,1.,0.,0.5,1.,0.5,0.}
 
static const double LOC_PENTA6 [18] ={-0.5773502691896258,0.5,0.5,-0.5773502691896258,0.,0.5,-0.5773502691896258,0.5,0.,0.5773502691896258,0.5,0.5,0.5773502691896258,0.,0.5,0.5773502691896258,0.5,0.}
 
static const double LOC_PYRA13 [39] ={1.,0.,0.,0.,-1.,0.,-1.,0.,0.,0.,1.,0.,0.,0.,0.999999999999,0.5,-0.5,0.,-0.5,-0.5,0.,-0.5,0.5,0.,0.5,0.5,0.,0.5,0.,0.5,0.,-0.5,0.5,-0.5,0.,0.5,0.,0.5,0.5}
 
static const double LOC_PYRA5 [15] ={0.5,0.,0.1531754163448146,0.,0.5,0.1531754163448146,-0.5,0.,0.1531754163448146,0.,-0.5,0.1531754163448146,0.,0.,0.6372983346207416}
 
static const double LOC_QUAD4 [8] ={-0.774596669241483,-0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483}
 
static const double LOC_QUAD8 [16] ={-0.774596669241483,-0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.,-0.774596669241483,0.774596669241483,0.,0.,0.774596669241483,-0.774596669241483,0.}
 
static const double LOC_QUAD9 [18] ={-0.774596669241483,-0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.,-0.774596669241483,0.774596669241483,0.,0.,0.774596669241483,-0.774596669241483,0.,0.,0.}
 
static const double LOC_SEG2 [2] ={0.577350269189626,-0.577350269189626}
 
static const double LOC_SEG3 [3] ={-0.774596669241,0.,0.774596669241}
 
static const double LOC_SEG4 [4] ={0.339981043584856,-0.339981043584856,0.861136311594053,-0.861136311594053}
 
static const double LOC_TETRA10 [30] ={0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.,0.,0.,0.5,0.5,0.,0.,0.5,0.,0.5,0.,0.5,0.5,0.,0.5,0.,0.5,0.5,0.,0.}
 
static const double LOC_TETRA4 [12] ={0.1381966011250105,0.1381966011250105,0.1381966011250105,0.1381966011250105,0.1381966011250105,0.5854101966249685,0.1381966011250105,0.5854101966249685,0.1381966011250105,0.5854101966249685,0.1381966011250105,0.1381966011250105}
 
static const double LOC_TRI3 [6] ={0.16666666666666667,0.16666666666666667,0.6666666666666667,0.16666666666666667,0.16666666666666667,0.6666666666666667}
 
static const double LOC_TRI6 [12] ={0.091576213509771,0.091576213509771,0.816847572980458,0.091576213509771,0.091576213509771,0.816847572980458,0.445948490915965,0.10810301816807,0.445948490915965,0.445948490915965,0.10810301816807,0.445948490915965}
 
static const double LOC_TRI7 [14] ={0.3333333333333333,0.3333333333333333,0.470142064105115,0.470142064105115,0.05971587178977,0.470142064105115,0.470142064105115,0.05971587178977,0.101286507323456,0.101286507323456,0.797426985353088,0.101286507323456,0.101286507323456,0.797426985353088}
 
static const double REF_HEXA20 [60] ={-1.,-1.,-1.,1.,-1.,-1.,1.,1.,-1.,-1.,1.,-1.,-1.,-1.,1.,1.,-1.,1.,1.,1.,1.,-1.,1.,1.,0.,-1.,-1.,1.,0.,-1.,0.,1.,-1.,-1.,0.,-1.,-1.,-1.,0.,1.,-1.,0.,1.,1.,0.,-1.,1.,0.,0.,-1.,1.,1.,0.,1.,0.,1.,1.,-1.,0.,1.}
 
static const double REF_HEXA27 [81] ={-1.,-1.,-1.,-1.,1.,-1.,1.,1.,-1.,1.,-1.,-1.,-1.,-1.,1.,-1.,1.,1.,1.,1.,1.,1.,-1.,1.,-1.,0.,-1.,0.,1.,-1.,1.,0.,-1.,0.,-1.,-1.,-1.,0.,1.,0.,1.,1.,1.,0.,1.,0.,-1.,1.,-1.,-1.,0.,-1.,1.,0.,1.,1.,0.,1.,-1.,0.,0.,0.,-1.,-1.,0.,0.,0.,1.,0.,1.,0.,0.,0.,-1.,0.,0.,0.,1.,0.,0.,0.}
 
static const double REF_HEXA8 [24] ={-1.,-1.,-1.,1.,-1.,-1.,1.,1.,-1.,-1.,1.,-1.,-1.,-1.,1.,1.,-1.,1.,1.,1.,1.,-1.,1.,1.}
 
static const double REF_PENTA15 [45] ={-1.,1.,0.,-1.,0.,1.,-1.,0.,0.,1.,1.,0.,1.,0.,1.,1.,0.,0.,-1.,0.5,0.5,-1.,0.,0.5,-1.,0.5,0.,0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.5,0.5,1.,0.,0.5,1.,0.5,0.}
 
static const double REF_PENTA6 [18] ={-1.,1.,0.,-1.,0.,1.,-1.,0.,0.,1.,1.,0.,1.,0.,1.,1.,0.,0.}
 
static const double REF_PYRA13 [39] ={1.,0.,0.,0.,-1.,0.,-1.,0.,0.,0.,1.,0.,0.,0.,1.,0.5,-0.5,0.,-0.5,-0.5,0.,-0.5,0.5,0.,0.5,0.5,0.,0.5,0.,0.5,0.,-0.5,0.5,-0.5,0.,0.5,0.,0.5,0.5}
 
static const double REF_PYRA5 [15] ={1.,0.,0.,0.,1.,0.,-1.,0.,0.,0.,-1.,0.,0.,0.,1.}
 
static const double REF_QUAD4 [8] ={-1.,-1.,1.,-1.,1.,1.,-1.,1.}
 
static const double REF_QUAD8 [16] ={-1.,-1.,1.,-1.,1.,1.,-1.,1.,0.,-1.,1.,0.,0.,1.,-1.,0.}
 
static const double REF_QUAD9 [18] ={-1.,-1.,1.,-1.,1.,1.,-1.,1.,0.,-1.,1.,0.,0.,1.,-1.,0.,0.,0.}
 
static const double REF_SEG2 [2] ={-1.,1.}
 
static const double REF_SEG3 [3] ={-1.,1.,0.}
 
static const double REF_SEG4 [4] ={-1.,1.,-0.3333333333333333,0.3333333333333333}
 
static const double REF_TETRA10 [30] ={0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.,0.,0.,0.5,0.5,0.,0.,0.5,0.,0.5,0.,0.5,0.5,0.,0.5,0.,0.5,0.5,0.,0.}
 
static const double REF_TETRA4 [12] ={0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.,0.}
 
static const double REF_TRI3 [6] ={0.,0.,1.,0.,0.,1.}
 
static const double REF_TRI6 [12] ={0.,0.,1.,0.,0.,1.,0.5,0.,0.5,0.5,0.,0.5}
 
static const double REF_TRI7 [14] ={0.,0.,1.,0.,0.,1.,0.5,0.,0.5,0.5,0.,0.5,0.3333333333333333,0.3333333333333333}
 
static const char REPR [] ="GSSNE"
 
static const TypeOfField TYPE =ON_GAUSS_NE
 

Protected Member Functions

 MEDCouplingFieldDiscretizationGaussNE (const MEDCouplingFieldDiscretizationGaussNE &other)
 
- Protected Member Functions inherited from MEDCoupling::MEDCouplingFieldDiscretization
 MEDCouplingFieldDiscretization ()
 
- Protected Member Functions inherited from MEDCoupling::RefCountObject
 RefCountObject ()
 
 RefCountObject (const RefCountObject &other)
 
virtual ~RefCountObject ()
 
- Protected Member Functions inherited from MEDCoupling::RefCountObjectOnly
 RefCountObjectOnly ()
 
 RefCountObjectOnly (const RefCountObjectOnly &other)
 
virtual ~RefCountObjectOnly ()
 
- Protected Member Functions inherited from MEDCoupling::TimeLabel
void forceTimeOfThis (const TimeLabel &other) const
 
 TimeLabel ()
 
void updateTimeWith (const TimeLabel &other) const
 
virtual ~TimeLabel ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from MEDCoupling::MEDCouplingFieldDiscretization
static void RenumberEntitiesFromN2OArr (const int *new2OldPtr, int new2OldSz, DataArrayDouble *arr, const std::string &msg)
 
static void RenumberEntitiesFromO2NArr (double epsOnVals, const int *old2NewPtr, int newNbOfEntity, DataArrayDouble *arr, const std::string &msg)
 
- Protected Attributes inherited from MEDCoupling::MEDCouplingFieldDiscretization
double _precision
 
- Static Protected Attributes inherited from MEDCoupling::MEDCouplingFieldDiscretization
static const double DFLT_PRECISION =1.e-12
 

Detailed Description

Gauss with points of values located on nodes of element. This is a specialization of MEDCouplingFieldDiscretizationGauss.

Constructor & Destructor Documentation

MEDCouplingFieldDiscretizationGaussNE::MEDCouplingFieldDiscretizationGaussNE ( )

Referenced by clone().

MEDCouplingFieldDiscretizationGaussNE::MEDCouplingFieldDiscretizationGaussNE ( const MEDCouplingFieldDiscretizationGaussNE other)
protected

Member Function Documentation

TypeOfField MEDCouplingFieldDiscretizationGaussNE::getEnum ( ) const
virtual
MEDCouplingFieldDiscretization * MEDCouplingFieldDiscretizationGaussNE::clone ( ) const
virtual
std::string MEDCouplingFieldDiscretizationGaussNE::getStringRepr ( ) const
virtual
const char * MEDCouplingFieldDiscretizationGaussNE::getRepr ( ) const
virtual
bool MEDCouplingFieldDiscretizationGaussNE::isEqualIfNotWhy ( const MEDCouplingFieldDiscretization other,
double  eps,
std::string &  reason 
) const
virtual
int MEDCouplingFieldDiscretizationGaussNE::getNumberOfTuplesExpectedRegardingCode ( const std::vector< int > &  code,
const std::vector< const DataArrayInt * > &  idsPerType 
) const
virtual

This method returns the number of tuples regarding exclusively the input code without using a mesh in input. The input code coherency is also checked regarding spatial discretization of this. If an incoherency is detected, an exception will be thrown. If the input code is coherent, the number of tuples expected is returned. The number of tuples expected is equal to those to have a valid field lying on this and having a mesh fitting perfectly the input code (geometric type distribution).

Implements MEDCoupling::MEDCouplingFieldDiscretization.

References MEDCoupling::DataArrayTemplate< T >::getMinValueInArray(), MEDCoupling::DataArray::getNumberOfComponents(), MEDCoupling::DataArrayTemplate< T >::getNumberOfTuples(), and MEDCoupling::DataArrayTemplate< T >::isAllocated().

int MEDCouplingFieldDiscretizationGaussNE::getNumberOfTuples ( const MEDCouplingMesh mesh) const
virtual
int MEDCouplingFieldDiscretizationGaussNE::getNumberOfMeshPlaces ( const MEDCouplingMesh mesh) const
virtual
void MEDCouplingFieldDiscretizationGaussNE::renumberArraysForCell ( const MEDCouplingMesh mesh,
const std::vector< DataArray * > &  arrays,
const int *  old2NewBg,
bool  check 
)
virtual
void MEDCouplingFieldDiscretizationGaussNE::checkCompatibilityWithNature ( NatureOfField  nat) const
virtual
double MEDCouplingFieldDiscretizationGaussNE::getIJK ( const MEDCouplingMesh mesh,
const DataArrayDouble da,
int  cellId,
int  nodeIdInCell,
int  compoId 
) const
virtual
void MEDCouplingFieldDiscretizationGaussNE::checkCoherencyBetween ( const MEDCouplingMesh mesh,
const DataArray da 
) const
virtual
void MEDCouplingFieldDiscretizationGaussNE::getValueOn ( const DataArrayDouble arr,
const MEDCouplingMesh mesh,
const double *  loc,
double *  res 
) const
virtual
void MEDCouplingFieldDiscretizationGaussNE::getValueOnPos ( const DataArrayDouble arr,
const MEDCouplingMesh mesh,
int  i,
int  j,
int  k,
double *  res 
) const
virtual
DataArrayDouble * MEDCouplingFieldDiscretizationGaussNE::getValueOnMulti ( const DataArrayDouble arr,
const MEDCouplingMesh mesh,
const double *  loc,
int  nbOfPoints 
) const
virtual
MEDCouplingMesh * MEDCouplingFieldDiscretizationGaussNE::buildSubMeshData ( const MEDCouplingMesh mesh,
const int *  start,
const int *  end,
DataArrayInt *&  di 
) const
virtual
MEDCouplingMesh * MEDCouplingFieldDiscretizationGaussNE::buildSubMeshDataRange ( const MEDCouplingMesh mesh,
int  beginCellIds,
int  endCellIds,
int  stepCellIds,
int &  beginOut,
int &  endOut,
int &  stepOut,
DataArrayInt *&  di 
) const
virtual

This method is strictly equivalent to MEDCouplingFieldDiscretizationGauss::buildSubMeshData except that it is optimized for input defined as a range of cell ids.

Parameters
[out]beginOutValid only if di is NULL
[out]endOutValid only if di is NULL
[out]stepOutValid only if di is NULL
[out]diis an array returned that specifies entity ids (nodes, cells, Gauss points... ) in array if no output range is foundable.
See Also
MEDCouplingFieldDiscretizationGauss::buildSubMeshData

Reimplemented from MEDCoupling::MEDCouplingFieldDiscretization.

References MEDCoupling::MEDCouplingMesh::buildPartRange(), MEDCoupling::MEDCouplingFieldDiscretization::buildSubMeshDataRange(), MEDCoupling::MEDCouplingMesh::getNumberOfCells(), MEDCoupling::MEDCouplingMesh::getTypeOfCell(), and MEDCoupling::MCAuto< T >::retn().

DataArrayInt * MEDCouplingFieldDiscretizationGaussNE::computeTupleIdsToSelectFromCellIds ( const MEDCouplingMesh mesh,
const int *  startCellIds,
const int *  endCellIds 
) const
virtual

This method returns a tuple ids selection from cell ids selection [start;end). This method is called by MEDCouplingFieldDiscretizationGaussNE::buildSubMeshData to return parameter di.

Returns
a newly allocated array containing ids to select into the DataArrayDouble of the field.

Implements MEDCoupling::MEDCouplingFieldDiscretization.

References MEDCoupling::DataArrayInt::buildExplicitArrByRanges(), MEDCoupling::MEDCouplingMesh::computeNbOfNodesPerCell(), MEDCoupling::DataArrayInt::computeOffsetsFull(), MEDCoupling::CPP_DEALLOC, MEDCoupling::DataArrayInt::New(), and MEDCoupling::DataArrayTemplate< T >::useArray().

Referenced by buildSubMeshData().

void MEDCouplingFieldDiscretizationGaussNE::renumberValuesOnNodes ( double  epsOnVals,
const int *  old2New,
int  newNbOfNodes,
DataArrayDouble arr 
) const
virtual

No implementation needed !

Implements MEDCoupling::MEDCouplingFieldDiscretization.

void MEDCouplingFieldDiscretizationGaussNE::renumberValuesOnCells ( double  epsOnVals,
const MEDCouplingMesh mesh,
const int *  old2New,
int  newSz,
DataArrayDouble arr 
) const
virtual
void MEDCouplingFieldDiscretizationGaussNE::renumberValuesOnCellsR ( const MEDCouplingMesh mesh,
const int *  new2old,
int  newSz,
DataArrayDouble arr 
) const
virtual
void MEDCouplingFieldDiscretizationGaussNE::reprQuickOverview ( std::ostream &  stream) const
virtual

Member Data Documentation

const double MEDCouplingFieldDiscretizationGaussNE::FGP_POINT1 ={0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_SEG2 ={1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_SEG3 ={0.5555555555555556,0.8888888888888888,0.5555555555555556}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_SEG4 ={0.347854845137454,0.347854845137454,0.652145154862546,0.652145154862546}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_TRI3 ={0.16666666666666666,0.16666666666666666,0.16666666666666666}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_TRI6 ={0.0549758718227661,0.0549758718227661,0.0549758718227661,0.11169079483905,0.11169079483905,0.11169079483905}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_TRI7 ={0.062969590272413,0.062969590272413,0.062969590272413,0.066197076394253,0.066197076394253,0.066197076394253,0.1125}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_QUAD4 ={1.,1.,1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_QUAD8 ={1.,1.,1.,1.,1.,1.,1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_QUAD9 ={0.30864197530864196,0.30864197530864196,0.30864197530864196,0.30864197530864196,0.49382716049382713,0.49382716049382713,0.49382716049382713,0.49382716049382713,0.7901234567901234}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_TETRA4 ={0.041666666666666664,0.041666666666666664,0.041666666666666664,0.041666666666666664}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_TETRA10 ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_PENTA6 ={0.16666666666666666,0.16666666666666666,0.16666666666666666,0.16666666666666666,0.16666666666666666,0.16666666666666666}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_PENTA15 ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_HEXA8 ={1.,1.,1.,1.,1.,1.,1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_HEXA20 ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_HEXA27 ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_PYRA5 ={0.13333333333333333,0.13333333333333333,0.13333333333333333,0.13333333333333333,0.13333333333333333}
static
const double MEDCouplingFieldDiscretizationGaussNE::FGP_PYRA13 ={1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_SEG2 ={-1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_SEG3 ={-1.,1.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_SEG4 ={-1.,1.,-0.3333333333333333,0.3333333333333333}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_TRI3 ={0.,0.,1.,0.,0.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_TRI6 ={0.,0.,1.,0.,0.,1.,0.5,0.,0.5,0.5,0.,0.5}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_TRI7 ={0.,0.,1.,0.,0.,1.,0.5,0.,0.5,0.5,0.,0.5,0.3333333333333333,0.3333333333333333}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_QUAD4 ={-1.,-1.,1.,-1.,1.,1.,-1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_QUAD8 ={-1.,-1.,1.,-1.,1.,1.,-1.,1.,0.,-1.,1.,0.,0.,1.,-1.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_QUAD9 ={-1.,-1.,1.,-1.,1.,1.,-1.,1.,0.,-1.,1.,0.,0.,1.,-1.,0.,0.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_TETRA4 ={0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_TETRA10 ={0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.,0.,0.,0.5,0.5,0.,0.,0.5,0.,0.5,0.,0.5,0.5,0.,0.5,0.,0.5,0.5,0.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_PENTA6 ={-1.,1.,0.,-1.,0.,1.,-1.,0.,0.,1.,1.,0.,1.,0.,1.,1.,0.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_PENTA15 ={-1.,1.,0.,-1.,0.,1.,-1.,0.,0.,1.,1.,0.,1.,0.,1.,1.,0.,0.,-1.,0.5,0.5,-1.,0.,0.5,-1.,0.5,0.,0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.5,0.5,1.,0.,0.5,1.,0.5,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_HEXA8 ={-1.,-1.,-1.,1.,-1.,-1.,1.,1.,-1.,-1.,1.,-1.,-1.,-1.,1.,1.,-1.,1.,1.,1.,1.,-1.,1.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_HEXA20 ={-1.,-1.,-1.,1.,-1.,-1.,1.,1.,-1.,-1.,1.,-1.,-1.,-1.,1.,1.,-1.,1.,1.,1.,1.,-1.,1.,1.,0.,-1.,-1.,1.,0.,-1.,0.,1.,-1.,-1.,0.,-1.,-1.,-1.,0.,1.,-1.,0.,1.,1.,0.,-1.,1.,0.,0.,-1.,1.,1.,0.,1.,0.,1.,1.,-1.,0.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_HEXA27 ={-1.,-1.,-1.,-1.,1.,-1.,1.,1.,-1.,1.,-1.,-1.,-1.,-1.,1.,-1.,1.,1.,1.,1.,1.,1.,-1.,1.,-1.,0.,-1.,0.,1.,-1.,1.,0.,-1.,0.,-1.,-1.,-1.,0.,1.,0.,1.,1.,1.,0.,1.,0.,-1.,1.,-1.,-1.,0.,-1.,1.,0.,1.,1.,0.,1.,-1.,0.,0.,0.,-1.,-1.,0.,0.,0.,1.,0.,1.,0.,0.,0.,-1.,0.,0.,0.,1.,0.,0.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_PYRA5 ={1.,0.,0.,0.,1.,0.,-1.,0.,0.,0.,-1.,0.,0.,0.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::REF_PYRA13 ={1.,0.,0.,0.,-1.,0.,-1.,0.,0.,0.,1.,0.,0.,0.,1.,0.5,-0.5,0.,-0.5,-0.5,0.,-0.5,0.5,0.,0.5,0.5,0.,0.5,0.,0.5,0.,-0.5,0.5,-0.5,0.,0.5,0.,0.5,0.5}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_SEG2 ={0.577350269189626,-0.577350269189626}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_SEG3 ={-0.774596669241,0.,0.774596669241}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_SEG4 ={0.339981043584856,-0.339981043584856,0.861136311594053,-0.861136311594053}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_TRI3 ={0.16666666666666667,0.16666666666666667,0.6666666666666667,0.16666666666666667,0.16666666666666667,0.6666666666666667}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_TRI6 ={0.091576213509771,0.091576213509771,0.816847572980458,0.091576213509771,0.091576213509771,0.816847572980458,0.445948490915965,0.10810301816807,0.445948490915965,0.445948490915965,0.10810301816807,0.445948490915965}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_TRI7 ={0.3333333333333333,0.3333333333333333,0.470142064105115,0.470142064105115,0.05971587178977,0.470142064105115,0.470142064105115,0.05971587178977,0.101286507323456,0.101286507323456,0.797426985353088,0.101286507323456,0.101286507323456,0.797426985353088}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_QUAD4 ={-0.774596669241483,-0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_QUAD8 ={-0.774596669241483,-0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.,-0.774596669241483,0.774596669241483,0.,0.,0.774596669241483,-0.774596669241483,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_QUAD9 ={-0.774596669241483,-0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.774596669241483,-0.774596669241483,0.774596669241483,0.,-0.774596669241483,0.774596669241483,0.,0.,0.774596669241483,-0.774596669241483,0.,0.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_TETRA4 ={0.1381966011250105,0.1381966011250105,0.1381966011250105,0.1381966011250105,0.1381966011250105,0.5854101966249685,0.1381966011250105,0.5854101966249685,0.1381966011250105,0.5854101966249685,0.1381966011250105,0.1381966011250105}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_TETRA10 ={0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.,0.,0.,0.5,0.5,0.,0.,0.5,0.,0.5,0.,0.5,0.5,0.,0.5,0.,0.5,0.5,0.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_PENTA6 ={-0.5773502691896258,0.5,0.5,-0.5773502691896258,0.,0.5,-0.5773502691896258,0.5,0.,0.5773502691896258,0.5,0.5,0.5773502691896258,0.,0.5,0.5773502691896258,0.5,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_PENTA15 ={-1.,1.,0.,-1.,0.,1.,-1.,0.,0.,1.,1.,0.,1.,0.,1.,1.,0.,0.,-1.,0.5,0.5,-1.,0.,0.5,-1.,0.5,0.,0.,1.,0.,0.,0.,1.,0.,0.,0.,1.,0.5,0.5,1.,0.,0.5,1.,0.5,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_HEXA8 ={-0.5773502691896258,-0.5773502691896258,-0.5773502691896258,-0.5773502691896258,-0.5773502691896258,0.5773502691896258,-0.5773502691896258,0.5773502691896258,-0.5773502691896258,-0.5773502691896258,0.5773502691896258,0.5773502691896258,0.5773502691896258,-0.5773502691896258,-0.5773502691896258,0.5773502691896258,-0.5773502691896258,0.5773502691896258,0.5773502691896258,0.5773502691896258,-0.5773502691896258,0.5773502691896258,0.5773502691896258,0.5773502691896258}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_HEXA20 ={-1.,-1.,-1.,1.,-1.,-1.,1.,1.,-1.,-1.,1.,-1.,-1.,-1.,1.,1.,-1.,1.,1.,1.,1.,-1.,1.,1.,0.,-1.,-1.,1.,0.,-1.,0.,1.,-1.,-1.,0.,-1.,-1.,-1.,0.,1.,-1.,0.,1.,1.,0.,-1.,1.,0.,0.,-1.,1.,1.,0.,1.,0.,1.,1.,-1.,0.,1.}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_HEXA27 ={-1.,-1.,-1.,-1.,1.,-1.,1.,1.,-1.,1.,-1.,-1.,-1.,-1.,1.,-1.,1.,1.,1.,1.,1.,1.,-1.,1.,-1.,0.,-1.,0.,1.,-1.,1.,0.,-1.,0.,-1.,-1.,-1.,0.,1.,0.,1.,1.,1.,0.,1.,0.,-1.,1.,-1.,-1.,0.,-1.,1.,0.,1.,1.,0.,1.,-1.,0.,0.,0.,-1.,-1.,0.,0.,0.,1.,0.,1.,0.,0.,0.,-1.,0.,0.,0.,1.,0.,0.,0.}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_PYRA5 ={0.5,0.,0.1531754163448146,0.,0.5,0.1531754163448146,-0.5,0.,0.1531754163448146,0.,-0.5,0.1531754163448146,0.,0.,0.6372983346207416}
static
const double MEDCouplingFieldDiscretizationGaussNE::LOC_PYRA13 ={1.,0.,0.,0.,-1.,0.,-1.,0.,0.,0.,1.,0.,0.,0.,0.999999999999,0.5,-0.5,0.,-0.5,-0.5,0.,-0.5,0.5,0.,0.5,0.5,0.,0.5,0.,0.5,0.,-0.5,0.5,-0.5,0.,0.5,0.,0.5,0.5}
static