A factory for advection_t decendants. Both creates and initializes the object.
More...
|
subroutine | compute_adv (this, vx, vy, vz, fx, fy, fz, Xh, coef, n, dt) |
|
- Parameters
-
object | The object allocated by the factory. |
json | The parameter file. |
coef | The coefficients of the (space, mesh) pair. |
ulag,vlag,wlag | The lagged velocity fields. |
dtlag | The lagged time steps. |
tlag | The lagged times. |
time_scheme | The bdf-ext time scheme used in the method. |
slag | The lagged scalar field. |
- Note
- The factory both allocates and initializes
object
. Add advection operator to the right-hand-side for a fluld.
- Parameters
-
this | The object. |
vx | The x component of velocity. |
vy | The y component of velocity. |
vz | The z component of velocity. |
fx | The x component of source term. |
fy | The y component of source term. |
fz | The z component of source term. |
Xh | The function space. |
coef | The coefficients of the (Xh, mesh) pair. |
n | Typically the size of the mesh. |
dt | Current time step used in OIFS method. |
Definition at line 94 of file advection.f90.
◆ compute_adv()
subroutine advection::compute_adv::compute_adv |
( |
class(advection_t), intent(inout) |
this, |
|
|
type(field_t), intent(inout) |
vx, |
|
|
type(field_t), intent(inout) |
vy, |
|
|
type(field_t), intent(inout) |
vz, |
|
|
type(field_t), intent(inout) |
fx, |
|
|
type(field_t), intent(inout) |
fy, |
|
|
type(field_t), intent(inout) |
fz, |
|
|
type(space_t), intent(inout) |
Xh, |
|
|
type(coef_t), intent(inout) |
coef, |
|
|
integer, intent(in) |
n, |
|
|
real(kind=rp), intent(in), optional |
dt |
|
) |
| |
|
private |
The documentation for this interface was generated from the following file: