[−][src]Struct splashsurf_lib::Parameters
Parameters for the surface reconstruction
Fields
particle_radius: R
Radius per particle (used to calculate the particle volume)
rest_density: R
Rest density of the fluid
compact_support_radius: R
Compact support radius of the kernel, i.e. distance from the particle where kernel reaches zero (in distance units, not relative to particle radius)
splash_detection_radius: Option<R>
Particles without neighbors within the splash detection radius are considered "splash" or "free particles". They are filtered out and processed separately. Currently they are only skipped during the surface reconstruction.
cube_size: R
Edge length of the marching cubes implicit background grid (in distance units, not relative to particle radius)
iso_surface_threshold: R
Density threshold value to distinguish between the inside (above threshold) and outside (below threshold) of the fluid
domain_aabb: Option<AxisAlignedBoundingBox3d<R>>
Manually restrict the domain to the surface reconstruction. If not provided, the smallest AABB enclosing all particles is computed instead.
enable_multi_threading: bool
Whether to allow multi threading within the surface reconstruction procedure
spatial_decomposition: Option<SpatialDecompositionParameters<R>>
Parameters for the spatial decomposition (octree subdivision) of the particles. If not provided, no octree is generated and a global approach is used instead.
Implementations
impl<R: Real> Parameters<R>
[src]
pub fn try_convert<T: Real>(&self) -> Option<Parameters<T>>
[src]
Trait Implementations
impl<R: Clone + Real> Clone for Parameters<R>
[src]
fn clone(&self) -> Parameters<R>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<R: Debug + Real> Debug for Parameters<R>
[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for Parameters<R> where
R: RefUnwindSafe,
[src]
R: RefUnwindSafe,
impl<R> Send for Parameters<R>
[src]
impl<R> Sync for Parameters<R>
[src]
impl<R> Unpin for Parameters<R> where
R: Unpin,
[src]
R: Unpin,
impl<R> UnwindSafe for Parameters<R> where
R: UnwindSafe,
[src]
R: 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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
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>,