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 (elementsF(IU,IV,IW), forIU = 1toMU,IV = 1toMV, andIW = 1toMW) 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 elementF(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 arrayF. simple as that.MVβ (an input expression of type INTEGER) is the second dimension of the arrayF. you got this.MWβ (an input expression of type INTEGER) is the third dimension of the arrayF. 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 forEYEis(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 leastn x n, where"n"is defined to beMAX[MU,MV,MW]+2) is a workspace forISOSRF. 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 equationf(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 dimensionedmwbymvbymu. yes, the order is different. it's giving chaotic but we respect it.muβ The third dimension of the arrayf. wait, what? yes. in C-binding land,muis the third dimension. plot twist.mwβ The first dimension of the arrayf. somwis first,muis 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 π«Ά
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. π β¨
π¦ where this page comes from
- debian bookworm: libncarg-dev 6.6.2.dfsg.1-1
- debian trixie: libncarg-dev 6.6.2.dfsg.1-10+b2
- ubuntu jammy: libncarg-dev 6.6.2-10build2
- ubuntu questing: libncarg-dev 6.6.2.dfsg.1-10build2
- ubuntu resolute: libncarg-dev 6.6.2.dfsg.1-12
- ubuntu stonking: libncarg-dev 6.6.2.dfsg.1-12build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms