21 #ifndef FUB_GEOMETRY_INVERT_HPP
22 #define FUB_GEOMETRY_INVERT_HPP
30 template <
typename T,
typename... Args>
35 template <
typename Base>
class Invert :
private Base {
37 Invert(
const Base& base) : Base(base) {}
42 std::array<double, 3>>()) {
45 std::array<double, 2>>()) {
46 std::array<double, 2> proj{x[0], x[1]};
56 std::array<double, 2>>()) {
59 std::array<double, 3>>()) {
60 std::array<double, 3> proj{x[0], x[1]};
Definition: Invert.hpp:35
double ComputeDistanceTo(std::array< double, 2 > x) const noexcept
Definition: Invert.hpp:53
Invert(const Base &base)
Definition: Invert.hpp:37
double ComputeDistanceTo(std::array< double, 3 > x) const noexcept
Definition: Invert.hpp:39
The fub namespace.
Definition: AnyBoundaryCondition.hpp:31
This is std::true_type if Op<Args...> is a valid SFINAE expression.
Definition: type_traits.hpp:92
This file adds basic type traits utilities which are not yet implemented in all standard libraries.