From: Wolfgang Bangerth Date: Wed, 24 Jul 2024 17:19:31 +0000 (-0600) Subject: Make step-30 easier on the eyes. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17384%2Fhead;p=dealii.git Make step-30 easier on the eyes. --- diff --git a/examples/step-30/step-30.cc b/examples/step-30/step-30.cc index 38215fd19c..39f6b08f4b 100644 --- a/examples/step-30/step-30.cc +++ b/examples/step-30/step-30.cc @@ -339,20 +339,18 @@ namespace Step30 template DGMethod::DGMethod(const bool anisotropic) : mapping() - , // Change here for DG methods of different degrees. - degree(1) + , degree(1) , fe(degree) , dof_handler(triangulation) , anisotropic_threshold_ratio(3.) , anisotropic(anisotropic) - , // As beta is a linear function, we can choose the degree of the // quadrature for which the resulting integration is correct. Thus, we // choose to use degree+1 Gauss points, which enables us to // integrate exactly polynomials of degree 2*degree+1, enough // for all the integrals we will perform in this program. - quadrature(degree + 1) + , quadrature(degree + 1) , face_quadrature(degree + 1) , dg() {}