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

#include <wavefunction.hpp>

Public Member Functions

 BerkeleyGWWavefunctionFile (const MeanFieldRecord &&)=delete
 
 BerkeleyGWWavefunctionFile (const MeanFieldRecord &record)
 
void write_to_file (const std::string &file_path) const
 

Detailed Description

Definition at line 56 of file wavefunction.hpp.

Constructor & Destructor Documentation

◆ BerkeleyGWWavefunctionFile() [1/2]

q3::BerkeleyGWWavefunctionFile::BerkeleyGWWavefunctionFile ( const MeanFieldRecord &  record)
inlineexplicit

Definition at line 58 of file wavefunction.hpp.

◆ BerkeleyGWWavefunctionFile() [2/2]

q3::BerkeleyGWWavefunctionFile::BerkeleyGWWavefunctionFile ( const MeanFieldRecord &&  )
explicitdelete

These writers keep a reference to the record, so binding one to a temporary would dangle the moment the full expression ends. Deleting the rvalue overload turns that into a compile error instead of a silent read of freed memory – callers must keep the record alive themselves, which every real call site already does.

Member Function Documentation

◆ write_to_file()


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