celllength¶
Result = celllength()
- Result
non spatial scalar
Options¶
--unittrue
or --unitcell
--unittrue
length of cells is computed in true length of cells; Result is true length of a cell (default)
--unitcell
length of cells is computed in unit cell length; Result is 1
Operation¶
Calculates the length (horizontal or vertical) of one cell and assigns this cell length to Result (non spatial).
Notes¶
Group¶
This operation belongs to the group of Map operators
Examples¶
- • pcrcalc#! –unitcellbindingResult2 = Result2.map;Expr = Expr.map;areamapExpr.map;initialreport Result2 = celllength();• pythonsetglobaloption(“unitcell”)Expr = readmap(“Expr.map”)setclone(“Expr.map”);Result2 = celllength()
Result2.map
Expr.map
- • pcrcalc#! –unittruebindingResult1 = Result1.map;Expr = Expr.map;areamapExpr.map;initialreport Result1 = celllength();• pythonsetglobaloption(“unittrue”)Expr = readmap(“Expr.map”)setclone(“Expr.map”);Result1 = celllength()
Result1.map
Expr.map