<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/TRIANGULATION/

definetri_e.pro

Define a triangulation array like TRIANGULATE but for a E-grid type

Routine summary

result = numtri(index, nx, ny)

result = definetri_e(nx, ny[, singular], SHIFTED=SHIFTED)

topnumtri

result = numtri(index, nx, ny)

Return value

Parameters

index       

It is the tick mark index which starts at 0.

nx        in required

The x dimension array

ny        in required

The y dimension array

Examples

Version history

Version

$Id: definetri_e.pro 157 2006-08-21 09:01:50Z navarro $

History

Known issues

Restrictions

Statistics

McCabe cyclic 1
McCabe essential 1
McCabe modular design 1

topdefinetri_e Make contours with E-grid type

result = definetri_e(nx, ny[, singular], SHIFTED=SHIFTED)

Return value

Triangles is a 2d array and is dimensions are 3 and (nx-1)*(ny-1) Triangles is defined like in the TRIANGULATE procedure.

Parameters

nx        in required

The x dimension array

ny        in required

The y dimension array

singular        in optional

When singular is undefined all rectangles are cut in using the vertical diagonal. Singular is a vector which contains the rectangles numbers which are cut in using the horizontal diagonal. The rectangle number is define by the index (in a nx*ny vector) of the lower-left corner of the rectangle.

Keywords

SHIFTED       

Version history

Version

$Id: definetri_e.pro 157 2006-08-21 09:01:50Z navarro $

History

Sebastien Masson (smlod@ipsl.jussieu.fr) June 2001

Known issues

Todo items

seb: documenter SHIFTED

Statistics

McCabe cyclic 4
McCabe essential 1
McCabe modular design 1
Produced by IDLdoc 2.0.