X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingFieldDiscretization.hxx;h=50fdb2e0eee43aea58315568e82a8e93fad2616e;hb=b8616069f6667dcec3f90574a05bfc9e66d87fa5;hp=da7a4ca3d15d077861f92da1cdef888e407d7a1c;hpb=b219559763498c4bd10c730cd3d2c62b1eed45db;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingFieldDiscretization.hxx b/src/MEDCoupling/MEDCouplingFieldDiscretization.hxx index da7a4ca3d..50fdb2e0e 100644 --- a/src/MEDCoupling/MEDCouplingFieldDiscretization.hxx +++ b/src/MEDCoupling/MEDCouplingFieldDiscretization.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -123,6 +123,7 @@ namespace MEDCoupling { public: MEDCOUPLING_EXPORT TypeOfField getEnum() const; + MEDCOUPLING_EXPORT std::string getClassName() const override { return std::string("MEDCouplingFieldDiscretizationP0"); } MEDCOUPLING_EXPORT MEDCouplingFieldDiscretization *clone() const; MEDCOUPLING_EXPORT std::string getStringRepr() const; MEDCOUPLING_EXPORT const char *getRepr() const; @@ -182,6 +183,7 @@ namespace MEDCoupling { public: MEDCOUPLING_EXPORT TypeOfField getEnum() const; + MEDCOUPLING_EXPORT std::string getClassName() const override { return std::string("MEDCouplingFieldDiscretizationP1"); } MEDCOUPLING_EXPORT MEDCouplingFieldDiscretization *clone() const; MEDCOUPLING_EXPORT std::string getStringRepr() const; MEDCOUPLING_EXPORT const char *getRepr() const; @@ -235,6 +237,7 @@ namespace MEDCoupling public: MEDCOUPLING_EXPORT MEDCouplingFieldDiscretizationGauss(); MEDCOUPLING_EXPORT TypeOfField getEnum() const; + MEDCOUPLING_EXPORT std::string getClassName() const override { return std::string("MEDCouplingFieldDiscretizationGauss"); } MEDCOUPLING_EXPORT bool isEqualIfNotWhy(const MEDCouplingFieldDiscretization *other, double eps, std::string& reason) const; MEDCOUPLING_EXPORT bool isEqualWithoutConsideringStr(const MEDCouplingFieldDiscretization *other, double eps) const; MEDCOUPLING_EXPORT MEDCouplingFieldDiscretization *clone() const; @@ -311,6 +314,7 @@ namespace MEDCoupling public: MEDCOUPLING_EXPORT MEDCouplingFieldDiscretizationGaussNE(); MEDCOUPLING_EXPORT TypeOfField getEnum() const; + MEDCOUPLING_EXPORT std::string getClassName() const override { return std::string("MEDCouplingFieldDiscretizationGaussNE"); } MEDCOUPLING_EXPORT MEDCouplingFieldDiscretization *clone() const; MEDCOUPLING_EXPORT std::string getStringRepr() const; MEDCOUPLING_EXPORT const char *getRepr() const; @@ -362,6 +366,7 @@ namespace MEDCoupling static const double FGP_TETRA10[10];//to check static const double FGP_PENTA6[6]; static const double FGP_PENTA15[15];//to check + static const double FGP_PENTA18[18];//to check static const double FGP_HEXA8[8]; static const double FGP_HEXA20[20];//to check static const double FGP_HEXA27[27]; @@ -380,6 +385,7 @@ namespace MEDCoupling static const double REF_TETRA10[30]; static const double REF_PENTA6[18]; static const double REF_PENTA15[45]; + static const double REF_PENTA18[54]; static const double REF_HEXA8[24]; static const double REF_HEXA20[60]; static const double REF_HEXA27[81]; @@ -398,6 +404,7 @@ namespace MEDCoupling static const double LOC_TETRA10[30];//to check static const double LOC_PENTA6[18]; static const double LOC_PENTA15[45];//to check + static const double LOC_PENTA18[54];//to check static const double LOC_HEXA8[24]; static const double LOC_HEXA20[60];//to check static const double LOC_HEXA27[81]; @@ -409,6 +416,7 @@ namespace MEDCoupling { public: MEDCOUPLING_EXPORT TypeOfField getEnum() const; + MEDCOUPLING_EXPORT std::string getClassName() const override { return std::string("MEDCouplingFieldDiscretizationKriging"); } MEDCOUPLING_EXPORT const char *getRepr() const; MEDCOUPLING_EXPORT MEDCouplingFieldDiscretization *clone() const; MEDCOUPLING_EXPORT std::string getStringRepr() const;