From 314a1d49f0409dd74ca08b6c0737a0b87ee06327 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 18 Dec 2024 15:27:24 -0700 Subject: [PATCH] Add explanatory comment to step-71. --- examples/step-71/step-71.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5