- 23 Nov, 2013 1 commit
-
-
Liam M. Healy authored
As an interim step in separation of systems, physical-dimension is now loadable if grid is loaded. All grid tests pass. However, there are failures basic Antik functions and tests are not properly loaded.
-
- 25 Mar, 2013 1 commit
-
-
Liam M. Healy authored
- Fix number of arguments in calls to functions that no longer take sysunits or addition-units arguments. - Change nf-option so that it works dynamically, i.e., the default value is retrieved at run time, not macro expansion time. - Name argument to parameter-value must be in the keyword package. - The system of units can be nil, in which case an unreadable object is printed, with the sexp for the dimensions printed. - New variable *basis-physical-dimensions* used to give the dimension without units. - All nf definitions in a separate file. System now compiles and loads without error.
-
- 16 Mar, 2013 1 commit
-
-
Liam M. Healy authored
New temporary file separate-pq-grid.lisp to develop grid separation strategy and definitions.
-
- 09 Mar, 2013 1 commit
-
-
Liam M. Healy authored
New systems grid, antik-base which load by themselves, and grid tests run if lisp-unit is loaded. The physical-dimension system gets an error on load.
-
- 24 Nov, 2012 1 commit
-
-
Liam M. Healy authored
Look through all sources for a "model" grid from which to extract default destination specification, and if none is found, then make a specification from global grid defaults. This replaces looking at the first source and generating an erroneous input if it's not a grid.
-
- 28 Apr, 2012 1 commit
-
-
Martin Schmauder authored
-
- 10 Sep, 2011 1 commit
-
-
Liam M. Healy authored
The definition of generic math functions (addition, multiplication, etc.) has been moved from grid/generic.lisp to init/generic.lisp, and so is loaded before grid is loaded, with the methods that use grid functions moved to grid/functions.lisp. This eliminates two warnings that were appearing in compilation.
-
- 20 Aug, 2011 1 commit
-
-
Liam M. Healy authored
-
- 30 May, 2011 1 commit
-
-
Liam M. Healy authored
-
- 24 May, 2011 1 commit
-
-
Liam M. Healy authored
Replace 'gref with 'aref and define #'gref to call aref. Also for gref* and setf forms.
-
- 10 Apr, 2011 1 commit
-
-
Liam M. Healy authored
Reader macro #m makes a *default-grid-type* unless the prefix is >100, in which case it will make a foreign-array.
-
- 03 Apr, 2011 1 commit
-
-
Liam M. Healy authored
-
- 28 Mar, 2011 1 commit
-
-
Liam M. Healy authored
Eliminate call to make-pq-grid-specification as it is unnecessary; make-grid does the job as well when make-grid-data works with no initial-contents. The latter is achieved by filling the dimel array with nils. Started a new function make-pq-grid-NEW (which will eventually be named #'make-pq-grid when the old one is eliminated) derived from the body of (grid::make-grid-data (eql 'physical-quantity)) in intending to replace that part, but also to replace make-pq-grid with different arguments as called from make-pq.
-
- 23 Mar, 2011 2 commits
-
-
Liam M. Healy authored
New function #'make-pq-grid-specification makes a pq grid according to specification. At present, it will give an error if initial-contents or intiial-element are specified, so it is presumed that the values will set after creation. It is called from make-grid, and is derived from code that was there; it needed to be broken out into a separate function in a different file because it uses symbols not exported until later. Also, it is good conceptually to have this as a separate function.
-
Liam M. Healy authored
The grid type of a pq grid, as given by grid:gridp, will be (physical-quantity <magnitude-grid-type>). This is accepted by make-specification and by make-grid. For make-grid, this is translated into a call to make-pq. This is tested with an example: (grid:make-grid '(physical-quantity (grid:foreign-array 3) double-float)) #<Physical quantity mag (2.024e-320 6.953e-310 1.036e-317), units #(METER METER METER)> (grid:specification @) (PHYSICAL-QUANTITY (GRID:FOREIGN-ARRAY 3) DOUBLE-FLOAT)
-
- 14 Feb, 2011 1 commit
-
-
Liam M. Healy authored
Fixed funcall-dyadic, which is used by basic arithmetic functions like #'*i, for cases where one or both arguments is a pq-grid. In that case, the units are simply removed. This is not as good as restoring the proper units after the calculation completes, but it is a step towards that goal. New type 'grid:grid.
-
- 31 Jan, 2011 1 commit
-
-
Liam M. Healy authored
Use generic math functions *, -, etc. in #'cross and in math functions *i, etc. Shadow 'terminate for CCL which has a conflict with iterate.
-
- 29 Jan, 2011 1 commit
-
-
Liam M. Healy authored
New function #'grid::check-initial-contents to check that initial-contents is not nil when it is explicitly specified, called in several places. New function #'grid:check-dimension to check that the object is a list of non-negative integers. Check that category-or-rank in call to #'data-class-name is acceptable, signal an error if not instead of just returning category-or-rank.
-
- 27 Jan, 2011 2 commits
-
-
Liam M. Healy authored
-
Liam M. Healy authored
Define methods (setf gref) and (setf gref*) for physical quantities, and modify the definition of gridp so that a physical quantity with grid magnitude will return T.
-
- 24 Jan, 2011 1 commit
-
-
Liam M. Healy authored
Physical quantities can be made with non-scalar units. They are printed unreadably. pqval works but grid:gref does not.
-
- 16 Jan, 2011 1 commit
-
-
Liam M. Healy authored
-
- 03 Jan, 2011 1 commit
-
-
Liam M. Healy authored
Start implementation of physical quantities with grid magnitudes. Compiles and loads cleanly but mostly non-functional or only accidentally functional.
-
- 26 Dec, 2010 1 commit
-
-
Liam M. Healy authored
New function make-simple-grid with defaults *default-grid-type* *default-element-type* *default-dimensions* which will make it easier to create grids with default properties.
-
- 24 Dec, 2010 1 commit
-
-
Liam M. Healy authored
-