PSCF v1.4.0
CubicLengthDerivative.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 "CubicLengthDerivative.h"
9
10#include <rpg/system/System.h>
11#include <rpg/fts/simulator/Simulator.h>
12#include <rpg/solvers/Mixture.h>
13#include <rpg/field/Domain.h>
14#include <rpg/field/CFields.h>
15#include <rpg/field/WFields.h>
16
17#include <pscf/cuda/Reduce.h>
18
19#include <rp/fts/analyzer/CubicLengthDerivative.tpp>
20
21namespace Pscf {
22namespace Rpg {
23
24 using namespace Util;
25
26 // Constructor.
27 template <int D>
29 Simulator<D>& simulator,
30 System<D>& system)
31 : Rp::CubicLengthDerivative<D, Types<D> >(simulator, system)
32 {}
33
34}
35}
36
37// Explicit instantiation declarations
38namespace Pscf {
39 namespace Rp {
40 template class CubicLengthDerivative<1, Rpg::Types<1> >;
41 template class CubicLengthDerivative<2, Rpg::Types<2> >;
42 template class CubicLengthDerivative<3, Rpg::Types<3> >;
43 }
44 namespace Rpg {
45 template class CubicLengthDerivative<1>;
46 template class CubicLengthDerivative<2>;
47 template class CubicLengthDerivative<3>;
48 }
49}
Evaluate the derivative of H with respect to cubic box length.
CubicLengthDerivative(Simulator< D > &simulator, System< D > &system)
Constructor.
Field theoretic simulator (base class).
Main class, representing a complete physical system.
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.