update types
parent
3fcf6bc215
commit
a91059a325
12
build.rs
12
build.rs
|
@ -290,6 +290,7 @@ mod matricies {
|
|||
pub const Acceleration: Matrix = Matrix([-2, 1, 0, 0, 0, 0, 0]);
|
||||
pub const Mass: Matrix = Matrix([ 0, 0, 1, 0, 0, 0, 0]);
|
||||
pub const MassPerSqTime: Matrix = Matrix([-2, 0, 1, 0, 0, 0, 0]);
|
||||
pub const MassPerDist: Matrix = Matrix([ 0,-1, 1, 0, 0, 0, 0]);
|
||||
pub const Dispersion: Matrix = Matrix([ 0,-2, 1, 0, 0, 0, 0]);
|
||||
pub const Density: Matrix = Matrix([ 0,-3, 1, 0, 0, 0, 0]);
|
||||
pub const MassMoment: Matrix = Matrix([ 0, 2, 1, 0, 0, 0, 0]);
|
||||
|
@ -439,18 +440,25 @@ fn gen_units_list() -> HashMap<Matrix, Dimension> {
|
|||
conversions: vec![("GramsPerS2", (1e-03, 0.0))],
|
||||
},
|
||||
);
|
||||
output.insert(
|
||||
MassPerDist,
|
||||
Dimension {
|
||||
basename: "MassPerDist",
|
||||
conversions: vec![("KgPerMeter", (1.0, 0.0))],
|
||||
},
|
||||
);
|
||||
output.insert(
|
||||
Dispersion,
|
||||
Dimension {
|
||||
basename: "Dispersion",
|
||||
conversions: vec![("KgPerSqMeters", (1.0, 0.0))],
|
||||
conversions: vec![("KgPerSqMeter", (1.0, 0.0))],
|
||||
},
|
||||
);
|
||||
output.insert(
|
||||
Density,
|
||||
Dimension {
|
||||
basename: "Density",
|
||||
conversions: vec![("KgPerCubeMeters", (1.0, 0.0))],
|
||||
conversions: vec![("KgPerCubicMeter", (1.0, 0.0))],
|
||||
},
|
||||
);
|
||||
output.insert(
|
||||
|
|
Loading…
Reference in New Issue