#include <gint_prec_ctrl.h>
◆ PrecisionMode
| Enumerator |
|---|
| single | |
| double_mode | |
| mix | |
◆ GintPrecisionController()
| GintPrecisionController::GintPrecisionController |
( |
| ) |
|
|
default |
◆ current_precision()
◆ parse_mode_()
◆ reset_for_new_scf()
| void GintPrecisionController::reset_for_new_scf |
( |
| ) |
|
◆ set_mode()
| void GintPrecisionController::set_mode |
( |
const std::string & | precision_mode | ) |
|
◆ update_after_iteration()
| bool GintPrecisionController::update_after_iteration |
( |
double | drho, |
|
|
double | scf_thr ) |
Returns true if precision switched from fp32 to fp64 in this call.
◆ current_precision_
◆ locked_double_precision_
| bool GintPrecisionController::locked_double_precision_ = true |
|
private |
◆ mode_
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/module_gint/gint_prec_ctrl.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_hamilt/module_gint/gint_prec_ctrl.cpp