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

Function performing a trial Monte Carlo move on a config. More...

Public Member Functions

integer function monte_carlo (setup, config, beta)
 

Detailed Description

Function performing a trial Monte Carlo move on a config.

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 current configuration
configThe current configuration
Returns
1 if the trial move is accepted, 0 otherwise

Definition at line 460 of file derived_types.f90.

Constructor & Destructor Documentation

◆ monte_carlo()

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

Definition at line 460 of file derived_types.f90.

461
462 use kinds, only : real64
463 use constants, only : array_int
464
465 import :: run_params
466
467 integer(array_int), dimension(:,:,:,:) :: config
468 class(run_params), intent(in) :: setup
469 integer :: accept
470 real(real64), intent(in) :: beta
471
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: