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