[Users] Reduction in slices?

Erik Schnetter schnetter at cct.lsu.edu
Fri Mar 31 20:49:37 CDT 2017


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 at 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 at einsteintoolkit.org
> http://lists.einsteintoolkit.org/mailman/listinfo/users
>
>


-- 
Erik Schnetter <schnetter at cct.lsu.edu>
http://www.perimeterinstitute.ca/personal/eschnetter/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20170331/d09ed179/attachment.html 


More information about the Users mailing list