My Project
programmer's documentation
|
Compute cell gradient of scalar field or component of vector or tensor field. More...
Public Member Functions | |
subroutine | field_gradient_scalar (f_id, use_previous_t, imrgra, inc, recompute_cocg, grad) |
Compute cell gradient of scalar field or component of vector or tensor 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 |
[out] | grad | gradient |
subroutine field_gradient_scalar | ( | 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, | ||
real(kind=c_double), dimension(*) | grad | ||
) |