From: wolf Date: Wed, 2 Feb 2000 15:05:12 +0000 (+0000) Subject: Credit authorship for the MT work. Small clean-ups. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24b73a7b34d9bb3102dafb89a563b950facaaf02;p=dealii-svn.git Credit authorship for the MT work. Small clean-ups. git-svn-id: https://svn.dealii.org/trunk@2331 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/numerics/error_estimator.h b/deal.II/deal.II/include/numerics/error_estimator.h index 8eeb90c952..36320b3b7a 100644 --- a/deal.II/deal.II/include/numerics/error_estimator.h +++ b/deal.II/deal.II/include/numerics/error_estimator.h @@ -181,10 +181,11 @@ * a face was refined or not. The same applies for boundary faces, see * above. * - * @author Wolfgang Bangerth, 1998 + * @author Wolfgang Bangerth, 1998, 1999; parallelization by Thomas Richter, 2000 */ template -class KellyErrorEstimator { +class KellyErrorEstimator +{ public: /** @@ -237,16 +238,15 @@ class KellyErrorEstimator { * bit-vector. * * The estimator supports - * multithreading and splits - * the cells to 4 (default) + * multithreading and splits the + * cells to #N_THREADS# (default) * threads. The number of threads * to be used in multithreaded - * mode can be set with the - * last parameter of the - * error estimator. - * Multithreading is only - * implemented in two and three - * dimensions. + * mode can be set with the last + * parameter of the error + * estimator. Multithreading is + * only implemented in two and + * three dimensions. */ static void estimate (const DoFHandler &dof, @@ -330,6 +330,7 @@ class KellyErrorEstimator { * of multithreading */ vector< vector > > phi; + /** * A vector for the gradients of * the finite element function @@ -343,10 +344,12 @@ class KellyErrorEstimator { * quadrature point. */ vector< vector > > > psi; + /** * The same vector for a neighbor cell */ vector< vector > > > neighbor_psi; + /** * The normal vectors of the finite * element function on one face @@ -367,9 +370,9 @@ class KellyErrorEstimator { const Quadrature &quadrature, const FunctionMap &neumann_bc, const Vector &solution, - vector component_mask_, + vector component_mask_, const Function *coefficients, - unsigned int n_threads); + unsigned int n_threads); }; @@ -387,7 +390,8 @@ class KellyErrorEstimator { * The Errorestimator in one dimension * is implemented seperatly. */ - static void * estimate_some(Data &data, unsigned int this_thread); + static void * estimate_some (Data &data, + const unsigned int this_thread); /** * Actually do the computation on a face @@ -409,12 +413,12 @@ class KellyErrorEstimator { */ - static void integrate_over_regular_face (Data &data, - int this_thread, + static void integrate_over_regular_face (Data &data, + const unsigned int this_thread, const active_cell_iterator &cell, - const unsigned int face_no, - FEFaceValues &fe_face_values_cell, - FEFaceValues &fe_face_values_neighbor); + const unsigned int face_no, + FEFaceValues &fe_face_values_cell, + FEFaceValues &fe_face_values_neighbor); /** @@ -425,12 +429,12 @@ class KellyErrorEstimator { * so that the integration is a bit more * complex. */ - static void integrate_over_irregular_face (Data &data, - int this_thread, + static void integrate_over_irregular_face (Data &data, + const unsigned int this_thread, const active_cell_iterator &cell, - const unsigned int face_no, - FEFaceValues &fe_face_values, - FESubfaceValues &fe_subface_values); + const unsigned int face_no, + FEFaceValues &fe_face_values, + FESubfaceValues &fe_subface_values); };