cb-geo / mpm

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

Create nodal properties pool in mesh #618

Closed thiagordonho closed 4 years ago

thiagordonho commented 4 years ago

Implement create_nodal_properties function in the Mesh Class. It creates the properties that are necessary for the multimaterial contact algorithm being implemented. The property is created for all nodes considering all materials in the mesh.

The create_nodal_properties() function is called in the mpm_base.tcc file as part of the initialise_mesh() function.

codecov[bot] commented 4 years ago

Codecov Report

Merging #618 into develop will increase coverage by 0.00%. The diff coverage is 98.28%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #618   +/-   ##
========================================
  Coverage    97.00%   97.01%           
========================================
  Files          123      123           
  Lines        25468    25526   +58     
========================================
+ Hits         24705    24762   +57     
- Misses         763      764    +1     
Impacted Files Coverage Δ
include/mesh.h 100.00% <ø> (ø)
include/mesh.tcc 95.83% <90.91%> (-0.06%) :arrow_down:
include/solvers/mpm_explicit.tcc 64.63% <100.00%> (+0.24%) :arrow_up:
tests/mesh_test_2d.cc 98.44% <100.00%> (+0.04%) :arrow_up:
tests/mesh_test_3d.cc 98.67% <100.00%> (+0.05%) :arrow_up:

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 503ae15...1601cfd. Read the comment docs.