Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dumux-repositories
dumux
Commits
9ca6b353
Commit
9ca6b353
authored
7 years ago
by
Timo Koch
Browse files
Options
Downloads
Patches
Plain Diff
[2p][test] Fix missing include and formatting
parent
33c4ade3
No related branches found
No related tags found
2 merge requests
!617
[WIP] Next
,
!542
Feature/adpativity next
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/porousmediumflow/2p/implicit/adaptive/test_2p_adaptive_fv.cc
+19
-21
19 additions, 21 deletions
...ousmediumflow/2p/implicit/adaptive/test_2p_adaptive_fv.cc
test/porousmediumflow/2p/implicit/incompressible/problem.hh
+4
-2
4 additions, 2 deletions
test/porousmediumflow/2p/implicit/incompressible/problem.hh
with
23 additions
and
23 deletions
test/porousmediumflow/2p/implicit/adaptive/test_2p_adaptive_fv.cc
+
19
−
21
View file @
9ca6b353
...
@@ -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
{
{
...
...
This diff is collapsed.
Click to expand it.
test/porousmediumflow/2p/implicit/incompressible/problem.hh
+
4
−
2
View file @
9ca6b353
...
@@ -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_
ONE
P_TEST_PROBLEM_HH
#ifndef DUMUX_INCOMPRESSIBLE_
TWO
P_TEST_PROBLEM_HH
#define DUMUX_INCOMPRESSIBLE_
ONE
P_TEST_PROBLEM_HH
#define DUMUX_INCOMPRESSIBLE_
TWO
P_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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment