dune-pdelab
2.5-dev
|
#include <dune/pdelab/localoperator/convectiondiffusionfem.hh>
Public Types | |
enum | { doPatternVolume = false } |
enum | { doPatternSkeleton = false } |
enum | { doAlphaVolume = true } |
enum | { doAlphaBoundary = true } |
typedef double | RealType |
Public Member Functions | |
ConvectionDiffusionTemporalResidualEstimator (T ¶m_, double time_, double dt_) | |
constructor: pass parameter object More... | |
template<typename EG , typename LFSU , typename X , typename LFSV , typename R > | |
void | alpha_volume (const EG &eg, const LFSU &lfsu, const X &x, const LFSV &lfsv, R &r) const |
template<typename IG , typename LFSU , typename X , typename LFSV , typename R > | |
void | alpha_boundary (const IG &ig, const LFSU &lfsu_s, const X &x_s, const LFSV &lfsv_s, R &r_s) const |
void | setTime (double t_) |
set time for subsequent evaluation More... | |
double | getTime () const |
get current time More... | |
void | preStep (RealType time, RealType dt, int stages) |
to be called once before each time step More... | |
void | postStep () |
to be called once at the end of each time step More... | |
void | preStage (RealType time, int r) |
to be called once before each stage More... | |
int | getStage () const |
get current stage More... | |
void | postStage () |
to be called once at the end of each stage More... | |
RealType | suggestTimestep (RealType dt) const |
to be called after stage 1 More... | |
a local operator for evaluating the temporal part of error estimator
A call to residual() of a grid operator space will assemble the quantity for each cell. Note that the squares of the cell indicator
is stored. To compute the global error estimate sum up all values and take the square root.
Assumptions and limitations:
T | model of ConvectionDiffusionParameterInterface |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Whether to call the local operator's alpha_volume(), jacobian_apply_volume() and jacobian_volume().
Enumerator | |
---|---|
doAlphaVolume |
|
inherited |
|
inherited |
|
inherited |
Whether to call the local operator's alpha_boundary(), jacobian_apply_boundary() and jacobian_boundary().
Enumerator | |
---|---|
doAlphaBoundary |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
constructor: pass parameter object
|
inline |
|
inline |
|
inlineinherited |
get current stage
|
inlineinherited |
get current time
|
inlineinherited |
to be called once at the end of each stage
|
inlineinherited |
to be called once at the end of each time step
|
inlineinherited |
to be called once before each stage
time | Time of the stage |
r | Number of the stage, r ∈ [1, nstages] inclusive, where nstages is the number of stage in the step given in the previous call to preStep() |
|
inlineinherited |
to be called once before each time step
time | Time at beginning of the step. |
dt | Size of time step. |
stages | Number of stages to do in the step. For the MultiStepMethod this is always 1. |
|
inlineinherited |
set time for subsequent evaluation
This method set the time for subsequent calls to the alpha_*(), lambda_*(), jacobian_*() and jacobian_apply_*() methods.
|
inlineinherited |
to be called after stage 1
This may be called on the spatial local operator in the case of an explicit one step scheme. It is called after stage 1 has been assembled (so the time given to preStep() may not apply anymore in this case). All the alpha_*() and lambda_*() methods should have been called, so they are a good place to generate the information returned here.