|
[Sponsors] |
March 5, 2017, 08:23 |
thread_domain
|
#1 |
New Member
Join Date: Dec 2016
Posts: 1
Rep Power: 0 |
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? |
|
|
|