From 650153703f0fd8438aaf2a3b6ceaf5df54b2d963 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Mon, 7 Jul 2014 13:51:39 +0200 Subject: [PATCH] [Cleanup] Drop "Type" from template --- src/timestepping/backward_euler.cc | 4 ++-- src/timestepping/newmark.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/timestepping/backward_euler.cc b/src/timestepping/backward_euler.cc index 442897bd..5a74cf8a 100644 --- a/src/timestepping/backward_euler.cc +++ b/src/timestepping/backward_euler.cc @@ -143,8 +143,8 @@ void BackwardEuler<Vector, Matrix, Function, dim>::extractRelativeVelocity( velocity = vr; } -template <class Vector, class MatrixType, class FunctionType, size_t dim> -void BackwardEuler<Vector, MatrixType, FunctionType, dim>::extractOldVelocity( +template <class Vector, class Matrix, class Function, size_t dim> +void BackwardEuler<Vector, Matrix, Function, dim>::extractOldVelocity( Vector &velocity) const { velocity = v_o; } diff --git a/src/timestepping/newmark.cc b/src/timestepping/newmark.cc index 5ec3c8a0..b40b3a51 100644 --- a/src/timestepping/newmark.cc +++ b/src/timestepping/newmark.cc @@ -162,8 +162,8 @@ void Newmark<Vector, Matrix, Function, dim>::extractRelativeVelocity( velocity = vr; } -template <class Vector, class MatrixType, class FunctionType, size_t dim> -void Newmark<Vector, MatrixType, FunctionType, dim>::extractOldVelocity( +template <class Vector, class Matrix, class Function, size_t dim> +void Newmark<Vector, Matrix, Function, dim>::extractOldVelocity( Vector &velocity) const { velocity = v_o; } -- GitLab