[][src]Struct salva2d::solver::Akinci2013SurfaceTension

pub struct Akinci2013SurfaceTension { /* fields omitted */ }

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 Akinci2013SurfaceTension[src]

pub fn new(
    fluid_tension_coefficient: Real,
    boundary_adhesion_coefficient: Real
) -> Self
[src]

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 Clone for Akinci2013SurfaceTension[src]

impl NonPressureForce for Akinci2013SurfaceTension[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,