protected:
~MEDCouplingFieldDouble() { }
private:
- MEDCouplingFieldDouble(TypeOfField type, TypeOfTimeDiscretization td);
- MEDCouplingFieldDouble(const MEDCouplingFieldTemplate& ft, TypeOfTimeDiscretization td);
- MEDCouplingFieldDouble(const MEDCouplingFieldDouble& other, bool deepCpy);
- MEDCouplingFieldDouble(NatureOfField n, MEDCouplingTimeDiscretization *td, MEDCouplingFieldDiscretization *type);
- MCAuto<MEDCouplingFieldDouble> voronoizeGen(const Voronizer *vor, double eps) const;
- MEDCouplingTimeDiscretization *timeDiscr();
- const MEDCouplingTimeDiscretization *timeDiscr() const;
+ MEDCOUPLING_EXPORT MEDCouplingFieldDouble(TypeOfField type, TypeOfTimeDiscretization td);
+ MEDCOUPLING_EXPORT MEDCouplingFieldDouble(const MEDCouplingFieldTemplate& ft, TypeOfTimeDiscretization td);
+ MEDCOUPLING_EXPORT MEDCouplingFieldDouble(const MEDCouplingFieldDouble& other, bool deepCpy);
+ MEDCOUPLING_EXPORT MEDCouplingFieldDouble(NatureOfField n, MEDCouplingTimeDiscretization *td, MEDCouplingFieldDiscretization *type);
+ MEDCOUPLING_EXPORT MCAuto<MEDCouplingFieldDouble> voronoizeGen(const Voronizer *vor, double eps) const;
+ MEDCOUPLING_EXPORT MEDCouplingTimeDiscretization *timeDiscr();
+ MEDCOUPLING_EXPORT const MEDCouplingTimeDiscretization *timeDiscr() const;
};
}
class MEDRenumberTest(unittest.TestCase):
- @unittest.skipUnless("BOOST" in RenumberAvailableMethods(),"requires BOOST prerequisite !")
+ @unittest.skipUnless("Boost" in RenumberAvailableMethods(),"requires BOOST prerequisite !")
def test1(self):
- if sys.platform == "win32":
- from MEDCouplingCompat import MEDCouplingCMesh
- else:
- from MEDCoupling import MEDCouplingCMesh
-
ren=RenumberingFactory("BOOST")
arr=DataArrayDouble(10) ; arr.iota()
c=MEDCouplingCMesh() ; c.setCoords(arr,arr)