|
PSCF v1.4.0
|
Periodically write c-field snapshots to a trajectory file. More...
#include <ConcentrationWriter.h>
Public Member Functions | |
| ConcentrationWriter (typename T::Simulator &simulator, typename T::System &system) | |
| Constructor. | |
| void | readParameters (std::istream &in) override |
| Read interval and output file name. | |
| void | setup () override |
| Initialize before main simulation loop. | |
| void | sample (long iStep) override |
| Write a frame/snapshot to trajectory file. | |
| void | output () override |
| Close trajectory file after run. | |
Periodically write c-field snapshots to a trajectory file.
Specializations of this template are used as base classes for two closely analogous class templates, also named ConcentrationWriter, 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 34 of file fts/analyzer/ConcentrationWriter.h.
| Pscf::Rp::ConcentrationWriter< D, T >::ConcentrationWriter | ( | typename T::Simulator & | simulator, |
| typename T::System & | system ) |
Constructor.
Definition at line 26 of file ConcentrationWriter.tpp.
References Util::ParamComposite::setClassName().
|
override |
Read interval and output file name.
| in | input parameter file |
Definition at line 38 of file ConcentrationWriter.tpp.
|
override |
Initialize before main simulation loop.
Definition at line 48 of file ConcentrationWriter.tpp.
References UTIL_CHECK.
|
override |
Write a frame/snapshot to trajectory file.
| iStep | step index |
Definition at line 97 of file ConcentrationWriter.tpp.
References UTIL_CHECK.
|
override |
Close trajectory file after run.
Definition at line 110 of file ConcentrationWriter.tpp.