Skip to contents

tag: convergence_criterion

Usage

prj_convergence_criterion(
  type,
  norm_type,
  abstol = NULL,
  reltol = NULL,
  abstols = NULL,
  reltols = NULL
)

Arguments

type

string: Type

norm_type

string: ...

abstol

string | double: Absolute tolerance

reltol

string | double: Relative tolerance

abstols

string | numeric: Absolute tolerances

reltols

string | numeric: Relative tolerances

Examples

prj_convergence_criterion(
    type = "DeltaX",
    norm_type = "INFINITY_N",
    abstol = 1e-08,
    reltol = 1e-10
)
#> $type
#> [1] "DeltaX"
#> 
#> $norm_type
#> [1] "INFINITY_N"
#> 
#> $abstol
#> [1] 1e-08
#> 
#> $reltol
#> [1] 1e-10
#> 
#> $abstols
#> NULL
#> 
#> $reltols
#> NULL
#> 
#> $xpath
#> [1] "time_loop/processes/process/convergence_criterion"                           
#> [2] "time_loop/global_process_coupling/convergence_criteria/convergence_criterion"
#> 
#> $attr_names
#> character(0)
#> 
#> $flatten_on_exp
#> [1] "abstols" "reltols"
#> 
#> attr(,"class")
#> [1] "prj_convergence_criterion"