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

gpr_oracle_fn: energy and gradient at positions. A failed evaluation sets a non-finite energy. More...

Public Member Functions

subroutine gpr_oracle_interface (n_coords, positions, energy, gradient, user_data)

Detailed Description

gpr_oracle_fn: energy and gradient at positions. A failed evaluation sets a non-finite energy.

Definition at line 1608 of file gpridge.f90.

Constructor & Destructor Documentation

◆ gpr_oracle_interface()

subroutine gpridge::gpr_oracle_interface::gpr_oracle_interface ( integer(c_int), value n_coords,
real(c_double), dimension(n_coords), intent(in) positions,
real(c_double), intent(out) energy,
real(c_double), dimension(n_coords), intent(out) gradient,
type(c_ptr), value user_data )
virtual

Definition at line 1608 of file gpridge.f90.

1610 import :: c_int, c_double, c_ptr
1611 integer(c_int), value :: n_coords
1612 real(c_double), intent(in) :: positions(n_coords)
1613 real(c_double), intent(out) :: energy
1614 real(c_double), intent(out) :: gradient(n_coords)
1615 type(c_ptr), value :: user_data

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