summaryrefslogtreecommitdiffstats
path: root/src/vZ/simple.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vZ/simple.hpp')
-rw-r--r--src/vZ/simple.hpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/vZ/simple.hpp b/src/vZ/simple.hpp
index 65b7560..3b02472 100644
--- a/src/vZ/simple.hpp
+++ b/src/vZ/simple.hpp
@@ -26,23 +26,23 @@
namespace vZ
{
// Base class for non-adaptive RK-style algorithms
- template <typename Real>
- class GenericSimpleIntegrator : public GenericIntegrator<Real>
+ template <typename T>
+ class GenericSimpleIntegrator : public GenericIntegrator<T>
{
public:
- typedef typename GenericIntegrator<Real>::Function Function;
+ typedef typename GenericIntegrator<T>::Function Function;
// Coefficients in the tableau representation of the RK algorithm
- typedef std::vector<std::vector<Real> > ACoefficients;
- typedef std::vector<Real> BCoefficients;
+ typedef std::vector<std::vector<T> > ACoefficients;
+ typedef std::vector<T> BCoefficients;
- GenericSimpleIntegrator(Function f, Real dt,
+ GenericSimpleIntegrator(Function f, T dt,
ACoefficients a, BCoefficients b)
- : GenericIntegrator<Real>(f, dt), m_a(a), m_b(b) { }
+ : GenericIntegrator<T>(f, dt), m_a(a), m_b(b) { }
virtual ~GenericSimpleIntegrator() { }
protected:
- virtual void step(Real& t, Real& dt);
+ virtual void step(T& t, T& dt);
private:
ACoefficients m_a;