PSCF v1.4.0
TrajectoryWriter.cpp
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#include <rpc/fts/simulator/Simulator.h>
10#include <rpc/system/System.h>
11#include <rpc/solvers/Mixture.h>
12#include <rpc/field/Domain.h>
13#include <rpc/field/FieldIo.h>
14#include <rpc/field/WFields.h>
15#include <util/misc/FileMaster.h>
16#include <util/misc/ioUtil.h>
17#include <rp/fts/analyzer/TrajectoryWriter.tpp> // implementation
18
19namespace Pscf {
20namespace Rpc {
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, Rpc::Types<1> >;
36 template class TrajectoryWriter<2, Rpc::Types<2> >;
37 template class TrajectoryWriter<3, Rpc::Types<3> >;
38 }
39 namespace Rpc {
40 template class TrajectoryWriter<1>;
41 template class TrajectoryWriter<2>;
42 template class TrajectoryWriter<3>;
43 }
44}
Field theoretic simulator (base class).
A complete physical system.
Evaluate the derivative of H with respect to chi.
TrajectoryWriter(Simulator< D > &simulator, System< D > &system)
Constructor.
Aliases for types used in the Rpc program-level namespace.
Class templates for real-valued periodic fields.
Real periodic fields, SCFT and PS-FTS (CPU).
Definition param_pc.dox:2
PSCF package top-level namespace.