# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2015 CEA/DEN, EDF R&D
+# Copyright (C) 2007-2016 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
F1Cell.setTime(1000.,2,3)
F1Cell.setName("F1Cell")
WriteFieldUsingAlreadyWrittenMesh("file2.med",F1Cell)
- F1Cell1=F1Cell.deepCpy()
+ F1Cell1=F1Cell.deepCopy()
F1Cell1.setMesh(myMesh1)
- F1Cell1.setArray(myMesh1.getBarycenterAndOwner())
+ F1Cell1.setArray(myMesh1.computeCellCenterOfMass())
WriteFieldUsingAlreadyWrittenMesh("file2.med",F1Cell1)
#! [PySnippetMeshAdvAPI1_12]
f1Cell_3D=ReadFieldCell("file2.med","Example2",0,"F1Cell",2,3)