ryujin 2.5.0 revision 3a6c8d57210175dea14d8116e1fe878f349f8c1c
Loading...
Searching...
No Matches
geometry_library.h
Go to the documentation of this file.
1//
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3// Copyright (C) 2022 - 2026 by the ryujin authors
4//
5
6#pragma once
7
8#include <ryujin/base/compile_time_options.h>
11
12#include <string>
13#include <vector>
14
15namespace ryujin
16{
28 template <int dim>
29 using GeometryLibrary = Library<Geometry<dim>, const std::string &>;
30
31#ifndef DOXYGEN
32 template <>
33 auto GeometryLibrary<1>::defaults() -> std::vector<Creator>;
34 template <>
35 auto GeometryLibrary<2>::defaults() -> std::vector<Creator>;
36 template <>
37 auto GeometryLibrary<3>::defaults() -> std::vector<Creator>;
38
39 extern template class Library<Geometry<1>, const std::string &>;
40 extern template class Library<Geometry<2>, const std::string &>;
41 extern template class Library<Geometry<3>, const std::string &>;
42#endif
43} // namespace ryujin