You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// The smoothing length radius used for the SPH kernel, the kernel compact support radius will be twice the smoothing length (in multiplies of the particle radius)
45
45
#[structopt(long)]
46
46
smoothing_length:f64,
47
-
/// If a particle has no neighbors in this radius (in multiplies of the particle radius) it is considered as a free particle
48
-
#[structopt(long)]
49
-
splash_detection_radius:Option<f64>,
50
-
/// The marching cubes grid size in multiplies of the particle radius
47
+
/// The cube edge length used for marching cubes in multiplies of the particle radius, corresponds to the cell size of the implicit background grid
51
48
#[structopt(long)]
52
49
cube_size:f64,
53
50
/// The iso-surface threshold for the density, i.e. value of the reconstructed density that indicates the fluid surface (in multiplies of the rest density)
@@ -224,9 +221,6 @@ mod arguments {
224
221
225
222
// Scale kernel radius and cube size by particle radius
226
223
let compact_support_radius = args.particle_radius*2.0* args.smoothing_length;
227
-
let splash_detection_radius = args
228
-
.splash_detection_radius
229
-
.map(|r| args.particle_radius* r);
230
224
let cube_size = args.particle_radius* args.cube_size;
231
225
232
226
let spatial_decomposition = if !args.octree_decomposition.into_bool(){
/// Compact support radius of the kernel, i.e. distance from the particle where kernel reaches zero (in distance units, not relative to particle radius)
172
172
pubcompact_support_radius:R,
173
-
/// Particles without neighbors within the splash detection radius are considered "splash" or "free particles".
174
-
/// They are filtered out and processed separately. Currently they are only skipped during the surface reconstruction.
175
-
pubsplash_detection_radius:Option<R>,
176
173
/// Edge length of the marching cubes implicit background grid (in distance units, not relative to particle radius)
177
174
pubcube_size:R,
178
175
/// Density threshold value to distinguish between the inside (above threshold) and outside (below threshold) of the fluid
0 commit comments