Commit cd2a5c1d authored by Stenger, Florian's avatar Stenger, Florian
Browse files


parents ce7f9959 5e1a7e87
......@@ -92,7 +92,7 @@ namespace Dune
static const int codimension = dimension - mydimension;
typedef CurvedGeometry<ctype, mydimension, coorddimension, Grid::order> BasicMapping;
typedef LagrangeCurvedGeometry<ctype, mydimension, coorddimension, Grid::order> BasicMapping;
struct Mapping
: public BasicMapping
......@@ -58,9 +58,15 @@ int main(int argc, char** argv)
//case2: projection to a surface-mesh of a sphere
<<<<<<< HEAD
SurfaceDistanceCoordFunction surfdistCF("dune-curvedsurfacegrid/example/sphere_fine.vtu");
using GridType = CurvedSurfaceGrid<HostGridType, SurfaceDistanceCoordFunction<>, ip_order>;
GridType grid(*hostGrid, surfdistCF);
SurfaceDistanceCoordFunction surfdistCF("example/sphere_fine.vtu");
using GridType = CurvedSurfaceGrid<HostGridType, SurfaceDistanceCoordFunction, ip_order>;
std::shared_ptr<GridType> grid(new GridType(*hostGrid, surfdistCF));
>>>>>>> 5e1a7e879f2f67079d870c2a9990daabaded47d1
using GridView = GridType::LeafGridView;
GridView gridView = grid.leafGridView();
Supports Markdown
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