## PORTA

swMATH ID: | 39366 |

Software Authors: | Jiri Stepan, Javier Trujillo Bueno |

Description: | PORTA: A three-dimensional multilevel radiative transfer code for modeling the intensity and polarization of spectral lines with massively parallel computers. The interpretation of the intensity and polarization of the spectral line radiation produced in the atmosphere of the Sun and of other stars requires solving a radiative transfer problem that can be very complex, especially when the main interest lies in modeling the spectral line polarization produced by scattering processes and the Hanle and Zeeman effects. One of the difficulties is that the plasma of a stellar atmosphere can be highly inhomogeneous and dynamic, which implies the need to solve the non-equilibrium problem of the generation and transfer of polarized radiation in realistic three-dimensional (3D) stellar atmospheric models. Here we present PORTA, an efficient multilevel radiative transfer code we have developed for the simulation of the spectral line polarization caused by scattering processes and the Hanle and Zeeman effects in 3D models of stellar atmospheres. The numerical method of solution is based on the non-linear multigrid iterative method and on a novel short-characteristics formal solver of the Stokes-vector transfer equation which uses monotonic Bézier interpolation. Therefore, with PORTA the computing time needed to obtain at each spatial grid point the self-consistent values of the atomic density matrix (which quantifies the excitation state of the atomic system) scales linearly with the total number of grid points. Another crucial feature of PORTA is its parallelization strategy, which allows us to speed up the numerical solution of complicated 3D problems by several orders of magnitude with respect to sequential radiative transfer approaches, given its excellent linear scaling with the number of available processors. The PORTA code can also be conveniently applied to solve the simpler 3D radiative transfer problem of unpolarized radiation in multilevel systems. |

Homepage: | https://polmag.gitlab.io/PORTA/ |

Related Software: | DENOVO; PETSc; MULTI3D; Cython; Astropy; Matplotlib; SciPy; NumPy; pickle; Weno4Interpolation; Python; Lightweaver |

Cited in: | 1 Publication |

Further Publications: | https://polmag.gitlab.io/PORTA/Publications/index.html |

all
top 5

### Cited by 6 Authors

1 | Belluzzi, Luca |

1 | Benedusi, Pietro |

1 | Krause, Rolf H. |

1 | Riva, Simone |

1 | Štěpán, Jiří |

1 | Zulian, Patrick |

### Cited in 1 Serial

1 | Journal of Computational Physics |

### Cited in 1 Field

1 | Numerical analysis (65-XX) |