PSCF v1.4.0
FourthOrderParameter.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 "FourthOrderParameter.h"
9
10#include <rpc/system/System.h>
11#include <rpc/fts/simulator/Simulator.h>
12#include <rpc/solvers/Mixture.h>
13#include <rpc/field/Domain.h>
14#include <rpc/field/WFields.h>
15#include <rpc/field/CFields.h>
16#include <prdc/cpu/FFT.h>
17#include <pscf/cpu/VecOpCx.h>
18#include <pscf/cpu/ReduceCx.h>
19
20#include <rp/fts/analyzer/FourthOrderParameter.tpp>
21
22namespace Pscf {
23namespace Rpc {
24
25 /*
26 * Constructor.
27 */
28 template <int D>
30 Simulator<D>& simulator,
31 System<D>& system)
32 : Base(simulator, system)
33 {}
34
35 /*
36 * Initialize Base::prefactor_ protected member variable.
37 */
38 template <int D>
39 void FourthOrderParameter<D>::computePrefactor()
40 { Base::computePrefactor(Base::prefactor_); }
41
42}
43}
44
45// Explicit instantiation definitions
46namespace Pscf {
47 namespace Rp {
51 }
52 namespace Rpc {
53 template class FourthOrderParameter<1>;
54 template class FourthOrderParameter<2>;
55 template class FourthOrderParameter<3>;
56 }
57}
FourthOrderParameter is used to detect an order-disorder transition.
FourthOrderParameter is used to detect an order-disorder transition.
FourthOrderParameter(Simulator< D > &simulator, System< D > &system)
Constructor.
Field theoretic simulator (base class).
A complete physical system.
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.