EZISOS(3NCARG)

✨ EZISOS(3NCARG) ✨

okay so this is the EZISOS(3NCARG) page from NCAR GRAPHICS. it's literally all about drawing an isosurface. the title is EZISOS(3NCARG) and the vibe is immaculate. let's get into it bestie. πŸ’…


🌸 NAME 🌸

EZISOS - Draws an isosurface. that's it. that's the whole thing. she's simple, she's iconic. πŸ’–


πŸ¦‹ SYNOPSIS πŸ¦‹

CALL EZISOS (F,MU,MV,MW,EYE,SLAB,FISO)

πŸŽ€ C-BINDING SYNOPSIS πŸŽ€

#include <ncarg/ncargC.h>

void c_ezisos (float *f, int mu, int mv, int mw,
float eye[3], float *slab, float fiso)

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea on every single argument. no skipping, we're doing all of them. 🫢

  • F β€” (an input array of type REAL, dimensioned MU x MV x MW) is a three-dimensional array of data defining the function f(u,v,w). The entire array (elements F(IU,IV,IW), for IU = 1 to MU, IV = 1 to MV, and IW = 1 to MW) is to be used. The data are considered to lie in a box in 3-space with opposite corners (in the UVW coordinate system) (1.,1.,1.) and (REAL(MU),REAL(MV),REAL(MW)). The element F(IU,IV,IW) is considered to be the value of the function f at the point (REAL(IU),REAL(IV),REAL(IW)). so yeah, it's giving full 3D grid energy. no subset allowed, we're using the whole thing. periodt.
  • MU β€” (an input expression of type INTEGER) is the first dimension of the array F. simple as that.
  • MV β€” (an input expression of type INTEGER) is the second dimension of the array F. you got this.
  • MW β€” (an input expression of type INTEGER) is the third dimension of the array F. three dimensions, three letters, we love to see it.
  • EYE β€” (an input array of type REAL, dimensioned 3) is the position of the eye in the UVW coordinate system. The eye position, at (EYE(1),EYE(2),EYE(3)), must be outside the box containing the data. The point being looked at is at the center of the data box and the projection plane is perpendicular to the line of sight. While gaining experience with the routine, a good choice for EYE is (5.*REAL(MU),3.5*REAL(MV),2.*REAL(MW)). iykyk.
bestie listen. the eye must be outside the box containing the data. do not put the eye inside the box. that's not the vibe. we don't do that here. 🚫
  • SLAB β€” (a scratch array of type REAL, dimensioned at least n x n, where "n" is defined to be MAX[MU,MV,MW]+2) is a workspace for ISOSRF. so like, give it enough room to breathe. it's a scratch array, it's just there to help. πŸ’…
  • FISO β€” (an input expression of type REAL) is the value of fiso in the equation f(u,v,w)=fiso, which defines the isosurface to be drawn. so that's the magic number that makes the surface appear. slay.

🌈 C-BINDING DESCRIPTION 🌈

The C-binding argument descriptions are the same as the Fortran argument descriptions, with the following exceptions:

  • f β€” it is dimensioned mw by mv by mu. yes, the order is different. it's giving chaotic but we respect it.
  • mu β€” The third dimension of the array f. wait, what? yes. in C-binding land, mu is the third dimension. plot twist.
  • mw β€” The first dimension of the array f. so mw is first, mu is third. the girls are switching it up. πŸ’€

πŸ”₯ USAGE πŸ”₯

EZISOS is called to draw an isosurface if all of the input array is to be used (rather than a subset of it), if ISOSRF's argument IFLAG is to be chosen internally, and if a frame advance is to be done after the isosurface is drawn. If any of these conditions is not met, use ISOSRF instead. so like, read the room. if you don't meet all three, don't call EZISOS. call ISOSRF. no cap.


🌟 EXAMPLES 🌟

Use the ncargex command to see the following relevant example: tisosr, fisissrf. go check them out bestie. they're literally right there. πŸ‘‘


πŸ‘‘ ACCESS πŸ‘‘

To use EZISOS or c_ezisos, load the NCAR Graphics libraries ncarg, ncarg_gks, and ncarg_c, preferably in that order. don't skip any of them. the order matters. it's giving choreography. πŸ’ƒ


πŸ’œ SEE ALSO πŸ’œ

Online: isosurface, isosurface_params, isgeti, isgetr, isosrf, isseti, issetr, pwrzi, ncarg_cbind

Hardcopy: NCAR Graphics Fundamentals, UNIX Version

so many friends. go say hi. they don't bite. πŸ¦‹


Copyright (C) 1987-2009 University Corporation for Atmospheric Research The use of this Software is governed by a License Agreement.

so like, respect the license. it's the law. periodt. πŸ’–


this page was brought to you by UNIX, March 1993, and the letter EZISOS(3NCARG). stay iconic. πŸ’…βœ¨