ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/src/util/eplus_adduvf.c
(Generate patch)

Comparing src/util/eplus_adduvf.c (file contents):
Revision 2.21 by greg, Mon Jan 20 17:53:40 2020 UTC vs.
Revision 2.23 by greg, Mon Jun 3 18:55:51 2024 UTC

# Line 534 | Line 534 | sample_triangle(const Vert2_list *vl2, int a, int b, i
534                                                  dv[2]*ps->sdir[2][j] ;
535          }
536                                          /* send to our process */
537 <        writebuf(ps->wd, (char *)samp, sizeof(float)*6*ns);
537 >        writebuf(ps->wd, samp, sizeof(float)*6*ns);
538          free(samp);                     /* that's it! */
539          return(1);
540   }
# Line 605 | Line 605 | compute_uvfs(SUBPROC *pd, ZONE *zp)
605                  else                            /* comp. for subsurface area */
606                          adj_factor /= adj_factor - zp->area_redu[n];
607                                                  /* read results */
608 <                if (readbuf(pd->r, (char *)uvfa, sizeof(float)*3*zp->ntotal) !=
608 >                if (readbuf(pd->r, uvfa, sizeof(float)*3*zp->ntotal) !=
609                                  sizeof(float)*3*zp->ntotal) {
610                          fputs(progname, stderr);
611                          fputs(": read error from rcontrib process\n", stderr);
# Line 655 | Line 655 | compute_zones(void)
655          for (zptr = zone_list; zptr != NULL; zptr = zptr->next) {
656                  SUBPROC rcproc;
657                                                  /* start rcontrib process */
658 +                rcproc = sp_inactive;
659                  if (!start_rcontrib(&rcproc, zptr))
660                          return(0);
661                                                  /* compute+add view factors */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines