CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Basic Doubt (https://www.cfd-online.com/Forums/fluent/99399-basic-doubt.html)

dsn2491 April 2, 2012 15:32

Basic Doubt
 
Hi,

I am pretty new to C++ programming and so I have little trouble in understanding the format of the UDF's.

In general after we pass the pointer to the entire domain why do we pass the pointer to the threads and then cell threads as well??

DEFINE_INIT(my_init_func,d)
{
cell_t c;
Thread *t;
real xc[ND_ND];

it will be great if someone can explain this. I have tried to look in the manuals of C++ but I couldnt find anything useful


All times are GMT -4. The time now is 12:52.