My Project
programmer's documentation
Public Member Functions
field_gradient_potential Interface Reference

Compute cell gradient of potential field. More...

Collaboration diagram for field_gradient_potential:
Collaboration graph

Public Member Functions

subroutine field_gradient_potential (f_id, use_previous_t, imrgra, inc, recompute_cocg, hyd_p_flag, f_ext, grad)
 

Detailed Description

Compute cell gradient of potential field.

Parameters
[in]f_idfield id
[in]use_previous_t1 if values at previous time step should be used, 0 otherwise
[in]imrgragradient computation mode
[in]inc0: increment; 1: do not increment
[in]recompute_cocg1 or 0: recompute COCG or not
[in]hyd_p_flagflag for hydrostatic pressure
[in]f_extexterior force generating the hydrostatic pressure
[out]gradgradient

Constructor & Destructor Documentation

◆ field_gradient_potential()

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 
)

The documentation for this interface was generated from the following file: