diff --git a/BaseLib/Histogram.h b/BaseLib/Histogram.h index 8ae04be9d180d4896cb4d1eaeb97a417e80652b6..9c889c6911895e623c15170724daf50cd20b40fa 100644 --- a/BaseLib/Histogram.h +++ b/BaseLib/Histogram.h @@ -14,7 +14,7 @@ #include <ostream> #include <vector> -namespace BASELIB +namespace BaseLib { /** Basic Histogram implementation. @@ -159,6 +159,6 @@ operator<<(std::ostream& os, const Histogram<T>& h) return os << std::endl; } -} // namespace BASELIB +} // namespace BaseLib #endif // BASELIB_HISTOGRAM_H diff --git a/Gui/VtkVis/VtkVisPipeline.cpp b/Gui/VtkVis/VtkVisPipeline.cpp index c3b0819353f61fc162d12b8138cb1a2a5acac3e9..e9a42d86e58c23c97787cc24f9308637a76f35ab 100644 --- a/Gui/VtkVis/VtkVisPipeline.cpp +++ b/Gui/VtkVis/VtkVisPipeline.cpp @@ -526,7 +526,7 @@ void VtkVisPipeline::checkMeshQuality(VtkMeshSource* source, MshQualityType::typ // size_t size (static_cast<size_t>(QInputDialog::getInt(NULL, "OGS-Histogram", "number of histogram classes/spins (min: 1, max: 10000)", static_cast<int>(nclasses), 1, 10000, 1, &ok))); // if (ok) ... - BASELIB::Histogram<double> histogram (checker->getHistogram(nclasses)); + BaseLib::Histogram<double> histogram (checker->getHistogram(nclasses)); std::ofstream out ("mesh_histogram.txt"); if (out) { out << "# histogram depicts mesh quality criterion " << MshQualityType2String(t) diff --git a/MeshLib/MeshQuality/MeshQualityChecker.cpp b/MeshLib/MeshQuality/MeshQualityChecker.cpp index 2c6c88694da1626234876121db81c43a11d1a261..83fad02943f17e26d7cdbe5b0db4fb56d7cdbc56 100644 --- a/MeshLib/MeshQuality/MeshQualityChecker.cpp +++ b/MeshLib/MeshQuality/MeshQualityChecker.cpp @@ -24,14 +24,14 @@ MeshQualityChecker::MeshQualityChecker(Mesh const* const mesh) : _mesh_quality_measure.resize (_mesh->getNElements(), -1.0); } -BASELIB::Histogram<double> MeshQualityChecker::getHistogram (size_t nclasses) const +BaseLib::Histogram<double> MeshQualityChecker::getHistogram (size_t nclasses) const { if (nclasses == 0) { // simple suggestion: number of classes with Sturges criterion nclasses = static_cast<size_t>(1 + 3.3 * log (static_cast<float>((_mesh->getNElements())))); } - return BASELIB::Histogram<double>(getMeshQuality(), nclasses, true); + return BaseLib::Histogram<double>(getMeshQuality(), nclasses, true); } void MeshQualityChecker::errorMsg (const Element* elem, size_t idx) const diff --git a/MeshLib/MeshQuality/MeshQualityChecker.h b/MeshLib/MeshQuality/MeshQualityChecker.h index 66e9c0dce28ad1935fd3900c12d963ce99c1a2fb..e4cbcaa27ec9e66d1f05094585f61784891ab99e 100644 --- a/MeshLib/MeshQuality/MeshQualityChecker.h +++ b/MeshLib/MeshQuality/MeshQualityChecker.h @@ -36,7 +36,7 @@ public: std::vector<double> const& getMeshQuality () const; double getMinValue() const; double getMaxValue() const; - virtual BASELIB::Histogram<double> getHistogram (std::size_t nclasses = 0) const; + virtual BaseLib::Histogram<double> getHistogram (std::size_t nclasses = 0) const; protected: void errorMsg (const Element* elem, std::size_t idx) const;