Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux-course
Commits
7f47b54a
Commit
7f47b54a
authored
Oct 29, 2020
by
Roman Winter
Browse files
[cleanup] removed try and add boundarytypes
parent
eaa37d6b
Changes
60
Hide whitespace changes
Inline
Side-by-side
exercises/exercise-basic/2p2cmain.cc
View file @
7f47b54a
...
...
@@ -52,7 +52,7 @@
////////////////////////
// the main function
////////////////////////
int
main
(
int
argc
,
char
**
argv
)
try
int
main
(
int
argc
,
char
**
argv
)
{
using
namespace
Dumux
;
...
...
exercises/exercise-basic/2pmain.cc
View file @
7f47b54a
...
...
@@ -53,7 +53,7 @@
////////////////////////
// the main function
////////////////////////
int
main
(
int
argc
,
char
**
argv
)
try
int
main
(
int
argc
,
char
**
argv
)
{
using
namespace
Dumux
;
...
...
exercises/exercise-basic/injection2p2cproblem.hh
View file @
7f47b54a
...
...
@@ -26,6 +26,7 @@
#define DUMUX_EX_BASIC_PROBLEM_2P2C_HH
#include <dumux/common/properties.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/porousmediumflow/problem.hh>
#include <dumux/material/binarycoefficients/h2o_n2.hh>
...
...
exercises/exercise-basic/injection2pniproblem.hh
View file @
7f47b54a
...
...
@@ -26,6 +26,7 @@
#define DUMUX_EX_BASIC_PROBLEM_2PNI_HH
#include <dumux/common/properties.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/porousmediumflow/problem.hh>
namespace
Dumux
{
...
...
exercises/exercise-basic/injection2pproblem.hh
View file @
7f47b54a
...
...
@@ -26,6 +26,7 @@
#define DUMUX_EX_BASIC_PROBLEM_2P_HH
#include <dumux/common/properties.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/porousmediumflow/problem.hh>
namespace
Dumux
{
...
...
exercises/exercise-biomineralization/biominproblem.hh
View file @
7f47b54a
...
...
@@ -25,6 +25,7 @@
#define DUMUX_EXERCISE_FOUR_PROBLEM_HH
#include <dumux/common/properties.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/porousmediumflow/problem.hh>
// TODO: dumux-course-task
...
...
exercises/exercise-biomineralization/fluidsystems/biomin.hh
View file @
7f47b54a
...
...
@@ -332,20 +332,14 @@ public:
// assume brine with viscosity effect of Ca for the liquid phase.
if
(
phaseIdx
==
liquidPhaseIdx
)
{
return
Brine
::
liquidViscosity
(
temperature
,
pressure
);
}
// assume pure CO2 for the gas phase.
else
if
(
phaseIdx
==
gasPhaseIdx
)
{
return
CO2
::
gasViscosity
(
temperature
,
pressure
);
}
else
{
DUNE_THROW
(
Dune
::
InvalidStateException
,
"Invalid phase index "
<<
phaseIdx
);
}
}
...
...
exercises/exercise-biomineralization/main.cc
View file @
7f47b54a
...
...
@@ -54,7 +54,7 @@
////////////////////////
// the main function
////////////////////////
int
main
(
int
argc
,
char
**
argv
)
try
int
main
(
int
argc
,
char
**
argv
)
{
using
namespace
Dumux
;
...
...
exercises/exercise-coupling-ff-pm/interface/freeflowsubproblem.hh
View file @
7f47b54a
...
...
@@ -25,6 +25,7 @@
#include <dumux/freeflow/navierstokes/problem.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/boundarytypes.hh>
namespace
Dumux
{
...
...
exercises/exercise-coupling-ff-pm/interface/main.cc
View file @
7f47b54a
...
...
@@ -48,7 +48,7 @@
#include "properties.hh"
int
main
(
int
argc
,
char
**
argv
)
try
int
main
(
int
argc
,
char
**
argv
)
{
using
namespace
Dumux
;
...
...
exercises/exercise-coupling-ff-pm/interface/porousmediumsubproblem.hh
View file @
7f47b54a
...
...
@@ -26,6 +26,7 @@
#include <dumux/porousmediumflow/problem.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/boundarytypes.hh>
namespace
Dumux
{
...
...
exercises/exercise-coupling-ff-pm/models/freeflowsubproblem.hh
View file @
7f47b54a
...
...
@@ -25,6 +25,7 @@
#define DUMUX_STOKES1P2C_SUBPROBLEM_HH
#include <dumux/common/properties.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/common/timeloop.hh>
#include <dumux/freeflow/navierstokes/problem.hh>
...
...
exercises/exercise-coupling-ff-pm/models/main.cc
View file @
7f47b54a
...
...
@@ -51,7 +51,7 @@
#include "properties.hh"
int
main
(
int
argc
,
char
**
argv
)
try
int
main
(
int
argc
,
char
**
argv
)
{
using
namespace
Dumux
;
...
...
exercises/exercise-coupling-ff-pm/models/porousmediumsubproblem.hh
View file @
7f47b54a
...
...
@@ -25,6 +25,7 @@
#define DUMUX_DARCY_SUBPROBLEM_HH
#include <dumux/common/properties.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/common/timeloop.hh>
#include <dumux/io/gnuplotinterface.hh>
...
...
exercises/exercise-coupling-ff-pm/turbulence/freeflowsubproblem.hh
View file @
7f47b54a
...
...
@@ -24,6 +24,7 @@
#define DUMUX_FREEFLOW1P2C_SUBPROBLEM_HH
#include <dumux/common/properties.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/common/timeloop.hh>
#include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh>
...
...
exercises/exercise-coupling-ff-pm/turbulence/main.cc
View file @
7f47b54a
...
...
@@ -51,7 +51,7 @@
#include "properties.hh"
int
main
(
int
argc
,
char
**
argv
)
try
int
main
(
int
argc
,
char
**
argv
)
{
using
namespace
Dumux
;
...
...
exercises/exercise-coupling-ff-pm/turbulence/porousmediumsubproblem.hh
View file @
7f47b54a
...
...
@@ -25,6 +25,7 @@
#define DUMUX_DARCY2P2C_SUBPROBLEM_HH
#include <dumux/porousmediumflow/problem.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/common/properties.hh>
#include <dumux/common/timeloop.hh>
#include <dumux/multidomain/boundary/stokesdarcy/couplingdata.hh>
...
...
exercises/exercise-fluidsystem/2p2cproblem.hh
View file @
7f47b54a
...
...
@@ -26,6 +26,7 @@
// The base porous media box problem
#include <dumux/porousmediumflow/problem.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/common/properties.hh>
namespace
Dumux
{
...
...
exercises/exercise-fluidsystem/2pproblem.hh
View file @
7f47b54a
...
...
@@ -26,6 +26,7 @@
// The porous media base problem
#include <dumux/porousmediumflow/problem.hh>
#include <dumux/common/boundarytypes.hh>
#include <dumux/common/properties.hh>
// The water component
...
...
exercises/exercise-fluidsystem/main.cc
View file @
7f47b54a
...
...
@@ -56,7 +56,7 @@
////////////////////////
// the main function
////////////////////////
int
main
(
int
argc
,
char
**
argv
)
try
int
main
(
int
argc
,
char
**
argv
)
{
using
namespace
Dumux
;
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment