CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: blackmask
Forum: Fluent UDF and Scheme Programming August 22, 2013, 20:23
Replies: 6
Views: 1,487
Posted By blackmask
You have several "C_T" in your code and only this...

You have several "C_T" in your code and only this one is wrapped by pointer-checking. When you said that the error disappear after deleting the "C_T" line, did you delete this specific "C_T" line or...
Forum: Fluent UDF and Scheme Programming August 22, 2013, 08:25
Replies: 6
Views: 1,487
Posted By blackmask
It does not make sense to me. Could you post your...

It does not make sense to me. Could you post your full code with the non-null-pointer checking?
Forum: Fluent UDF and Scheme Programming August 21, 2013, 20:10
Replies: 6
Views: 1,487
Posted By blackmask
It does not hurt to check the pointer before...

It does not hurt to check the pointer before accessing it

real t;
if (NNULLP(THREAD_STORAGE(thread, SV_T)))
t = C_T(cell, thread);
else
t = 300.0; /* or whatever appropriate */
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 15:55.