ogs6py.classes.nonlinsolvers

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.nonlinsolvers.NonLinSolvers

Bases: BuildTree

Adds a non-linearsolver section in the project file.

add_non_lin_solver(**args)

add a nonlinear solver.

Parameters:
  • name (str) –

  • type (str) – one of Picard or Newton

  • max_iter (int or str) –

  • linear_solver (str) –

  • damping (float or str) –

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

method to create dictionary from an xml entity