PolyFEM
Loading...
Searching...
No Matches
GeogramUtils.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Logger.hpp
"
4
5
namespace
polyfem::utils
6
{
7
class
GeogramUtils
8
{
9
10
public
:
11
static
GeogramUtils
&
instance
()
12
{
13
static
GeogramUtils
singleton;
14
15
return
singleton;
16
}
17
18
void
initialize
();
19
20
void
set_logger
(spdlog::logger &
logger
);
21
22
private
:
23
GeogramUtils
() {}
24
25
bool
initialized
=
false
;
26
};
27
}
// namespace polyfem::utils
Logger.hpp
polyfem::utils::GeogramUtils
Definition
GeogramUtils.hpp:8
polyfem::utils::GeogramUtils::set_logger
void set_logger(spdlog::logger &logger)
Definition
GeogramUtils.cpp:76
polyfem::utils::GeogramUtils::instance
static GeogramUtils & instance()
Definition
GeogramUtils.hpp:11
polyfem::utils::GeogramUtils::initialize
void initialize()
Definition
GeogramUtils.cpp:57
polyfem::utils::GeogramUtils::GeogramUtils
GeogramUtils()
Definition
GeogramUtils.hpp:23
polyfem::utils::GeogramUtils::initialized
bool initialized
Definition
GeogramUtils.hpp:25
polyfem::utils
Definition
PeriodicBoundary.cpp:22
polyfem::logger
spdlog::logger & logger()
Retrieves the current logger.
Definition
Logger.cpp:42
src
polyfem
utils
GeogramUtils.hpp
Generated by
1.9.8