dune-fem 2.8-git
|
interface for time evolution operators More...
#include <dune/fem/operator/common/spaceoperatorif.hh>
Public Types | |
typedef DiscreteFunction | DestinationType |
type of argument and destination More... | |
typedef DestinationType::DiscreteFunctionSpaceType | DiscreteFunctionSpaceType |
type of discrete function space More... | |
typedef DiscreteFunctionSpaceType | SpaceType |
convenience typedef for space type More... | |
typedef BaseType::RangeFunctionType | RangeFunctionType |
typedef BaseType::DomainFunctionType | DomainFunctionType |
typedef BaseType::RangeFieldType | RangeFieldType |
typedef BaseType::DomainFieldType | DomainFieldType |
typedef Dune::FieldTraits< RangeFieldType >::real_type | RealType |
typedef BaseType::JacobianOperatorType | JacobianOperatorType |
typedef RangeFunctionType::DiscreteFunctionSpaceType | RangeSpaceType |
typedef DomainFunctionType::DiscreteFunctionSpaceType | DomainSpaceType |
Public Member Functions | |
virtual | ~SpaceOperatorInterface () |
destructor More... | |
virtual const DiscreteFunctionSpaceType & | space () const =0 |
return reference to space (needed by ode solvers) More... | |
virtual int | size () const |
return size of discrete function space, i.e. number of unknowns More... | |
virtual void | initializeTimeStepSize (const DestinationType &U0) const |
call operator once to calculate initial time step size More... | |
virtual bool | hasLimiter () const |
return true if limit method is implemented More... | |
virtual void | setTime (const double time) |
set time for operators More... | |
virtual double | timeStepEstimate () const |
estimate maximum time step More... | |
virtual void | limit (const DestinationType &arg, DestinationType &dest) const |
limiter application operator More... | |
virtual void | applyLimiter (DestinationType &U) const |
limiter application operator More... | |
virtual const DestinationType * | destination () const |
return reference to pass's local memory More... | |
virtual void | jacobian (const DomainFunctionType &u, JacobianOperatorType &jOp) const |
virtual void | jacobian (const DomainFunctionType &u, JacobianOperatorType &jOp) const=0 |
obtain linearization More... | |
virtual void | operator() (const DomainFunctionType &u, RangeFunctionType &w) const=0 |
application operator More... | |
virtual void | finalize () |
finalization of operator More... | |
Protected Attributes | |
std::unique_ptr< DestinationType > | uTmp_ |
interface for time evolution operators
The SpaceOperatorInterface defines an interface for operators from a discrete function space
into itself. This interface is used to implement operators working with the ODE solvers.
DiscreteFunction | type of discretefunction modelling the elements of ![]() |
typedef DiscreteFunction Dune::Fem::SpaceOperatorInterface< DiscreteFunction, JacobianOperator >::DestinationType |
type of argument and destination
typedef DestinationType::DiscreteFunctionSpaceType Dune::Fem::SpaceOperatorInterface< DiscreteFunction, JacobianOperator >::DiscreteFunctionSpaceType |
type of discrete function space
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
typedef DiscreteFunctionSpaceType Dune::Fem::SpaceOperatorInterface< DiscreteFunction, JacobianOperator >::SpaceType |
convenience typedef for space type
|
inlinevirtual |
destructor
|
inlinevirtual |
limiter application operator
[in,out] | U | argument and destination to apply Limiter(u), needs internal copying |
|
inlinevirtual |
return reference to pass's local memory
Reimplemented in Dune::Fem::SpaceOperatorPtr< OperatorType >.
|
inlinevirtualinherited |
finalization of operator
|
inlinevirtual |
return true if limit method is implemented
|
inlinevirtual |
call operator once to calculate initial time step size
U0 | initial data to compute initial time step size |
|
inlinevirtualinherited |
|
pure virtualinherited |
obtain linearization
[in] | u | argument discrete function |
[out] | jOp | destination Jacobian operator |
|
inlinevirtual |
limiter application operator
arg | argument, u |
dest | destination, Limiter(u) |
|
pure virtualinherited |
application operator
[in] | u | argument discrete function |
[out] | w | destination discrete function |
Implemented in EllipticOperator< JacobianOperator::DomainFunctionType, JacobianOperator::RangeFunctionType, Model >, Dune::Fem::GalerkinOperator< Integrands, JacobianOperator::DomainFunctionType, JacobianOperator::RangeFunctionType >, Dune::Fem::GalerkinOperator< ModelIntegrands, JacobianOperator::DomainFunctionType, JacobianOperator::RangeFunctionType >, Dune::Fem::MOLGalerkinOperator< Integrands, JacobianOperator::DomainFunctionType, JacobianOperator::RangeFunctionType >, and Dune::Fem::MOLGalerkinOperator< ModelIntegrands, JacobianOperator::DomainFunctionType, JacobianOperator::RangeFunctionType >.
|
inlinevirtual |
set time for operators
time | current time of evaluation |
Reimplemented in Dune::Fem::SpaceOperatorPtr< OperatorType >, and Dune::Fem::HdivProjection< DiscreteFunctionType >.
|
inlinevirtual |
return size of discrete function space, i.e. number of unknowns
|
pure virtual |
return reference to space (needed by ode solvers)
Implemented in Dune::Fem::SpaceOperatorPtr< OperatorType >, and Dune::Fem::HdivProjection< DiscreteFunctionType >.
|
inlinevirtual |
estimate maximum time step
For an explicit time discretization, the time step has to be limited. An estimate for the maximum time step of an explicit Euler scheme is returned by this function. Maximum time steps for higher order Runge Kutta schemes can be derived from this value.
Reimplemented in Dune::Fem::SpaceOperatorPtr< OperatorType >, and Dune::Fem::HdivProjection< DiscreteFunctionType >.
|
mutableprotected |