celllength

celllength

Horizontal and vertical length of a cell

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

  1. • pcrcalc
    #! –unitcell
    binding
    Result2 = Result2.map;
    Expr = Expr.map;
    areamap
    Expr.map;
    initial
    report Result2 = celllength();

    • python
    setglobaloption(“unitcell”)
    Expr = readmap(“Expr.map”)
    setclone(“Expr.map”);
    Result2 = celllength()

    Result2.map

    Expr.map

    _images/celllength_Result2.png _images/cellarea_Expr.png

  2. • pcrcalc
    #! –unittrue
    binding
    Result1 = Result1.map;
    Expr = Expr.map;
    areamap
    Expr.map;
    initial
    report Result1 = celllength();

    • python
    setglobaloption(“unittrue”)
    Expr = readmap(“Expr.map”)
    setclone(“Expr.map”);
    Result1 = celllength()

    Result1.map

    Expr.map

    _images/celllength_Result1.png _images/cellarea_Expr.png

Table Of Contents

Previous topic

cellarea

Next topic

clump