Skip to content

Commit

Permalink
Change default number of particles
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Oct 2, 2024
1 parent 76f45d6 commit e4f1450
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions R/interface.R
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ dust_system_generator <- function(name, time_type, default_dt,
##' system. If `n_groups` is 1 or more, then this must be a list of length
##' `n_groups` where each element is a list of parameters for your system.
##'
##' @param n_particles The number of particles to create.
##' @param n_particles The number of particles to create, defaulting
##' to a single particle
##'
##' @param n_groups Optionally, the number of parameter groups
##'
Expand Down Expand Up @@ -141,7 +142,7 @@ dust_system_generator <- function(name, time_type, default_dt,
##' @return A `dust_system` object, with opaque format.
##'
##' @export
dust_system_create <- function(generator, pars, n_particles, n_groups = 1,
dust_system_create <- function(generator, pars, n_particles = 1, n_groups = 1,
time = 0, dt = NULL, ode_control = NULL,
seed = NULL, deterministic = FALSE,
n_threads = 1,
Expand Down
5 changes: 3 additions & 2 deletions man/dust_system_create.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e4f1450

Please sign in to comment.