[−][src]Struct salva3d::solver::Akinci2013SurfaceTension
Surface tension method introduced by Akinci et al. 2013
This combines both cohesion forces as well as curvature minimization forces. This also includes adhesion forces for fluid/boundary interactions.
Implementations
impl<N: RealField> Akinci2013SurfaceTension<N>
[src]
pub fn new(
fluid_tension_coefficient: N,
boundary_adhesion_coefficient: N
) -> Self
[src]
fluid_tension_coefficient: N,
boundary_adhesion_coefficient: N
) -> Self
Initializes a surface tension with the given surface tension coefficient and boundary adhesion coefficients.
Both those coefficients are typically in [0.0, 1.0].
Trait Implementations
impl<N: Clone + RealField> Clone for Akinci2013SurfaceTension<N>
[src]
fn clone(&self) -> Akinci2013SurfaceTension<N>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<N: RealField> NonPressureForce<N> for Akinci2013SurfaceTension<N>
[src]
fn solve(
&mut self,
_timestep: &TimestepManager<N>,
kernel_radius: N,
fluid_fluid_contacts: &ParticlesContacts<N>,
fluid_boundaries_contacts: &ParticlesContacts<N>,
fluid: &mut Fluid<N>,
boundaries: &[Boundary<N>],
densities: &[N]
)
[src]
&mut self,
_timestep: &TimestepManager<N>,
kernel_radius: N,
fluid_fluid_contacts: &ParticlesContacts<N>,
fluid_boundaries_contacts: &ParticlesContacts<N>,
fluid: &mut Fluid<N>,
boundaries: &[Boundary<N>],
densities: &[N]
)
fn apply_permutation(&mut self, _: &[usize])
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for Akinci2013SurfaceTension<N> where
N: RefUnwindSafe + Scalar,
N: RefUnwindSafe + Scalar,
impl<N> Send for Akinci2013SurfaceTension<N> where
N: Scalar,
N: Scalar,
impl<N> Sync for Akinci2013SurfaceTension<N> where
N: Scalar,
N: Scalar,
impl<N> Unpin for Akinci2013SurfaceTension<N> where
N: Scalar + Unpin,
N: Scalar + Unpin,
impl<N> UnwindSafe for Akinci2013SurfaceTension<N> where
N: Scalar + UnwindSafe,
N: Scalar + 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,
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>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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.
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.
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>,