## deep full recursively copy of field -> both field and mesh underneath copied
field2=field.clone(True)
field2.setMesh(field.getMesh().clone(True))
+ mesh3=mesh.clone(True)
+ field3=mesh3.fillFromAnalytic(ON_CELLS,2,"x*IVec+(y+z)*JVec")
+ field3.applyFunc("u*u*u+cos(u)")
pass
def setUp(self):
pass
%newobject ParaMEDMEM::DataArrayInt::performCpy;
%newobject ParaMEDMEM::MEDCouplingFieldDouble::clone;
%newobject ParaMEDMEM::MEDCouplingMesh::mergeMyselfWith;
+%newobject ParaMEDMEM::MEDCouplingMesh::fillFromAnalytic;
%newobject ParaMEDMEM::MEDCouplingUMesh::buildPartOfMySelf;
%newobject ParaMEDMEM::MEDCouplingPointSet::zipCoordsTraducer;
%newobject ParaMEDMEM::MEDCouplingUMesh::getMeasureField;
void setNature(NatureOfField nat) throw(INTERP_KERNEL::Exception);
void updateTime();
bool mergeNodes(double eps);
+ void applyFunc(int nbOfComp, const char *func);
+ void applyFunc(const char *func);
static MEDCouplingFieldDouble *mergeFields(const MEDCouplingFieldDouble *f1, const MEDCouplingFieldDouble *f2);
%extend {
void setValues(PyObject *li)