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

Enable the use of projection-based finite elements

parent 8bc3cec8
No related branches found
No related tags found
1 merge request!78Fix the use of projection-based finite elements in cosserat-continuum
#define MIXED_SPACE 0
//#define PROJECTED_INTERPOLATION
#include <config.h>
......@@ -39,6 +40,8 @@
#include <dune/solvers/solvers/iterativesolver.hh>
#include <dune/solvers/norms/energynorm.hh>
#include <dune/gfe/localgeodesicfefunction.hh>
#include <dune/gfe/localprojectedfefunction.hh>
#include <dune/gfe/localgeodesicfeadolcstiffness.hh>
#include <dune/gfe/mixedlocalgfeadolcstiffness.hh>
#include <dune/gfe/cosseratenergystiffness.hh>
......@@ -318,7 +321,7 @@ int main (int argc, char *argv[]) try
InitialBasis initialBasis(initialIterateGrid->leafGridView());
#ifdef PROJECTED_INTERPOLATION
using LocalInterpolationRule = LocalProjectedFEFunction<dim, double, DeformationFEBasis::LocalView::Tree::FiniteElement, TargetSpace>;
using LocalInterpolationRule = GFE::LocalProjectedFEFunction<dim, double, DeformationFEBasis::LocalView::Tree::FiniteElement, TargetSpace>;
#else
using LocalInterpolationRule = LocalGeodesicFEFunction<dim, double, DeformationFEBasis::LocalView::Tree::FiniteElement, TargetSpace>;
#endif
......
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