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

"->"operator

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2011, 15:13
Default "->"operator
  #1
New Member
 
Join Date: Nov 2009
Posts: 13
Rep Power: 16
shaoda169 is on a distinguished road
Hi all,


I am confused of this "->" operator when I was reading some UDF examples.

It is appeared in the text like "thread *t0 = t->t0".

Could you tell me the detail about it?

Thank you!


Lei
shaoda169 is offline   Reply With Quote

Old   March 11, 2011, 15:50
Default
  #2
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Montreal, QC
Posts: 735
Blog Entries: 1
Rep Power: 22
Amir is on a distinguished road
Hi,
these are aliases. for example instead of using P_TIME(p), you can use p->state.time.
for finding more aliases and equivalents, refer to correspond headers in src folder.
Amir is offline   Reply With Quote

Old   March 12, 2011, 06:04
Default
  #3
New Member
 
Join Date: Nov 2009
Posts: 13
Rep Power: 16
shaoda169 is on a distinguished road
Quote:
Originally Posted by Amir View Post
Hi,
these are aliases. for example instead of using P_TIME(p), you can use p->state.time.
for finding more aliases and equivalents, refer to correspond headers in src folder.
Dear Amir,

Thanks for your reply! I will dig it out through the scr headers.


Lei
shaoda169 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 04:42.