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