PSCF v1.5.0
Ramp.tpp
1#ifndef RP_RAMP_TPP
2#define RP_RAMP_TPP
3
4#include "Ramp.h"
5
6#include <rp/fts/simulator/Simulator.h>
7#include <util/containers/DArray.h>
8#include <util/global.h>
9
10namespace Pscf {
11namespace Rp {
12
13 using namespace Util;
14
15 /*
16 * Constructor.
17 */
18 template <int D, class T>
23
24 /*
25 * Setup before simulation - sets the nStep member variable.
26 */
27 template <int D, class T>
28 void Ramp<D,T>::setup(int nStep)
29 { nStep_ = nStep; }
30
31}
32}
33#endif
Simulator< D, T > const & simulator() const
Get parent Simulator<D,T> by const reference.
Definition Ramp.h:107
Ramp(Simulator< D, T > &simulator)
Constructor.
Definition Ramp.tpp:19
int nStep_
Number of steps planned for this simulation (set in setup).
Definition Ramp.h:94
virtual void setup(int nStep)
Final setup before simulation loop, set value of nStep.
Definition Ramp.tpp:28
Base class for field theoretic PS-FTS simulator.
Definition Simulator.h:93
ParamComposite()
Constructor.
File containing preprocessor macros for error handling.
Code for programs that simulate real-valued periodic fields.
Definition param_pc.dox:2
PSCF package top-level namespace.