1#ifndef DUNE_PDELAB_GRIDOPERATOR_ONESTEP_PATTERNENGINE_HH
2#define DUNE_PDELAB_GRIDOPERATOR_ONESTEP_PATTERNENGINE_HH
4#include <dune/pdelab/gridoperator/common/assemblerutilities.hh>
5#include <dune/pdelab/gridoperator/onestep/enginebase.hh>
17 template<
typename OSLA>
20 typename OSLA::LocalAssemblerDT0::LocalPatternAssemblerEngine,
21 typename OSLA::LocalAssemblerDT1::LocalPatternAssemblerEngine
26 typename OSLA::LocalAssemblerDT0::LocalPatternAssemblerEngine,
27 typename OSLA::LocalAssemblerDT1::LocalPatternAssemblerEngine
33 using BaseT::implicit;
34 using BaseT::setLocalAssemblerEngineDT0;
35 using BaseT::setLocalAssemblerEngineDT1;
41 typedef typename OSLA::LocalAssemblerDT0 LocalAssemblerDT0;
42 typedef typename OSLA::LocalAssemblerDT1 LocalAssemblerDT1;
45 typedef typename LocalAssembler::Traits::MatrixPattern
Pattern;
56 , invalid_pattern(nullptr)
57 , pattern(invalid_pattern)
69 setLocalAssemblerEngineDT0(la.la0.localPatternAssemblerEngine(pattern_));
70 setLocalAssemblerEngineDT1(la.la1.localPatternAssemblerEngine(pattern_));
78 implicit = la.osp_method->implicit();
84 template<
typename GFSU,
typename GFSV>
85 void postAssembly(
const GFSU& gfsu,
const GFSV& gfsv)
87 lae0->postAssembly(gfsu,gfsv);
88 lae1->postAssembly(gfsu,gfsv);
95 Pattern *
const invalid_pattern;
Layout description for a sparse linear operator.
Definition: assemblerutilities.hh:165
The local assembler engine for UDG sub triangulations which assembles the residual vector.
Definition: enginebase.hh:16
const LocalAssembler & la
Definition: enginebase.hh:472
The local assembler engine for OneStep sub triangulations which creates the matrix pattern.
Definition: patternengine.hh:23
LocalAssembler::Traits::MatrixPattern Pattern
The type of the matrix pattern container.
Definition: patternengine.hh:45
void setPattern(Pattern &pattern_)
Definition: patternengine.hh:62
OSLA LocalAssembler
The type of the wrapping local assembler.
Definition: patternengine.hh:39
OneStepLocalPatternAssemblerEngine(const LocalAssembler &la_)
Constructor.
Definition: patternengine.hh:54
Dune namespace.
Definition: alignedallocator.hh:13