Lagrangian subroutine _where_are_you
Posted: Tue Sep 27, 2016 10:29 am
Hello,
I'm implementing some new model in CS v4.0.3 and I need to understand the subroutine _where_are_you which is founded in cs_lagr_tracking.c at line 1812. I do understand that this subroutine is used to verify if the particle stay in the cell or move to the next cell though a face. But what I don't understand is which method is used? (event I try to read the code...). Do you have any theorical explanation about this point?
More precisely, I don't understand what "orient_test" and "orient_count" are used for?
The documentation in French is ok for me.
Thanks in advance,
Best regard,
LE Hong Duc
I'm implementing some new model in CS v4.0.3 and I need to understand the subroutine _where_are_you which is founded in cs_lagr_tracking.c at line 1812. I do understand that this subroutine is used to verify if the particle stay in the cell or move to the next cell though a face. But what I don't understand is which method is used? (event I try to read the code...). Do you have any theorical explanation about this point?
More precisely, I don't understand what "orient_test" and "orient_count" are used for?
The documentation in French is ok for me.
Thanks in advance,
Best regard,
LE Hong Duc