QUGaR 0.0.4
Loading...
Searching...
No Matches
concepts.hpp
Go to the documentation of this file.
1#ifndef QUGAR_LIBRARY_CONCEPTS_HPP
2#define QUGAR_LIBRARY_CONCEPTS_HPP
3
10
11namespace qugar {
12
14template<int dim, int dim_aux>
15concept Is2Dor3D = dim == dim_aux && (dim == 2 || dim == 3);
16
18template<int dim, int dim_aux>
19concept Is1D = dim == dim_aux && dim == 1;
20
21}// namespace qugar
22
23#endif// QUGAR_LIBRARY_CONCEPTS_HPP
Checks if the given dimension is 1.
Definition concepts.hpp:19
Checks if the given dimension is 2 or 3.
Definition concepts.hpp:15
QUGaR's main namespace.
Definition affine_transf.hpp:28