Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-phasefield
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Contributor 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
Lars von Wolff
dune-phasefield
Commits
b4cf8df6
Commit
b4cf8df6
authored
4 years ago
by
Lars von Wolff
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned up some includes
parent
a576a1ea
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
dune/phasefield/porenetwork/fem_1p_navierstokes.hh
+1
-1
1 addition, 1 deletion
dune/phasefield/porenetwork/fem_1p_navierstokes.hh
dune/phasefield/porenetwork/pn_1pflow.hh
+1
-0
1 addition, 0 deletions
dune/phasefield/porenetwork/pn_1pflow.hh
src/pntest/pntest.cc
+7
-5
7 additions, 5 deletions
src/pntest/pntest.cc
with
9 additions
and
6 deletions
dune/phasefield/porenetwork/fem_1p_navierstokes.hh
+
1
−
1
View file @
b4cf8df6
...
...
@@ -8,7 +8,7 @@
#include
<dune/pdelab/localoperator/variablefactories.hh>
#include
<dune/pdelab/gridfunctionspace/gridfunctionspace.hh>
#include
"
fem_base_porenetwork.hh
"
#include
<dune/phasefield/porenetwork/
fem_base_porenetwork.hh
>
...
...
This diff is collapsed.
Click to expand it.
dune/phasefield/porenetwork/pn_1pflow.hh
+
1
−
0
View file @
b4cf8df6
...
...
@@ -9,6 +9,7 @@
#include
<dune/grid/io/file/vtk.hh>
#include
<dune/pdelab/newton/newton.hh>
#include
<dune/pdelab/common/functionutilities.hh>
#include
<dune/pdelab/finiteelementmap/pkfem.hh>
#include
<dune/pdelab/function/callableadapter.hh>
#include
<dune/phasefield/porenetwork/fem_1p_cahnhilliard_r.hh>
...
...
This diff is collapsed.
Click to expand it.
src/pntest/pntest.cc
+
7
−
5
View file @
b4cf8df6
...
...
@@ -9,12 +9,7 @@
#include
<dune/common/timer.hh>
#if HAVE_DUNE_ALUGRID
#include
<dune/alugrid/grid.hh>
#include
<dune/alugrid/dgf.hh>
#include
<dune/grid/io/file/dgfparser/dgfparser.hh>
#endif
// pdelab includes
#include
<dune/pdelab/finiteelementmap/pkfem.hh>
#include
<dune/pdelab/finiteelementmap/qkfem.hh>
// phasefield includes
#include
<dune/phasefield/porenetwork/pn_1pflow.hh>
...
...
@@ -41,6 +36,7 @@ int main(int argc, char** argv)
ptreeparser
.
readINITree
(
"pn1p.ini"
,
ptree
);
ptreeparser
.
readOptions
(
argc
,
argv
,
ptree
);
// Define Template Options
typedef
double
RF
;
typedef
Params_fs_r
<
RF
,
//DoubleWell_limited< RF, DoubleWell_poly<RF>, Limiter_FakeDiverging<RF> >,
...
...
@@ -51,10 +47,16 @@ int main(int argc, char** argv)
//VelDissipation_Quadratic_Shifted<RF>
>
Parameters
;
Parameters
param
(
ptree
);
//Set input/output filenamens
std
::
string
GridFilename
=
ptree
.
get
(
"domain.filename"
,
"square.msh"
);
std
::
string
OutputFilename
=
ptree
.
get
(
"output.filename"
,
"output"
);
//Create Simulation
Pn_1PFlow
<
Parameters
>
pn_1pFlow
(
GridFilename
,
OutputFilename
,
param
);
//Example of usecase for Pn_1PFlow
std
::
cout
<<
"Kf = "
<<
pn_1pFlow
.
getKf
()
<<
" phiSolid = "
<<
pn_1pFlow
.
getPhiSolid
()
<<
std
::
endl
;
pn_1pFlow
.
writeVTK
(
0.0
);
pn_1pFlow
.
grow
(
0.2
);
...
...
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