opm-simulators
Toggle main menu visibility
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
#ifndef DAMARIS_OUTPUT_MODULE_HPP
21
#define DAMARIS_OUTPUT_MODULE_HPP
22
23
#include <opm/simulators/utils/ParallelCommunication.hpp>
24
25
#include <map>
26
#include <string>
27
28
/*
29
Below is the XML file for Damaris that is supported by Damaris.
30
31
The entries in the map below will be filled by corresponding Damaris
32
Keywords.
33
*/
34
35
namespace
Opm::DamarisOutput
{
36
37
// Initialize an XML file
38
std::string initDamarisXmlFile();
39
46
void
initializeDamaris
(
const
Parallel::Communication comm,
const
int
mpiRank,
47
const
std::map<std::string, std::string>& find_replace_map);
48
49
}
// namespace Opm::DamarisOutput
50
51
#endif
// DAMARIS_OUTPUT_MODULE_HPP
Opm::DamarisOutput
Below are the Damaris Keywords supported by Damaris to be filled in the built-in XML file.
Definition
DamarisWriter.cpp:39
Opm::DamarisOutput::initializeDamaris
void initializeDamaris(const Parallel::Communication comm, const int mpiRank, const std::map< std::string, std::string > &find_replace_map)
Initialize Damaris by either reading a file specified by the environment variable FLOW_DAMARIS_XML_FI...
Definition
DamarisOutputModule.cpp:44
opm
simulators
utils
DamarisOutputModule.hpp
Generated by
1.17.0