Skip to content
Snippets Groups Projects
Commit 21b0f907 authored by lisa_julia.nebel_at_tu-dresden.de's avatar lisa_julia.nebel_at_tu-dresden.de
Browse files

removed usage of PQ1NodalBasis, changed to PQkNodalBasis<.., 1>

parent 2a6201c0
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
#include <dune/istl/io.hh> #include <dune/istl/io.hh>
#include <dune/functions/functionspacebases/pq1nodalbasis.hh>
#include <dune/functions/functionspacebases/pqknodalbasis.hh> #include <dune/functions/functionspacebases/pqknodalbasis.hh>
#include <dune/fufem/functionspacebases/p1nodalbasis.hh> #include <dune/fufem/functionspacebases/p1nodalbasis.hh>
...@@ -152,8 +151,7 @@ setup(const typename BasisType::GridView::Grid& grid, ...@@ -152,8 +151,7 @@ setup(const typename BasisType::GridView::Grid& grid,
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
typedef BasisType Basis; typedef BasisType Basis;
bool isP1Basis = std::is_same<Basis,DuneFunctionsBasis<Dune::Functions::PQ1NodalBasis<typename Basis::GridView> > >::value bool isP1Basis = std::is_same<Basis,DuneFunctionsBasis<Dune::Functions::PQkNodalBasis<typename Basis::GridView, 1> > >::value;
|| std::is_same<Basis,DuneFunctionsBasis<Dune::Functions::PQkNodalBasis<typename Basis::GridView, 1> > >::value;
using TransferOperatorType = typename TruncatedCompressedMGTransfer<CorrectionType>::TransferOperatorType; using TransferOperatorType = typename TruncatedCompressedMGTransfer<CorrectionType>::TransferOperatorType;
......
...@@ -29,8 +29,6 @@ ...@@ -29,8 +29,6 @@
#include <dune/fufem/functiontools/gridfunctionadaptor.hh> #include <dune/fufem/functiontools/gridfunctionadaptor.hh>
#include <dune/fufem/utilities/dirichletbcassembler.hh> #include <dune/fufem/utilities/dirichletbcassembler.hh>
#include <dune/functions/functionspacebases/pq1nodalbasis.hh>
/** Solver for a quasi-static (viscoelastic) Kelvin-Voigt material /** Solver for a quasi-static (viscoelastic) Kelvin-Voigt material
* *
...@@ -154,7 +152,7 @@ int main (int argc, char *argv[]) try { ...@@ -154,7 +152,7 @@ int main (int argc, char *argv[]) try {
MatrixType elasticPart,viscousPart; MatrixType elasticPart,viscousPart;
using DuneP1Basis = Dune::Functions::PQ1NodalBasis<typename GridType::LeafGridView>; using DuneP1Basis = Dune::Functions::PQkNodalBasis<typename GridType::LeafGridView, 1>;
using P1Basis = DuneFunctionsBasis<DuneP1Basis>; using P1Basis = DuneFunctionsBasis<DuneP1Basis>;
P1Basis p1Basis(grid->leafGridView()); P1Basis p1Basis(grid->leafGridView());
OperatorAssembler<P1Basis,P1Basis> globalAssembler(p1Basis,p1Basis); OperatorAssembler<P1Basis,P1Basis> globalAssembler(p1Basis,p1Basis);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment