One per-spin field on the charge-density G-set, in RHO's layout; see the file comment. More...
#include <field.hpp>
Public Member Functions | |
| BerkeleyGWFieldFile (const MeanFieldRecord &&, std::string, const std::vector< std::vector< Complex > > &, Real)=delete | |
| See the file writers' own deleted rvalue constructors: this holds references. | |
| BerkeleyGWFieldFile (const MeanFieldRecord &record, std::string title, const std::vector< std::vector< Complex > > &values_per_spin, Real scale) | |
| void | write (std::ofstream &output_file) const |
| Writes header, G-set and field to an open stream; throws if the field is not on the G-set. | |
One per-spin field on the charge-density G-set, in RHO's layout; see the file comment.
|
inline |
|
delete |
See the file writers' own deleted rvalue constructors: this holds references.
|
inline |
Writes header, G-set and field to an open stream; throws if the field is not on the G-set.
Definition at line 55 of file field.hpp.
References q3::MeanFieldRecord::number_of_g_vectors(), q3::MeanFieldRecord::number_of_spin_components, q3::BerkeleyGWCommonHeader::write(), q3::BerkeleyGWRecordWriter::write_charge_density_gvectors(), and q3::BerkeleyGWRecordWriter::write_complex_block().
Referenced by q3::BerkeleyGWChargeDensityFile::write_to_file(), q3::BerkeleyGWExchangeCorrelationPotentialFile::write_to_file(), and q3::BerkeleyGWSelfConsistentPotentialFile::write_to_file().