PSCF v1.4.0
LinearRamp.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 "LinearRamp.h"
9#include <rpc/fts/simulator/Simulator.h>
10#include <rp/fts/ramp/LinearRamp.tpp> // base class implementation
11
12namespace Pscf {
13namespace Rpc {
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, Rpc::Types<1> >;
28 template class LinearRamp<2, Rpc::Types<2> >;
29 template class LinearRamp<3, Rpc::Types<3> >;
30 }
31 namespace Rpc {
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.
Field theoretic simulator (base class).
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.