|
MADNESS 0.10.1
|
the decision: one source, one starting rung, one reason More...
#include <RestartPlan.h>

Public Member Functions | |
| bool | needs_load () const |
| true if orbitals have to be read from disk before anything else happens | |
| std::string | print_to_string () const |
| template<typename Archive > | |
| void | serialize (Archive &ar) |
| serialization, so the plan can be decided on one rank and broadcast | |
Public Attributes | |
| bool | iterate = true |
| false means "return what is on disk without solving anything" | |
| RestartMode | mode = RestartMode::automatic |
| what was asked for | |
| std::size_t | protocol_start = 0 |
rung of protocol() to start at; rungs below it are already covered | |
| RestartSource | source = RestartSource::initial_guess |
| double | stale_energy = 1.e10 |
| energy from the archive, meaningful only when iterate==false | |
| bool | warn = false |
| std::string | why |
| one line, for the log and for the results json | |
the decision: one source, one starting rung, one reason
|
inline |
true if orbitals have to be read from disk before anything else happens
References madness::initial_guess, and source.
|
inline |
References iterate, mode, protocol_start, source, madness::to_string(), and why.
serialization, so the plan can be decided on one rank and broadcast
References iterate, m, mode, protocol_start, source, stale_energy, warn, and why.
false means "return what is on disk without solving anything"
Referenced by print_to_string(), and serialize().
| RestartMode madness::RestartPlan::mode = RestartMode::automatic |
what was asked for
Referenced by madness::plan_restart(), print_to_string(), and serialize().
| std::size_t madness::RestartPlan::protocol_start = 0 |
rung of protocol() to start at; rungs below it are already covered
Referenced by print_to_string(), and serialize().
| RestartSource madness::RestartPlan::source = RestartSource::initial_guess |
Referenced by needs_load(), print_to_string(), and serialize().
energy from the archive, meaningful only when iterate==false
Referenced by serialize().
true if this decision should be logged as a WARNING rather than as info
Two cases: a file was there but could not be used (silently recomputing would hide a disk fault or a wrong prefix), and read_only handing back an energy that does not meet the requested precision.
Referenced by serialize().
| std::string madness::RestartPlan::why |
one line, for the log and for the results json
Referenced by print_to_string(), and serialize().