34 #include "floatmath.h"
67 extern void areals(ap_t *ap,
int iareal[NAREAL]) {
69 float t,thresh,fconst,offset;
75 plarray = ap->plarray;
78 offset = ap->areal_offset;
82 (void)memset(iareal,0,NAREAL*
sizeof(
int));
86 for (i = 0; i < np; i++) {
90 nup = MIN(NAREAL,(
int)(logf(t)*fconst - offset)+1);
92 for (j = 0; j < nup; j++)
void areals(ap_t *ap, int iareal[NAREAL])
Work out the areal profiles for an object.