My Project
Loading...
Searching...
No Matches
DamarisOutputModule.hpp
1/*
2 Copyright 2022 SINTEF Digital, Mathematics and Cybernetics.
3 Copyright 2023 INRIA
4
5 This file is part of the Open Porous Media project (OPM).
6
7 OPM is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 OPM is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with OPM. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21#include <string>
22#include <Damaris.h>
23#include <opm/simulators/utils/ParallelCommunication.hpp>
24
25/*
26 Below is the XML file for Damaris that is supported by Damaris.
27
28 The entries in the map below will be filled by corresponding Damaris
29 Keywords.
30*/
31
32
33namespace Opm::DamarisOutput
34{
35 // Initialize an XML file
36 std::string initDamarisXmlFile();
37 // Initialize Damaris by filling in th XML file and stroring it in the chosed directory
38 void initializeDamaris(MPI_Comm comm, int mpiRank, std::string OutputDir, bool enableDamarisOutputCollective);
39
40} // namespace Opm::DamarisOutput