default.code: Set a default external simulation code

View source: R/default.code.R

default.codeR Documentation

Set a default external simulation code

Description

Set a default external simulation code

Usage

default.code(code = NULL)

Arguments

code

structured list specifying the default external simulation code used when calling run.simulation. This list has exactly the same format as the sub-list 'code' described in the documentation of run.simulation.

Value

Returns the current list 'code'. If no such last has been set and 'default.code()' is called without argument, an error is produced.

Author(s)

Danail Obreschkow


obreschkow/nbody documentation built on Oct. 15, 2024, 10:34 p.m.