TDITRI(3NCARG)
π TDITRI π
okay so bestie, welcome to TDITRI, a little icon from the NCAR GRAPHICS fam (that's the manual it lives in, 3NCARG for the girlies keeping track). The way this one works is so simple: it's gonna add triangles defining a simple surface to the triangles in a triangle list. That's it. That's the whole job. Slay. π
β¨ SYNOPSIS β¨
CALL TDITRI (U, NU, V, NV, W, NW, F, LF1D, LF2D, FISO, RTRI, MTRI, NTRI,
IRST)
π C-BINDING SYNOPSIS π
#include <ncarg/ncargC.h>
void c_tditri(float *u, int nu, float *v, int nv, float *w, int nw,
float *f, int lf1d, int lf2d, float fiso, float *rtri, int mtri, int
*ntri, int irst)
π DESCRIPTION π
So like, the arguments of TDITRI are as follows, and no I am not skipping any of them:
Uβ an input array, of typeREAL, dimensionedNU, holding the values of an independent variable"u". And it must be the case thatU(1) < U(2) < ... U(NU-1) < U(NU). Strictly increasing or it's a no from her. πNUβ an input expression of typeINTEGER. It's the dimension ofU. π«Vβ an input array, of typeREAL, dimensionedNV, holding the values of an independent variable"v". And it must be the case thatV(1) < V(2) < ... V(NV-1) < V(NV). Same energy. Same rule. πNVβ an input expression of typeINTEGER. The dimension ofV. π«Wβ an input array, of typeREAL, dimensionedNW, holding the values of an independent variable"w". And it must be the case thatW(1) < W(2) < ... W(NV-1) < W(NV). (yes bestie, that's literally what it says, I'm not touching it, I'm just the messenger π«Ά) πNWβ an input expression of typeINTEGER. The dimension ofW. π«Fβ an input array, of typeREAL, dimensionedNU x NV x NWand having FORTRAN first and second dimensionsLF1DandLF2D, respectively. It holds the values of a dependent variable"f(u,v,w)". Like,F(I,J,K)is the value of the function"f"at the position(U(I),V(J),W(K)), and the equation"f(u,v,w)=FISO"defines a surface that one wishes to draw. Obsessed with a good isosurface, honestly. π¦LF1DandLF2Dβ input expressions of typeINTEGER, the FORTRAN first and second dimensions of the arrayF. It must be the case thatLF1Dis greater than or equal toNUand thatLF2Dis greater than or equal toNV. Don't play with her. π«FISOβ an input expression of typeREAL, the value of the functionfdefining the isosurface to be drawn. π―RTRIβ an input array, of typeREAL, dimensioned10 x MTRI. It's a list of triangles, probably created by means of calls toTDSTRI,TDITRI, and/orTDMTRI, and sorted, probably by means of a call toTDOTRI. (iykyk π )MTRIβ an input expression of typeINTEGER, the second dimension ofRTRIand thus the maximum number of triangles the triangle list will hold. Capacity, babe. π¦NTRIβ an input/output variable of typeINTEGER, keeping track of the number of triangles currently in the list. It is the user's responsibility to zero this initially π and its value is increased by each call to a triangle-generating routine likeTDITRI. And here's the plot twist: ifNTRIbecomes equal toMTRI,TDITRIdoes not take an error exit. It justβ¦ stops generating triangles. Silently. Like it's ghosting you. π» So it's a good idea, after callingTDITRI, to check the value ofNTRIagainst the dimensionMTRI; if they're equal, it probably means that the triangle list filled up and that the rendered surface will be incomplete. Check yourNTRI, bestie, I am begging. πIRSTβ an input expression of typeINTEGERthat specifies the index of the rendering style to to be used for the triangles added to the triangle list by this call. (the doubled "to to" is canon, it's part of the lore π)
πΈ C-BINDING DESCRIPTION πΈ
The C-binding argument descriptions are the same as the FORTRAN argument descriptions. Like, identical. Same girl, different font. β¨
π ACCESS π
To use TDITRI or c_tditri, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. Order matters, it's giving choreography. π
π₯ SEE ALSO π₯
Online, go read these: tdclrs, tdctri, tddtri, tdgeti, tdgetr, tdgrds, tdgrid, tdgtrs, tdinit, tdlbla, tdlbls, tdline, tdlnpa, tdmtri, tdotri, tdpack, tdpack_params, tdpara, tdplch, tdprpa, tdprpi, tdprpt, tdseti, tdsetr, tdsort, tdstri, tdstrs. Whole friend group. Go say hi. π
π COPYRIGHT π
Copyright (C) 1987-2009 University Corporation for Atmospheric Research
The use of this Software is governed by a License Agreement.
and that's the whole page, no cap. this edition of the TDITRI manual page dropped back in July 1997 under the TDITRI(3NCARG) name β vintage, but she still ate. πβ¨
π¦ where this page comes from
- epel 9: ncl-devel 6.6.2-59.el9 Β· LicenseRef-Callaway-BSD
- fedora 43: ncl-devel 6.6.2-58.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: ncl-devel 6.6.2-62.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms