Skip to content

Commit

Permalink
refactor(prp): factor out routine for particle release (#1907)
Browse files Browse the repository at this point in the history
Some cleanup in the particle release package. More consistent variable names. Factor out routines to calculate release time and release the particle. Also, add a value 0 -> "default" for the DEV_EXIT_SOLVE_METHOD option, and defer the selection of a default root-finding algorithm to the ternary method rather than the PRP package.
  • Loading branch information
wpbonelli authored Jun 27, 2024
1 parent 2a59410 commit 12dea73
Show file tree
Hide file tree
Showing 5 changed files with 275 additions and 228 deletions.
2 changes: 1 addition & 1 deletion doc/mf6io/mf6ivar/dfn/prt-prp.dfn
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type integer
reader urword
optional true
longname exit solve method
description the method for iterative solution of particle exit location and time in the generalized Pollock's method. 1 Brent, 2 Chandrupatla. The default is Brent.
description the method for iterative solution of particle exit location and time in the generalized Pollock's method. 0 default, 1 Brent, 2 Chandrupatla. The default is Brent's method.

block options
name exit_solve_tolerance
Expand Down
Loading

0 comments on commit 12dea73

Please sign in to comment.