PSCF v1.2
rpg/fts/ramp/Ramp.tpp
1#ifndef RPG_RAMP_TPP
2#define RPG_RAMP_TPP
3
4#include "Ramp.h"
5#include <rpg/fts/simulator/Simulator.h>
6#include <prdc/cuda/RField.h>
7
8#include <util/containers/DArray.h>
9#include <util/global.h>
10
11namespace Pscf {
12namespace Rpg {
13
14 using namespace Util;
15
16 /*
17 * Constructor.
18 */
19 template <int D>
22 simulatorPtr_(&simulator)
23 {}
24
25 /*
26 * Destructor.
27 */
28 template <int D>
31
32 /*
33 * Setup before simulation - sets the nStep member variable.
34 */
35 template <int D>
36 void Ramp<D>::setup(int nStep)
37 { nStep_ = nStep; }
38
39}
40}
41#endif
virtual void setup(int nStep)
Final setup before simulation loop, set value of nStep.
Ramp(Simulator< D > &simulator)
Constructor.
virtual ~Ramp()
Destructor.
Field theoretic simulator (base class).
Definition rpg/System.h:41
An object that can read multiple parameters from file.
File containing preprocessor macros for error handling.
PSCF package top-level namespace.
Definition param_pc.dox:1
Utility classes for scientific computation.