physical-dimension.asd 2.89 KB
Newer Older
1
2
;; Physical dimension system definition
;; Liam Healy 2012-02-20 10:14:49EST physical-dimension.asd
Liam M. Healy's avatar
Liam M. Healy committed
3
;; Time-stamp: <2014-01-07 23:27:18EST physical-dimension.asd>
4

Liam M. Healy's avatar
Liam M. Healy committed
5
;; Copyright 2012, 2013, 2014 Liam M. Healy
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
;; Distributed under the terms of the GNU General Public License
;;
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program.  If not, see <http://www.gnu.org/licenses/>.

(in-package :cl-user)

(asdf:defsystem #:physical-dimension
  :name "Physical Dimension"
25
  :description "A library to provide computations with physical dimension, i.e. units."
26
27
28
29
  :author "Liam M. Healy"
  :license "GPL v3"
  :serial t
  :defsystem-depends-on (#:asdf-system-connections)
Liam M. Healy's avatar
Liam M. Healy committed
30
  :depends-on (#:grid #:split-sequence)
31
  :components
32
  ((:module init
33
34
    :serial t
    :components
35
    ((:file "pd-shadow-symbols")))
36
37
   (:module physical-quantities
    :serial t
38
    :components
39
40
41
    ((:file "format-output")
     (:file "units")
     (:file "scalar")
42
     (:file "funcall")
43
44
45
46
47
48
49
     (:file "unit-definitions")
     (:file "sysunit-definitions")
     (:file "physical-quantities")
     (:file "undimension")
     (:file "arithmetic")
     (:file "angle")
     (:file "angle-component")
Liam M. Healy's avatar
Liam M. Healy committed
50
51
52
53
54
55
56
     (:file "state")))
   (:module date-time
    :serial t
    :components
    ((:file "iso8601")
     (:file "dtspec")
     (:file "time-interval")
57
58
59
     (:file "timepoint")
     (:file "relative-time")
     (:file "read-time")
Liam M. Healy's avatar
Liam M. Healy committed
60
     (:file "formats")	
61
62
     (:file "convert-timescale")
     (:file "dtmath")))
63
64
65
66
67
   (:module cartesian
    :serial t
    :components
    ((:file "cartesian")
     (:file "polar")
Liam M. Healy's avatar
Liam M. Healy committed
68
     (:file "rotation")))))
Liam M. Healy's avatar
Liam M. Healy committed
69

70
71
72
73
74
75
76
77
(asdf:defsystem-connection #:pq-tests
  :serial t
  :requires (#:physical-dimension #:lisp-unit)
  :components
  ((:module tests
    :components
    ((:file "physical-quantities")))))

Liam M. Healy's avatar
Liam M. Healy committed
78
79
80
81
82
(asdf:defsystem-connection #:pq-grid
  :serial t
  :requires (#:physical-dimension #:grid)
  :components
  ((:module physical-quantities
Liam M. Healy's avatar
Liam M. Healy committed
83
    :components
84
85
86
87
    ((:file "grid")))))

(asdf:defsystem-connection #:pq-grid-tests
  :serial t
88
  :requires (#:physical-dimension #:foreign-array #:lisp-unit)
89
90
  :components
  ((:module tests
Liam M. Healy's avatar
Liam M. Healy committed
91
    :serial t
92
93
    :components ((:file "physical-quantities-grid")
		 (:file "format-grid")))))
Liam M. Healy's avatar
Liam M. Healy committed
94
95
96

(asdf:defsystem-connection #:degree-symbol
  :serial t
97
  :requires (#:physical-dimension #:cl-unicode)
Liam M. Healy's avatar
Liam M. Healy committed
98
99
100
101
  :components
  ((:module physical-quantities
	    :components
	    ((:file "degree-symbol")))))
102