Module with useful subroutines that don't fit in other modules
Compute full residual at each node and measure it's size
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pf_pfasst_t), | intent(inout) | :: | pf | |||
class(pf_level_t), | intent(inout) | :: | lev | |||
real(kind=pfdp), | intent(in) | :: | dt | |||
integer, | intent(in), | optional | :: | flag |
Generic residual Each sweeper can define its own residual, or use this generic one Compute the integral of F
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_sweeper_t), | intent(in) | :: | this | |||
class(pf_level_t), | intent(inout) | :: | lev | |||
real(kind=pfdp), | intent(in) | :: | dt | |||
integer, | intent(in), | optional | :: | flags |
Generic evaluate all Each sweeper can define its own evaluate_all or use this generic one
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_sweeper_t), | intent(in) | :: | this | |||
class(pf_level_t), | intent(inout) | :: | lev | |||
real(kind=pfdp), | intent(in) | :: | t(:) | |||
integer, | intent(in), | optional | :: | flags | ||
integer, | intent(in), | optional | :: | step |
Generic routine to spread initial conditions Each sweeper can define its own spreadq0 or use this generic one
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(pf_sweeper_t), | intent(in) | :: | this | |||
class(pf_level_t), | intent(inout) | :: | lev | Level on which to spread |
||
real(kind=pfdp), | intent(in) | :: | t0 | time at beginning of interval |