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

Writes VSC from a mean-field record; see the file comment. More...

#include <self_consistent_potential.hpp>

Public Member Functions

 BerkeleyGWSelfConsistentPotentialFile (const MeanFieldRecord &&)=delete
 See BerkeleyGWChargeDensityFile: this holds a reference.
 
 BerkeleyGWSelfConsistentPotentialFile (const MeanFieldRecord &record)
 
void write_to_file (const std::string &file_path) const
 Writes the file, or throws – before creating it – when the record carries no potential.
 

Detailed Description

Writes VSC from a mean-field record; see the file comment.

Definition at line 28 of file self_consistent_potential.hpp.

Constructor & Destructor Documentation

◆ BerkeleyGWSelfConsistentPotentialFile() [1/2]

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

Definition at line 30 of file self_consistent_potential.hpp.

◆ BerkeleyGWSelfConsistentPotentialFile() [2/2]

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

See BerkeleyGWChargeDensityFile: this holds a reference.

Member Function Documentation

◆ write_to_file()

void q3::BerkeleyGWSelfConsistentPotentialFile::write_to_file ( const std::string &  file_path) const
inline

Writes the file, or throws – before creating it – when the record carries no potential.

Definition at line 36 of file self_consistent_potential.hpp.

References q3::log::info(), q3::MeanFieldRecord::self_consistent_potential_g, and q3::BerkeleyGWFieldFile::write().


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