for (unsigned int i = 0; i < n_dofs; ++i)
for (unsigned int j = 0; j < n_dofs; ++j)
copy_data_face.cell_matrix(i, j) +=
- fe_iv.jump(i, qpoint) // [\phi_i]
+ fe_iv.jump_in_shape_values(i, qpoint) // [\phi_i]
*
fe_iv.shape_value((beta_dot_n > 0), j, qpoint) // phi_j^{upwind}
* beta_dot_n // (\beta . n)
for (unsigned int i = 0; i < n_interface_dofs; ++i)
{
const double av_hessian_i_dot_n_dot_n =
- (fe_interface_values.average_hessian(i, qpoint) * n * n);
+ (fe_interface_values.average_of_shape_hessians(i, qpoint) * n *
+ n);
const double jump_grad_i_dot_n =
- (fe_interface_values.jump_gradient(i, qpoint) * n);
+ (fe_interface_values.jump_in_shape_gradients(i, qpoint) * n);
for (unsigned int j = 0; j < n_interface_dofs; ++j)
{
const double av_hessian_j_dot_n_dot_n =
- (fe_interface_values.average_hessian(j, qpoint) * n * n);
+ (fe_interface_values.average_of_shape_hessians(j, qpoint) *
+ n * n);
const double jump_grad_j_dot_n =
- (fe_interface_values.jump_gradient(j, qpoint) * n);
+ (fe_interface_values.jump_in_shape_gradients(j, qpoint) *
+ n);
copy_data_face.cell_matrix(i, j) +=
(-av_hessian_i_dot_n_dot_n // - {grad^2 v n n }
for (unsigned int i = 0; i < n_dofs; ++i)
{
const double av_hessian_i_dot_n_dot_n =
- (fe_interface_values.average_hessian(i, qpoint) * n * n);
+ (fe_interface_values.average_of_shape_hessians(i, qpoint) * n *
+ n);
const double jump_grad_i_dot_n =
- (fe_interface_values.jump_gradient(i, qpoint) * n);
+ (fe_interface_values.jump_in_shape_gradients(i, qpoint) * n);
for (unsigned int j = 0; j < n_dofs; ++j)
{
const double av_hessian_j_dot_n_dot_n =
- (fe_interface_values.average_hessian(j, qpoint) * n * n);
+ (fe_interface_values.average_of_shape_hessians(j, qpoint) *
+ n * n);
const double jump_grad_j_dot_n =
- (fe_interface_values.jump_gradient(j, qpoint) * n);
+ (fe_interface_values.jump_in_shape_gradients(j, qpoint) *
+ n);
copy_data_face.cell_matrix(i, j) +=
(-av_hessian_i_dot_n_dot_n // - {grad^2 v n n}
for (unsigned int i = 0; i < n_dofs_face; ++i)
for (unsigned int j = 0; j < n_dofs_face; ++j)
copy_data_face.cell_matrix(i, j) +=
- (-diffusion_coefficient * // - nu
- fe_iv.jump(i, point) * // [v_h]
- (fe_iv.average_gradient(j, point) * // ({grad u_h} .
- normals[point]) // n)
-
- - diffusion_coefficient * // - nu
- (fe_iv.average_gradient(i, point) * // (grad v_h .
- normals[point]) * // n)
- fe_iv.jump(j, point) // [u_h]
-
- + diffusion_coefficient * penalty * // + nu sigma
- fe_iv.jump(i, point) * // [v_h]
- fe_iv.jump(j, point) // [u_h]
+ (-diffusion_coefficient * // - nu
+ fe_iv.jump_in_shape_values(i, point) * // [v_h]
+ (fe_iv.average_of_shape_gradients(j, //
+ point) * // ({grad u_h} .
+ normals[point]) // n)
+
+ -
+ diffusion_coefficient * // - nu
+ (fe_iv.average_of_shape_gradients(i, point) * // (grad v_h .
+ normals[point]) * // n)
+ fe_iv.jump_in_shape_values(j, point) // [u_h]
+
+ + diffusion_coefficient * penalty * // + nu sigma
+ fe_iv.jump_in_shape_values(i, point) * // [v_h]
+ fe_iv.jump_in_shape_values(j, point) // [u_h]
) *
JxW[point]; // dx