|
[Sponsors] |
December 26, 2009, 02:23 |
thread_domain
|
#1 |
New Member
Join Date: Nov 2009
Posts: 14
Rep Power: 16 |
hey does anybody know what this function does?
In the tutorial on dynamic mesh movement for a valve there is a line in the udf file: domain = THREAD_DOMAIN (DT_THREAD ((Dynamic_Thread *)dt)); I understand that 'dt' is being cast into a pointer of type Dynamic_Thread, and then DT_THREAD takes the pointer of type 'Dynamic_Thread' and converts it into a pointer of type 'Thread', but what does 'THREAD_DOMAIN' do? from the name it seems it finds out the pointer of type 'Domain' from the pointer of type 'Thread', but I couldnt find a definition for it anywhere in the documentation or on the web? Could somebody please explain? |
|
|
|