Skip to content

Commit

Permalink
Fix bug with thermo-mechanical and rigid particles.
Browse files Browse the repository at this point in the history
  • Loading branch information
adevaucorbeil committed Aug 21, 2024
1 parent bfa8a31 commit 7b5632e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ void Solid::grow(int nparticles)
wf_np.resize(nnodes);
wfd_np.resize(nnodes);

if (mat->cp != 0) {
if (mat->cp != 0 || update->method->temp) {
T.resize(nparticles);
gamma.resize(nparticles);
q.resize(nparticles);
Expand Down

0 comments on commit 7b5632e

Please sign in to comment.