1 #include "../coordinates/coordinates.hpp"
15 int is = pmb->is, js = pmb->js, ks = pmb->ks;
16 int ie = pmb->ie, je = pmb->je, ke = pmb->ke;
21 for (
int k = ks; k <= ke; ++k)
22 for (
int j = js;
j <= je; ++
j) {
23 pcoord->CellVolume(k,
j, is, ie,
vol_);
24 for (
int i = is; i <= ie; ++i)
mean_(i) +=
vol_(i) * w(IPR, k,
j, i);
30 for (
int k = ks; k <= ke; ++k)
31 for (
int j = js;
j <= je; ++
j)
32 for (
int i = is; i <= ie; ++i)
void gatherAllData23_(AthenaArray< Real > &total_vol, AthenaArray< Real > &total_data)
AthenaArray< Real > mean_
mean and eddy component
AthenaArray< Real > total_vol_
void Finalize(AthenaArray< Real > const &w)
PressureAnomaly(MeshBlock *pmb)