From: janssen Date: Thu, 24 May 2012 09:09:38 +0000 (+0000) Subject: update flags for higher order ordered X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23bc69a46d248934f5b7c23c486bf7cf0c616f15;p=dealii-svn.git update flags for higher order ordered git-svn-id: https://svn.dealii.org/branches/branch_higher_derivatives@25542 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/include/deal.II/fe/fe_update_flags.h b/deal.II/include/deal.II/fe/fe_update_flags.h index 4537cbd495..f20c662cf2 100644 --- a/deal.II/include/deal.II/fe/fe_update_flags.h +++ b/deal.II/include/deal.II/fe/fe_update_flags.h @@ -112,6 +112,62 @@ enum UpdateFlags * the real cell. */ update_hessians = 0x0004, + //! 3rd derivatives of shape functions + /** + * Compute the 3rd + * derivatives of the shape + * functions in coordinates of + * the real cell. + */ + update_3rd_derivatives = 0x0008, + //! 4th derivatives of shape functions + /** + * Compute the 4th + * derivatives of the shape + * functions in coordinates of + * the real cell. + */ + update_4th_derivatives = 0x0010, + //! 5th derivatives of shape functions + /** + * Compute the 5th + * derivatives of the shape + * functions in coordinates of + * the real cell. + */ + update_5th_derivatives = 0x0020, + //! 6th derivatives of shape functions + /** + * Compute the 6th + * derivatives of the shape + * functions in coordinates of + * the real cell. + */ + update_6th_derivatives = 0x0040, + //! 7th derivatives of shape functions + /** + * Compute the 7th + * derivatives of the shape + * functions in coordinates of + * the real cell. + */ + update_7th_derivatives = 0x0080, + //! 8th derivatives of shape functions + /** + * Compute the 8th + * derivatives of the shape + * functions in coordinates of + * the real cell. + */ + update_8th_derivatives = 0x0100, + //! 9th derivatives of shape functions + /** + * Compute the 9th + * derivatives of the shape + * functions in coordinates of + * the real cell. + */ + update_9th_derivatives = 0x0200, //! Outer normal vector, not normalized /** * Vector product of tangential @@ -122,14 +178,14 @@ enum UpdateFlags * efficient than computing * both. */ - update_boundary_forms = 0x0008, + update_boundary_forms = 0x0400, //! Transformed quadrature points /** * Compute the quadrature * points transformed into real * cell coordinates. */ - update_quadrature_points = 0x0010, + update_quadrature_points = 0x0800, //! Transformed quadrature weights /** * Compute the quadrature @@ -141,7 +197,7 @@ enum UpdateFlags * transformation from * reference to realcell. */ - update_JxW_values = 0x0020, + update_JxW_values = 0x1000, //! Normal vectors /** * Compute the normal vectors, @@ -151,7 +207,7 @@ enum UpdateFlags * any other object will raise * an error. */ - update_normal_vectors = 0x0040, + update_normal_vectors = 0x2000, /** * @deprecated Use #update_normal_vectors */ @@ -167,14 +223,14 @@ enum UpdateFlags * reference cell to the real * cell. */ - update_jacobians = 0x0080, + update_jacobians = 0x4000, //! Gradient of volume element /** * Compute the dervatives of * the Jacobian of the * transformation. */ - update_jacobian_grads = 0x0100, + update_jacobian_grads = 0x8000, //! Volume element /** * Compute the inverse @@ -183,7 +239,7 @@ enum UpdateFlags * reference cell to the real * cell. */ - update_inverse_jacobians = 0x0200, + update_inverse_jacobians = 0x10000, //! Covariant transformation /** * Compute all values the @@ -195,7 +251,7 @@ enum UpdateFlags * simpler than * #update_inverse_jacobians. */ - update_covariant_transformation = 0x0400, + update_covariant_transformation = 0x20000, //! Contravariant transformation /** * Compute all values the @@ -207,14 +263,14 @@ enum UpdateFlags * simpler than * #update_jacobians. */ - update_contravariant_transformation = 0x0800, + update_contravariant_transformation = 0x40000, //! Shape function values of transformation /** * Compute the shape function * values of the transformation * defined by the Mapping. */ - update_transformation_values = 0x1000, + update_transformation_values = 0x80000, //! Shape function gradients of transformation /** * Compute the shape function @@ -222,31 +278,31 @@ enum UpdateFlags * transformation defined by * the Mapping. */ - update_transformation_gradients = 0x2000, + update_transformation_gradients = 0x100000, //! Determinant of the Jacobian /** * Compute the volume element * in each quadrature point. */ - update_volume_elements = 0x4000, + update_volume_elements = 0x200000, /** * Update the location of the * mapped generalized support * points of the element. */ - update_support_points = 0x10000, + update_support_points = 0x400000, /** * Update the Jacobian of the * mapping in generalized * support points. */ - update_support_jacobians = 0x20000, + update_support_jacobians = 0x800000, /** * Update the inverse Jacobian * of the mapping in * generalized support points. */ - update_support_inverse_jacobians = 0x40000, + update_support_inverse_jacobians = 0x1000000, /** * @deprecated Update * quadrature points @@ -263,12 +319,7 @@ enum UpdateFlags * needed for Piola transform * of Hdiv elements. */ - update_piola = update_volume_elements | update_contravariant_transformation, - - update_3rd_derivatives = 0x80000, - update_4th_derivatives = 0x100000, - update_5th_derivatives = 0x200000, - update_6th_derivatives = 0x400000 + update_piola = update_volume_elements | update_contravariant_transformation }; UpdateFlags update_nth_derivatives (const unsigned int nth_derivative);