PSCF v1.4.0
CubicLengthDerivative.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 "CubicLengthDerivative.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 <pscf/cpu/Reduce.h>
17
18#include <rp/fts/analyzer/CubicLengthDerivative.tpp>
19
20namespace Pscf {
21namespace Rpc {
22
23 using namespace Util;
24
25 // Constructor.
26 template <int D>
28 System<D>& system)
29 : Rp::CubicLengthDerivative<D, Types<D> >(simulator, system)
30 {}
31
32}
33}
34
35// Explicit instantiation declarations
36namespace Pscf {
37 namespace Rp {
38 template class CubicLengthDerivative<1, Rpc::Types<1> >;
39 template class CubicLengthDerivative<2, Rpc::Types<2> >;
40 template class CubicLengthDerivative<3, Rpc::Types<3> >;
41 }
42 namespace Rpc {
43 template class CubicLengthDerivative<1>;
44 template class CubicLengthDerivative<2>;
45 template class CubicLengthDerivative<3>;
46 }
47}
Evaluate the derivative of H with respect to cubic box length.
CubicLengthDerivative(Simulator< D > &simulator, System< D > &system)
Constructor.
Field theoretic simulator (base class).
A complete physical system.
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.