From c778d0029b6f7562d1c821494164f5b0ce02dd3c Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Sun, 10 Feb 2013 20:07:29 +0100 Subject: [PATCH] Whitespace --- src/one-body-sample.cc | 2 ++ src/timestepping.hh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index 6ed4fdd6..81e957d9 100644 --- a/src/one-body-sample.cc +++ b/src/one-body-sample.cc @@ -110,6 +110,7 @@ initTimeStepper(Config::scheme scheme, FunctionType const &dirichletFunction, dirichletFunction); } } + template <class SingletonVectorType, class VectorType> Dune::shared_ptr<StateUpdater<SingletonVectorType, VectorType>> initStateUpdater(Config::state_model model, @@ -126,6 +127,7 @@ initStateUpdater(Config::state_model model, alpha_initial, frictionalNodes, L); } } + template <class FunctionMap> void initPython(FunctionMap &functions) { Python::start(); diff --git a/src/timestepping.hh b/src/timestepping.hh index faf7a2f8..1a2db461 100644 --- a/src/timestepping.hh +++ b/src/timestepping.hh @@ -17,6 +17,7 @@ class TimeSteppingScheme { virtual TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> * clone() = 0; }; + template <class VectorType, class MatrixType, class FunctionType, int dim> class ImplicitEuler : public TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> { @@ -50,6 +51,7 @@ class ImplicitEuler bool postProcessCalled = false; }; + template <class VectorType, class MatrixType, class FunctionType, int dim> class Newmark : public TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> { @@ -87,6 +89,7 @@ class Newmark bool postProcessCalled = false; }; + template <class VectorType, class MatrixType, class FunctionType, int dim> class EulerPair : public TimeSteppingScheme<VectorType, MatrixType, FunctionType, dim> { @@ -121,4 +124,5 @@ class EulerPair bool postProcessCalled = false; }; + #endif -- GitLab