OpenFLUID.createInputDataR Documentation

Creates an inputdata for alla spatial units of a class, initialized with a default value

Description

Creates an inputdata for alla spatial units of a class, initialized with a default value

Usage

  OpenFLUID.createInputData(ofblob, unitclass, idataname,
    idataval)

Arguments

ofblob

the simulation definition blob

unitclass

the unit class

idataname

the inpudata name

idataval

the default inpudata value for alla units

See Also

OpenFLUID.getInputData

OpenFLUID.setInputData

Examples

## Not run: 
OpenFLUID.createInputData(ofsim,"SU","area",1.0)
OpenFLUID.createInputData(ofsim,"SU","code","NONE")

## End(Not run)