ogs5py.tools.script.add_block_file

ogs5py.tools.script.add_block_file(block_file, script, ogs_cls_name='model')[source]

Add block-file creation to script.

Parameters
  • block_file (BlockFile) – BlockFile class to be added to the script

  • script (stream) – given opened file for the script

  • ogs_cls_name (str) – name of the model within the script