point in processor domain?
I just started developing in OpenFOAM and I have a question:
Which variable tells me the coordinates of the sub domain of each processor (in mpi)?
I want to identify on which processor a point (defined by x,y and z) is situated.
Thank you very much in advance !
What is exactly the reason that you want this? You can easily visualize how this is distributed in paraview by making the .foam files in the processor directories and load those.
I would like to start automatically a new function on a processor in my mpi code under the condition that a certain point is located on this processor.
I have the coordinates of the point.
I suppose that it should be very easy, to compare with a variable that tells
me the location of each sub domain (of each processor), but still I don't know
how to see that inside the code.
Thank you in advance
|All times are GMT -4. The time now is 08:14.|