Wildmeshing Toolkit
TupleInspector.cpp
Go to the documentation of this file.
1
#include "
TupleInspector.hpp
"
2
3
#include <
wmtk/utils/Logger.hpp
>
4
5
namespace
wmtk::utils
{
6
std::string
TupleInspector::as_string
(
const
Tuple
& t)
7
{
8
return
fmt::format(
9
"(gid {}:lids[v{},e{},f{}])"
,
10
global_cid
(t),
11
local_vid
(t),
12
local_eid
(t),
13
local_fid
(t));
14
}
15
}
// namespace wmtk::utils
Logger.hpp
TupleInspector.hpp
wmtk::Tuple
Definition:
Tuple.hpp:42
wmtk::utils::TupleInspector::local_eid
static int8_t local_eid(const Tuple &t)
Definition:
TupleInspector.hpp:14
wmtk::utils::TupleInspector::global_cid
static int64_t global_cid(const Tuple &t)
Definition:
TupleInspector.hpp:39
wmtk::utils::TupleInspector::as_string
static std::string as_string(const Tuple &t)
Definition:
TupleInspector.cpp:6
wmtk::utils::TupleInspector::local_vid
static int8_t local_vid(const Tuple &t)
Definition:
TupleInspector.hpp:13
wmtk::utils::TupleInspector::local_fid
static int8_t local_fid(const Tuple &t)
Definition:
TupleInspector.hpp:15
wmtk::utils
Definition:
Tuple.hpp:22
src
wmtk
utils
TupleInspector.cpp
Generated by
1.9.1