diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc index 6ed4fdd6acdc3bc7d01040b0fac2e70abe4e9db8..81e957d98b2242c1fd410497f2289497e71c0702 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 faf7a2f84c58cd348222906025e52eafb270ad76..1a2db4610a06624829e03bbb1cec19ced47b7a2c 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