From c0b4cb84e36bb86bab51a12736a33117daad1c9e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 6 Oct 2010 09:56:51 -0400 Subject: Make {A,B}Coefficients types protected. --- src/vZ/simple.hpp | 7 ++++--- 1 file 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 class GenericSimpleIntegrator : public GenericIntegrator { - public: - typedef typename GenericIntegrator::Function Function; - + protected: // Coefficients in the tableau representation of the RK algorithm typedef std::vector > ACoefficients; typedef std::vector BCoefficients; + public: + typedef typename GenericIntegrator::Function Function; + GenericSimpleIntegrator(Function f, T dt, ACoefficients a, BCoefficients b) : GenericIntegrator(f, dt), m_a(a), m_b(b) { } -- cgit v1.2.3