Skip to content
Snippets Groups Projects
Commit cf5af94c authored by Jonathan Youett's avatar Jonathan Youett
Browse files

PQKNodalBasis -> LagrangeBasis

parent 42cbf90c
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <dune/fufem/utilities/dirichletbcassembler.hh> #include <dune/fufem/utilities/dirichletbcassembler.hh>
#include <dune/fufem/improvegrid.hh> #include <dune/fufem/improvegrid.hh>
#include <dune/functions/functionspacebases/pqknodalbasis.hh> #include <dune/functions/functionspacebases/lagrangebasis.hh>
#include <dune/solvers/norms/energynorm.hh> #include <dune/solvers/norms/energynorm.hh>
...@@ -237,7 +237,7 @@ int main (int argc, char *argv[]) try ...@@ -237,7 +237,7 @@ int main (int argc, char *argv[]) try
} }
// Create the materials // Create the materials
using P1Basis = DuneFunctionsBasis<typename Dune::Functions::PQkNodalBasis<typename GridType::LeafGridView, 1> >; using P1Basis = DuneFunctionsBasis<typename Dune::Functions::LagrangeBasis<typename GridType::LeafGridView, 1> >;
vector<std::shared_ptr<P1Basis> > p1Basis(nGrids); vector<std::shared_ptr<P1Basis> > p1Basis(nGrids);
// using MaterialType = GeomExactStVenantMaterial<P1Basis>; // using MaterialType = GeomExactStVenantMaterial<P1Basis>;
...@@ -351,7 +351,7 @@ int main (int argc, char *argv[]) try ...@@ -351,7 +351,7 @@ int main (int argc, char *argv[]) try
// make contact problem for P2 functions // make contact problem for P2 functions
// Create the materials // Create the materials
//using P2Basis = DuneFunctionsBasis<typename Dune::Functions::PQkNodalBasis<typename GridType::LeafGridView, 2> >; //using P2Basis = DuneFunctionsBasis<typename Dune::Functions::LagrangeBasis<typename GridType::LeafGridView, 2> >;
using P2Basis = P2NodalBasis<typename GridType::LeafGridView,field_type>; using P2Basis = P2NodalBasis<typename GridType::LeafGridView,field_type>;
vector<std::shared_ptr<P2Basis> > p2Bases(nGrids); vector<std::shared_ptr<P2Basis> > p2Bases(nGrids);
for (size_t j=0; j<nGrids; j++) for (size_t j=0; j<nGrids; j++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment