![]() |
Octopus
|
Abstract class implementing minimizers. More...
Abstract class implementing minimizers.
Minimizers are implemented as a state machine. This abstract class defines the steps which are independent of the actual minimization algorithm, and also independent of the system, to which is is applied.
Definition at line 118 of file minimizer_algorithm.F90.

Public Attributes | |
| class(system_t), pointer, public | system |
| The system using this minimizer. More... | |
| integer, public | max_iter |
| Maximum number of iterations for self-consistent minimizers. More... | |
| logical, public | converged = .false. |
Public Attributes inherited from algorithm_oct_m::algorithm_t | |
| type(algorithm_iterator_t), public | iter |
| Iterator for algorithmic operations. More... | |
| type(algorithmic_operation_t), public | start_operation |
| algorithm specific initialization operation; More... | |
| type(algorithmic_operation_t), public | final_operation |
| algorithm specific finalization operation More... | |
| integer, public | algo_steps |
| Number of 'algorithmic steps' per algorithmic iteration. More... | |
| type(iteration_counter_t), public | iteration |
| Keep track at which iteration this algorithm is. More... | |
| real(real64), public | elapsed_time = M_ZERO |
| Elapsed wall clock time for printing info. More... | |
Public Attributes inherited from linked_list_oct_m::linked_list_t | |
| integer, public | size = 0 |
Private Member Functions | |
| procedure | do_operation => minimizer_algorithm_do_operation |
| Try to perform one operation of the algorithm. Return .true. if sucessful. More... | |
| procedure | finished => minimizer_algorithm_finished |
| indicate whether a minimizer has reached the final time More... | |
| procedure | init_iteration_counters => minimizer_algorithm_init_iteration_counters |
| Initialize the minimizer and system clocks. More... | |
| procedure | write_output_header => minimizer_algorithm_write_output_header |
| procedure | continues_after_finished => minimizer_continues_after_finished |
| procedure | print_speed => minimizer_algorithm_print_speed |
| print iteration speed, i.e., fs/day of wall clock time More... | |
|
private |
Try to perform one operation of the algorithm. Return .true. if sucessful.
Definition at line 125 of file minimizer_algorithm.F90.
|
private |
indicate whether a minimizer has reached the final time
Definition at line 127 of file minimizer_algorithm.F90.
|
private |
Initialize the minimizer and system clocks.
Note that we initialize the system clock here because it requires knowledge of the time-step.
Definition at line 129 of file minimizer_algorithm.F90.
|
private |
Definition at line 131 of file minimizer_algorithm.F90.
|
private |
Definition at line 133 of file minimizer_algorithm.F90.
|
private |
print iteration speed, i.e., fs/day of wall clock time
Definition at line 135 of file minimizer_algorithm.F90.
| class(system_t), pointer, public minimizer_algorithm_oct_m::minimizer_algorithm_t::system |
The system using this minimizer.
Definition at line 120 of file minimizer_algorithm.F90.
| integer, public minimizer_algorithm_oct_m::minimizer_algorithm_t::max_iter |
Maximum number of iterations for self-consistent minimizers.
Definition at line 121 of file minimizer_algorithm.F90.
| logical, public minimizer_algorithm_oct_m::minimizer_algorithm_t::converged = .false. |
Definition at line 122 of file minimizer_algorithm.F90.