Skip to content
Snippets Groups Projects
Commit a324b818 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

Removed/changed (i)ostream includes

parent 9e0082b9
No related branches found
No related tags found
No related merge requests found
...@@ -10,9 +10,6 @@ ...@@ -10,9 +10,6 @@
*/ */
#pragma once #pragma once
#include <fstream>
#include <iostream>
#include "MaterialLib/MPL/Property.h" #include "MaterialLib/MPL/Property.h"
#include "MaterialLib/MPL/Utils/SigmoidFunction.h" #include "MaterialLib/MPL/Utils/SigmoidFunction.h"
namespace MaterialPropertyLib namespace MaterialPropertyLib
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
#pragma once #pragma once
#ifndef NDEBUG #ifndef NDEBUG
#include <ostream> #include <iosfwd>
#endif #endif
#include "BaseLib/Error.h" #include "BaseLib/Error.h"
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <cassert> #include <cassert>
#include <iterator> #include <iterator>
#include <ostream>
#include <string> #include <string>
#include <utility> #include <utility>
#include <vector> #include <vector>
...@@ -238,23 +237,6 @@ public: ...@@ -238,23 +237,6 @@ public:
return p[component]; return p[component];
} }
#ifndef NDEBUG
std::ostream& print(std::ostream& os) const
{
os << "\nPropertyVector<T*> at address: " << this << ":\n";
os << "\tmapping (" << size() << "):\n";
std::copy(this->cbegin(), this->cend(),
std::ostream_iterator<std::size_t>(os, " "));
os << "\n\tvalues (" << _values.size() << "):\n";
for (std::size_t k(0); k < _values.size(); k++)
{
os << "val: " << *(_values[k]) << ", address: " << _values[k]
<< "\n";
}
return os;
}
#endif
protected: protected:
/// @brief The constructor taking meta information for the data. /// @brief The constructor taking meta information for the data.
/// @param n_prop_groups number of different property values /// @param n_prop_groups number of different property values
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#pragma once #pragma once
#include <Eigen/Core> #include <Eigen/Core>
#include <ostream> #include <iosfwd>
namespace NumLib namespace NumLib
{ {
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <pybind11/pybind11.h> #include <pybind11/pybind11.h>
#endif // OGS_USE_PYTHON #endif // OGS_USE_PYTHON
#include <algorithm> #include <algorithm>
#include <iostream>
#include <vector> #include <vector>
#include "BHEInflowPythonBoundaryConditionPythonSideInterface.h" #include "BHEInflowPythonBoundaryConditionPythonSideInterface.h"
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <Eigen/LU> #include <Eigen/LU>
#include <cassert> #include <cassert>
#include <ostream> #include <iosfwd>
#include "MaterialLib/MPL/Medium.h" #include "MaterialLib/MPL/Medium.h"
#include "MaterialLib/MPL/Utils/FormEigenTensor.h" #include "MaterialLib/MPL/Utils/FormEigenTensor.h"
......
...@@ -10,13 +10,11 @@ ...@@ -10,13 +10,11 @@
#pragma once #pragma once
#include <boost/math/constants/constants.hpp> #include <boost/math/constants/constants.hpp>
#include "MathLib/LinAlg/LinAlg.h" #include "MathLib/LinAlg/LinAlg.h"
#include "MathLib/LinAlg/UnifiedMatrixSetters.h" #include "MathLib/LinAlg/UnifiedMatrixSetters.h"
#include "NumLib/ODESolver/ODESystem.h" #include "NumLib/ODESolver/ODESystem.h"
// debug
//#include <iostream>
template <class Ode> template <class Ode>
class ODETraits; class ODETraits;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment