(git:5e7fe52)
Loading...
Searching...
No Matches
tmc_tree_search Module Reference

tree nodes search etc. More...

Functions/Subroutines

recursive subroutine, public most_prob_end (global_tree_elem, prob, n_acc, search_energy_node)
 search most probable end in global tree to create a new tree node using the acceptance probabilities for each move type of each temperature routine distinguishes the search for most probable node for energy and most probable node with open end for new configuration In case of searching open end: routine stops in branch with canceled NMC, using this a one possibility
subroutine, public search_next_energy_calc (gt_head, new_gt_elem, stat, react_count)
 gt_head head of the global tree
recursive type(tree_type) function, pointer, public search_parent_element (current)
 searching the parent element (last accepted configuration before)
recursive subroutine, public search_next_gt_element_to_check (ptr, found)
 search the next global element in the Markov Chain to check
subroutine, public get_subtree_elements_to_check (gt_act_elem, elem1, elem2)
 get the changed element of the actual global tree element and its related last accepted parent
recursive subroutine, public search_end_of_clean_g_tree (last_acc, tree_ptr)
 searches last element on trajectory, until where the sides of the tree are deleted (of global tree) also found the last accepted element before
recursive subroutine, public search_end_of_clean_tree (tree_ptr, last_acc)
 searches last element on trajectory, until where the sides of the tree are deleted (in sub tree) also found the last accepted element before. searches the last element which at least have ONE (not calculated) node in the tree branch
recursive subroutine, public search_canceling_elements (pt_elem_in, prob, tmc_env)
 searches in all branches down below the entered global tree element for elements to cancel, if prob is present start searching at the related tree child node
subroutine, public count_prepared_nodes_in_trees (global_tree_ptr, counters)
 searches for created configurations in all subtrees
subroutine, public count_nodes_in_trees (global_tree_ptr, end_of_clean_trees, counters, head_elements_nr)
 counts the number of existing nodes in global and subtrees

Detailed Description

tree nodes search etc.

History
11.2012 created [Mandes Schoenherr]
Author
Mandes

Function/Subroutine Documentation

◆ most_prob_end()

recursive subroutine, public tmc_tree_search::most_prob_end ( type(global_tree_type), pointer global_tree_elem,
real(kind=dp), intent(out) prob,
logical, intent(inout) n_acc,
logical, optional search_energy_node )

search most probable end in global tree to create a new tree node using the acceptance probabilities for each move type of each temperature routine distinguishes the search for most probable node for energy and most probable node with open end for new configuration In case of searching open end: routine stops in branch with canceled NMC, using this a one possibility

Parameters
global_tree_elemstarting point for search
probreturn value, the probability of reaching the tree node
n_accdrection of branch the next tree node should extend
search_energy_node... \parma search_energy_node flag if configuration for calculating exact energy should be searched
Author
Mandes 12.2012

Definition at line 66 of file tmc_tree_search.F.

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

◆ search_next_energy_calc()

subroutine, public tmc_tree_search::search_next_energy_calc ( type(global_tree_type), pointer gt_head,
type(global_tree_type), pointer new_gt_elem,
integer stat,
integer react_count )

gt_head head of the global tree

Parameters
gt_head...
new_gt_elemreturn value the energy should be calculated for
statroutine status return value
react_countreactivation counter
Author
Mandes 12.2012

Definition at line 228 of file tmc_tree_search.F.

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

◆ search_parent_element()

recursive type(tree_type) function, pointer, public tmc_tree_search::search_parent_element ( type(tree_type), pointer current)

searching the parent element (last accepted configuration before)

Parameters
currentactual tree element
Returns
parent tree element (last accepted one)
Author
Mandes 12.2012
Note
routine searches last (assumed) accepted element in subtree

Definition at line 279 of file tmc_tree_search.F.

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

◆ search_next_gt_element_to_check()

recursive subroutine, public tmc_tree_search::search_next_gt_element_to_check ( type(global_tree_type), pointer ptr,
logical found )

search the next global element in the Markov Chain to check

Parameters
ptrstart point for search, should be on the known Markov Chain
foundflag if routine was successful
Author
Mandes 12.2012

Definition at line 312 of file tmc_tree_search.F.

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

◆ get_subtree_elements_to_check()

subroutine, public tmc_tree_search::get_subtree_elements_to_check ( type(global_tree_type), pointer gt_act_elem,
type(tree_type), intent(out), pointer elem1,
type(tree_type), intent(out), pointer elem2 )

get the changed element of the actual global tree element and its related last accepted parent

Parameters
gt_act_elemactual global tree element
elem1two subtree elements which should be compared
elem2two subtree elements which should be compared
Author
Mandes 12.2012

Definition at line 366 of file tmc_tree_search.F.

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

◆ search_end_of_clean_g_tree()

recursive subroutine, public tmc_tree_search::search_end_of_clean_g_tree ( type(global_tree_type), pointer last_acc,
type(global_tree_type), pointer tree_ptr )

searches last element on trajectory, until where the sides of the tree are deleted (of global tree) also found the last accepted element before

Parameters
last_accreturns last accepted element in cleaned tree part
tree_ptrend point of search
Author
Mandes 12.2012

Definition at line 415 of file tmc_tree_search.F.

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

◆ search_end_of_clean_tree()

recursive subroutine, public tmc_tree_search::search_end_of_clean_tree ( type(tree_type), pointer tree_ptr,
type(tree_type), intent(in), pointer last_acc )

searches last element on trajectory, until where the sides of the tree are deleted (in sub tree) also found the last accepted element before. searches the last element which at least have ONE (not calculated) node in the tree branch

Parameters
tree_ptr...
last_acc...
Author
Mandes 12.2012

Definition at line 466 of file tmc_tree_search.F.

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

◆ search_canceling_elements()

recursive subroutine, public tmc_tree_search::search_canceling_elements ( type(global_tree_type), intent(in), pointer pt_elem_in,
real(kind=dp), optional prob,
type(tmc_env_type), pointer tmc_env )

searches in all branches down below the entered global tree element for elements to cancel, if prob is present start searching at the related tree child node

Parameters
pt_elem_instart search point
probthe acceptance probability of the tree element to define the direction to start with
tmc_envTMC environment
Author
Mandes 12.2012

Definition at line 505 of file tmc_tree_search.F.

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

◆ count_prepared_nodes_in_trees()

subroutine, public tmc_tree_search::count_prepared_nodes_in_trees ( type(global_tree_type), intent(in), pointer global_tree_ptr,
integer, dimension(:), pointer counters )

searches for created configurations in all subtrees

Parameters
global_tree_ptrpointer to one global tree element
countersarray returning the counters for each subtree
Author
Mandes 01.2013

Definition at line 578 of file tmc_tree_search.F.

Here is the caller graph for this function:

◆ count_nodes_in_trees()

subroutine, public tmc_tree_search::count_nodes_in_trees ( type(global_tree_type), pointer global_tree_ptr,
type(elem_array_type), dimension(:), pointer end_of_clean_trees,
integer, dimension(:), pointer counters,
integer, dimension(:), pointer head_elements_nr )

counts the number of existing nodes in global and subtrees

Parameters
global_tree_ptrpointer to one global tree element
end_of_clean_treespoints to the last elements of the clean sub trees
countersarray returning the counters for each subtree
head_elements_nrnode number of the existing global and sub tree heads
Author
Mandes 01.2013

Definition at line 666 of file tmc_tree_search.F.

Here is the caller graph for this function: