]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Mark functions defined in the header file as inline.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 4 Apr 2013 00:02:25 +0000 (00:02 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 4 Apr 2013 00:02:25 +0000 (00:02 +0000)
git-svn-id: https://svn.dealii.org/trunk@29172 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/arpack_solver.h

index 75d6888072534840c436ed8f0f584b89acf9a347..d0d1d6666eddb77a424751a7e65d9ddd3f01c915 100644 (file)
@@ -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 <typename VECTOR, typename MATRIX1,
          typename MATRIX2, typename INVERSE>
+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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.