Salome HOME
DGTUMesh with no cells can be now converted into umesh
[tools/medcoupling.git] / src / MEDCoupling / MEDCouplingGaussLocalization.cxx
index 54253dd1d8dc27c27052afc34a3755d6485dd741..e364a64bbd93fd7c65eedc29ba5acc985b83c9d3 100644 (file)
@@ -1,4 +1,4 @@
-// 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
@@ -31,7 +31,7 @@ MEDCoupling::MEDCouplingGaussLocalization::MEDCouplingGaussLocalization(INTERP_K
                                                                        const std::vector<double>& gsCoo, const std::vector<double>& w)
 try:_type(type),_ref_coord(refCoo),_gauss_coord(gsCoo),_weight(w)
 {
-  checkCoherency();
+  checkConsistencyLight();
 }
 catch(INTERP_KERNEL::Exception& e)
 {
@@ -59,7 +59,7 @@ void MEDCoupling::MEDCouplingGaussLocalization::setType(INTERP_KERNEL::Normalize
   _type=typ;
 }
 
-void MEDCoupling::MEDCouplingGaussLocalization::checkCoherency() const
+void MEDCoupling::MEDCouplingGaussLocalization::checkConsistencyLight() const
 {
   const INTERP_KERNEL::CellModel& cm=INTERP_KERNEL::CellModel::GetCellModel(_type);
   int nbNodes=cm.getNumberOfNodes();