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 373 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 373 of file derived_types.f90.

374
375 use kinds, only : real64
376 use constants, only : array_int
377
378 import :: run_params
379
380 integer(array_int), dimension(:,:,:,:), intent(in) :: config
381 real(real64) :: hamiltonian
382 class(run_params), intent(in) :: setup
383
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: