-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re-generate particles in initial adaptive refinement
- Loading branch information
Showing
6 changed files
with
2,243 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Changed: ASPECT now re-generates particles in each adaptive | ||
refinement cycle instead of only once after global refinement. | ||
This means that particle locations during adaptive refinement | ||
are chosen according to the generator instead of randomly. | ||
<br> | ||
(Juliane Dannberg, 2025/01/29) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Like particle_generator_reference_cell.prm but with initial adaptive | ||
# refinement to test correct particle initialization. | ||
# There should be 4 particles per direction within each cell. | ||
|
||
set Dimension = 2 | ||
|
||
include $ASPECT_SOURCE_DIR/tests/particle_generator_reference_cell.prm | ||
|
||
subsection Mesh refinement | ||
set Initial adaptive refinement = 1 | ||
set Strategy = composition gradient | ||
set Initial global refinement = 3 | ||
set Coarsening fraction = 0.6 | ||
set Refinement fraction = 0.15 | ||
set Adapt by fraction of cells = true | ||
end | ||
|
||
subsection Particles | ||
set Load balancing strategy = remove and add particles | ||
set Minimum particles per cell = 16 | ||
end |
Oops, something went wrong.