if (cell_similarity != CellSimilarity::translation)
for (unsigned int point=0; point<n_q_points; ++point)
data.volume_elements[point] = determinant(data.contravariant[point]);
-
}
Assert( !(update_flags & update_cell_normal_vectors ) ||
(cell_normal_vectors.size() == n_q_points),
ExcDimensionMismatch(cell_normal_vectors.size(), n_q_points));
+
if (cell_similarity != CellSimilarity::translation)
for (unsigned int point=0; point<n_q_points; ++point)
{
Assert (jacobians.size() == n_q_points,
ExcDimensionMismatch(jacobians.size(), n_q_points));
if (cell_similarity != CellSimilarity::translation)
- for (unsigned int point=0; point<n_q_points; ++point)
- jacobians[point]
- = data.contravariant[point];
+ for (unsigned int point=0; point<n_q_points; ++point)
+ jacobians[point] = data.contravariant[point];
}
// calculate values of the derivatives of the
// Jacobians. do it here, since we only do it
ExcDimensionMismatch(inverse_jacobians.size(), n_q_points));
if (cell_similarity != CellSimilarity::translation)
for (unsigned int point=0; point<n_q_points; ++point)
- inverse_jacobians[point]
- = transpose(data.covariant[point]);
+ inverse_jacobians[point] = transpose(data.covariant[point]);
}
}