Loading...
Searching...
No Matches
q3::Q3PlanewaveKohnShamQuantumSystemCheckpoint Class Reference

#include <q3.hpp>

+ Inheritance diagram for q3::Q3PlanewaveKohnShamQuantumSystemCheckpoint:

Public Member Functions

bool load (const std::string &filename, KohnShamQuantumSystemSnapshot &snapshot) const override
 
bool save (const std::string &filename, const KohnShamQuantumSystemSnapshot &snapshot, bool save_wavefunctions=false) const override
 
- Public Member Functions inherited from q3::PlanewaveKohnShamQuantumSystemCheckpoint
 ~PlanewaveKohnShamQuantumSystemCheckpoint () override=default
 
- Public Member Functions inherited from q3::KohnShamQuantumSystemCheckpoint
 ~KohnShamQuantumSystemCheckpoint () override=default
 
- Public Member Functions inherited from q3::QuantumSystemCheckpoint
 ~QuantumSystemCheckpoint () override=default
 
- Public Member Functions inherited from q3::Checkpoint
virtual ~Checkpoint ()=default
 

Static Public Attributes

static constexpr uint32_t MAGIC = 0x51334350
 
static constexpr uint32_t VERSION = 3
 

Detailed Description

Definition at line 27 of file q3.hpp.

Member Function Documentation

◆ load()

bool q3::Q3PlanewaveKohnShamQuantumSystemCheckpoint::load ( const std::string &  filename,
KohnShamQuantumSystemSnapshot &  snapshot 
) const
inlineoverridevirtual

Load a quantum system snapshot from file.

Implements q3::KohnShamQuantumSystemCheckpoint.

Definition at line 56 of file q3.hpp.

Referenced by q3::NonSelfConsistentFieldFlavor::run_calculation(), and q3::VerificationFlavor::run_calculation().

◆ save()

bool q3::Q3PlanewaveKohnShamQuantumSystemCheckpoint::save ( const std::string &  filename,
const KohnShamQuantumSystemSnapshot &  snapshot,
bool  save_wavefunctions = false 
) const
inlineoverridevirtual

Save a quantum system snapshot to file.

Implements q3::KohnShamQuantumSystemCheckpoint.

Definition at line 32 of file q3.hpp.

Referenced by q3::PlanewavePseudopotentialKohnShamSCFIterator::write_checkpoints().

Member Data Documentation

◆ MAGIC

constexpr uint32_t q3::Q3PlanewaveKohnShamQuantumSystemCheckpoint::MAGIC = 0x51334350
staticconstexpr

Definition at line 29 of file q3.hpp.

◆ VERSION

constexpr uint32_t q3::Q3PlanewaveKohnShamQuantumSystemCheckpoint::VERSION = 3
staticconstexpr

Definition at line 30 of file q3.hpp.


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