dune-fem
2.4.1-rc
|
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/operator/common/localoperator.hh>
Public Member Functions | |
ScaledLocalOperator (A &a, const ScalarType scalar, bool printMsg=false) | |
Constructor for combinations with factors. More... | |
~ScaledLocalOperator () | |
void | scaleIt (const ScalarType &scalar) |
template<class FirstParamType , class SecondParamType > | |
void | prepareGlobal (const FirstParamType &pa, SecondParamType &pb) |
prepareGlobal is called before the grid walktrough More... | |
void | finalizeGlobal () |
finalizeGlobal is called after the grid walktrough More... | |
template<class EntityType > | |
void | prepareLocal (EntityType &en) |
template<class EntityType > | |
void | finalizeLocal (EntityType &en) |
template<class EntityType > | |
void | prepareLocal (EntityType &en1, EntityType &en2) |
template<class EntityType > | |
void | finalizeLocal (EntityType &en1, EntityType &en2) |
template<class EntityType > | |
void | applyLocal (EntityType &en) |
template<class EntityType > | |
void | applyLocal (EntityType &en1, EntityType &en2) |
template<class DiscrOpType > | |
void | saveObjPointer (DiscrOpType *discrOp) |
Store new generated DiscreteOperator Pointer. More... | |
template<class DiscrOpType , class LocalOpType > | |
void | saveObjPointer (DiscrOpType *discrOp, LocalOpType *lop) |
Protected Attributes | |
A & | _a |
reference to local operator A More... | |
const ScalarType | scalar_ |
scale factor for operator _a More... | |
ScalarType | tmpScalar_ |
bool | printMSG_ |
ScaledLocalOperator which is a LocalOperator multipied by a scalar
|
inline |
Constructor for combinations with factors.
|
inline |
References Dune::Fem::LocalOperatorInterface< FstPType, SecPType, SType, LocalOperatorImp >::applyLocal(), Dune::Fem::LocalOperatorInterface< FstPType, SecPType, SType, LocalOperatorImp >::finalizeGlobal(), Dune::Fem::LocalOperatorInterface< FstPType, SecPType, SType, LocalOperatorImp >::finalizeLocal(), Dune::Fem::LocalOperatorInterface< FstPType, SecPType, SType, LocalOperatorImp >::prepareGlobal(), and Dune::Fem::LocalOperatorInterface< FstPType, SecPType, SType, LocalOperatorImp >::prepareLocal().
|
inline |
applyLocal defines the action one might do on a given or on two given entities. Up to now only max two entities may be parameter but this can be advanced. There is also an applyLocal method with no entity which means that also operators which dont need a grid walktrough can be combined.
|
inline |
|
inline |
finalizeGlobal is called after the grid walktrough
|
inline |
|
inline |
|
inline |
prepareGlobal is called before the grid walktrough
the parameters of prepareGlobal and finalizeGlobal are set outside via a setParameter method or something
Referenced by Dune::Fem::ScaledLocalOperator< A, ScalarType >::scaleIt().
|
inline |
prepareLocal is called before applyLocal is called, it has different length of parameter list, which are always entities. For example one might give no parameters to prepareLocal or father and son element, depends on grid walktrough outside
|
inline |
|
inlineinherited |
Store new generated DiscreteOperator Pointer.
References Dune::Fem::ObjPointer< ObjType >::next.
|
inlineinherited |
Store new generated DiscreteOperator Pointer and the LocalOperator pointer
|
inline |
|
protected |
reference to local operator A
|
protected |
|
protected |
scale factor for operator _a
|
protected |