PSCF v1.4.0
LinearRamp.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 "LinearRamp.h"
9#include <rpg/fts/simulator/Simulator.h>
10#include <rp/fts/ramp/LinearRamp.tpp> // base class implementation
11
12namespace Pscf {
13namespace Rpg {
14
15 // Constructor
16 template <int D>
18 : Rp::LinearRamp<D, Types<D> >(simulator)
19 {}
20
21}
22}
23
24// Explicit instantiation definitions
25namespace Pscf {
26 namespace Rp {
27 template class LinearRamp<1, Rpg::Types<1> >;
28 template class LinearRamp<2, Rpg::Types<2> >;
29 template class LinearRamp<3, Rpg::Types<3> >;
30 }
31 namespace Rpg {
32 template class LinearRamp<1>;
33 template class LinearRamp<2>;
34 template class LinearRamp<3>;
35 }
36}
Ramp that varies parameters linearly with index.
LinearRamp(Simulator< D > &simulator)
Constructor.
Definition LinearRamp.cu:17
Field theoretic simulator (base class).
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.