How to access in gendaymtx.c the result that rfluxmtx sent

13 views
Skip to first unread message

evaba...@gmail.com

unread,
Jul 31, 2018, 5:46:47 PM7/31/18
to RADIANCE Users
Dear all,
I have built Radiance by source in order to implement the Two-Phase Method Daylight Simulation.

So, I need to create the Daylight Coefficients (with rfluxmtx function) and the Sky matrix (with gendaymtx function).

I call these functions as below:

rfluxmtx -parameters -skyglow.rad oct_file.oct < points_file.pts > result_file.mtx
gendaymtx -parameters weather_file.wea > exit_file

What I am trying to achieve is to avoid storing the daylight coefficients in the file (result_file.mtx), and send the daylight coefficients as an array to the gendaymtx program.

I found that in order to send the result to another program, I have to type the following command:
rfluxmtx -parameters -skyglow.rad oct_file.oct < points_file.pts | gendaymtx -parameters weather_file.wea > exit_file

My question is, how could I access the array with the daylight coefficients (that rfluxmtx sent to gendaymtx) in the source code gendaymtx.c?

Thank you in advance!
Eva

Ed McDonagh

unread,
Aug 1, 2018, 2:58:02 PM8/1/18
to RADIANCE Users
Dear Eva

I think you may have posted to the wrong group... This RADIANCE is radiation dose management software...

Kind regards

Ed

Reply all
Reply to author
Forward
0 new messages