Commit 1088807d authored by Timo Koch's avatar Timo Koch
Browse files

[io] Fix missing includes

parent 6df48e33
......@@ -35,7 +35,9 @@
#include <dune/grid/utility/grapedataioformattypes.hh>
#endif
#include <dumux/common/exceptions.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/parameters.hh>
namespace Dumux
{
......@@ -130,7 +132,7 @@ private:
int rank = problem.gridView().comm().rank();
std::ostringstream oss;
try {
std::string name = GET_RUNTIME_PARAM_FROM_GROUP(TTAG(NumericModel), std::string, Problem, Name);
std::string name = getParam<std::string>("Problem.Name");
oss << name;
}
catch (ParameterException &e)
......
......@@ -24,8 +24,11 @@
#ifndef DUMUX_PLOT_EFFECTIVE_DIFFUSIVITY_MODEL_HH
#define DUMUX_PLOT_EFFECTIVE_DIFFUSIVITY_MODEL_HH
namespace Dumux
{
#include <string>
#include <vector>
namespace Dumux {
// forward declaration
template<class Scalar> class GnuplotInterface;
......
......@@ -24,8 +24,12 @@
#ifndef DUMUX_PLOT_FLUID_MATRIX_LAW_HH
#define DUMUX_PLOT_FLUID_MATRIX_LAW_HH
namespace Dumux
{
#include <cmath>
#include <vector>
#include <string>
namespace Dumux {
// forward declaration
template<class Scalar> class GnuplotInterface;
......
......@@ -24,6 +24,10 @@
#ifndef DUMUX_PLOT_FLUID_MATRIX_LAW_HH
#define DUMUX_PLOT_FLUID_MATRIX_LAW_HH
#include <cmath>
#include <string>
#include <vector>
namespace Dumux
{
// forward declaration
......
......@@ -24,10 +24,12 @@
#ifndef DUMUX_PLOT_THERMAL_CONDUCTIVITY_LAW_HH
#define DUMUX_PLOT_THERMAL_CONDUCTIVITY_LAW_HH
#include <string>
#include <vector>
#include <dumux/material/fluidstates/compositional.hh>
namespace Dumux
{
namespace Dumux {
// forward declaration
template<class Scalar> class GnuplotInterface;
......
......@@ -21,8 +21,8 @@
* \ingroup InputOutput
* \brief A VTK writer specialized for staggered grid implementations with dofs on the faces
*/
#ifndef STAGGERED_VTK_WRITER_HH
#define STAGGERED_VTK_WRITER_HH
#ifndef DUMUX_POINTCLOUD_VTK_WRITER_HH
#define DUMUX_POINTCLOUD_VTK_WRITER_HH
#include <dune/common/fvector.hh>
......@@ -31,9 +31,7 @@
#include <dune/grid/io/file/vtk/common.hh>
#include <dune/common/path.hh>
namespace Dumux
{
namespace Dumux {
/*!
* \ingroup InputOutput
......
......@@ -21,8 +21,8 @@
* \ingroup InputOutput
* \brief A VTK output module to simplify writing dumux simulation data to VTK format. Specialization for staggered grids with dofs on faces.
*/
#ifndef STAGGERED_VTK_OUTPUT_MODULE_HH
#define STAGGERED_VTK_OUTPUT_MODULE_HH
#ifndef DUMUX_STAGGERED_VTK_OUTPUT_MODULE_HH
#define DUMUX_STAGGERED_VTK_OUTPUT_MODULE_HH
#include <dune/common/fvector.hh>
......@@ -30,9 +30,7 @@
#include <dumux/io/pointcloudvtkwriter.hh>
#include <dumux/io/vtksequencewriter.hh>
namespace Dumux
{
namespace Dumux {
/*!
* \ingroup InputOutput
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment