OGS
writeMeshToFile.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <filesystem>
7#include <set>
8#include <string>
9
10namespace MeshLib
11{
12class Mesh;
13}
14
15namespace MeshLib::IO
16{
17int writeMeshToFile(MeshLib::Mesh const& mesh,
18 std::filesystem::path const& file_path,
19 std::set<std::string> variable_output_names = {});
20} // namespace MeshLib::IO
int writeMeshToFile(const MeshLib::Mesh &mesh, std::filesystem::path const &file_path, std::set< std::string > variable_output_names)