Skip to content
Snippets Groups Projects
Commit 9ca6b353 authored by Timo Koch's avatar Timo Koch
Browse files

[2p][test] Fix missing include and formatting

parent 33c4ade3
No related branches found
No related tags found
2 merge requests!617[WIP] Next,!542Feature/adpativity next
...@@ -32,20 +32,14 @@ ...@@ -32,20 +32,14 @@
#include <dune/grid/io/file/vtk.hh> #include <dune/grid/io/file/vtk.hh>
#include <dune/istl/io.hh> #include <dune/istl/io.hh>
//! Use the incompressible or point source problem for this adaptive test #include <dumux/common/properties.hh>
#include <test/porousmediumflow/2p/implicit/incompressible/problem.hh>
#include "pointsourceproblem.hh"
#include <dumux/common/propertysystem.hh>
#include <dumux/common/parameters.hh> #include <dumux/common/parameters.hh>
#include <dumux/common/valgrind.hh>
#include <dumux/common/dumuxmessage.hh> #include <dumux/common/dumuxmessage.hh>
#include <dumux/common/defaultusagemessage.hh> #include <dumux/common/defaultusagemessage.hh>
#include <dumux/linear/amgbackend.hh> #include <dumux/linear/amgbackend.hh>
#include <dumux/nonlinear/newtonmethod.hh> #include <dumux/nonlinear/newtonmethod.hh>
#include <dumux/nonlinear/newtoncontroller.hh> #include <dumux/nonlinear/newtoncontroller.hh>
#include <dumux/nonlinear/newtonconvergencewriter.hh>
#include <dumux/assembly/fvassembler.hh> #include <dumux/assembly/fvassembler.hh>
#include <dumux/assembly/diffmethod.hh> #include <dumux/assembly/diffmethod.hh>
...@@ -60,22 +54,26 @@ ...@@ -60,22 +54,26 @@
#include <dumux/porousmediumflow/2p/implicit/griddatatransfer.hh> #include <dumux/porousmediumflow/2p/implicit/griddatatransfer.hh>
#include <dumux/porousmediumflow/2p/implicit/gridadaptindicator.hh> #include <dumux/porousmediumflow/2p/implicit/gridadaptindicator.hh>
//! Use the incompressible or point source problem for this adaptive test
#include <test/porousmediumflow/2p/implicit/incompressible/problem.hh>
#include "pointsourceproblem.hh"
//! type tags for the adaptive versions of the two-phase incompressible problem //! type tags for the adaptive versions of the two-phase incompressible problem
namespace Dumux { namespace Dumux {
namespace Properties { namespace Properties {
//! Type Tags for the adaptive tests //! Type Tags for the adaptive tests
NEW_TYPE_TAG(TwoPIncompressibleAdaptiveTpfa, INHERITS_FROM(TwoPIncompressibleTpfa)); NEW_TYPE_TAG(TwoPIncompressibleAdaptiveTpfa, INHERITS_FROM(TwoPIncompressibleTpfa));
NEW_TYPE_TAG(TwoPIncompressibleAdaptiveMpfa, INHERITS_FROM(TwoPIncompressibleMpfa)); NEW_TYPE_TAG(TwoPIncompressibleAdaptiveMpfa, INHERITS_FROM(TwoPIncompressibleMpfa));
NEW_TYPE_TAG(TwoPIncompressibleAdaptiveBox, INHERITS_FROM(TwoPIncompressibleBox)); NEW_TYPE_TAG(TwoPIncompressibleAdaptiveBox, INHERITS_FROM(TwoPIncompressibleBox));
NEW_TYPE_TAG(TwoPAdaptivePointSource, INHERITS_FROM(TwoPIncompressibleAdaptiveTpfa)); NEW_TYPE_TAG(TwoPAdaptivePointSource, INHERITS_FROM(TwoPIncompressibleAdaptiveTpfa));
//! Use non-conforming refinement in the cell-centered tests, conforming for box //! Use non-conforming refinement in the cell-centered tests, conforming for box
SET_TYPE_PROP(TwoPIncompressibleAdaptiveTpfa, Grid, Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming>); SET_TYPE_PROP(TwoPIncompressibleAdaptiveTpfa, Grid, Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming>);
SET_TYPE_PROP(TwoPIncompressibleAdaptiveMpfa, Grid, Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming>); SET_TYPE_PROP(TwoPIncompressibleAdaptiveMpfa, Grid, Dune::ALUGrid<2, 2, Dune::cube, Dune::nonconforming>);
SET_TYPE_PROP(TwoPIncompressibleAdaptiveBox, Grid, Dune::UGGrid<2>); SET_TYPE_PROP(TwoPIncompressibleAdaptiveBox, Grid, Dune::UGGrid<2>);
SET_TYPE_PROP(TwoPAdaptivePointSource, Problem, PointSourceTestProblem<TypeTag>); SET_TYPE_PROP(TwoPAdaptivePointSource, Problem, PointSourceTestProblem<TypeTag>);
} } // end namespace Properties
} } // end namespace Dumux
int main(int argc, char** argv) try int main(int argc, char** argv) try
{ {
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
* \file * \file
* \brief The properties for the incompressible test * \brief The properties for the incompressible test
*/ */
#ifndef DUMUX_INCOMPRESSIBLE_ONEP_TEST_PROBLEM_HH #ifndef DUMUX_INCOMPRESSIBLE_TWOP_TEST_PROBLEM_HH
#define DUMUX_INCOMPRESSIBLE_ONEP_TEST_PROBLEM_HH #define DUMUX_INCOMPRESSIBLE_TWOP_TEST_PROBLEM_HH
#include <dumux/discretization/box/properties.hh> #include <dumux/discretization/box/properties.hh>
#include <dumux/discretization/cellcentered/tpfa/properties.hh> #include <dumux/discretization/cellcentered/tpfa/properties.hh>
...@@ -29,6 +29,8 @@ ...@@ -29,6 +29,8 @@
#include <dumux/material/components/dnapl.hh> #include <dumux/material/components/dnapl.hh>
#include <dumux/material/components/simpleh2o.hh> #include <dumux/material/components/simpleh2o.hh>
#include <dumux/material/fluidsystems/liquidphase.hh>
#include <dumux/material/fluidsystems/2pimmiscible.hh>
#include <dumux/porousmediumflow/problem.hh> #include <dumux/porousmediumflow/problem.hh>
#include <dumux/porousmediumflow/2p/implicit/model.hh> #include <dumux/porousmediumflow/2p/implicit/model.hh>
......
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