Loading...
Searching...
No Matches
gpridge::gpr_hvp_interface Interface Reference

gpr_hvp_fn: Hessian-vector-product callback at a fixed point (ABI 1.20). Writes H(positions) * vector into hv_out; non-finite entries signal failure. More...

Public Member Functions

subroutine gpr_hvp_interface (n_coords, positions, vector, hv_out, user_data)

Detailed Description

gpr_hvp_fn: Hessian-vector-product callback at a fixed point (ABI 1.20). Writes H(positions) * vector into hv_out; non-finite entries signal failure.

Definition at line 1649 of file gpridge.f90.

Constructor & Destructor Documentation

◆ gpr_hvp_interface()

subroutine gpridge::gpr_hvp_interface::gpr_hvp_interface ( integer(c_int), value n_coords,
real(c_double), dimension(n_coords), intent(in) positions,
real(c_double), dimension(n_coords), intent(in) vector,
real(c_double), dimension(n_coords), intent(out) hv_out,
type(c_ptr), value user_data )
virtual

Definition at line 1649 of file gpridge.f90.

1651 import :: c_int, c_double, c_ptr
1652 integer(c_int), value :: n_coords
1653 real(c_double), intent(in) :: positions(n_coords), vector(n_coords)
1654 real(c_double), intent(out) :: hv_out(n_coords)
1655 type(c_ptr), value :: user_data

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