SearcharxivSearch

arXiv subjects

Giovanni Cavallotto

Publications and source records attributed to Giovanni Cavallotto.

2 recordsLinked to original sources

COSMICA: a novel parallel GPU code for Cosmic Rays propagation in heliosphere

The complex structure of interplanetary magnetic fields and their variability, due to solar activity, make it necessary to compute the Cosmic Ray (CR) modulation with numerical simulations. COde for a Speedy Monte Carlo (MC) Involving Cuda Architecture (COSMICA) is a MC code, solving backward-in-time the system of Stochastic Differential Equations (SDE) equivalent to the Parker Transport Equation (PTE). The Graphics Processing Unit (GPU) parallelization of COSMICA code is a game changer in this field because it reduces the computational time of a standard simulation from the order of hundred of minutes to few of them. Furthermore, the code is capable of distributing the computations on clusters of machines with multiple GPUs, opening the way for scaling. In COSMICA we implemented the synchronous broadcasting of memory access for evolving variable samples, the rounding of virtual particle set numbers, to fulfil the GPU blocks, and the exploitation of shared memory to free registers. Furthermore, we compactify the mathematical computations and pass to the lighter momentum formulation of SDE. The first porting of the code on GPU architecture brings it to a speed-up of 40X. The successful optimizations bring 1.5X speed-up.

physics.comp-ph

Efficient multi-timescale dynamics of precessing black-hole binaries

We present analytical and numerical progress on black-hole binary spin precession at second post-Newtonian order using multi-timescale methods. In addition to the commonly used effective spin which acts as a constant of motion, we exploit the weighted spin difference and show that such reparametrization cures the coordinate singularity that affected the previous formulation for the case of equal-mass binaries. The dynamics on the precession timescale is written down in closed form in both coprecessing and inertial frames. Radiation reaction can then be introduced in a quasi-adiabatic fashion such that, at least for binaries on quasi-circular orbits, gravitational inspirals reduce to solving a single ordinary differential equation. We provide a broad review of the resulting phenomenology and rewrite the relevant physics in terms of the newly adopted parametrization. This includes the spin-orbit resonances, the up-down instability, spin propagation at past time infinity, and new precession estimators to be used in gravitational-wave astronomy. Our findings are implemented in version 2 of the public Python module PRECESSION. Performing a precession-averaged post-Newtonian evolution from/to arbitrarily large separation takes $\lesssim 0.1$ s on a single off-the-shelf processor - a 50x speedup compared to our previous implementation. This allows for a wide variety of applications including propagating gravitational-wave posterior samples as well as population-synthesis predictions of astrophysical nature.

gr-qc