diff options
-rw-r--r-- | src/vZ/simple.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vZ/simple.hpp b/src/vZ/simple.hpp index 3b02472..706b52c 100644 --- a/src/vZ/simple.hpp +++ b/src/vZ/simple.hpp @@ -29,13 +29,14 @@ namespace vZ template <typename T> class GenericSimpleIntegrator : public GenericIntegrator<T> { - public: - typedef typename GenericIntegrator<T>::Function Function; - + protected: // Coefficients in the tableau representation of the RK algorithm typedef std::vector<std::vector<T> > ACoefficients; typedef std::vector<T> BCoefficients; + public: + typedef typename GenericIntegrator<T>::Function Function; + GenericSimpleIntegrator(Function f, T dt, ACoefficients a, BCoefficients b) : GenericIntegrator<T>(f, dt), m_a(a), m_b(b) { } |