ana1Tests.damBreak.getDamExtend¶
- getDamExtend(fieldHeader, xM, cfgDam)[source]¶
Get the extend where the analytic and simulation should be compared
- Parameters
fieldHeader (dict) – header dictionary with info about the extend and cell size
xM (float) – x coordinate ot the start of the comparizon domain
cfgDam (configParser object) – configuration setting for the DAMBREAK section
- Returns
xDamPlus (1D numpy array) – x array corresponding to the comparizon domain
nColMid (int) – index of the column corresponding to xM
nColMax (int) – index of the column corresponding to xEnd
nRowMin (int) – index of the row corresponding to yStart
nRowMax (int) – index of the row corresponding to yEnd