cb-geo / mpm

CB-Geo High-Performance Material Point Method
https://www.cb-geo.com/research/mpm
Other
238 stars 82 forks source link

[Hotfix] Assign material state variables #678

Closed bodhinandach closed 3 years ago

bodhinandach commented 3 years ago

Describe the PR A fast PR to fix a possible bug with material and material_id phase in function assign_material_state_vars.

Related Issues/PRs It was missing from my previous PR #675. Sorry!

Additional context Actually the function assign_material_state_vars is never been called in the solver, but maybe needed for cloning particle process.

codecov[bot] commented 3 years ago

Codecov Report

Merging #678 into develop will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #678   +/-   ##
========================================
  Coverage    96.66%   96.66%           
========================================
  Files          123      123           
  Lines        25375    25375           
========================================
  Hits         24527    24527           
  Misses         848      848           
Impacted Files Coverage Δ
include/particles/particle.tcc 94.13% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 35a3f4d...b0763ac. Read the comment docs.