#include <dune/pdelab/backend/istl/cg_to_dg_prolongation.hh>
|
| CG2DGProlongation () |
|
template<typename EG , typename LFSU , typename X , typename LFSV , typename M > |
void | jacobian_volume (const EG &, const LFSU &lfsu, const X &, const LFSV &lfsv, M &mat) const |
|
template<typename LFSU , typename LFSV , typename LocalPattern > |
void | pattern_volume (const LFSU &lfsu, const LFSV &lfsv, LocalPattern &pattern) const |
|
void | setTime (doublet_) |
| 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...
|
|
Dune::PDELab::CG2DGProlongation::CG2DGProlongation |
( |
| ) |
|
|
inline |
get current stage
- Returns
- The current stage number previously set by preStage().
get current time
- Returns
- The time previously set by setTime().
template<typename EG , typename LFSU , typename X , typename LFSV , typename M >
void Dune::PDELab::CG2DGProlongation::jacobian_volume |
( |
const EG & |
, |
|
|
const LFSU & |
lfsu, |
|
|
const X & |
, |
|
|
const LFSV & |
lfsv, |
|
|
M & |
mat |
|
) |
| const |
|
inline |
template<typename LFSU , typename LFSV , typename LocalPattern >
void Dune::PDELab::FullVolumePattern::pattern_volume |
( |
const LFSU & |
lfsu, |
|
|
const LFSV & |
lfsv, |
|
|
LocalPattern & |
pattern |
|
) |
| const |
|
inlineinherited |
to be called once at the end of each stage
to be called once at the end of each time step
- Note
- With the OneStepMethod and the ExplicitOneStepMetod, for reasons unknown this is only called for temporal but not for spatial local operators. With the MultiStepMethod this is called for all local operators.
to be called once before each stage
- Parameters
-
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() |
- Note
- For ExplicitOneStepMethod the time given here for stage 1 may be incorrect, since the time step size is only finally determined after the first stage has been assembled.
-
For the MultiStepMethod, this is called once after preStep() with r=1.
to be called once before each time step
- Parameters
-
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. |
- Note
- For ExplicitOneStepMethod the dt given here may be incorrect, since the time step size is only finally determined after the first stage has been assembled.
-
For the MultiStepMethod the number of stages is given as
- Since there are no times of evaluation in the middle of the step, a multi-step method is similar to a one step method with one stage.
to be called after stage 1
- Note
- Only used by the ExplicitOneStepMethod.
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.
The documentation for this class was generated from the following file: