X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingFieldTemplate.cxx;h=f1f0d8a14118a469ec0563ecfab5102e75a83c0f;hb=6b29741613e4edeb511ea88701218f90044bc078;hp=58fad9e7fff33b1c638aa9cde448cce0ecf9c04a;hpb=aa60c5c907c78293330a22ecee21476f72a9ec34;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingFieldTemplate.cxx b/src/MEDCoupling/MEDCouplingFieldTemplate.cxx index 58fad9e7f..f1f0d8a14 100644 --- a/src/MEDCoupling/MEDCouplingFieldTemplate.cxx +++ b/src/MEDCoupling/MEDCouplingFieldTemplate.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 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 @@ -25,7 +25,7 @@ #include -using namespace ParaMEDMEM; +using namespace MEDCoupling; MEDCouplingFieldTemplate *MEDCouplingFieldTemplate::New(const MEDCouplingFieldDouble& f) { @@ -43,17 +43,17 @@ MEDCouplingFieldTemplate *MEDCouplingFieldTemplate::New(TypeOfField type) MEDCouplingFieldTemplate::MEDCouplingFieldTemplate(const MEDCouplingFieldDouble& f):MEDCouplingField(f,false) { forceTimeOfThis(f); - checkCoherency(); + checkConsistencyLight(); } MEDCouplingFieldTemplate::MEDCouplingFieldTemplate(TypeOfField type):MEDCouplingField(type) { } -void MEDCouplingFieldTemplate::checkCoherency() const +void MEDCouplingFieldTemplate::checkConsistencyLight() const { if(_mesh==0) - throw INTERP_KERNEL::Exception("MEDCouplingFieldTemplate::checkCoherency : Empty mesh !"); + throw INTERP_KERNEL::Exception("MEDCouplingFieldTemplate::checkConsistencyLight : Empty mesh !"); } std::string MEDCouplingFieldTemplate::simpleRepr() const