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

"->"operator

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 11, 2011, 16:13
Default "->"operator
  #1
New Member
 
Join Date: Nov 2009
Posts: 13
Rep Power: 7
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, 16:50
Default
  #2
Senior Member
 
Amir's Avatar
 
Amir
Join Date: May 2009
Location: Shiraz, Iran
Posts: 739
Blog Entries: 1
Rep Power: 14
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, 07:04
Default
  #3
New Member
 
Join Date: Nov 2009
Posts: 13
Rep Power: 7
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:28.