set_one_solver_setting {dRiftDM} | R Documentation |
Set one specific aspect of the solver settings
Description
Internal function to update one aspect of prms_solve
or solver
.
Usage
set_one_solver_setting(drift_dm_obj, name_prm_solve, value_prm_solve)
Arguments
drift_dm_obj |
an object of type drift_dm |
name_prm_solve |
which aspect to address? ("sigma", "t_max", "dx", "dt", "solver") |
value_prm_solve |
either a single numeric or character string |
Details
Ensures that the supplied values are reasonable and that nx
and nt
are
updated. The functions prms_solve<- and
solver<- pass their arguments forward to this function.
Value
the updated un-evaluated (!) drift_dm_obj object
[Package dRiftDM version 0.2.1 Index]