PSCF v1.4.0
TrajectoryWriter.cu
1/*
2* PSCF - Polymer Self-Consistent Field
3*
4* Copyright 2015 - 2025, The Regents of the University of Minnesota
5* Distributed under the terms of the GNU General Public License.
6*/
7
8#include "TrajectoryWriter.h" // header
9
10#include <rpg/fts/simulator/Simulator.h>
11#include <rpg/system/System.h>
12#include <rpg/solvers/Mixture.h>
13#include <rpg/field/Domain.h>
14#include <rpg/field/FieldIo.h>
15#include <rpg/field/WFields.h>
16
17#include <rp/fts/analyzer/TrajectoryWriter.tpp> // implementation
18
19namespace Pscf {
20namespace Rpg {
21
22 // Constructor.
23 template <int D>
25 System<D>& system)
26 : Rp::TrajectoryWriter< D, Types<D> > (simulator, system)
27 {}
28
29}
30}
31
32// Explicit instantiation definitions
33namespace Pscf {
34 namespace Rp {
35 template class TrajectoryWriter<1, Rpg::Types<1> >;
36 template class TrajectoryWriter<2, Rpg::Types<2> >;
37 template class TrajectoryWriter<3, Rpg::Types<3> >;
38 }
39 namespace Rpg {
40 template class TrajectoryWriter<1>;
41 template class TrajectoryWriter<2>;
42 template class TrajectoryWriter<3>;
43 }
44}
Field theoretic simulator (base class).
Main class, representing a complete physical system.
Periodically write the field configuration to a trajectory file.
TrajectoryWriter(Simulator< D > &simulator, System< D > &system)
Constructor.
List of aliases for types used in the Rpg program-level namespace.
Class templates for real-valued periodic fields.
SCFT and PS-FTS with real periodic fields (GPU)
PSCF package top-level namespace.