summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-10-06 09:56:51 -0400
committerTavian Barnes <tavianator@gmail.com>2010-10-06 09:56:51 -0400
commitc0b4cb84e36bb86bab51a12736a33117daad1c9e (patch)
treec859d7171b7bdd60819365516402fb9405decdd7 /src
parentb9afb13de34b495956d5b0cee712e949052bfba8 (diff)
downloadvz-c0b4cb84e36bb86bab51a12736a33117daad1c9e.tar.xz
Make {A,B}Coefficients types protected.
Diffstat (limited to 'src')
-rw-r--r--src/vZ/simple.hpp7
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) { }