refactor: file tree with systems defninitions refactored to limit ODR issues
Relates to #32 as with this commit we created something like modules for derived quantities
This commit is contained in:
1 parent
2c36f21716
commit
2a56438f1c
207 files changed
+965
-456
No files matched your search
@@ -20,7 +20,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
#include <units/data/information.h>
|
||||
#include <units/data/data.h>
|
||||
#include <catch2/catch.hpp>
|
||||
#include <sstream>
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
#include <numeric>
|
||||
#include <units/random.h>
|
||||
#include <units/physical/si/length.h>
|
||||
#include <units/physical/si/si.h>
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
using namespace units;
|
||||
|
||||
@@ -22,16 +22,8 @@
|
||||
|
||||
#include "units/format.h"
|
||||
#include "units/math.h"
|
||||
#include "units/physical/si/area.h"
|
||||
#include "units/physical/si/cgs/length.h"
|
||||
#include "units/physical/si/cgs/mass.h"
|
||||
#include "units/physical/si/frequency.h"
|
||||
#include "units/physical/si/power.h"
|
||||
#include "units/physical/si/pressure.h"
|
||||
#include "units/physical/si/resistance.h"
|
||||
#include "units/physical/si/speed.h"
|
||||
#include "units/physical/si/surface_tension.h"
|
||||
#include "units/physical/si/volume.h"
|
||||
#include "units/physical/si/si.h"
|
||||
#include "units/physical/si/cgs/cgs.h"
|
||||
#include <catch2/catch.hpp>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
|
||||
@@ -21,15 +21,12 @@
|
||||
// SOFTWARE.
|
||||
|
||||
#include "units/format.h"
|
||||
#include "units/physical/si.h"
|
||||
#include "units/physical/si/iau/length.h"
|
||||
#include "units/physical/si/imperial/length.h"
|
||||
#include "units/physical/si/international/area.h"
|
||||
#include "units/physical/si/international/length.h"
|
||||
#include "units/physical/si/international/speed.h"
|
||||
#include "units/physical/si/international/volume.h"
|
||||
#include "units/physical/si/typographic/length.h"
|
||||
#include "units/physical/si/us/length.h"
|
||||
#include "units/physical/si/si.h"
|
||||
#include "units/physical/si/iau/iau.h"
|
||||
#include "units/physical/si/imperial/imperial.h"
|
||||
#include "units/physical/si/international/international.h"
|
||||
#include "units/physical/si/typographic/typographic.h"
|
||||
#include "units/physical/si/us/us.h"
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
using namespace units::physical::si;
|
||||
|
||||
@@ -21,8 +21,7 @@
|
||||
// SOFTWARE.
|
||||
|
||||
#include "units/math.h"
|
||||
#include "units/physical/si/area.h"
|
||||
#include "units/physical/si/volume.h"
|
||||
#include "units/physical/si/si.h"
|
||||
#include <catch2/catch.hpp>
|
||||
|
||||
using namespace units;
|
||||
|
||||
@@ -20,15 +20,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
#include <units/physical/si/cgs/acceleration.h>
|
||||
#include <units/physical/si/cgs/energy.h>
|
||||
#include <units/physical/si/cgs/force.h>
|
||||
#include <units/physical/si/cgs/length.h>
|
||||
#include <units/physical/si/cgs/mass.h>
|
||||
#include <units/physical/si/cgs/power.h>
|
||||
#include <units/physical/si/cgs/pressure.h>
|
||||
#include <units/physical/si/cgs/speed.h>
|
||||
#include <units/physical/si/cgs/time.h>
|
||||
#include <units/physical/si/cgs/cgs.h>
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -21,9 +21,7 @@
|
||||
// SOFTWARE.
|
||||
|
||||
#include "units/math.h"
|
||||
#include "units/physical/si/area.h"
|
||||
#include "units/physical/si/frequency.h"
|
||||
#include "units/physical/si/speed.h"
|
||||
#include "units/physical/si/si.h"
|
||||
#include <chrono>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
@@ -21,10 +21,7 @@
|
||||
// SOFTWARE.
|
||||
|
||||
#include "test_tools.h"
|
||||
#include <units/physical/si/mass.h>
|
||||
#include <units/physical/si/voltage.h>
|
||||
#include <units/physical/si/time.h>
|
||||
#include <units/physical/si/frequency.h>
|
||||
#include <units/physical/si/si.h>
|
||||
#include <units/math.h>
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -20,8 +20,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
#include <units/data/bitrate.h>
|
||||
#include <units/data/information.h>
|
||||
#include <units/data/data.h>
|
||||
|
||||
/* ************** DERIVED DIMENSIONS THAT INCLUDE UNITS WITH SPECIAL NAMES **************** */
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
// SOFTWARE.
|
||||
|
||||
|
||||
#include <units/physical/si.h>
|
||||
#include <units/physical/si/si.h>
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -20,15 +20,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
#include <units/physical/si/fps/acceleration.h>
|
||||
#include <units/physical/si/fps/energy.h>
|
||||
#include <units/physical/si/fps/force.h>
|
||||
#include <units/physical/si/fps/length.h>
|
||||
#include <units/physical/si/fps/mass.h>
|
||||
#include <units/physical/si/fps/power.h>
|
||||
#include <units/physical/si/fps/pressure.h>
|
||||
#include <units/physical/si/fps/speed.h>
|
||||
#include <units/physical/si/fps/time.h>
|
||||
#include <units/physical/si/fps/fps.h>
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -22,9 +22,8 @@
|
||||
|
||||
#include "units/math.h"
|
||||
#include "test_tools.h"
|
||||
#include "units/physical/si/area.h"
|
||||
#include "units/physical/si/international/area.h"
|
||||
#include "units/physical/si/speed.h"
|
||||
#include "units/physical/si/si.h"
|
||||
#include "units/physical/si/international/international.h"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -23,11 +23,8 @@
|
||||
#include "units/quantity_point.h"
|
||||
#include "test_tools.h"
|
||||
#include "units/math.h"
|
||||
#include "units/physical/si/area.h"
|
||||
#include "units/physical/si/frequency.h"
|
||||
#include "units/physical/si/speed.h"
|
||||
#include "units/physical/si/us/length.h"
|
||||
#include "units/physical/si/volume.h"
|
||||
#include "units/physical/si/si.h"
|
||||
#include "units/physical/si/us/us.h"
|
||||
#include <chrono>
|
||||
#include <utility>
|
||||
|
||||
|
||||
@@ -22,11 +22,8 @@
|
||||
|
||||
#include "test_tools.h"
|
||||
#include "units/math.h"
|
||||
#include "units/physical/si/area.h"
|
||||
#include "units/physical/si/frequency.h"
|
||||
#include "units/physical/si/speed.h"
|
||||
#include "units/physical/si/us/length.h"
|
||||
#include "units/physical/si/volume.h"
|
||||
#include "units/physical/si/si.h"
|
||||
#include "units/physical/si/us/us.h"
|
||||
#include <chrono>
|
||||
#include <utility>
|
||||
|
||||
|
||||
@@ -20,26 +20,8 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
#include <units/physical/si/acceleration.h>
|
||||
#include <units/physical/si/area.h>
|
||||
#include <units/physical/si/cgs/acceleration.h>
|
||||
#include <units/physical/si/cgs/area.h>
|
||||
#include <units/physical/si/cgs/energy.h>
|
||||
#include <units/physical/si/cgs/force.h>
|
||||
#include <units/physical/si/cgs/length.h>
|
||||
#include <units/physical/si/cgs/mass.h>
|
||||
#include <units/physical/si/cgs/power.h>
|
||||
#include <units/physical/si/cgs/pressure.h>
|
||||
#include <units/physical/si/cgs/speed.h>
|
||||
#include <units/physical/si/cgs/time.h>
|
||||
#include <units/physical/si/energy.h>
|
||||
#include <units/physical/si/force.h>
|
||||
#include <units/physical/si/length.h>
|
||||
#include <units/physical/si/mass.h>
|
||||
#include <units/physical/si/power.h>
|
||||
#include <units/physical/si/pressure.h>
|
||||
#include <units/physical/si/speed.h>
|
||||
#include <units/physical/si/time.h>
|
||||
#include <units/physical/si/si.h>
|
||||
#include <units/physical/si/cgs/cgs.h>
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -20,26 +20,8 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
#include <units/physical/si/acceleration.h>
|
||||
#include <units/physical/si/area.h>
|
||||
#include <units/physical/si/energy.h>
|
||||
#include <units/physical/si/force.h>
|
||||
#include <units/physical/si/fps/acceleration.h>
|
||||
#include <units/physical/si/fps/area.h>
|
||||
#include <units/physical/si/fps/energy.h>
|
||||
#include <units/physical/si/fps/force.h>
|
||||
#include <units/physical/si/fps/length.h>
|
||||
#include <units/physical/si/fps/mass.h>
|
||||
#include <units/physical/si/fps/power.h>
|
||||
#include <units/physical/si/fps/pressure.h>
|
||||
#include <units/physical/si/fps/speed.h>
|
||||
#include <units/physical/si/fps/time.h>
|
||||
#include <units/physical/si/length.h>
|
||||
#include <units/physical/si/mass.h>
|
||||
#include <units/physical/si/power.h>
|
||||
#include <units/physical/si/pressure.h>
|
||||
#include <units/physical/si/speed.h>
|
||||
#include <units/physical/si/time.h>
|
||||
#include <units/physical/si/si.h>
|
||||
#include <units/physical/si/fps/fps.h>
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
#include <units/physical/si.h>
|
||||
#include <units/physical/si/si.h>
|
||||
#include <utility>
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -20,15 +20,9 @@
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
|
||||
#include <units/physical/si/area.h>
|
||||
#include <units/physical/si/international/area.h>
|
||||
#include <units/physical/si/international/length.h>
|
||||
#include <units/physical/si/international/speed.h>
|
||||
#include <units/physical/si/international/volume.h>
|
||||
#include <units/physical/si/length.h>
|
||||
#include <units/physical/si/speed.h>
|
||||
#include <units/physical/si/us/length.h>
|
||||
#include <units/physical/si/volume.h>
|
||||
#include <units/physical/si/si.h>
|
||||
#include <units/physical/si/international/international.h>
|
||||
#include <units/physical/si/us/us.h>
|
||||
#include <utility>
|
||||
|
||||
namespace {
|
||||
|
||||
Reference in new issue
Block a user