IgANet
IGAnets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
common.hpp
Go to the documentation of this file.
1
15#pragma once
16
17#include <iganet.h>
18
19namespace iganet {
20 std::filesystem::path getDataPath(std::string name="")
21 {
22 auto exePath = getExecutablePath();
23 return std::filesystem::canonical(exePath / "../share/iganet/examples/filedata/" / name);
24 }
25} // namespace iganet
Isogeometric analysis network main header file.
Definition core.hpp:72
std::filesystem::path getDataPath(std::string name="")
Definition common.hpp:20
std::filesystem::path getExecutablePath()
Returns the path of the executable.
Definition sysinfo.hpp:681