odin_dust: Create a dust odin model

Description Usage Arguments Details

View source: R/odin_dust.R

Description

Compile an odin model to work with dust.

Usage

1
2
3

Arguments

x

Either the name of a file to read, a text string (if length is greater than 1 elements will be joined with newlines) or an expression.

...

Arguments passed to odin_dust_options, including real_type, gpu, verbose, workdir, no_check_unused_equations and rewrite_dims.

options

An odin::odin_options or odin_dust_options object. If given it overrides arguments; if it is already a odin_dust_options object it is returned unmodified. Otherwise it is passed through to odin::odin_options where it will override arguments in ... but respond to the odin_dust specific options (real_type, etc)

Details

Note that this does not (yet) support the full odin output object, instead creating the more limited dust interface. However, for many uses this should be considerably faster than the interface that odin normally uses (built on dde).


mrc-ide/odin.dust documentation built on Nov. 27, 2021, 11:48 a.m.