Wildmeshing Toolkit
Loading...
Searching...
No Matches
GridOptions.cpp
Go to the documentation of this file.
1
#include "
make_mesh.hpp
"
2
#include <
wmtk/Mesh.hpp
>
3
#include <
wmtk/TriMesh.hpp
>
4
#include <
wmtk/TetMesh.hpp
>
5
#include "
GridOptions.hpp
"
6
#include "
Grid2Options.hpp
"
7
#include "
Grid3Options.hpp
"
8
9
10
11
namespace
wmtk::components::procedural
{
12
std::shared_ptr<Mesh>
make_mesh
(
const
GridOptions
& m) {
13
return
std::visit([](
const
auto
& o) -> std::shared_ptr<Mesh>{
14
return
std::static_pointer_cast<Mesh>(
make_mesh
(o));
15
},m.
opts
);
16
17
}
18
}
Grid2Options.hpp
Grid3Options.hpp
GridOptions.hpp
Mesh.hpp
TetMesh.hpp
TriMesh.hpp
wmtk::components::procedural::GridOptions
Definition
GridOptions.hpp:11
wmtk::components::procedural::GridOptions::opts
std::variant< Grid2Options, Grid3Options > opts
Definition
GridOptions.hpp:15
make_mesh.hpp
wmtk::components::procedural
Definition
DiskOptions.cpp:8
make_mesh
std::shared_ptr< wmtk::Mesh > make_mesh()
Definition
utils.cpp:6
components
procedural
wmtk
components
procedural
GridOptions.cpp
Generated by
1.9.8