Pstream reduce sum volVectorField
I need to sum a volVectorField over all the processors. Different processors contain the data over certain sections of the this volVectorField. I intend to sum them all up to create the final field. Would Pstream::reduce(myVectorField, sumOp<volVectorField>) work? Or would you suggest anything else. I personally don't care so much about the boundary field and would be ok with just the internal field being summed up across different processors.
|All times are GMT -4. The time now is 19:32.|