Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
1492541a
Commit
1492541a
authored
Jan 19, 2018
by
Praetorius, Simon
Browse files
examples use YaspGrid instead of AlbertaGrid
parent
0786af59
Changes
5
Show whitespace changes
Inline
Side-by-side
src/ellipt.cc
View file @
1492541a
...
...
@@ -11,8 +11,8 @@
using
namespace
AMDiS
;
// 1 component with polynomial degree 1
using
Grid
=
Dune
::
AlbertaGrid
<
AMDIS_DIM
,
AMDIS_DOW
>
;
using
ElliptParam
=
LagrangeBasis
<
Grid
::
LeafGridView
,
1
>
;
//
using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>;
using
ElliptParam
=
YaspGridBasis
<
AMDIS_DIM
,
1
>
;
using
ElliptProblem
=
ProblemStat
<
ElliptParam
>
;
int
main
(
int
argc
,
char
**
argv
)
...
...
src/expressions.cc
View file @
1492541a
...
...
@@ -14,8 +14,8 @@
using
namespace
AMDiS
;
// 1 component with polynomial degree 1
using
Grid
=
Dune
::
AlbertaGrid
<
AMDIS_DIM
,
AMDIS_DOW
>
;
using
ElliptParam
=
LagrangeBasis
<
Grid
::
LeafGridView
,
2
>
;
//
using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>;
using
ElliptParam
=
YaspGridBasis
<
AMDIS_DIM
,
2
>
;
using
ElliptProblem
=
ProblemStat
<
ElliptParam
>
;
int
main
(
int
argc
,
char
**
argv
)
...
...
src/heat.cc
View file @
1492541a
...
...
@@ -14,8 +14,8 @@
using
namespace
AMDiS
;
// 1 component with polynomial degree 1
using
Grid
=
Dune
::
AlbertaGrid
<
AMDIS_DIM
,
AMDIS_DOW
>
;
using
HeatParam
=
LagrangeBasis
<
Grid
::
LeafGridView
,
2
>
;
//
using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>;
using
HeatParam
=
YaspGridBasis
<
AMDIS_DIM
,
2
>
;
using
HeatProblem
=
ProblemStat
<
HeatParam
>
;
using
HeatProblemInstat
=
ProblemInstat
<
HeatParam
>
;
...
...
src/stokes1.cc
View file @
1492541a
...
...
@@ -15,7 +15,7 @@ using namespace AMDiS;
// 3 components: velocity with polynomial degree 2 and pressure with polynomial degree 1
using
Grid
=
Dune
::
Alberta
Grid
<
AMDIS_DIM
,
AMDIS_DOW
>
;
using
Grid
=
Dune
::
Yasp
Grid
<
AMDIS_DIM
>
;
using
StokesParam
=
TaylorHoodBasis
<
Grid
::
LeafGridView
>
;
using
StokesProblem
=
ProblemStat
<
StokesParam
>
;
...
...
src/vecellipt.cc
View file @
1492541a
...
...
@@ -7,8 +7,8 @@
using
namespace
AMDiS
;
// 1 component with polynomial degree 1
using
Grid
=
Dune
::
AlbertaGrid
<
AMDIS_DIM
,
AMDIS_DOW
>
;
using
ElliptParam
=
LagrangeBasis
<
Grid
::
LeafGridView
,
2
,
2
>
;
//
using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>;
using
ElliptParam
=
YaspGridBasis
<
AMDIS_DIM
,
2
,
2
>
;
using
ElliptProblem
=
ProblemStat
<
ElliptParam
>
;
int
main
(
int
argc
,
char
**
argv
)
...
...
Write
Preview
Supports
Markdown
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