ogs6py.classes.parameters

Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
Distributed under a Modified BSD License.

See accompanying file LICENSE or http://www.opengeosys.org/project/license

class ogs6py.classes.parameters.Parameters

Bases: BuildTree

Class for managing the parameters section of the project file.

add_parameter(**args)

Adds a parameter

Parameters:
  • name (str) –

  • type (str) –

  • value (float or str) –

  • values (float or str) –

  • expression (str) –

  • curve (str) –

  • parameter (str) –

  • mesh (str) –

  • field_name (str) –

  • time (list) –

  • parameter_name (list) –

  • use_local_coordinate_system (bool or str) –

classmethod populate_tree(tag, text='', attr=None, children=None)

method to create dictionary from an xml entity