1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use crate::dynamics::models::{
DruckerPragerPlasticity, NaccPlasticity, RankinePlasticity, SnowPlasticity,
};
#[cfg_attr(feature = "cuda", derive(cust_core::DeviceCopy))]
#[cfg_attr(feature = "serde-serialize", derive(Serialize, Deserialize))]
#[derive(Copy, Clone, Debug)]
#[repr(C)]
pub enum CorePlasticModel {
DruckerPrager(DruckerPragerPlasticity),
Nacc(NaccPlasticity),
Rankine(RankinePlasticity),
Snow(SnowPlasticity),
Custom(u32),
}