(git:6a2e663)
tmc_tree_acceptance Module Reference

tree nodes acceptance code is separated in 3 parts, first the acceptance criteria, second the tree node acceptance handling, searching etc. and than the acceptance probability handling More...

Functions/Subroutines

subroutine, public acceptance_check (tree_element, parent_element, tmc_params, temperature, diff_pot_check, accept, rnd_nr, approx_ener)
 standard Monte Carlo and 2 potential acceptance check acceptance check of move from old(last accepted) to new configuration the sum of kinetic and potential energy is used acc(o->n)=min(1,exp( -beta*(H(n)-H(o)) )) More...
 
subroutine, public check_acceptance_of_depending_subtree_nodes (tree_elem, tmc_env)
 check acceptance of energy calculated element and related childs, when ready More...
 
subroutine, public tree_update (tmc_env, result_acc, something_updated)
 searching tree nodes to check for Markov Chain, elements are marked and stored in lists ... (main entry point) More...
 
subroutine, public check_elements_for_acc_prob_update (tree_elem, tmc_env)
 updates the subtree acceptance probability the swap probabilities are handled within the certain checks of the global tree elements (pt references) More...
 

Detailed Description

tree nodes acceptance code is separated in 3 parts, first the acceptance criteria, second the tree node acceptance handling, searching etc. and than the acceptance probability handling

History
11.2012 created [Mandes Schoenherr]
Author
Mandes

Function/Subroutine Documentation

◆ acceptance_check()

subroutine, public tmc_tree_acceptance::acceptance_check ( type(tree_type), pointer  tree_element,
type(tree_type), pointer  parent_element,
type(tmc_param_type), pointer  tmc_params,
real(kind=dp)  temperature,
logical  diff_pot_check,
logical  accept,
real(kind=dp)  rnd_nr,
logical, optional  approx_ener 
)

standard Monte Carlo and 2 potential acceptance check acceptance check of move from old(last accepted) to new configuration the sum of kinetic and potential energy is used acc(o->n)=min(1,exp( -beta*(H(n)-H(o)) ))

Parameters
tree_elementnew/actual configuration
parent_elementlast accepted configuration
tmc_paramsTMC global parameters
temperatureactual temperature configuration should be checked with
diff_pot_check2potential check or not?
acceptresult (configuration accepted of rejected)
rnd_nrrandom number for acceptance check
approx_enerfor NMC the approximated energies schould be used
Author
Mandes 12.2012

Definition at line 80 of file tmc_tree_acceptance.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_acceptance_of_depending_subtree_nodes()

subroutine, public tmc_tree_acceptance::check_acceptance_of_depending_subtree_nodes ( type(tree_type), pointer  tree_elem,
type(tmc_env_type), pointer  tmc_env 
)

check acceptance of energy calculated element and related childs, when ready

Parameters
tree_elemactual tree element with calculated energy
tmc_envTMC environment parameters
Author
Mandes 12.2012

Definition at line 355 of file tmc_tree_acceptance.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ tree_update()

subroutine, public tmc_tree_acceptance::tree_update ( type(tmc_env_type), pointer  tmc_env,
logical  result_acc,
logical  something_updated 
)

searching tree nodes to check for Markov Chain, elements are marked and stored in lists ... (main entry point)

Parameters
tmc_envTMC environment
result_accchecked configuration accepted? (result)
something_updated...

Definition at line 712 of file tmc_tree_acceptance.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_elements_for_acc_prob_update()

subroutine, public tmc_tree_acceptance::check_elements_for_acc_prob_update ( type(tree_type), pointer  tree_elem,
type(tmc_env_type), pointer  tmc_env 
)

updates the subtree acceptance probability the swap probabilities are handled within the certain checks of the global tree elements (pt references)

Parameters
tree_elemsub tree element to update
tmc_envTMC environment
Author
Mandes 12.2012

Definition at line 894 of file tmc_tree_acceptance.F.

Here is the call graph for this function:
Here is the caller graph for this function: