My Project
programmer's documentation
|
Compute cell gradient of potential field. More...
Public Member Functions | |
subroutine | field_gradient_potential (f_id, use_previous_t, imrgra, inc, recompute_cocg, hyd_p_flag, f_ext, grad) |
Compute cell gradient of potential field.
[in] | f_id | field id |
[in] | use_previous_t | 1 if values at previous time step should be used, 0 otherwise |
[in] | imrgra | gradient computation mode |
[in] | inc | 0: increment; 1: do not increment |
[in] | recompute_cocg | 1 or 0: recompute COCG or not |
[in] | hyd_p_flag | flag for hydrostatic pressure |
[in] | f_ext | exterior force generating the hydrostatic pressure |
[out] | grad | gradient |
subroutine field_gradient_potential | ( | integer(c_int), value | f_id, |
integer(c_int), value | use_previous_t, | ||
integer(c_int), value | imrgra, | ||
integer(c_int), value | inc, | ||
integer(c_int), value | recompute_cocg, | ||
integer(c_int), value | hyd_p_flag, | ||
real(kind=c_double), dimension(3, *) | f_ext, | ||
real(kind=c_double), dimension(*) | grad | ||
) |