TDITRI(3NCARG)

πŸ“¦ version 6.6.2, in epel 9, fedora 43, fedora 44

πŸ’– 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 type REAL, dimensioned NU, holding the values of an independent variable "u". And it must be the case that U(1) < U(2) < ... U(NU-1) < U(NU). Strictly increasing or it's a no from her. πŸ“ˆ
  • NU β€” an input expression of type INTEGER. It's the dimension of U. πŸ’«
  • V β€” an input array, of type REAL, dimensioned NV, holding the values of an independent variable "v". And it must be the case that V(1) < V(2) < ... V(NV-1) < V(NV). Same energy. Same rule. πŸ“ˆ
  • NV β€” an input expression of type INTEGER. The dimension of V. πŸ’«
  • W β€” an input array, of type REAL, dimensioned NW, holding the values of an independent variable "w". And it must be the case that W(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 type INTEGER. The dimension of W. πŸ’«
  • F β€” an input array, of type REAL, dimensioned NU x NV x NW and having FORTRAN first and second dimensions LF1D and LF2D, 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. πŸ¦‹
  • LF1D and LF2D β€” input expressions of type INTEGER, the FORTRAN first and second dimensions of the array F. It must be the case that LF1D is greater than or equal to NU and that LF2D is greater than or equal to NV. Don't play with her. 🚫
  • FISO β€” an input expression of type REAL, the value of the function f defining the isosurface to be drawn. 🎯
  • RTRI β€” an input array, of type REAL, dimensioned 10 x MTRI. It's a list of triangles, probably created by means of calls to TDSTRI, TDITRI, and/or TDMTRI, and sorted, probably by means of a call to TDOTRI. (iykyk πŸ’…)
  • MTRI β€” an input expression of type INTEGER, the second dimension of RTRI and thus the maximum number of triangles the triangle list will hold. Capacity, babe. πŸ“¦
  • NTRI β€” an input/output variable of type INTEGER, 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 like TDITRI. And here's the plot twist: if NTRI becomes equal to MTRI, TDITRI does not take an error exit. It just… stops generating triangles. Silently. Like it's ghosting you. πŸ‘» So it's a good idea, after calling TDITRI, to check the value of NTRI against the dimension MTRI; if they're equal, it probably means that the triangle list filled up and that the rendered surface will be incomplete. Check your NTRI, bestie, I am begging. 😭
  • IRST β€” an input expression of type INTEGER that 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 (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