|
PSCF v1.4.0
|
Periodically write the field configuration to a trajectory file. More...
#include <TrajectoryWriter.h>
Public Member Functions | |
| TrajectoryWriter (Simulator< D > &simulator, System< D > &system) | |
| Constructor. | |
| Public Member Functions inherited from Pscf::Rp::TrajectoryWriter< D, Types< D > > | |
| void | readParameters (std::istream &in) override |
| Read interval and output file name. | |
| void | setup () override |
| Setup before main simulation loop. | |
| void | sample (long iStep) override |
| Write a frame/snapshot to the trajectory file. | |
| void | output () override |
| Close trajectory file after run. | |
Additional Inherited Members | |
| Protected Member Functions inherited from Pscf::Rp::TrajectoryWriter< D, Types< D > > | |
| TrajectoryWriter (typename Types< D >::Simulator &simulator, typename Types< D >::System &system) | |
| Constructor. | |
| ~TrajectoryWriter ()=default | |
| Destructor. | |
| void | writeHeader (std::ofstream &out) |
| Write data that should appear once, at beginning of the file. | |
| void | writeFrame (std::ofstream &out, long iStep) |
| Write data that should appear in every frame. | |
Periodically write the field configuration to a trajectory file.
Specializations of this template with D=1, 2, and 3 are derived from specializations of base class template Rp::TrajectoryWriter, and inherit their public interface and almost all of their source code from this base class.
Definition at line 37 of file /fts/analyzer/TrajectoryWriter.h.
| Pscf::Rpg::TrajectoryWriter< D >::TrajectoryWriter | ( | Simulator< D > & | simulator, |
| System< D > & | system ) |
Constructor.
Definition at line 24 of file TrajectoryWriter.cu.
References TrajectoryWriter().
Referenced by TrajectoryWriter().