1#ifndef RPG_LINEAR_RAMP_H
2#define RPG_LINEAR_RAMP_H
4#include <rpg/fts/ramp/Ramp.h>
5#include <rpg/fts/ramp/RampParameter.h>
6#include <util/containers/DArray.h>
13 template <
int D>
class Simulator;
51 virtual void setup(
int nStep);
82 #ifndef RPG_LINEAR_RAMP_TPP
Linear ramp - parameters vary linearly with step index.
LinearRamp(Simulator< D > &simulator)
Constructor.
virtual void setParameters(int iStep)
Set new parameters values in associated System and Simulator.
virtual ~LinearRamp()
Destructor.
virtual void output()
Output initial and final parameter values of linear ramp at the end of the simulation.
virtual void setup(int nStep)
Set nStep and complete initialization.
virtual void readParameters(std::istream &in)
Read parameters from parameter file input stream.
Class that varies parameters during a simulation (abstract).
Simulator< D > const & simulator() const
Get parent Simulator<D> by const reference.
int nStep_
Number of steps planned for this simulation (set in setup).
Field theoretic simulator (base class).
Dynamically allocatable contiguous array template.
PSCF package top-level namespace.
Utility classes for scientific computation.