Volumes/include/LinAlg/coordinates.h
Karl-Wilfried Zimmer 40452a009b snap
2024-08-18 21:57:24 +02:00

23 lines
472 B
C++

//
// 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