File Gravity_util.H
Functions
- AMREX_GPU_HOST_DEVICE AMREX_INLINE Real factorial (int n)
- AMREX_GPU_HOST_DEVICE AMREX_INLINE void calcAssocLegPolyLM (int l, int m, Real &assocLegPolyLM, Real &assocLegPolyLM1, Real &assocLegPolyLM2, Real x)
- AMREX_GPU_HOST_DEVICE AMREX_INLINE void calcLegPolyL (int l, Real &legPolyL, Real &legPolyL1, Real &legPolyL2, Real x)
- AMREX_GPU_DEVICE AMREX_INLINE void multipole_add (Real cosTheta, Real phiAngle, Real r, Real rho, Real vol, Array4< Real > const &qL0, Array4< Real > const &qLC, Array4< Real > const &qLS, Array4< Real > const &qU0, Array4< Real > const &qUC, Array4< Real > const &qUS, int npts, int nlo, int index, amrex::Gpu::Handler const &handler, bool parity=false)
- AMREX_GPU_DEVICE AMREX_INLINE void multipole_symmetric_add (Real x, Real y, Real z, const GpuArray< Real, AMREX_SPACEDIM > &problo, const GpuArray< Real, AMREX_SPACEDIM > &probhi, Real rho, Real vol, Array4< Real > const &qL0, Array4< Real > const &qLC, Array4< Real > const &qLS, Array4< Real > const &qU0, Array4< Real > const &qUC, Array4< Real > const &qUS, int npts, int nlo, int index, amrex::Gpu::Handler const &handler)
- AMREX_GPU_HOST_DEVICE AMREX_INLINE Real direct_sum_symmetric_add (const GpuArray< Real, 3 > &loc, const GpuArray< Real, 3 > &locb, const GpuArray< Real, 3 > &problo, const GpuArray< Real, 3 > &probhi, Real rho, Real dV, const GpuArray< bool, 3 > &doSymmetricAddLo, const GpuArray< bool, 3 > &doSymmetricAddHi)