KASKADE 7 development version
Public Types | Public Member Functions | List of all members
Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator > Class Template Reference

Implementation of FunctorImpl. Allows the use of function pointers as well as functors. More...

#include <functor.hh>

Detailed Description

template<class ParentApplyOperator, typename Operator>
class Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >

Implementation of FunctorImpl. Allows the use of function pointers as well as functors.

Definition at line 133 of file functor.hh.

Inheritance diagram for Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >:
Kaskade::ApplyOperatorImpl< ParentApplyOperator::Scalar, ParentApplyOperator::Domain, ParentApplyOperator::Range, Operator::Assembler >

Public Types

typedef ParentApplyOperator::Scalar Scalar
 
typedef ParentApplyOperator::Domain Domain
 
typedef ParentApplyOperator::Range Range
 
typedef Operator::Assembler Assembler
 
typedef ApplyOperatorImpl< Scalar, Domain, Range, AssemblerBase
 

Public Member Functions

 ApplyOperatorHandler (const Operator &op_)
 
ApplyOperatorHandlerclone () const
 
void apply (Domain const &x, Range &y) const
 
void applyscaleadd (Scalar alpha, Domain const &x, Range &y) const
 
Matrix get () const
 
std::unique_ptr< Matrix > getPointer () const
 

Member Typedef Documentation

◆ Assembler

template<class ParentApplyOperator , typename Operator >
typedef Operator::Assembler Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >::Assembler

Definition at line 139 of file functor.hh.

◆ Base

template<class ParentApplyOperator , typename Operator >
typedef ApplyOperatorImpl<Scalar,Domain,Range,Assembler> Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >::Base

Definition at line 140 of file functor.hh.

◆ Domain

template<class ParentApplyOperator , typename Operator >
typedef ParentApplyOperator::Domain Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >::Domain

Definition at line 137 of file functor.hh.

◆ Range

template<class ParentApplyOperator , typename Operator >
typedef ParentApplyOperator::Range Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >::Range

Definition at line 138 of file functor.hh.

◆ Scalar

template<class ParentApplyOperator , typename Operator >
typedef ParentApplyOperator::Scalar Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >::Scalar

Definition at line 136 of file functor.hh.

Constructor & Destructor Documentation

◆ ApplyOperatorHandler()

template<class ParentApplyOperator , typename Operator >
Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >::ApplyOperatorHandler ( const Operator &  op_)
inline

Member Function Documentation

◆ apply()

template<class ParentApplyOperator , typename Operator >
void Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >::apply ( Domain const &  x,
Range y 
) const
inlinevirtual

◆ applyscaleadd()

template<class ParentApplyOperator , typename Operator >
void Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >::applyscaleadd ( Scalar  alpha,
Domain const &  x,
Range y 
) const
inlinevirtual

◆ clone()

template<class ParentApplyOperator , typename Operator >
ApplyOperatorHandler * Kaskade::ApplyOperatorHandler< ParentApplyOperator, Operator >::clone ( ) const
inlinevirtual

◆ get()

Matrix Kaskade::ApplyOperatorImpl< ParentApplyOperator::Scalar , ParentApplyOperator::Domain , ParentApplyOperator::Range , Operator::Assembler >::get ( ) const
inlineinherited

Definition at line 120 of file functor.hh.

◆ getPointer()

std::unique_ptr< Matrix > Kaskade::ApplyOperatorImpl< ParentApplyOperator::Scalar , ParentApplyOperator::Domain , ParentApplyOperator::Range , Operator::Assembler >::getPointer ( ) const
inlineinherited

Definition at line 123 of file functor.hh.


The documentation for this class was generated from the following file: