Skip to contents

Constructor for the OGS6_Chain base class

Methods


Method new()

Creates new OGS6_Chain object

Usage

OGS6_Chain$new(ogs6_obj, iter_n)

Arguments

ogs6_obj

OGS6: A simulation object.

iter_n

number: Number of iterations (length of the chain)


Method ogs6_run_simulation()

Runs the simulation. This calls r2ogs6::ogs6_run_simulation() internally. For chains, output will be written to logfiles.

Usage

OGS6_Chain$ogs6_run_simulation()


Method print_log()

Reads in logfile of simulation and prints it to the console. This calls print_log internally. If no index is specified, this will print the logfile of the last object in the chain.

Usage

OGS6_Chain$print_log(index)

Arguments

index

number: chain index of a OGS6 object


Method clone()

The objects of this class are cloneable with this method.

Usage

OGS6_Chain$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.