2.0.0b10
catchment modelling framework
Loading...
Searching...
No Matches
subcatchment Class Reference

A class to structure cells in a project using their main outlets. More...

+ Collaboration diagram for subcatchment:

Detailed Description

A class to structure cells in a project using their main outlets.

Public Member Functions

 subcatchment (cmf::upslope::Cell &pourpoint, double area_threshold=1e308)
 Creates a subcatchment from a pourpoint cell.
 

Public Attributes

cmf::upslope::cell_vector cells
 The cells of the subcatchment.
 
cmf::upslope::cell_vector inflowcells
 Cells which are pourpoints for higher subcatchment.
 
const cmf::upslope::Cellpourpoint
 The outlet cell of the subcatchment.
 

Constructor & Destructor Documentation

◆ subcatchment()

subcatchment ( cmf::upslope::Cell & pourpoint,
double area_threshold = 1e308 )

Creates a subcatchment from a pourpoint cell.

Parameters
pourpointThe pourpoint (outlet of the subcatchment)
area_thresholdMinimum contributing area size to form a subcatchment. When area_threshold > area(cells), all upslope cells of pourpoint are used.