Skip to content
Snippets Groups Projects
Commit e070ff5f authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Merge branch 'fix/geodesicfeassemblerwrappertest' into 'master'

Use correct vector type for the combination of displacement and rotation in...

See merge request !91
parents d1aa8a37 62e07931
No related branches found
No related tags found
1 merge request!91Use correct vector type for the combination of displacement and rotation in...
Pipeline #7557 passed
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
#include <dune/common/typetraits.hh> #include <dune/common/typetraits.hh>
#include <dune/common/bitsetvector.hh> #include <dune/common/bitsetvector.hh>
#include <dune/common/tuplevector.hh>
#include <dune/functions/functionspacebases/compositebasis.hh> #include <dune/functions/functionspacebases/compositebasis.hh>
#include <dune/functions/functionspacebases/interpolate.hh> #include <dune/functions/functionspacebases/interpolate.hh>
...@@ -54,7 +55,7 @@ using ValueType = adouble; ...@@ -54,7 +55,7 @@ using ValueType = adouble;
//Types for the mixed space //Types for the mixed space
using DisplacementVector = std::vector<RealTuple<double,dim>>; using DisplacementVector = std::vector<RealTuple<double,dim>>;
using RotationVector = std::vector<Rotation<double,dim>>; using RotationVector = std::vector<Rotation<double,dim>>;
using Vector = MultiTypeBlockVector<DisplacementVector, RotationVector>; using Vector = TupleVector<DisplacementVector, RotationVector>;
const int dimCR = Rotation<double,dim>::TangentVector::dimension; //dimCorrectionRotation = Dimension of the correction for rotations const int dimCR = Rotation<double,dim>::TangentVector::dimension; //dimCorrectionRotation = Dimension of the correction for rotations
using CorrectionType = MultiTypeBlockVector<BlockVector<FieldVector<double,dim> >, BlockVector<FieldVector<double,dimCR>>>; using CorrectionType = MultiTypeBlockVector<BlockVector<FieldVector<double,dim> >, BlockVector<FieldVector<double,dimCR>>>;
......
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