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

Use more typedefs to improve readibility

parent bca81446
No related branches found
No related tags found
No related merge requests found
Pipeline #10679 failed
......@@ -32,8 +32,8 @@ public:
static void preconditionedDefectProblem(const EnlargedGlobalBasis& enlargedGlobalBasis,
const Dune::BlockVector<FieldVectorType>& x,
const Dune::VirtualFunction<Dune::FieldVector<CType,dimworld>, Dune::FieldVector<field_type,block_size> >* volumeTerm,
const Dune::VirtualFunction<Dune::FieldVector<CType,dimworld>, Dune::FieldVector<field_type,block_size> >* neumannTerm,
const Dune::VirtualFunction<Dune::FieldVector<CType,dimworld>, FieldVectorType>* volumeTerm,
const Dune::VirtualFunction<Dune::FieldVector<CType,dimworld>, FieldVectorType>* neumannTerm,
Dune::BlockVector<FieldVectorType>& residual,
Dune::BDMatrix<BlockType>& matrix,
LocalOperatorAssembler<Grid, Lfe, Lfe, BlockType>* localStiffness)
......@@ -68,7 +68,6 @@ public:
if (volumeTerm) {
// vector for the local rhs from the volume term
//Dune::BlockVector<Dune::FieldVector<field_type,block_size> > localVolumeVector(localBasis.size());
typename L2FunctionalAssembler<Grid, EnlargedGlobalBasis, FieldVectorType>::LocalVector localVolumeVector(localBasis.size());
// assemble local rhs from the volume term
......@@ -148,10 +147,7 @@ public:
*/
static field_type energyNormSquared(const EnlargedGlobalBasis& enlargedGlobalBasis,
const Dune::BlockVector<FieldVectorType>& x,
const LocalOperatorAssembler<typename GridView::Grid,
typename EnlargedGlobalBasis::LocalFiniteElement,
typename EnlargedGlobalBasis::LocalFiniteElement,
BlockType>& localStiffness) {
const LocalOperatorAssembler<Grid, Lfe, Lfe, BlockType>& localStiffness) {
const GridView& gridView = enlargedGlobalBasis.getGridView();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment