dune-fem
2.4.1-rc
|
ODESpaceOperatorInterface for Operators that work with PARDG ODE solvers of the type where
is a discrete function space.
More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/operator/common/spaceoperatorif.hh>
Public Types | |
typedef DestinationImp | DestinationType |
type of argument and destination More... | |
Public Member Functions | |
virtual | ~PARDGSpaceOperatorInterface () |
destructor More... | |
virtual int | size () const =0 |
return size of discrete function space, i.e. number of unknowns More... | |
virtual void | initializeTimeStepSize (const DestinationType &U0) const =0 |
call operator once to calculate initial time step size More... | |
virtual void | operator() (const double *u, double *f) const =0 |
application operator to apply right hand side More... | |
virtual void | limit (const double *u, double *f) const |
apply limiter to u and store result in f 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... | |
Protected Member Functions | |
PARDGSpaceOperatorInterface () | |
ODESpaceOperatorInterface for Operators that work with PARDG ODE solvers of the type where
is a discrete function space.
typedef DestinationImp Dune::Fem::PARDGSpaceOperatorInterface< DestinationImp >::DestinationType |
type of argument and destination
|
inlineprotected |
|
inlinevirtual |
destructor
|
inlinevirtual |
return true if limit method is implemented
Reimplemented in Dune::Fem::SpaceOperatorInterface< DiscreteFunction >, Dune::Fem::SpaceOperatorInterface< DestinationImp >, Dune::Fem::SpaceOperatorInterface< OperatorType::DestinationType >, and Dune::Fem::SpaceOperatorInterface< DiscreteFunctionType >.
|
pure virtual |
call operator once to calculate initial time step size
U0 | initial data to compute initial time step size |
Implemented in Dune::Fem::SpaceOperatorInterface< DiscreteFunction >, Dune::Fem::SpaceOperatorInterface< DestinationImp >, Dune::Fem::SpaceOperatorInterface< OperatorType::DestinationType >, and Dune::Fem::SpaceOperatorInterface< DiscreteFunctionType >.
Referenced by Dune::Fem::SpaceOperatorInterface< DiscreteFunctionType >::limit(), and Dune::Fem::PARDGSpaceOperatorInterface< DiscreteFunction >::~PARDGSpaceOperatorInterface().
|
inlinevirtual |
apply limiter to u and store result in f
u | argument, u |
f | destination, f(u) |
Reimplemented in Dune::Fem::SpaceOperatorInterface< DiscreteFunction >, Dune::Fem::SpaceOperatorInterface< DestinationImp >, Dune::Fem::SpaceOperatorInterface< OperatorType::DestinationType >, and Dune::Fem::SpaceOperatorInterface< DiscreteFunctionType >.
Referenced by Dune::Fem::SpaceOperatorInterface< DiscreteFunction >::limit(), and Dune::Fem::SpaceOperatorInterface< DiscreteFunctionType >::size().
|
pure virtual |
application operator to apply right hand side
u | argument, u |
f | destination, f(u) |
Implemented in Dune::Fem::SpaceOperatorInterface< DiscreteFunction >, Dune::Fem::SpaceOperatorInterface< DestinationImp >, Dune::Fem::SpaceOperatorInterface< OperatorType::DestinationType >, and Dune::Fem::SpaceOperatorInterface< DiscreteFunctionType >.
Referenced by Dune::Fem::SpaceOperatorInterface< DiscreteFunctionType >::size(), and Dune::Fem::PARDGSpaceOperatorInterface< DiscreteFunction >::~PARDGSpaceOperatorInterface().
|
inlinevirtual |
set time for operators
time | current time of evaluation |
Reimplemented in Dune::Fem::SpaceOperatorPtr< OperatorType >, and Dune::Fem::HdivProjection< DiscreteFunctionType >.
|
pure virtual |
return size of discrete function space, i.e. number of unknowns
Implemented in Dune::Fem::SpaceOperatorInterface< DiscreteFunction >, Dune::Fem::SpaceOperatorInterface< DestinationImp >, Dune::Fem::SpaceOperatorInterface< OperatorType::DestinationType >, and Dune::Fem::SpaceOperatorInterface< DiscreteFunctionType >.
Referenced by Dune::Fem::PARDGSpaceOperatorInterface< DiscreteFunction >::~PARDGSpaceOperatorInterface().
|
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 >.