dune-pdelab
2.7-git
|
Public Types | |
enum | { doPatternVolume = true } |
enum | { doPatternSkeleton = true } |
enum | { doAlphaSkeleton = true } |
enum | { doAlphaBoundary = true } |
typedef double | RealType |
Public Member Functions | |
LOP_spatial_flow (Param ¶m_) | |
constructor stores a copy of the parameter object More... | |
void | setTime (RF t) |
template<typename IG , typename LFSU , typename X , typename LFSV , typename R > | |
void | alpha_skeleton (const IG &ig, const LFSU &lfsu_i, const X &x_i, const LFSV &lfsv_i, const LFSU &lfsu_o, const X &x_o, const LFSV &lfsv_o, R &r_i, R &r_o) const |
residual contribution from skeleton terms More... | |
template<typename IG , typename LFSU , typename X , typename LFSV , typename R > | |
void | alpha_boundary (const IG &ig, const LFSU &lfsu_i, const X &x_i, const LFSV &lfsv_i, R &r_i) const |
template<typename LFSU , typename LFSV , typename LocalPattern > | |
void | pattern_volume (const LFSU &lfsu, const LFSV &lfsv, LocalPattern &pattern) const |
template<typename LFSU , typename LFSV , typename LocalPattern > | |
void | pattern_skeleton (const LFSU &lfsu_s, const LFSV &lfsv_s, const LFSU &lfsu_n, const LFSV &lfsv_n, LocalPattern &pattern_sn, LocalPattern &pattern_ns) const |
void | jacobian_volume (const EG &eg, const LFSU &lfsu, const X &x, const LFSV &lfsv, Jacobian &mat) const |
compute local jacobian of the volume term More... | |
void | jacobian_skeleton (const IG &ig, const LFSU &lfsu_s, const X &x_s, const LFSV &lfsv_s, const LFSU &lfsu_n, const X &x_n, const LFSV &lfsv_n, Jacobian &mat_ss, Jacobian &mat_sn, Jacobian &mat_ns, Jacobian &mat_nn) const |
compute local jacobian of the skeleton term More... | |
void | jacobian_boundary (const IG &ig, const LFSU &lfsu_s, const X &x_s, const LFSV &lfsv_s, Jacobian &mat_ss) const |
compute local jacobian of the boundary term More... | |
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 solving one-phase flow in porous medium (Richards equation) using cell-centered finite volume method. Van Genuchten-Mualem model is used for water retention curve and hydraulic permeability. Variable is water pressure p_w, \phi is porosity, \rho density, S_w saturation, \vec{g} gravity vector, and K permeability.
|
inherited |
|
inherited |
Whether to assemble the pattern on the elements, i.e. whether or not pattern_volume() should be called.
Enumerator | |
---|---|
doPatternVolume |
|
inherited |
|
inherited |
Whether to assemble the pattern on the interior intersections, i.e. whether or not pattern_skeleton() should be called.
Enumerator | |
---|---|
doPatternSkeleton |
|
inherited |
|
inherited |
Whether to call the local operator's alpha_volume(), jacobian_apply_volume() and jacobian_volume().
Enumerator | |
---|---|
doAlphaVolume |
|
inherited |
|
inherited |
Whether to call the local operator's alpha_skeleton(), jacobian_apply_skeleton() and jacobian_skeleton().
Enumerator | |
---|---|
doAlphaSkeleton |
|
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 stores a copy of the parameter object
|
inline |
|
inline |
residual contribution from skeleton terms
|
inlineinherited |
get current stage
|
inlineinherited |
get current time
|
inlineinherited |
compute local jacobian of the boundary term
|
inlineinherited |
compute local jacobian of the skeleton term
|
inlineinherited |
compute local jacobian of the volume term
|
inlineinherited |
|
inlineinherited |
|
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.
|
inline |
|
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.