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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17-4Lines changed: 17 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,25 @@
1
1
## Master
2
2
3
-
- Lib: Implemented an own `profile!` macro that also works in multi-threaded code, i.e. with together with `rayon`
4
-
- CLI: The CLI now also prints detailed profiling/timing output when running in parallel with domain decomposition thanks to the new `profile` macro
5
-
6
3
### Short-term goals
7
-
- Investigate and fix artifacts with domain decomposition in large, flat surfaces
8
4
- Implement export of surface normals via the CLI
9
5
6
+
## Version 0.6.0
7
+
8
+
This release fixes a couple of bugs that may lead to inconsistent surface reconstructions when using domain decomposition (i.e. reconstructions with artificial bumps exactly at the subdomain boundaries, especially on flat surfaces). Currently there are no other known bugs and the domain decomposed approach appears to be really fast and robust.
9
+
10
+
In addition the CLI now reports more detailed timing statistics for multi-threaded reconstructions.
11
+
12
+
Otherwise this release contains just some small changes to command line parameters.
13
+
14
+
- Lib: Add a `ParticleDensityComputationStrategy` enum to the `SpatialDecompositionParameters` struct. In order for domain decomposition to work consistently, the per particle densities have to be evaluated to a consistent value between domains. This is especially important for the ghost particles. Previously, this resulted inconsistent density values on boundaries if the ghost particle margin was not at least 2x the compact support radius (as this ensures that the inner ghost particles actually have the correct density). This option is now still available as the `IndependentSubdomains` strategy. The preferred way, that avoids the 2x ghost particle margin is the `SynchronizeSubdomains` where the density values of the particles in the subdomains are first collected into a global storage. This can be faster as the previous method as this avoids having to collect a double-width ghost particle layer. In addition there is the "playing it safe" option, the `Global` strategy, where the particle densities are computed in a completely global step before any domain decomposition. This approach however is *really* slow for large quantities of particles. For more information, read the documentation on the `ParticleDensityComputationStrategy` enum.
15
+
- Lib: Fix bug where the workspace storage was not cleared correctly leading to inconsistent results depending on the sequence of processed subdomains
16
+
- Lib: Fix bug in the octree splitting where ghost particles of a parent node were actually classified as non-ghost particles in the child node, leading to many subsequent splits
17
+
- Lib: Change AABB's `contains_point` method such that it now considers the AABB as "open" to its max value, i.e. it checks if the point is in the half-open set `[min, max[`
18
+
- Lib: Implemented an own `profile!` macro that also works in multi-threaded code, i.e. with together with `rayon`
19
+
- CLI: The CLI now also prints detailed profiling/timing output when running in parallel with domain decomposition thanks to the new `profile` macro
20
+
- CLI: Add `--domain-min` and `--domain-max` flags to the `convert` subcommand that allows to filter out particles
21
+
- CLI: Remove the `--splash-detection-radius` flag as it did not work for a couple of releases
22
+
10
23
## Version 0.5.1
11
24
12
25
- Lib: Fixed bug in triangulation that resulted in at most 4 out 5 possible triangles being emitted. This resulted in holes in surface meshes in some cases.
/// The cube edge length used for marching cubes in multiplies of the particle radius, corresponds to the cell size of the implicit background grid
48
48
#[structopt(long)]
49
49
cube_size:f64,
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)
50
+
/// The iso-surface threshold for the density, i.e. the normalized value of the reconstructed density level that indicates the fluid surface (in multiplies of the rest density)
51
51
#[structopt(long, default_value = "0.6")]
52
52
surface_threshold:f64,
53
53
/// Whether to enable the use of double precision for all computations
/// Whether to enable stitching of the disconnected local meshes when spatial decomposition is enabled (slower, but without stitching meshes will not be closed)
75
+
/// Whether to enable stitching of the disconnected local meshes resulting from the reconstruction when spatial decomposition is enabled (slower, but without stitching meshes will not be closed)
/// The maximum number of particles for leaf nodes of the octree, default is to compute it based on number of threads and particles
78
+
/// The maximum number of particles for leaf nodes of the octree, default is to compute it based on the number of threads and particles
79
79
#[structopt(long)]
80
80
octree_max_particles:Option<usize>,
81
-
/// Safety factor applied to the kernel compact support radius when it's used as a margin to collect ghost particles in the leaf nodes
81
+
/// Safety factor applied to the kernel compact support radius when it's used as a margin to collect ghost particles in the leaf nodes when performing the spatial decomposition
82
82
#[structopt(long)]
83
83
octree_ghost_margin_factor:Option<f64>,
84
84
/// Whether to compute particle densities in a global step before domain decomposition (slower)
0 commit comments