set_one_solver_setting: Set one specific aspect of the solver settings

View source: R/core_dm.R

set_one_solver_settingR 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


dRiftDM documentation built on April 3, 2025, 7:48 p.m.