// This file is part of monofonIC (MUSIC2) // A software package to generate ICs for cosmological simulations // Copyright (C) 2020 by Oliver Hahn // // monofonIC is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // monofonIC is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . #pragma once #include #include #include #include #include namespace testing{ void output_potentials_and_densities( config_file& the_config, size_t ngrid, real_t boxlen, Grid_FFT& phi, Grid_FFT& phi2, Grid_FFT& phi3, std::array< Grid_FFT*,3 >& A3 ); void output_velocity_displacement_symmetries( config_file &the_config, size_t ngrid, real_t boxlen, real_t vfac, real_t dplus, Grid_FFT &phi, Grid_FFT &phi2, Grid_FFT &phi3, std::array *, 3> &A3, bool bwrite_out_fields=false); void output_convergence( config_file &the_config, cosmology::calculator* the_cosmo_calc, std::size_t ngrid, real_t boxlen, real_t vfac, real_t dplus, Grid_FFT &phi, Grid_FFT &phi2, Grid_FFT &phi3, std::array *, 3> &A3); }