MADNESS 0.10.1
Public Attributes | List of all members
madness::RestartSources Struct Reference

#include <RestartPlan.h>

Public Attributes

std::optional< RestartMetadatameta
 
bool nwfile_named = false
 an NWChem file was named in the input
 
bool restartao_present = false
 <prefix>.restartaodata exists
 
bool restartdata_present = false
 <prefix>.restartdata.00000 exists
 

Detailed Description

what a look at the disk found – pure disk facts, no engine opinion in here

Separated from the decision so that plan_restart() stays a pure function of its arguments and the whole decision table can be tested without touching a filesystem or constructing an MRA function.

Member Data Documentation

◆ meta

std::optional<RestartMetadata> madness::RestartSources::meta

its header parsed. Set only when restartdata_present; a present file with no metadata is a corrupt or future-version archive, which is worth saying out loud rather than quietly recomputing.

◆ nwfile_named

bool madness::RestartSources::nwfile_named = false

an NWChem file was named in the input

Referenced by madness::survey_restart_sources().

◆ restartao_present

bool madness::RestartSources::restartao_present = false

<prefix>.restartaodata exists

◆ restartdata_present

bool madness::RestartSources::restartdata_present = false

<prefix>.restartdata.00000 exists


The documentation for this struct was generated from the following file: