From 868e79e256553f94fafa526b7eb4abfed0d49630 Mon Sep 17 00:00:00 2001 From: young Date: Tue, 21 Aug 2012 20:22:04 +0000 Subject: [PATCH] Align comments, add one description comment. git-svn-id: https://svn.dealii.org/trunk@26066 0785d39b-7218-0410-832d-ea1e28bc413d --- .../include/deal.II/numerics/vector_tools.h | 230 +++++++++--------- 1 file changed, 115 insertions(+), 115 deletions(-) diff --git a/deal.II/include/deal.II/numerics/vector_tools.h b/deal.II/include/deal.II/numerics/vector_tools.h index b4697a585d..f950e14db9 100644 --- a/deal.II/include/deal.II/numerics/vector_tools.h +++ b/deal.II/include/deal.II/numerics/vector_tools.h @@ -1917,15 +1917,15 @@ namespace VectorTools * Vector. */ template - void integrate_difference (const Mapping &mapping, - const DoFHandler &dof, - const InVector &fe_function, - const Function &exact_solution, - OutVector &difference, - const Quadrature &q, - const NormType &norm, - const Function *weight=0, - const double exponent = 2.); + void integrate_difference (const Mapping &mapping, + const DoFHandler &dof, + const InVector &fe_function, + const Function &exact_solution, + OutVector &difference, + const Quadrature &q, + const NormType &norm, + const Function *weight = 0, + const double exponent = 2.); /** * Calls the integrate_difference() @@ -1933,41 +1933,44 @@ namespace VectorTools * mapping=MappingQ1@(). */ template - void integrate_difference (const DoFHandler &dof, - const InVector &fe_function, - const Function &exact_solution, - OutVector &difference, - const Quadrature &q, - const NormType &norm, - const Function *weight=0, - const double exponent = 2.); + void integrate_difference (const DoFHandler &dof, + const InVector &fe_function, + const Function &exact_solution, + OutVector &difference, + const Quadrature &q, + const NormType &norm, + const Function *weight = 0, + const double exponent = 2.); + /** + * Same as above for hp. + */ template - void integrate_difference (const hp::MappingCollection &mapping, - const hp::DoFHandler &dof, - const InVector &fe_function, - const Function &exact_solution, - OutVector &difference, - const hp::QCollection &q, - const NormType &norm, - const Function *weight=0, - const double exponent = 2.); - + void integrate_difference (const hp::MappingCollection &mapping, + const hp::DoFHandler &dof, + const InVector &fe_function, + const Function &exact_solution, + OutVector &difference, + const hp::QCollection &q, + const NormType &norm, + const Function *weight = 0, + const double exponent = 2.); + /** * Calls the integrate_difference() * function, see above, with * mapping=MappingQ1@(). */ template - void integrate_difference (const hp::DoFHandler &dof, - const InVector &fe_function, - const Function &exact_solution, - OutVector &difference, - const hp::QCollection &q, - const NormType &norm, - const Function *weight=0, - const double exponent = 2.); - + void integrate_difference (const hp::DoFHandler &dof, + const InVector &fe_function, + const Function &exact_solution, + OutVector &difference, + const hp::QCollection &q, + const NormType &norm, + const Function *weight = 0, + const double exponent = 2.); + /** * Point error evaluation. Find * the first cell containing the @@ -1985,11 +1988,11 @@ namespace VectorTools * point_difference() function. */ template - void point_difference (const DoFHandler& dof, - const InVector& fe_function, - const Function& exact_solution, - Vector& difference, - const Point& point); + void point_difference (const DoFHandler &dof, + const InVector &fe_function, + const Function &exact_solution, + Vector &difference, + const Point &point); /** * Point error evaluation. Find @@ -2009,12 +2012,12 @@ namespace VectorTools * the difference. */ template - void point_difference (const Mapping &mapping, - const DoFHandler& dof, - const InVector& fe_function, - const Function& exact_solution, - Vector& difference, - const Point& point); + void point_difference (const Mapping &mapping, + const DoFHandler &dof, + const InVector &fe_function, + const Function &exact_solution, + Vector &difference, + const Point &point); /** * Evaluate a possibly @@ -2032,23 +2035,21 @@ namespace VectorTools * point_difference() function. */ template - void - point_value (const DoFHandler &dof, - const InVector &fe_function, - const Point &point, - Vector &value); - - /** - * Same as above for hp. - */ - + void + point_value (const DoFHandler &dof, + const InVector &fe_function, + const Point &point, + Vector &value); + + /** + * Same as above for hp. + */ template - void - point_value (const hp::DoFHandler &dof, - const InVector &fe_function, - const Point &point, - Vector &value); - + void + point_value (const hp::DoFHandler &dof, + const InVector &fe_function, + const Point &point, + Vector &value); /** * Evaluate a scalar finite @@ -2069,21 +2070,20 @@ namespace VectorTools * "step-3". */ template - double - point_value (const DoFHandler &dof, - const InVector &fe_function, - const Point &point); - - /** - * Same as above for hp. - */ + double + point_value (const DoFHandler &dof, + const InVector &fe_function, + const Point &point); + /** + * Same as above for hp. + */ template - double - point_value (const hp::DoFHandler &dof, - const InVector &fe_function, - const Point &point); - + double + point_value (const hp::DoFHandler &dof, + const InVector &fe_function, + const Point &point); + /** * Evaluate a possibly * vector-valued finite element @@ -2100,24 +2100,23 @@ namespace VectorTools * mapping to evaluate the difference. */ template - void - point_value (const Mapping &mapping, - const DoFHandler &dof, - const InVector &fe_function, - const Point &point, - Vector &value); - - /** - * Same as above for hp. - */ + void + point_value (const Mapping &mapping, + const DoFHandler &dof, + const InVector &fe_function, + const Point &point, + Vector &value); + /** + * Same as above for hp. + */ template - void - point_value (const hp::MappingCollection &mapping, - const hp::DoFHandler &dof, - const InVector &fe_function, - const Point &point, - Vector &value); + void + point_value (const hp::MappingCollection &mapping, + const hp::DoFHandler &dof, + const InVector &fe_function, + const Point &point, + Vector &value); /** * Evaluate a scalar finite @@ -2133,22 +2132,21 @@ namespace VectorTools * mapping to evaluate the difference. */ template - double - point_value (const Mapping &mapping, - const DoFHandler &dof, - const InVector &fe_function, - const Point &point); - - /** - * Same as above for hp. - */ + double + point_value (const Mapping &mapping, + const DoFHandler &dof, + const InVector &fe_function, + const Point &point); + /** + * Same as above for hp. + */ template - double - point_value (const hp::MappingCollection &mapping, - const hp::DoFHandler &dof, - const InVector &fe_function, - const Point &point); + double + point_value (const hp::MappingCollection &mapping, + const hp::DoFHandler &dof, + const InVector &fe_function, + const Point &point); //@} /** @@ -2270,11 +2268,11 @@ namespace VectorTools * evaluation routine. */ template - double compute_mean_value (const Mapping &mapping, - const DoFHandler &dof, - const Quadrature &quadrature, - const InVector &v, - const unsigned int component); + double compute_mean_value (const Mapping &mapping, + const DoFHandler &dof, + const Quadrature &quadrature, + const InVector &v, + const unsigned int component); /** * Calls the other compute_mean_value() @@ -2282,20 +2280,22 @@ namespace VectorTools * mapping=MappingQ1@(). */ template - double compute_mean_value (const DoFHandler &dof, - const Quadrature &quadrature, - const InVector &v, - const unsigned int component); + double compute_mean_value (const DoFHandler &dof, + const Quadrature &quadrature, + const InVector &v, + const unsigned int component); //@} /** * Exception */ DeclException0 (ExcInvalidBoundaryIndicator); + /** * Exception */ DeclException0 (ExcNonInterpolatingFE); + /** * Exception */ -- 2.39.5