From: bangerth Date: Mon, 15 Dec 2008 15:57:16 +0000 (+0000) Subject: Reindent the whole file. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dfd212d4f6b0bda5b6be0ff670256fc94960f94;p=dealii-svn.git Reindent the whole file. git-svn-id: https://svn.dealii.org/trunk@17952 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/fe/fe_values.h b/deal.II/deal.II/include/fe/fe_values.h index 3d0b08b5e6..a3b8331285 100644 --- a/deal.II/deal.II/include/fe/fe_values.h +++ b/deal.II/deal.II/include/fe/fe_values.h @@ -972,12 +972,12 @@ class FEValuesData */ std::vector > normal_vectors; - /** - * List of outward vectors normal to the cell - * surface (line) at the quadrature points - * for the codimension 1 case, - * when spacedim=3 (=2). - */ + /** + * List of outward vectors normal to the cell + * surface (line) at the quadrature points + * for the codimension 1 case, + * when spacedim=3 (=2). + */ std::vector > cell_normal_vectors; /** @@ -1440,8 +1440,8 @@ class FEValuesBase : protected FEValuesData, */ Tensor<2,spacedim> shape_hessian_component (const unsigned int function_no, - const unsigned int point_no, - const unsigned int component) const; + const unsigned int point_no, + const unsigned int component) const; /** * @deprecated Wrapper for shape_hessian_component() @@ -1719,7 +1719,7 @@ class FEValuesBase : protected FEValuesData, */ template void get_function_gradients (const InputVector &fe_function, - std::vector > &gradients) const; + std::vector > &gradients) const; /** * @deprecated Use @@ -1769,7 +1769,7 @@ class FEValuesBase : protected FEValuesData, */ template void get_function_gradients (const InputVector &fe_function, - std::vector > > &gradients) const; + std::vector > > &gradients) const; /** @@ -2374,11 +2374,12 @@ class FEValuesBase : protected FEValuesData, class TriaCellIterator; /** - * Store the cell selected last time - * the reinit() function was called - * to make access - * to the get_function_* functions - * safer. + * Store the cell selected last time the + * reinit() function was called. This is + * necessary for the + * get_function_* functions as + * well as the functions of same name in + * the extractor classes. */ std::auto_ptr present_cell; @@ -3190,7 +3191,7 @@ namespace FEValuesViews inline typename Scalar::value_type Scalar::value (const unsigned int shape_function, - const unsigned int q_point) const + const unsigned int q_point) const { typedef FEValuesBase FVB; Assert (shape_function < fe_values.fe->dofs_per_cell, @@ -3219,7 +3220,7 @@ namespace FEValuesViews inline typename Scalar::gradient_type Scalar::gradient (const unsigned int shape_function, - const unsigned int q_point) const + const unsigned int q_point) const { typedef FEValuesBase FVB; Assert (shape_function < fe_values.fe->dofs_per_cell, @@ -3246,7 +3247,7 @@ namespace FEValuesViews inline typename Scalar::hessian_type Scalar::hessian (const unsigned int shape_function, - const unsigned int q_point) const + const unsigned int q_point) const { typedef FEValuesBase FVB; Assert (shape_function < fe_values.fe->dofs_per_cell, @@ -3388,7 +3389,7 @@ namespace FEValuesViews inline typename Vector::value_type Vector::value (const unsigned int shape_function, - const unsigned int q_point) const + const unsigned int q_point) const { typedef FEValuesBase FVB; Assert (shape_function < fe_values.fe->dofs_per_cell, @@ -3426,7 +3427,7 @@ namespace FEValuesViews inline typename Vector::gradient_type Vector::gradient (const unsigned int shape_function, - const unsigned int q_point) const + const unsigned int q_point) const { typedef FEValuesBase FVB; Assert (shape_function < fe_values.fe->dofs_per_cell, @@ -3464,7 +3465,7 @@ namespace FEValuesViews inline typename Vector::divergence_type Vector::divergence (const unsigned int shape_function, - const unsigned int q_point) const + const unsigned int q_point) const { // this function works like in // the case above @@ -3500,7 +3501,7 @@ namespace FEValuesViews inline typename Vector::hessian_type Vector::hessian (const unsigned int shape_function, - const unsigned int q_point) const + const unsigned int q_point) const { // this function works like in // the case above @@ -3952,7 +3953,7 @@ template inline double FEValuesBase::shape_value (const unsigned int i, - const unsigned int j) const + const unsigned int j) const { Assert (i < fe->dofs_per_cell, ExcIndexRange (i, 0, fe->dofs_per_cell)); @@ -3984,8 +3985,8 @@ template inline double FEValuesBase::shape_value_component (const unsigned int i, - const unsigned int j, - const unsigned int component) const + const unsigned int j, + const unsigned int component) const { Assert (i < fe->dofs_per_cell, ExcIndexRange (i, 0, fe->dofs_per_cell)); @@ -4048,7 +4049,7 @@ template inline const Tensor<1,spacedim> & FEValuesBase::shape_grad (const unsigned int i, - const unsigned int j) const + const unsigned int j) const { Assert (i < fe->dofs_per_cell, ExcIndexRange (i, 0, fe->dofs_per_cell)); @@ -4084,8 +4085,8 @@ template inline Tensor<1,spacedim> FEValuesBase::shape_grad_component (const unsigned int i, - const unsigned int j, - const unsigned int component) const + const unsigned int j, + const unsigned int component) const { Assert (i < fe->dofs_per_cell, ExcIndexRange (i, 0, fe->dofs_per_cell)); @@ -4148,7 +4149,7 @@ template inline const Tensor<2,spacedim> & FEValuesBase::shape_hessian (const unsigned int i, - const unsigned int j) const + const unsigned int j) const { Assert (i < fe->dofs_per_cell, ExcIndexRange (i, 0, fe->dofs_per_cell)); @@ -4184,7 +4185,7 @@ template inline const Tensor<2,spacedim> & FEValuesBase::shape_2nd_derivative (const unsigned int i, - const unsigned int j) const + const unsigned int j) const { return shape_hessian(i,j); } @@ -4195,8 +4196,8 @@ template inline Tensor<2,spacedim> FEValuesBase::shape_hessian_component (const unsigned int i, - const unsigned int j, - const unsigned int component) const + const unsigned int j, + const unsigned int component) const { Assert (i < fe->dofs_per_cell, ExcIndexRange (i, 0, fe->dofs_per_cell)); @@ -4259,8 +4260,8 @@ template inline Tensor<2,spacedim> FEValuesBase::shape_2nd_derivative_component (const unsigned int i, - const unsigned int j, - const unsigned int component) const + const unsigned int j, + const unsigned int component) const { return shape_hessian_component(i,j,component); } @@ -4420,7 +4421,7 @@ template inline void FEValuesBase::get_function_grads (const InputVector &fe_function, - std::vector > &gradients) const + std::vector > &gradients) const { get_function_gradients(fe_function, gradients); }