#endif
%template(i32vec) std::vector<int>;
#endif
-
+#ifdef WIN32
+typedef long long mcPyPtrType;
+#else
+typedef long mcPyPtrType;
+#endif
////////////////////
%typemap(out) MEDCoupling::MEDCouplingMesh*
%newobject MEDCoupling::MEDCouplingMesh::buildPartRange;
%newobject MEDCoupling::MEDCouplingMesh::giveCellsWithType;
%newobject MEDCoupling::MEDCouplingMesh::getCoordinatesAndOwner;
+%newobject MEDCoupling::MEDCouplingMesh::computeMeshCenterOfMass;
%newobject MEDCoupling::MEDCouplingMesh::computeCellCenterOfMass;
%newobject MEDCoupling::MEDCouplingMesh::computeIsoBarycenterOfNodesPerCell;
%newobject MEDCoupling::MEDCouplingMesh::buildOrthogonalField;
{
return self->simpleRepr();
}
+
+ DataArrayDouble *computeMeshCenterOfMass() const
+ {
+ MCAuto<DataArrayDouble> ret(self->computeMeshCenterOfMass());
+ return ret.retn();
+ }
PyObject *getTime()
{