Francisco
There is no respective reduction operation in Cactus. What you can do is to create a 1d array for the values in the z direction -- on each process --, initialize it to zero, and then add this process's local contribution to that array. Cactus then has a "1d local array reduction" function that you can call, which calculates the global result.
-erik
On Wed, Mar 29, 2017 at 8:24 PM, Francisco Guzman guzman@ifm.umich.mx wrote:
Dear all,
Assume I have a thorn mounted on Carpet, completely unrelated to any GR thorn (say my_wavetoy) .
Is there a way to estimate the integral of a grid function on every slice of z=constant?
This reminds me the outflow thorn that is capable of estimating the integral of fluxes (grid functions) across a spherical surface.
I wonder whether there is something similar to integrate a flux (a given grid function of my choice) across z=constant planes:
- perhaps a reduction operator from Carpet
- a similar thorn to outflow
Thanks in advance, Francisco
Users mailing list Users@einsteintoolkit.org http://lists.einsteintoolkit.org/mailman/listinfo/users