GEOSX
coreComponents
fileIO
vtk
VTKVTMWriter.hpp
1
/*
2
* ------------------------------------------------------------------------------------------------------------
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*
5
* Copyright (c) 2018-2020 Lawrence Livermore National Security LLC
6
* Copyright (c) 2018-2020 The Board of Trustees of the Leland Stanford Junior University
7
* Copyright (c) 2018-2020 TotalEnergies
8
* Copyright (c) 2019- GEOSX Contributors
9
* All rights reserved
10
*
11
* See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
12
* ------------------------------------------------------------------------------------------------------------
13
*/
14
15
#ifndef GEOS_FILEIO_VTK_VTKVTMWRITER_HPP_
16
#define GEOS_FILEIO_VTK_VTKVTMWRITER_HPP_
17
18
#include "
dataRepository/xmlWrapper.hpp
"
19
20
namespace
geos
21
{
22
namespace
vtk
23
{
24
30
class
VTKVTMWriter
31
{
32
public
:
37
explicit
VTKVTMWriter
(
string
filePath );
38
42
void
write
()
const
;
43
50
void
addDataSet
( std::vector< string >
const
& blockPath,
51
string
const
& dataSetName,
52
string
const
& filePath )
const
;
53
54
private
:
55
57
xmlWrapper::xmlDocument
m_document;
58
60
xmlWrapper::xmlNode
m_blockRoot;
61
63
string
m_filePath;
64
};
65
66
}
// namespace vtk
67
}
// namespace geos
68
69
#endif
geos::vtk::VTKVTMWriter
VTM Writer class.
Definition:
VTKVTMWriter.hpp:31
geos::vtk::VTKVTMWriter::VTKVTMWriter
VTKVTMWriter(string filePath)
Build the VTM Writer.
geos::vtk::VTKVTMWriter::write
void write() const
Triggers the file output.
geos::vtk::VTKVTMWriter::addDataSet
void addDataSet(std::vector< string > const &blockPath, string const &dataSetName, string const &filePath) const
Add a dataset block to the VTM file.
geos::xmlWrapper::xmlDocument
Definition:
xmlWrapper.hpp:145
geos::xmlWrapper::xmlNode
pugi::xml_node xmlNode
Definition:
xmlWrapper.hpp:57
geos
Definition:
DataLayouts.hpp:28
xmlWrapper.hpp
Generated by
1.9.1