dune-pdelab 2.7-git
|
Do-nothing local operator. More...
#include <dune/pdelab/localoperator/zero.hh>
Public Types | |
typedef Time | RealType |
Flags for the sparsity pattern | |
enum | { doPatternVolume } |
Whether to assemble the pattern on the elements, i.e. whether or not pattern_volume() should be called. More... | |
enum | { doPatternVolumePostSkeleton } |
Whether to assemble the pattern on the elements after the skeleton has been handled, i.e. whether or not pattern_volume_post_skeleton() should be called. More... | |
enum | { doPatternSkeleton } |
Whether to assemble the pattern on the interior intersections, i.e. whether or not pattern_skeleton() should be called. More... | |
enum | { doPatternBoundary } |
Whether to assemble the pattern on the boundary intersections, i.e. whether or not pattern_boundary() should be called. More... | |
Flags for the non-constant part of the residual and the jacobian | |
enum | { doAlphaVolume } |
Whether to call the local operator's alpha_volume(), jacobian_apply_volume() and jacobian_volume(). More... | |
enum | { doAlphaVolumePostSkeleton } |
Whether to call the local operator's alpha_volume_post_skeleton(), jacobian_apply_volume_post_skeleton() and jacobian_volume_post_skeleton(). More... | |
enum | { doAlphaSkeleton } |
Whether to call the local operator's alpha_skeleton(), jacobian_apply_skeleton() and jacobian_skeleton(). More... | |
enum | { doAlphaBoundary } |
Whether to call the local operator's alpha_boundary(), jacobian_apply_boundary() and jacobian_boundary(). More... | |
Flags for the constant part of the residual | |
enum | { doLambdaVolume } |
Whether to call the local operator's lambda_volume(). More... | |
enum | { doLambdaVolumePostSkeleton } |
Whether to call the local operator's lambda_volume_post_skeleton(). More... | |
enum | { doLambdaSkeleton } |
Whether to call the local operator's lambda_skeleton(). More... | |
enum | { doLambdaBoundary } |
Whether to call the local operator's lambda_boundary(). More... | |
Special flags | |
enum | { doSkeletonTwoSided } |
Whether to visit the skeleton methods from both sides. More... | |
enum | { isLinear } |
Wheter the local operator describes a linear problem. More... | |
Public Member Functions | |
void | setTime (Time t_) |
set time for subsequent evaluation | |
Time | getTime () const |
get current time | |
void | preStep (RealType time, RealType dt, int stages) |
to be called once before each time step | |
void | postStep () |
to be called once at the end of each time step | |
void | preStage (RealType time, int r) |
to be called once before each stage | |
int | getStage () const |
get current stage | |
void | postStage () |
to be called once at the end of each stage | |
RealType | suggestTimestep (RealType dt) const |
to be called after stage 1 | |
Do-nothing local operator.
This local operator does nothing. It can be used as a placeholder where an (instationary) local operator is semantically required but not actually used.
Time | Type used for temporal values. |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
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.