From: Wolfgang Bangerth Date: Wed, 18 Dec 2024 22:27:24 +0000 (-0700) Subject: Add explanatory comment to step-71. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=314a1d49f0409dd74ca08b6c0737a0b87ee06327;p=dealii.git Add explanatory comment to step-71. --- diff --git a/examples/step-71/step-71.cc b/examples/step-71/step-71.cc index 08e1514014..2a34e2db9f 100644 --- a/examples/step-71/step-71.cc +++ b/examples/step-71/step-71.cc @@ -1205,8 +1205,8 @@ namespace Step71 const ConstitutiveParameters &constitutive_parameters) : Coupled_Magnetomechanical_Constitutive_Law_Base( constitutive_parameters) - , H_components(0) - , C_components(Tensor<1, dim>::n_independent_components) + , H_components(0) // 'dim' components starting at vector component 0 + , C_components(dim) // Starting after the 'dim' components of H_components , ad_helper(Tensor<1, dim>::n_independent_components + SymmetricTensor<2, dim>::n_independent_components) , psi(0.0)