Volumes/include/LinAlg/coordinates.h

23 lines
472 B
C
Raw Permalink Normal View History

2024-08-18 21:57:24 +02:00
//
// Created by nb on 18.08.24.
//
#ifndef VOLSVECS_COORDINATES_H
#define VOLSVECS_COORDINATES_H
namespace LinAlg {
namespace CoordSys {
template<typename System, typename ParentSystem>
struct CoordinateSystem {
static constexpr int level = ParentSystem::level + 1;
using Parent = ParentSystem;
};
struct Root {
static constexpr int level = 0;
};
}
}
#endif //VOLSVECS_COORDINATES_H