- 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. |
| use_dummy | If true, a dummy zero-valued advection type is |
| slag | The lagged scalar field. allocated. This can be used to kill the advection term. |
- Note
- The factory both allocates and initializes
object. Add advection operator to the right-hand-side for a fluid.
- 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 96 of file advection.f90.