diff --git a/src/cosserat-continuum.cc b/src/cosserat-continuum.cc index 43ac8c7b9a91201476415e6b5f4cb472f2ba8322..13b000bfc85c1c03d20c7aab4f4cf3a80fad90ce 100644 --- a/src/cosserat-continuum.cc +++ b/src/cosserat-continuum.cc @@ -77,6 +77,8 @@ #include <dune/vtk/vtkreader.hh> #endif +#include <dune/gmsh4/gmsh4reader.hh> +#include <dune/gmsh4/gridcreators/lagrangegridcreator.hh> // grid dimension const int dim = GRID_DIM; @@ -165,6 +167,9 @@ int main (int argc, char *argv[]) try std::shared_ptr<GridType> grid; + GridFactory<GridType> factory; + Gmsh4::LagrangeGridCreator creator{factory}; + FieldVector<double,dimworld> lower(0), upper(1); std::string structuredGridType = parameterSet["structuredGrid"];