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

Cleanup typedefs a bit

parent 621c2a12
No related branches found
No related tags found
No related merge requests found
......@@ -45,16 +45,19 @@ class GeomExactStVenantKirchhoffOperatorAssembler
static const int dim = GridType::dimension;
typedef typename GridType::ctype ctype;
using field_type = typename AnsatzLocalFE::Traits::LocalBasisType::Traits::RangeFieldType;
typedef Dune::VirtualFunction<Dune::FieldVector<ctype,dim>, Dune::FieldVector<ctype,dim> > Function;
typedef Dune::VirtualFunction<Dune::FieldVector<ctype, dim>, Dune::FieldVector<field_type, dim> > Function;
typedef VirtualGridFunction<GridType, Dune::FieldVector<ctype, dim> > GridFunction;
public:
typedef typename Dune::FieldMatrix<ctype,dim,dim> T;
typedef Dune::FieldMatrix<field_type, dim, dim> T;
using Base = LocalOperatorAssembler < GridType, TrialLocalFE, AnsatzLocalFE, T >;
typedef typename LocalOperatorAssembler < GridType, TrialLocalFE, AnsatzLocalFE, T >::Element Element;
typedef typename LocalOperatorAssembler < GridType, TrialLocalFE, AnsatzLocalFE,T >::BoolMatrix BoolMatrix;
typedef typename LocalOperatorAssembler < GridType, TrialLocalFE, AnsatzLocalFE,T >::LocalMatrix LocalMatrix;
public:
using MatrixEntry = typename Base::MatrixEntry;
using Element = typename Base::Element;
using BoolMatrix = typename Base::BoolMatrix;
using LocalMatrix = typename Base::LocalMatrix;
GeomExactStVenantKirchhoffOperatorAssembler(ctype E, ctype nu, std::shared_ptr<GridFunction> configuration)
: E_(E), nu_(nu), configuration_(configuration)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment