BraWl
Loading...
Searching...
No Matches
derived_types::hamiltonian Interface Reference

Function for evaluating the energy of the simulation. More...

Public Member Functions

real(real64) function hamiltonian (setup, config)
 

Detailed Description

Function for evaluating the energy of the simulation.

This is set to 'point' at the relevant implementation at runtime.

Author
C. D. Woodgate
Date
2020-2025
Parameters
setupDerived type specifying the simulation
configThe configuration for which to evaluate the energy
Returns
The simulation energy

Definition at line 359 of file derived_types.f90.

Constructor & Destructor Documentation

◆ hamiltonian()

real(real64) function derived_types::hamiltonian::hamiltonian ( class(run_params), intent(in) setup,
integer(array_int), dimension(:,:,:,:), intent(in) config )

Definition at line 359 of file derived_types.f90.

360
361 use kinds, only : real64
362 use constants, only : array_int
363
364 import :: run_params
365
366 integer(array_int), dimension(:,:,:,:), intent(in) :: config
367 real(real64) :: hamiltonian
368 class(run_params), intent(in) :: setup
369
integer, parameter, public array_int
Definition constants.f90:28
integer, parameter real64
Longer "double" (64 bit, approx -1.8e308 to 1.8e308 and covering values down to about 2e-308 magnitud...
Definition kinds.f90:59

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