Skip to content

Commit

Permalink
Rename old reconstruction module
Browse files Browse the repository at this point in the history
  • Loading branch information
w1th0utnam3 committed Jul 5, 2023
1 parent 8859abb commit def7684
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions splashsurf_lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub mod marching_cubes;
pub mod mesh;
pub mod neighborhood_search;
pub mod octree;
mod reconstruction;
mod reconstruction_octree;
pub mod sph_interpolation;
pub mod topology;
mod traits;
Expand Down Expand Up @@ -357,13 +357,17 @@ pub fn reconstruct_surface_inplace<'a, I: Index, R: Real>(
output_surface.grid.log_grid_info();

if parameters.spatial_decomposition.is_some() {
reconstruction::reconstruct_surface_domain_decomposition(
reconstruction_octree::reconstruct_surface_domain_decomposition(
particle_positions,
parameters,
output_surface,
)?;
} else {
reconstruction::reconstruct_surface_global(particle_positions, parameters, output_surface)?;
reconstruction_octree::reconstruct_surface_global(
particle_positions,
parameters,
output_surface,
)?;
}

Ok(())
Expand Down
File renamed without changes.

0 comments on commit def7684

Please sign in to comment.