1#ifndef DUNE_FEM_EIGENOPERATOR_HH
2#define DUNE_FEM_EIGENOPERATOR_HH
10#include <dune/fem/operator/matrix/eigenmatrix.hh>
19 template<
class DomainFunction,
class RangeFunction >
20 struct EigenLinearOperator
21 :
public EigenMatrixObject< typename DomainFunction::DiscreteFunctionSpaceType, typename RangeFunction::DiscreteFunctionSpaceType >,
22 public Fem::AssembledOperator< DomainFunction, RangeFunction >
24 typedef typename DomainFunction::DiscreteFunctionSpaceType DomainSpaceType;
25 typedef typename RangeFunction::DiscreteFunctionSpaceType RangeSpaceType;
26 typedef EigenLinearOperator< DomainFunction, RangeFunction > ThisType;
27 typedef EigenMatrixObject< DomainSpaceType, RangeSpaceType > BaseType;
29 static constexpr bool assembled = true ;
31 using BaseType::apply;
32 using BaseType::exportMatrix;
34 EigenLinearOperator(
const std::string & ,
35 const DomainSpaceType &domainSpace,
36 const RangeSpaceType &rangeSpace,
37 const SolverParameter& param = SolverParameter() ) :
38 BaseType( domainSpace, rangeSpace, param )
41 virtual void clear() { BaseType::clear(); }
43 virtual void operator()(
const DomainFunction &arg, RangeFunction &dest )
const
Dune namespace.
Definition: alignedallocator.hh:13