PSCF v1.4.0
PerturbationDerivative.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 "PerturbationDerivative.h"
9#include <rpg/fts/perturbation/Perturbation.h>
10#include <rp/fts/analyzer/PerturbationDerivative.tpp>
11#include <rpg/fts/simulator/Simulator.h>
12#include <rpg/system/System.h>
13#include <rpg/field/Domain.h>
14#include <rpg/field/CFields.h>
15#include <rpg/field/WFields.h>
16
17namespace Pscf {
18namespace Rpg {
19
20 // Constructor.
21 template <int D>
23 Simulator<D>& simulator,
24 System<D>& system)
25 : Rp::PerturbationDerivative< D, Types<D> >(simulator, system)
26 {}
27
28}
29}
30
31// Explicit instantiation definitions
32namespace Pscf {
33 namespace Rp {
34 template class PerturbationDerivative< 1, Rpg::Types<1> >;
35 template class PerturbationDerivative< 2, Rpg::Types<2> >;
36 template class PerturbationDerivative< 3, Rpg::Types<3> >;
37 }
38 namespace Rpg {
39 template class PerturbationDerivative<1>;
40 template class PerturbationDerivative<2>;
41 template class PerturbationDerivative<3>;
42 }
43}
Evaluate derivative of H w/ respect to perturbation parameter lambda.
PerturbationDerivative(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.