PSCF v1.4.0
ScftThermo.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 "ScftThermo.h" // class header
9#include <rpg/solvers/Mixture.h>
10#include <rpg/solvers/Polymer.h>
11#include <rpg/solvers/Solvent.h>
12#include <rpg/field/Domain.h>
13#include <rpg/field/CFields.h>
14#include <rpg/field/WFields.h>
15#include <rpg/field/Mask.h>
16#include <pscf/interaction/Interaction.h>
17#include <pscf/cuda/Reduce.h>
18
19#include <rp/scft/ScftThermo.tpp> // base class implementation
20
21namespace Pscf {
22 namespace Rpg {
23
24 /*
25 * Constructor.
26 */
27 template <int D>
29 : Rp::ScftThermo<D, Types<D> >(system)
30 {};
31
32 }
33}
34
35// Explicit instantiation definitions
36namespace Pscf {
37 namespace Rp {
38 template class ScftThermo<1, Rpg::Types<1> >;
39 template class ScftThermo<2, Rpg::Types<2> >;
40 template class ScftThermo<3, Rpg::Types<3> >;
41 }
42 namespace Rpg {
43 template class ScftThermo<1>;
44 template class ScftThermo<2>;
45 template class ScftThermo<3>;
46 }
47}
Computes SCFT free energies.
ScftThermo(System< D > const &system)
Constructor.
Definition ScftThermo.cu:28
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.