Skip to content

Commit 687a1c4

Browse files
committed
Update some log messages
1 parent 0d5e63e commit 687a1c4

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

splashsurf_lib/src/dense_subdomains.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,18 +152,18 @@ pub(crate) fn initialize_parameters<I: Index, R: Real>(
152152
- vol_subdomain;
153153

154154
info!(
155-
"The ghost margin volume is {:.2}% of the subdomain volume",
155+
"The ghost margin volume per subdomain is {:.2}% of the subdomain volume",
156156
(to_real!(vol_margin) / to_real!(vol_subdomain)) * to_real!(100.0)
157157
);
158158
info!(
159-
"The ghost margin is {:.2} MC cells or {:.2} subdomains thick",
159+
"The ghost margin per subdomain is {:.2} MC cells or {:.2} subdomains wide",
160160
ghost_particle_margin / cube_size,
161161
ghost_particle_margin / (cube_size * subdomain_cubes.to_real_unchecked())
162162
);
163163

164164
if ghost_margin_cubes > subdomain_cubes / to_index!(2) {
165165
panic!(
166-
"The ghost margin is {ghost_margin_cubes} cubes thick (rounded up), while the subdomain only has an extent of {subdomain_cubes} cubes. The subdomain has to have at least twice the number of cubes ({})!",
166+
"The ghost margin is {ghost_margin_cubes} cubes wide (rounded up), while the subdomain only has an extent of {subdomain_cubes} cubes. The subdomain has to have at least twice the number of cubes ({})!",
167167
ghost_margin_cubes.times(2)
168168
);
169169
}
@@ -1351,7 +1351,7 @@ pub(crate) fn stitching<I: Index, R: Real>(
13511351
surface_patches: Vec<SurfacePatch<I, R>>,
13521352
) -> TriMesh3d<R> {
13531353
profile!("stitching");
1354-
info!("Starting stitching of subdomains to global mesh.");
1354+
info!("Starting stitching of subdomain meshes to global mesh.");
13551355

13561356
// Calculate offsets of interior vertices and triangles
13571357
let vert_and_tri_offsets = {

splashsurf_lib/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,9 @@ pub fn grid_for_reconstruction<I: Index, R: Real>(
418418
};
419419

420420
info!(
421-
"Minimal enclosing bounding box of particles was computed as: {:?}",
422-
particle_aabb
421+
"Bounding box of particles with margin for levelset evaluation: {:?} to {:?}",
422+
particle_aabb.min().as_slice(),
423+
particle_aabb.max().as_slice()
423424
);
424425

425426
particle_aabb

0 commit comments

Comments
 (0)