[−][src]Struct salva3d::solver::Becker2009Elasticity
Elasticity based on the method from Becker et al. 2009.
Implementations
impl<KernelDensity: Kernel, KernelGradient: Kernel> Becker2009Elasticity<KernelDensity, KernelGradient>
[src]
pub fn new(
young_modulus: Real,
poisson_ratio: Real,
nonlinear_strain: bool
) -> Self
[src]
young_modulus: Real,
poisson_ratio: Real,
nonlinear_strain: bool
) -> Self
Initialize elasticity from its young modulus and poisson ration.
If nonlinear_strain
is true
, the nonlinear version of the strain tensor is used.
This allows a more realistic simulation of large deformation. However this is slightly more
computationally intensive.
Trait Implementations
impl<KernelDensity: Kernel, KernelGradient: Kernel> NonPressureForce for Becker2009Elasticity<KernelDensity, KernelGradient>
[src]
fn solve(
&mut self,
_timestep: &TimestepManager,
kernel_radius: Real,
_fluid_fluid_contacts: &ParticlesContacts,
_fluid_boundaries_contacts: &ParticlesContacts,
fluid: &mut Fluid,
_boundaries: &[Boundary],
_densities: &[Real]
)
[src]
&mut self,
_timestep: &TimestepManager,
kernel_radius: Real,
_fluid_fluid_contacts: &ParticlesContacts,
_fluid_boundaries_contacts: &ParticlesContacts,
fluid: &mut Fluid,
_boundaries: &[Boundary],
_densities: &[Real]
)
fn apply_permutation(&mut self, permutation: &[usize])
[src]
Auto Trait Implementations
impl<KernelDensity, KernelGradient> RefUnwindSafe for Becker2009Elasticity<KernelDensity, KernelGradient> where
KernelDensity: RefUnwindSafe,
KernelGradient: RefUnwindSafe,
[src]
KernelDensity: RefUnwindSafe,
KernelGradient: RefUnwindSafe,
impl<KernelDensity, KernelGradient> Send for Becker2009Elasticity<KernelDensity, KernelGradient>
[src]
impl<KernelDensity, KernelGradient> Sync for Becker2009Elasticity<KernelDensity, KernelGradient>
[src]
impl<KernelDensity, KernelGradient> Unpin for Becker2009Elasticity<KernelDensity, KernelGradient> where
KernelDensity: Unpin,
KernelGradient: Unpin,
[src]
KernelDensity: Unpin,
KernelGradient: Unpin,
impl<KernelDensity, KernelGradient> UnwindSafe for Becker2009Elasticity<KernelDensity, KernelGradient> where
KernelDensity: UnwindSafe,
KernelGradient: UnwindSafe,
[src]
KernelDensity: UnwindSafe,
KernelGradient: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,