X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingMemArray.hxx;h=66bbb6bd96ee17f38bcd292855c2517936306845;hb=865eac01b8bdd7a4494afd632f23ac6a1fcc0c88;hp=201b7601e96abd7bb6cdf57550b3474fe465a047;hpb=61d92c8e43cab2fdf936b02664a657d6c0850cb5;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingMemArray.hxx b/src/MEDCoupling/MEDCouplingMemArray.hxx index 201b7601e..66bbb6bd9 100644 --- a/src/MEDCoupling/MEDCouplingMemArray.hxx +++ b/src/MEDCoupling/MEDCouplingMemArray.hxx @@ -33,6 +33,14 @@ namespace ParaMEDMEM { + typedef enum + { + AX_CART = 3, + AX_CYL = 4, + AX_SPHER = 5 + } MEDCouplingAxisType; + // -- WARNING this enum must be synchronized with MEDCouplingCommon.i file ! -- + template class MEDCouplingPointer { @@ -323,6 +331,7 @@ namespace ParaMEDMEM MEDCOUPLING_EXPORT DataArrayDouble *fromPolarToCart() const; MEDCOUPLING_EXPORT DataArrayDouble *fromCylToCart() const; MEDCOUPLING_EXPORT DataArrayDouble *fromSpherToCart() const; + MEDCOUPLING_EXPORT DataArrayDouble *cartesianize(MEDCouplingAxisType atOfThis) const; MEDCOUPLING_EXPORT DataArrayDouble *doublyContractedProduct() const; MEDCOUPLING_EXPORT DataArrayDouble *determinant() const; MEDCOUPLING_EXPORT DataArrayDouble *eigenValues() const;