|
enum | { doPatternVolume = true
} |
|
enum | { doPatternSkeleton = true
} |
|
enum | { doAlphaSkeleton = true
} |
|
enum | { doAlphaBoundary = true
} |
|
typedef double | RealType |
|
|
enum | { doSkipEntity
} |
| Whether to do selective assembly on the elements, i.e. whether or not skip_entity() should be called. More...
|
|
enum | { doSkipIntersection
} |
| Whether to do selective assembly on the intersections, i.e. whether or not skip_intersection() should be called. More...
|
|
|
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...
|
|
|
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...
|
|
|
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...
|
|
|
enum | { doSkeletonTwoSided
} |
| Whether to visit the skeleton methods from both sides. More...
|
|
enum | { isLinear
} |
| Wheter the local operator describes a linear problem. More...
|
|
|
| LOP_spatial_contaminant (Param ¶m_, const GFSF &gfsf_, ZF &zf_, const GFSC &gfsc_, ZC &zc_) |
|
void | setTime (double t) |
|
void | adjustTimeStep (double coef) |
|
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...
|
|
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...
|
|
template<typename Param, typename GFSF, typename ZF, typename GFSC, typename ZC, bool convection>
class LOP_spatial_contaminant< Param, GFSF, ZF, GFSC, ZC, convection >
a local operator for solving contaminant transport in porous medium using cell-centered finite volume method. Variables are molar concentrations in water C0, and C1. \phi is porosity, \vec{q_w} is water flux, D_* diffusion coefficient (no dispersion)
- Examples
- recipe-operator-splitting.cc.
template<typename Param , typename GFSF , typename ZF , typename GFSC , typename ZC , bool convection>
template<typename IG , typename LFSU , typename X , typename LFSV , typename R >
void LOP_spatial_contaminant< Param, GFSF, ZF, GFSC, ZC, convection >::alpha_boundary |
( |
const IG & |
ig, |
|
|
const LFSU & |
lfsu_i, |
|
|
const X & |
x_i, |
|
|
const LFSV & |
lfsv_i, |
|
|
R & |
r_i |
|
) |
| const |
|
inline |
template<typename Param , typename GFSF , typename ZF , typename GFSC , typename ZC , bool convection>
template<typename IG , typename LFSU , typename X , typename LFSV , typename R >
void LOP_spatial_contaminant< Param, GFSF, ZF, GFSC, ZC, convection >::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 |
|
inline |