First time here? Checkout the FAQ!
x
0 votes
by (230 points)
Hello, I was reading the section "savestate" of the openCARP manual (page 110) and in the description of the parameter "num_tsav" there are to required parameters: "tsav" and "tsav_ext" but there are not defined anywhere in the manual.

1 Answer

+2 votes
by (19.1k points)
selected by
 
Best answer

Unfortunately, nested parameters are currently not all listed in the auto-generated manual. You can get the documentation on these parameters by directly querying openCARP

openCARP +Help tsav

tsav[ ]:

Defines the times at which to save the simulation state.

Multiple saves for different times can be defined by adding the times to this array.

type: Double[num_tsav]

default:(Double)(tend-dt/1000.)

min: (Double)(0.)

max: (Double)(num_tsav>1?tend:1.0e50)

units: ms

Depends on: {

dt

tend

num_tsav

}

Changes the default value of: {

tsav_ext

}

openCARP +Help tsav_ext

tsav_ext[ ]:

Defines the filename for each saved state file. For multiple save states of the simulation, add the names for all savetimes in respective order to this array.

type: WFile[num_tsav]

default:(WFile)(opencarp::stringify(tsav[PrMelem1]))

Depends on: {

tsav

num_tsav

}

Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...