aboutsummaryrefslogtreecommitdiff
path: root/Source/ablastr/utils/UsedInputsFile.H
blob: 543ae98a256ba27dc2b53918400d939e768e8575 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* Copyright 2022 Axel Huebl
 *
 * This file is part of WarpX.
 *
 * License: BSD-3-Clause-LBNL
 */

#ifndef ABLASTR_USED_INPUTS_FILE_H
#define ABLASTR_USED_INPUTS_FILE_H

#include <string>


namespace ablastr::utils
{
    /** Write a file that record all inputs: inputs file + command line options
     *
     * This uses the same syntax as amrex::ParmParse inputs files.
     * Only the AMReX IOProcessor writes.
     *
     * @param filename the name of the text file to write
     */
    void
    write_used_inputs_file (std::string const & filename);
}

#endif // ABLASTR_USED_INPUTS_FILE_H