bool isQuadrangular() const ;
bool isHexahedral() const ;
bool isStructured() const ;
+
+ // epsilon used in mesh comparisons
+ double getComparisonEpsilon() const {return _epsilon;};
+ void setComparisonEpsilon(double epsilon){ _epsilon=epsilon;};
+ // Quick comparison of two meshes to see if they are identical with high probability (three cells are compared)
+ void checkFastEquivalWith( Mesh m) const { return getMEDCouplingMesh()->checkFastEquivalWith(m.getMEDCouplingMesh(),1e-6);};
+ // Deep comparison of two meshes to see if they are identical Except for their names and units
+ bool isEqualWithoutConsideringStr( Mesh m) const { return getMEDCouplingMesh()->isEqualWithoutConsideringStr(m.getMEDCouplingMesh(),1e-6);};
+
std::vector< std::string > getElementTypesNames() const ;
/**
* \brief Compute the minimum value over all cells of the ratio cell perimeter/cell vaolume
std::vector< int > _boundaryNodeIds;
/* Boundary mesh */
const MEDCoupling::MEDCouplingUMesh * _boundaryMesh;
+
+ double _epsilon;
};
#endif /* MESH_HXX_ */