Skip to content

Commit

Permalink
Refactored calc_Q of diffusive surface runoff, modernized surface run…
Browse files Browse the repository at this point in the history
…off examples
  • Loading branch information
Philipp Kraft committed Dec 12, 2022
1 parent bac6584 commit 522df14
Show file tree
Hide file tree
Showing 6 changed files with 199 additions and 120 deletions.
13 changes: 13 additions & 0 deletions cmf/cmf_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4593,6 +4593,19 @@ def __init__(self, *args, **kwargs):
_cmf_core.DiffusiveSurfaceRunoff_swigregister(DiffusiveSurfaceRunoff)
DiffusiveSurfaceRunoff.cell_connector = _cmf_core.cvar.DiffusiveSurfaceRunoff_cell_connector

class DiffusiveSurfaceRunoffVariableN(flux_connection):
r"""Proxy of C++ cmf::upslope::connections::DiffusiveSurfaceRunoffVariableN class."""

thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

def __init__(self, *args, **kwargs):
raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _cmf_core.delete_DiffusiveSurfaceRunoffVariableN

# Register DiffusiveSurfaceRunoffVariableN in _cmf_core:
_cmf_core.DiffusiveSurfaceRunoffVariableN_swigregister(DiffusiveSurfaceRunoffVariableN)

class aquifer(WaterStorage, conductable):
r"""
Expand Down
Loading

0 comments on commit 522df14

Please sign in to comment.