From 4892db2a293705f44b8fdfc712010878d062564c Mon Sep 17 00:00:00 2001 From: bangerth Date: Thu, 4 Apr 2013 00:02:25 +0000 Subject: [PATCH] Mark functions defined in the header file as inline. git-svn-id: https://svn.dealii.org/trunk@29172 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/include/deal.II/lac/arpack_solver.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deal.II/include/deal.II/lac/arpack_solver.h b/deal.II/include/deal.II/lac/arpack_solver.h index 75d6888072..d0d1d6666e 100644 --- a/deal.II/include/deal.II/lac/arpack_solver.h +++ b/deal.II/include/deal.II/lac/arpack_solver.h @@ -192,6 +192,8 @@ private: << " Arnoldi vectors."); }; + +inline ArpackSolver::AdditionalData:: AdditionalData (const unsigned int number_of_arnoldi_vectors, const WhichEigenvalues eigenvalue_of_interest) @@ -200,6 +202,8 @@ AdditionalData (const unsigned int number_of_arnoldi_vectors, eigenvalue_of_interest(eigenvalue_of_interest) {} + +inline ArpackSolver::ArpackSolver (SolverControl &control, const AdditionalData &data) : @@ -208,8 +212,10 @@ ArpackSolver::ArpackSolver (SolverControl &control, {} + template +inline void ArpackSolver::solve ( const MATRIX1 &system_matrix, const MATRIX2 &mass_matrix, @@ -495,6 +501,8 @@ void ArpackSolver::solve ( } } + +inline SolverControl &ArpackSolver::control () const { return solver_control; @@ -502,5 +510,6 @@ SolverControl &ArpackSolver::control () const DEAL_II_NAMESPACE_CLOSE + #endif #endif -- 2.39.5