Skip to content
Snippets Groups Projects
Commit 49abba61 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Use second order finite elements and YaspGrid

parent b9695e5a
No related branches found
No related tags found
1 merge request!22Use DOFs from parmg in P1- and P2-Mapper
......@@ -16,6 +16,7 @@
#include <dune/common/parametertreeparser.hh>
#include <dune/grid/uggrid.hh>
#include <dune/grid/yaspgrid.hh>
#include <dune/grid/utility/structuredgridfactory.hh>
#include <dune/grid/io/file/gmshreader.hh>
......@@ -57,7 +58,7 @@
# define WORLD_DIM 3
#endif
const int dim = WORLD_DIM;
const int order = 1;
const int order = 2;
//differentiation method
typedef adouble ValueType;
......@@ -152,7 +153,7 @@ int main (int argc, char *argv[]) try
// ///////////////////////////////////////
// Create the grid
// ///////////////////////////////////////
typedef UGGrid<dim> GridType;
typedef YaspGrid<dim> GridType;
std::shared_ptr<GridType> grid;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment