set

set (parameter, newValue)
Sets the default value of a node parameter or a global variable to a different value. Nodes with default parameter are affected even if the set command is issued after node creation.

Example (node parameter)

import conedy as co

co.set("lorenz_r", 29.0)

Global variables

If no type is given for some variable, it is of Conedy’s floating point baseType, which can be set at compile time and defaults to double.

samplingTime

Controls the interval in which registered observables are sampled (see Evolving).

edgeVerbosity (integer)

Controls the amount of information that is printed about edges by printNodeStatistics

nodeVerbosity (integer)

Controls the amount of information that is printed about nodes by printNodeStatistics

progressVerbosity

Every time \text{[Conedy’s time]} / \texttt{samplingTime} is a multiple of progressVerbosity, Conedy prints its time to stdout. If progressVerbosity is set to 0.0, Conedy does not report its progress.

inputCompress (boolean)

If True, streamInNodes (which read and offer data from files) will expect Gzip-compressed files.

outputAppend (boolean)

If True output routines will append data to existing files instead of overwriting them.

outputCompress (boolean)

If True, all generated files are compressed using Gzip.

outputPrecision (integer)

Sets the number of digits which are written by output routines.

outputBinary (boolean)

If True, data is written as 64-bit doubles in binary form without seperation for different time steps. streamOutNode_compress, streamOutNode_precision and streamOutNode_append will not apply.

odeStepType (string)

Sets the integrator used for evolving ode-type nodes (see Ordinary differential equations (ode)).

odeRelError

Sets the relative error not to be exceeded when evolving ode-type nodes (see Adjusting precision and step size).

odeAbsError

Sets the absolute error not to be exceeded when evolving ode-type nodes (see Adjusting precision and step size).

odeStepSize

Sets the step size used when evolving ode-type nodes (see Adjusting precision and step size).

odeIsAdaptive (boolean)

If True, ode-type nodes are integrated with adaptive step size. If False, a fixed step size is used (see Adjusting precision and step size).

sdeStepType (string)

Sets the integrator used for evolving sde-type nodes (see Stochastic differential equations (sde)).

Example (python-conedy)

import conedy as co

co.set("samplingTime", 10.0)
co.set("odeIsAdaptive", True)
co.set("odeStepType", "gsl_odeiv_step_rk8pd")
co.set("outputPrecision", 4)

Example (conedy)

samplingTime = 10.0;
odeIsAdaptive = true;
odeStepType = "gsl_odeiv_step_rkf45";
outputPrecision = 4;