mod_random
Lines: 211 |
Visibility: private
Implementation of general randomization routines.
author: Jonas Finkler
Dependencies
Uses
module~~mod_random~~UsesGraph
module~mod_random
mod_random
module~mod_constants
mod_constants
module~mod_random->module~mod_constants
module~mod_precision
mod_precision
module~mod_random->module~mod_precision
module~mod_constants->module~mod_precision
iso_c_binding
iso_c_binding
module~mod_constants->iso_c_binding
module~mod_precision->iso_c_binding
iso_fortran_env
iso_fortran_env
module~mod_precision->iso_fortran_env
Nodes of different colours represent the following:
Graph Key
Module
Module
Submodule
Submodule
Subroutine
Subroutine
Function
Function
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Used By
module~~mod_random~~UsedByGraph
module~mod_random
mod_random
module~mod_abstract_property_model
mod_abstract_property_model
module~mod_abstract_property_model->module~mod_random
module~mod_initialize_array
mod_initialize_array
module~mod_abstract_property_model->module~mod_initialize_array
module~mod_databatcher
mod_databatcher
module~mod_databatcher->module~mod_random
module~mod_dense_layer
mod_dense_layer
module~mod_dense_layer->module~mod_random
module~mod_dense_layer->module~mod_initialize_array
module~mod_elemental_property_model
mod_elemental_property_model
module~mod_elemental_property_model->module~mod_random
module~mod_elemental_property_model->module~mod_abstract_property_model
module~mod_elemental_property_model->module~mod_initialize_array
module~mod_hdnn
mod_hdnn
module~mod_hdnn->module~mod_random
module~mod_hdnn->module~mod_abstract_property_model
module~mod_hdnn->module~mod_initialize_array
module~mod_neural_network
mod_neural_network
module~mod_hdnn->module~mod_neural_network
module~mod_initialize_array->module~mod_random
module~mod_neural_network->module~mod_random
module~mod_layers
mod_layers
module~mod_neural_network->module~mod_layers
module~mod_train_mode
mod_train_mode
module~mod_train_mode->module~mod_random
module~mod_train_mode->module~mod_abstract_property_model
module~mod_dataloader_file
mod_dataloader_file
module~mod_train_mode->module~mod_dataloader_file
module~mod_dataset_statistics
mod_dataset_statistics
module~mod_train_mode->module~mod_dataset_statistics
module~mod_dataset_statistics_chi_all_chunks
mod_dataset_statistics_chi_all_chunks
module~mod_train_mode->module~mod_dataset_statistics_chi_all_chunks
module~mod_feature_map_scaling_all_chunks
mod_feature_map_scaling_all_chunks
module~mod_train_mode->module~mod_feature_map_scaling_all_chunks
module~mod_initialize
mod_initialize
module~mod_train_mode->module~mod_initialize
module~mod_precalc_coulomb_matrix_all_chunks
mod_precalc_coulomb_matrix_all_chunks
module~mod_train_mode->module~mod_precalc_coulomb_matrix_all_chunks
module~mod_predict_4g_charges_training_qeq_multiple_structures
mod_predict_4g_charges_training_qeq_multiple_structures
module~mod_train_mode->module~mod_predict_4g_charges_training_qeq_multiple_structures
module~mod_predict_all_chunks
mod_predict_all_chunks
module~mod_train_mode->module~mod_predict_all_chunks
module~mod_predict_qeq_feature_calculator_multiple_structures
mod_predict_qeq_feature_calculator_multiple_structures
module~mod_train_mode->module~mod_predict_qeq_feature_calculator_multiple_structures
module~mod_train_loop_4g_charges
mod_train_loop_4g_charges
module~mod_train_mode->module~mod_train_loop_4g_charges
module~mod_train_loop_atomic_property
mod_train_loop_atomic_property
module~mod_train_mode->module~mod_train_loop_atomic_property
module~mod_train_loop_short_range
mod_train_loop_short_range
module~mod_train_mode->module~mod_train_loop_short_range
module~mod_train_test_split
mod_train_test_split
module~mod_train_mode->module~mod_train_test_split
module~mod_write_outfiles_training
mod_write_outfiles_training
module~mod_train_mode->module~mod_write_outfiles_training
module~mod_precalc_nl_deriv_features_single_chunk
mod_precalc_nl_deriv_features_single_chunk
module~mod_train_mode->module~mod_precalc_nl_deriv_features_single_chunk
module~mod_predict_ee4g_feature_calculator_multiple_structures
mod_predict_ee4g_feature_calculator_multiple_structures
module~mod_train_mode->module~mod_predict_ee4g_feature_calculator_multiple_structures
module~mod_two_body
mod_two_body
module~mod_train_mode->module~mod_two_body
module~smod_validate_settings
smod_validate_settings
module~smod_validate_settings->module~mod_random
module~mod_analyse_a_prime_matrix_eigenvalues
mod_analyse_a_prime_matrix_eigenvalues
module~mod_analyse_a_prime_matrix_eigenvalues->module~mod_abstract_property_model
module~mod_calc_atomic_properties
mod_calc_atomic_properties
module~mod_calc_atomic_properties->module~mod_abstract_property_model
module~mod_forward_batched
mod_forward_batched
module~mod_calc_atomic_properties->module~mod_forward_batched
module~mod_cost_calculator
mod_cost_calculator
module~mod_cost_calculator->module~mod_abstract_property_model
module~mod_cost_calculator->module~mod_dataloader_file
module~mod_cost_calculator->module~mod_write_outfiles_training
module~mod_create_batches
mod_create_batches
module~mod_create_batches->module~mod_databatcher
module~mod_dataloader_file->module~mod_databatcher
module~mod_dataset_statistics->module~mod_abstract_property_model
module~mod_dataset_statistics->module~mod_dataloader_file
module~mod_dataset_statistics->module~mod_forward_batched
module~mod_dataset_statistics_chi_all_chunks->module~mod_abstract_property_model
module~mod_dataset_statistics_chi_all_chunks->module~mod_dataloader_file
module~mod_dataset_statistics_chi_all_chunks->module~mod_dataset_statistics
module~mod_signal_handler
mod_signal_handler
module~mod_dataset_statistics_chi_all_chunks->module~mod_signal_handler
module~mod_dense_layer_with_single_activations
mod_dense_layer_with_single_activations
module~mod_dense_layer_with_single_activations->module~mod_dense_layer
module~mod_enforce_reading
mod_enforce_reading
module~mod_enforce_reading->module~mod_abstract_property_model
module~mod_feature_map_scaling_all_chunks->module~mod_abstract_property_model
module~mod_feature_map_scaling_all_chunks->module~mod_dataloader_file
module~mod_prediction_statistics
mod_prediction_statistics
module~mod_feature_map_scaling_all_chunks->module~mod_prediction_statistics
module~mod_structure_batch_iterator
mod_structure_batch_iterator
module~mod_feature_map_scaling_all_chunks->module~mod_structure_batch_iterator
module~mod_feature_map_scaling_all_chunks->module~mod_precalc_nl_deriv_features_single_chunk
module~mod_feature_map_scaling_all_chunks->module~mod_signal_handler
module~mod_forward_backward_batched
mod_forward_backward_batched
module~mod_forward_backward_batched->module~mod_abstract_property_model
module~mod_forward_backward_batched->module~mod_databatcher
module~mod_forward_backward_gradient_batched
mod_forward_backward_gradient_batched
module~mod_forward_backward_gradient_batched->module~mod_abstract_property_model
module~mod_forward_backward_gradient_batched->module~mod_databatcher
module~mod_forward_batched->module~mod_abstract_property_model
module~mod_forward_batched->module~mod_databatcher
module~mod_forward_gradient_batched
mod_forward_gradient_batched
module~mod_forward_gradient_batched->module~mod_abstract_property_model
module~mod_forward_gradient_batched->module~mod_databatcher
module~mod_get_max_num_output_properties
mod_get_max_num_output_properties
module~mod_get_max_num_output_properties->module~mod_abstract_property_model
module~mod_initialize->module~mod_abstract_property_model
module~mod_initialize->module~mod_elemental_property_model
module~mod_initialize->module~mod_hdnn
module~mod_write_headers
mod_write_headers
module~mod_initialize->module~mod_write_headers
module~mod_initialize->module~mod_two_body
module~mod_layers->module~mod_dense_layer
module~mod_layers->module~mod_dense_layer_with_single_activations
module~mod_output_files_and_cost
mod_output_files_and_cost
module~mod_output_files_and_cost->module~mod_abstract_property_model
module~mod_output_files_and_cost->module~mod_cost_calculator
module~mod_output_files_and_cost->module~mod_dataloader_file
module~mod_predict_multiple_structures
mod_predict_multiple_structures
module~mod_output_files_and_cost->module~mod_predict_multiple_structures
module~mod_output_files_and_cost_4g_charges
mod_output_files_and_cost_4g_charges
module~mod_output_files_and_cost_4g_charges->module~mod_abstract_property_model
module~mod_output_files_and_cost_4g_charges->module~mod_cost_calculator
module~mod_output_files_and_cost_4g_charges->module~mod_dataloader_file
module~mod_output_files_and_cost_4g_charges->module~mod_predict_4g_charges_training_qeq_multiple_structures
module~mod_output_files_and_cost_4g_short_range
mod_output_files_and_cost_4g_short_range
module~mod_output_files_and_cost_4g_short_range->module~mod_abstract_property_model
module~mod_output_files_and_cost_4g_short_range->module~mod_cost_calculator
module~mod_output_files_and_cost_4g_short_range->module~mod_dataloader_file
module~mod_predict_4g_short_range_training_qeq_multiple_structures
mod_predict_4g_short_range_training_qeq_multiple_structures
module~mod_output_files_and_cost_4g_short_range->module~mod_predict_4g_short_range_training_qeq_multiple_structures
module~mod_output_files_and_cost_4g_short_range->module~mod_predict_qeq_feature_calculator_multiple_structures
module~mod_post_processing_wrapper_single_structure
mod_post_processing_wrapper_single_structure
module~mod_post_processing_wrapper_single_structure->module~mod_abstract_property_model
module~mod_post_processing_wrapper_single_structure->module~mod_calc_atomic_properties
module~mod_post_processing_wrapper_single_structure->module~mod_two_body
module~mod_precalc_coulomb_matrix_all_chunks->module~mod_abstract_property_model
module~mod_precalc_coulomb_matrix_all_chunks->module~mod_dataloader_file
module~mod_precalc_coulomb_matrix_all_chunks->module~mod_forward_batched
module~mod_precalc_coulomb_matrix_all_chunks->module~mod_predict_4g_charges_training_qeq_multiple_structures
module~mod_precompute_global_features_all_chunks
mod_precompute_global_features_all_chunks
module~mod_precompute_global_features_all_chunks->module~mod_abstract_property_model
module~mod_precompute_global_features_all_chunks->module~mod_dataloader_file
module~mod_precompute_global_features_all_chunks->module~mod_predict_qeq_feature_calculator_multiple_structures
module~mod_precompute_global_features_all_chunks->module~mod_predict_ee4g_feature_calculator_multiple_structures
module~mod_precompute_global_features_all_chunks->module~mod_signal_handler
module~mod_predict_4g_charges_training_qeq_multiple_structures->module~mod_abstract_property_model
module~mod_predict_4g_charges_training_qeq_multiple_structures->module~mod_databatcher
module~mod_predict_4g_charges_training_qeq_multiple_structures->module~mod_structure_batch_iterator
module~mod_predict_4g_no_force_trick_single_structure
mod_predict_4g_no_force_trick_single_structure
module~mod_predict_4g_no_force_trick_single_structure->module~mod_abstract_property_model
module~mod_predict_4g_no_force_trick_single_structure->module~mod_calc_atomic_properties
module~mod_predict_4g_short_range_training_qeq_multiple_structures->module~mod_abstract_property_model
module~mod_predict_4g_short_range_training_qeq_multiple_structures->module~mod_databatcher
module~mod_predict_4g_short_range_training_qeq_multiple_structures->module~mod_structure_batch_iterator
module~mod_predict_all_chunks->module~mod_abstract_property_model
module~mod_predict_all_chunks->module~mod_dataloader_file
module~mod_predict_all_chunks->module~mod_predict_multiple_structures
module~mod_predict_all_chunks->module~mod_signal_handler
module~mod_predict_all_chunks->module~mod_two_body
module~mod_predict_mode
mod_predict_mode
module~mod_predict_mode->module~mod_abstract_property_model
module~mod_predict_mode->module~mod_dataloader_file
module~mod_predict_mode->module~mod_enforce_reading
module~mod_predict_mode->module~mod_initialize
module~mod_predict_mode->module~mod_predict_multiple_structures
module~mod_predict_mode->module~mod_signal_handler
module~mod_predict_mode->module~mod_two_body
module~mod_write_outfiles
mod_write_outfiles
module~mod_predict_mode->module~mod_write_outfiles
module~mod_predict_multiple_structures->module~mod_abstract_property_model
module~mod_predict_multiple_structures->module~mod_databatcher
module~mod_predict_multiple_structures->module~mod_post_processing_wrapper_single_structure
module~mod_predict_multiple_structures->module~mod_structure_batch_iterator
module~mod_predict_multiple_structures->module~mod_two_body
module~mod_predict_qeq_feature_calculator_multiple_structures->module~mod_abstract_property_model
module~mod_predict_qeq_feature_calculator_multiple_structures->module~mod_dataloader_file
module~mod_predict_qeq_feature_calculator_multiple_structures->module~mod_structure_batch_iterator
module~mod_predict_single_structure
mod_predict_single_structure
module~mod_predict_single_structure->module~mod_abstract_property_model
module~mod_predict_single_structure->module~mod_calc_atomic_properties
module~mod_predict_single_structure->module~mod_get_max_num_output_properties
module~mod_predict_single_structure->module~mod_post_processing_wrapper_single_structure
module~mod_predict_single_structure->module~mod_two_body
module~mod_prediction_statistics->module~mod_abstract_property_model
module~mod_prediction_statistics->module~mod_calc_atomic_properties
module~mod_prediction_statistics->module~mod_get_max_num_output_properties
module~mod_runner_interface
mod_runner_interface
module~mod_runner_interface->module~mod_abstract_property_model
module~mod_runner_interface->module~mod_two_body
module~mod_structure_batch_iterator->module~mod_abstract_property_model
module~mod_structure_batch_iterator->module~mod_databatcher
module~mod_structure_batch_iterator->module~mod_calc_atomic_properties
module~mod_structure_batch_iterator->module~mod_get_max_num_output_properties
module~mod_train_4g_atomic_charges_structure_batch
mod_train_4g_atomic_charges_structure_batch
module~mod_train_4g_atomic_charges_structure_batch->module~mod_abstract_property_model
module~mod_train_4g_atomic_charges_structure_batch->module~mod_create_batches
module~mod_train_4g_atomic_charges_structure_batch->module~mod_dataloader_file
module~mod_train_4g_atomic_charges_structure_batch->module~mod_forward_backward_batched
module~mod_train_4g_atomic_charges_structure_batch->module~mod_forward_batched
module~mod_train_4g_atomic_charges_structure_batch->module~mod_get_max_num_output_properties
module~mod_train_helpers
mod_train_helpers
module~mod_train_4g_atomic_charges_structure_batch->module~mod_train_helpers
module~mod_train_atomic_property_multiple_atoms
mod_train_atomic_property_multiple_atoms
module~mod_train_atomic_property_multiple_atoms->module~mod_abstract_property_model
module~mod_train_atomic_property_multiple_atoms->module~mod_databatcher
module~mod_train_atomic_property_multiple_atoms->module~mod_create_batches
module~mod_train_atomic_property_multiple_atoms->module~mod_forward_backward_batched
module~mod_train_atomic_property_multiple_atoms->module~mod_forward_batched
module~mod_train_atomic_property_multiple_atoms->module~mod_train_helpers
module~mod_train_energy_multiple_structures
mod_train_energy_multiple_structures
module~mod_train_energy_multiple_structures->module~mod_abstract_property_model
module~mod_train_energy_multiple_structures->module~mod_forward_backward_batched
module~mod_train_energy_multiple_structures->module~mod_forward_batched
module~mod_train_energy_multiple_structures->module~mod_get_max_num_output_properties
module~mod_train_energy_multiple_structures->module~mod_initialize
module~mod_train_energy_multiple_structures->module~mod_train_helpers
module~mod_train_forces_multiple_structures
mod_train_forces_multiple_structures
module~mod_train_forces_multiple_structures->module~mod_abstract_property_model
module~mod_train_forces_multiple_structures->module~mod_forward_backward_gradient_batched
module~mod_train_forces_multiple_structures->module~mod_forward_gradient_batched
module~mod_train_forces_multiple_structures->module~mod_initialize
module~mod_train_forces_multiple_structures->module~mod_train_energy_multiple_structures
module~mod_train_forces_multiple_structures->module~mod_train_helpers
module~mod_train_helpers->module~mod_abstract_property_model
module~mod_train_loop_4g_charges->module~mod_abstract_property_model
module~mod_train_loop_4g_charges->module~mod_cost_calculator
module~mod_train_loop_4g_charges->module~mod_dataloader_file
module~mod_train_loop_4g_charges->module~mod_initialize
module~mod_train_loop_4g_charges->module~mod_output_files_and_cost_4g_charges
module~mod_train_loop_4g_charges->module~mod_train_4g_atomic_charges_structure_batch
module~mod_train_loop_4g_charges->module~mod_train_helpers
module~mod_train_loop_4g_charges->module~mod_signal_handler
module~mod_train_loop_atomic_property->module~mod_abstract_property_model
module~mod_train_loop_atomic_property->module~mod_cost_calculator
module~mod_train_loop_atomic_property->module~mod_dataloader_file
module~mod_train_loop_atomic_property->module~mod_initialize
module~mod_train_loop_atomic_property->module~mod_output_files_and_cost
module~mod_train_loop_atomic_property->module~mod_train_atomic_property_multiple_atoms
module~mod_train_loop_atomic_property->module~mod_train_helpers
module~mod_train_loop_atomic_property->module~mod_signal_handler
module~mod_train_loop_short_range->module~mod_abstract_property_model
module~mod_train_loop_short_range->module~mod_cost_calculator
module~mod_train_loop_short_range->module~mod_create_batches
module~mod_train_loop_short_range->module~mod_dataloader_file
module~mod_train_loop_short_range->module~mod_get_max_num_output_properties
module~mod_train_loop_short_range->module~mod_initialize
module~mod_train_loop_short_range->module~mod_output_files_and_cost
module~mod_train_loop_short_range->module~mod_output_files_and_cost_4g_short_range
module~mod_train_loop_short_range->module~mod_predict_qeq_feature_calculator_multiple_structures
module~mod_train_loop_short_range->module~mod_train_energy_multiple_structures
module~mod_train_loop_short_range->module~mod_train_forces_multiple_structures
module~mod_train_loop_short_range->module~mod_train_helpers
module~mod_train_loop_short_range->module~mod_predict_ee4g_feature_calculator_multiple_structures
module~mod_train_loop_short_range->module~mod_signal_handler
module~mod_train_test_split->module~mod_databatcher
module~mod_write_headers->module~mod_abstract_property_model
module~mod_write_outfiles_training->module~mod_abstract_property_model
module~mod_write_outfiles_training->module~mod_write_outfiles
program~runner
RuNNer
program~runner->module~mod_abstract_property_model
program~runner->module~mod_train_mode
program~runner->module~mod_dataloader_file
program~runner->module~mod_initialize
program~runner->module~mod_precompute_global_features_all_chunks
program~runner->module~mod_predict_mode
program~runner->module~mod_write_headers
module~mod_calculate_coulomb_matrix
mod_calculate_coulomb_matrix
program~runner->module~mod_calculate_coulomb_matrix
module~mod_precompute_features_all_chunks
mod_precompute_features_all_chunks
program~runner->module~mod_precompute_features_all_chunks
program~runner->module~mod_signal_handler
program~runner->module~mod_two_body
module~mod_calculate_coulomb_matrix->module~mod_dataloader_file
module~mod_calculate_coulomb_matrix->module~mod_signal_handler
module~mod_feature_calc_interface
mod_feature_calc_interface
module~mod_feature_calc_interface->module~mod_runner_interface
module~mod_generic_interface
mod_generic_interface
module~mod_feature_calc_interface->module~mod_generic_interface
module~mod_generic_interface->module~mod_predict_single_structure
module~mod_generic_interface->module~mod_runner_interface
module~mod_lammps_interface
mod_lammps_interface
module~mod_lammps_interface->module~mod_runner_interface
module~mod_runner_interface_bindings
mod_runner_interface_bindings
module~mod_lammps_interface->module~mod_runner_interface_bindings
module~mod_precalc_nl_deriv_features_single_chunk->module~mod_dataloader_file
module~mod_precompute_features_all_chunks->module~mod_dataloader_file
module~mod_precompute_features_all_chunks->module~mod_train_test_split
module~mod_precompute_features_all_chunks->module~mod_signal_handler
module~mod_predict_ee4g_feature_calculator_multiple_structures->module~mod_dataloader_file
module~mod_runner_interface_bindings->module~mod_calc_atomic_properties
module~mod_runner_interface_bindings->module~mod_enforce_reading
module~mod_runner_interface_bindings->module~mod_get_max_num_output_properties
module~mod_runner_interface_bindings->module~mod_initialize
module~mod_runner_interface_bindings->module~mod_runner_interface
module~mod_runner_interface_bindings->module~mod_two_body
module~mod_signal_handler->module~mod_write_headers
module~mod_two_body->module~mod_dataloader_file
module~mod_write_outfiles->module~mod_initialize
Nodes of different colours represent the following:
Graph Key
Module
Module
Submodule
Submodule
Subroutine
Subroutine
Function
Function
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Derived Types Summary
Procedures Summary
Derived Types Details
type RandomNumberGenerator
Components
state :
integer (DI)
initial_state :
integer (DI)
Type-Bound Procedures
Name
Attributes
Binding
shuffle
public
⇒ shuffle
reset
public
⇒ reset
random_uniform_0d
private
⇒ random_uniform_0d
random_uniform_1d
private
⇒ random_uniform_1d
random_uniform_2d
private
⇒ random_uniform_2d
random_uniform_3d
private
⇒ random_uniform_3d
random_uniform
public
⇒ random_uniform_0d⇒ random_uniform_1d⇒ random_uniform_2d⇒ random_uniform_3d
random_normal_0d
private
⇒ random_normal_0d
random_normal_1d
private
⇒ random_normal_1d
random_normal_2d
private
⇒ random_normal_2d
random_normal_3d
private
⇒ random_normal_3d
random_normal
public
⇒ random_normal_0d⇒ random_normal_1d⇒ random_normal_2d⇒ random_normal_3d
randint
public
⇒ randint
Inherited By
type~~randomnumbergenerator~~InheritedByGraph
type~randomnumbergenerator
RandomNumberGenerator
type~databatcher
DataBatcher
type~databatcher->type~randomnumbergenerator
rng_shuffle, rng_split
type~filedataloader
FileDataLoader
type~filedataloader->type~databatcher
batcher
Nodes of different colours represent the following:
Graph Key
Type
Type
This Page's Entity
This Page's Entity
Solid arrows point from a derived type to the parent type which it
extends. Dashed arrows point from a derived type to the other
types it contains as a components, with a label listing the name(s) of
said component(s).
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Interface Details
interface RandomNumberGenerator
Procedure Details
function constructor
function constructor ( & seed &)
Initializes the RNG with the given seed
Arguments
Called By
proc~~constructor~15~~CalledByGraph
proc~constructor~15
mod_random::constructor
interface~randomnumbergenerator
mod_random::RandomNumberGenerator
interface~randomnumbergenerator->proc~constructor~15
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
function randint
function randint ( & self, & start, & end, & sample_size &)
Arguments
self :
class (RandomNumberGenerator ) [inout]
start :
integer [in]– Lower sample bound.
end :
integer [in]– Upper sample bound.
sample_size :
integer [in]– Number of samples which are drawn.
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
function xorshift64star
function xorshift64star ( & state &)
Implementation of xorshift64*
Took implementation of the algorithm in the Spire package as reference (MIT license)
https://github.com/typelevel/spire/blob/master/extras/src/main/scala/spire/random/rng/XorShift64Star.scala
has a period of 2**64-1
Generates random number in the intervall [0,1]
translated to fortran by JAF
Arguments
state :
integer (DI) [inout]
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine reset
subroutine reset ( & self &)
Arguments
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine shuffle
subroutine shuffle ( & self, & n, & a &)
shuffles a list of integers in place
Uses the Knuth shuffle algorithm
Arguments
self :
class (RandomNumberGenerator ) [inout]
n :
integer [in]– size of array
a :
integer (dim: (n)) [inout]– array to be shuffled
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine random_uniform_0d ( & self, & x &)
Arguments
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine random_uniform_1d ( & self, & vec &)
Arguments
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine random_uniform_2d ( & self, & mat &)
Arguments
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine random_uniform_3d ( & self, & mat &)
Arguments
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine random_normal_0d
subroutine random_normal_0d ( & self, & rnor &)
Returns one normal distributed random number
Implements the Box-Müller algorithm in a somewhat threadsafe fashion.
However, the same rng state will be used by all threads, which makes this slow.
For reproducable results, don't use OMP when calling the RNG.
If performance is critical, use a seperate rng instance for each thread.
Arguments
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine random_normal_1d
subroutine random_normal_1d ( & self, & vec &)
Arguments
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine random_normal_2d
subroutine random_normal_2d ( & self, & mat &)
Arguments
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine random_normal_3d
subroutine random_normal_3d ( & self, & mat &)
Arguments
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine to_base_16
subroutine to_base_16 ( & x, & b &)
Arguments
x :
integer (DI) [in]
b :
integer (DI) (dim: (4)) [out]
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
subroutine mult_base_16
subroutine mult_base_16 ( & a, & b, & c &)
Arguments
a :
integer (DI) (dim: (4)) [in]
b :
integer (DI) (dim: (4)) [in]
c :
integer (DI) (dim: (4)) [out]
Called By
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.