From: Martin Kronbichler Date: Thu, 19 Feb 2015 13:58:11 +0000 (+0100) Subject: Improve documentation X-Git-Tag: v8.3.0-rc1~439^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F575%2Fhead;p=dealii.git Improve documentation --- diff --git a/include/deal.II/lac/solver.h b/include/deal.II/lac/solver.h index 2388cd2aad..f986658876 100644 --- a/include/deal.II/lac/solver.h +++ b/include/deal.II/lac/solver.h @@ -121,21 +121,24 @@ template class Vector; * vectors. * * Finally, the solvers also expect an instantiation of - * GrowingVectorMemory. These instantiations are provided by the + * GrowingVectorMemory@. These instantiations are provided by the * deal.II library for the built-in vector types, but must be explicitly added * for user-provided vector classes. Otherwise, the linker will complain that - * it cannout find the constructors and destructors of GrowingVectorMemory - * that happen in the @p Solver class below. + * it cannot find the constructors and destructors of GrowingVectorMemory that + * happen in the @p Solver class. * * @code - * #include - * * // Definition and implementation of vector class * class UserVector { ... }; * - * // Create explicit instantiation for the vector class - * template class VectorMemory; - * template class GrowingVectorMemory; + * // Create explicit instantiation for the vector class. If your project + * // consists of multiple files, including header files, this instantiation + * // must be put in a .cc file in order to instantiate only + * // once. + * #include + * + * template class VectorMemory; + * template class GrowingVectorMemory; * @endcode * * The preconditioners used must have the same interface as matrices, i.e. in