|
PSCF v1.4.0
|
Compute averages and output block averages of Hamiltonian components. More...
#include <HamiltonianAnalyzer.h>
Public Member Functions | |
| void | readParameters (std::istream &in) override |
| Read interval and output file name. | |
Protected Member Functions | |
| HamiltonianAnalyzer (typename T::Simulator &simulator, typename T::System &system) | |
| Constructor. | |
| ~HamiltonianAnalyzer ()=default | |
| Destructor. | |
| void | compute () override |
| Compute and store values of Hamiltonian components. | |
Compute averages and output block averages of Hamiltonian components.
This class computes separate averages for each component of the total simulation Hamiltonian (ideal gas contributions (lnQ) and Field contribution (HW)) as well as for the total, and periodically outputs block averages of each to a file.
Specializations of this template are used as base classes for two closely analogous class templates, also named HamiltonianAnalyzer, that are defined in the Rpc and Rpg namespaces for use in the pscf_rpc and pscf_rpg programs, respectively.
Template parameters:
Definition at line 38 of file fts/analyzer/HamiltonianAnalyzer.h.
|
protected |
Constructor.
Definition at line 23 of file HamiltonianAnalyzer.tpp.
References Util::ParamComposite::setClassName().
|
protecteddefault |
Destructor.
|
override |
Read interval and output file name.
| in | input parameter file |
Definition at line 36 of file HamiltonianAnalyzer.tpp.
|
overrideprotected |
Compute and store values of Hamiltonian components.
Definition at line 53 of file HamiltonianAnalyzer.tpp.
References UTIL_CHECK.