Wildmeshing Toolkit
Loading...
Searching...
No Matches
src
wmtk
io
mesh_io.hpp
1
#pragma once
2
3
#include <mshio/mshio.h>
4
#include <filesystem>
5
#include <wmtk/MeshData.hpp>
6
7
namespace
wmtk::io {
8
MeshData read_mesh(
const
std::filesystem::path& path);
9
void
write_mesh(
const
std::filesystem::path& path,
const
MeshData& mesh);
10
11
// Shared with existing MSH adapters; these functions do not access the filesystem.
12
MeshData from_msh(
const
mshio::MshSpec& spec);
13
mshio::MshSpec to_msh(
const
MeshData& mesh);
14
}
// namespace wmtk::io
Generated by
1.9.8