gpr_force_fn: energy and forces of n_atoms atoms. energy_noise_rms (a standard deviation in eV) and box may be C_NULL_PTR. A failed evaluation sets a non-finite energy.
More...
|
| subroutine | gpr_force_interface (n_atoms, positions, atomic_nrs, forces, energy, energy_noise_rms, box, user_data) |
gpr_force_fn: energy and forces of n_atoms atoms. energy_noise_rms (a standard deviation in eV) and box may be C_NULL_PTR. A failed evaluation sets a non-finite energy.
Definition at line 1621 of file gpridge.f90.
◆ gpr_force_interface()
| subroutine gpridge::gpr_force_interface::gpr_force_interface |
( |
integer(c_long), value | n_atoms, |
|
|
real(c_double), dimension(3 * n_atoms), intent(in) | positions, |
|
|
integer(c_int), dimension(n_atoms), intent(in) | atomic_nrs, |
|
|
real(c_double), dimension(3 * n_atoms), intent(out) | forces, |
|
|
real(c_double), intent(out) | energy, |
|
|
type(c_ptr), value | energy_noise_rms, |
|
|
type(c_ptr), value | box, |
|
|
type(c_ptr), value | user_data ) |
|
virtual |
Definition at line 1621 of file gpridge.f90.
1623 import :: c_long, c_int, c_double, c_ptr
1624 integer(c_long), value :: n_atoms
1625 real(c_double), intent(in) :: positions(3 * n_atoms)
1626 integer(c_int), intent(in) :: atomic_nrs(n_atoms)
1627 real(c_double), intent(out) :: forces(3 * n_atoms)
1628 real(c_double), intent(out) :: energy
1629 type(c_ptr), value :: energy_noise_rms, box, user_data
The documentation for this interface was generated from the following file: