Commit 1492541a authored by Praetorius, Simon's avatar Praetorius, Simon

examples use YaspGrid instead of AlbertaGrid

parent 0786af59
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
using namespace AMDiS; using namespace AMDiS;
// 1 component with polynomial degree 1 // 1 component with polynomial degree 1
using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>; //using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>;
using ElliptParam = LagrangeBasis<Grid::LeafGridView, 1>; using ElliptParam = YaspGridBasis<AMDIS_DIM, 1>;
using ElliptProblem = ProblemStat<ElliptParam>; using ElliptProblem = ProblemStat<ElliptParam>;
int main(int argc, char** argv) int main(int argc, char** argv)
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
using namespace AMDiS; using namespace AMDiS;
// 1 component with polynomial degree 1 // 1 component with polynomial degree 1
using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>; //using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>;
using ElliptParam = LagrangeBasis<Grid::LeafGridView, 2>; using ElliptParam = YaspGridBasis<AMDIS_DIM, 2>;
using ElliptProblem = ProblemStat<ElliptParam>; using ElliptProblem = ProblemStat<ElliptParam>;
int main(int argc, char** argv) int main(int argc, char** argv)
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
using namespace AMDiS; using namespace AMDiS;
// 1 component with polynomial degree 1 // 1 component with polynomial degree 1
using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>; //using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>;
using HeatParam = LagrangeBasis<Grid::LeafGridView, 2>; using HeatParam = YaspGridBasis<AMDIS_DIM, 2>;
using HeatProblem = ProblemStat<HeatParam>; using HeatProblem = ProblemStat<HeatParam>;
using HeatProblemInstat = ProblemInstat<HeatParam>; using HeatProblemInstat = ProblemInstat<HeatParam>;
...@@ -57,4 +57,4 @@ int main(int argc, char** argv) ...@@ -57,4 +57,4 @@ int main(int argc, char** argv)
AMDiS::finalize(); AMDiS::finalize();
return 0; return 0;
} }
\ No newline at end of file
...@@ -15,7 +15,7 @@ using namespace AMDiS; ...@@ -15,7 +15,7 @@ using namespace AMDiS;
// 3 components: velocity with polynomial degree 2 and pressure with polynomial degree 1 // 3 components: velocity with polynomial degree 2 and pressure with polynomial degree 1
using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>; using Grid = Dune::YaspGrid<AMDIS_DIM>;
using StokesParam = TaylorHoodBasis<Grid::LeafGridView>; using StokesParam = TaylorHoodBasis<Grid::LeafGridView>;
using StokesProblem = ProblemStat<StokesParam>; using StokesProblem = ProblemStat<StokesParam>;
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
using namespace AMDiS; using namespace AMDiS;
// 1 component with polynomial degree 1 // 1 component with polynomial degree 1
using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>; //using Grid = Dune::AlbertaGrid<AMDIS_DIM, AMDIS_DOW>;
using ElliptParam = LagrangeBasis<Grid::LeafGridView, 2, 2>; using ElliptParam = YaspGridBasis<AMDIS_DIM, 2,2>;
using ElliptProblem = ProblemStat<ElliptParam>; using ElliptProblem = ProblemStat<ElliptParam>;
int main(int argc, char** argv) int main(int argc, char** argv)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment