cb-geo / mpm

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

Clone particle material history from a neighbour #564

Closed srhgk2 closed 4 years ago

srhgk2 commented 4 years ago

Describe the feature When adding a new particle, the material history of the new particle is cloned from a given neighbour particle.

kks32 commented 4 years ago

Could we just pass the state_variables_ from the neighbouring particle, instead of the entire HDF5 object?

srhgk2 commented 4 years ago

Is this good? bool mpm::Particle<Tdim>::clone_neighbour_material_state_vars( const mpm::dense_map& state_vars, const std::shared_ptr<mpm::Material<Tdim>>& material)

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.