All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
fuookami.ospf.kotlin.utils.physics.dimension.Dimensions.kt Maven / Gradle / Ivy
package fuookami.ospf.kotlin.utils.physics.dimension
// L^2
val Area = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, 2)
), "area"
)
// L t^-2
val Acceleration = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, 1),
FundamentalQuantity(FundamentalQuantityDimension.Time, -2)
), "acceleration"
)
// L^2 m t^-2
val Energy = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, 1),
FundamentalQuantity(FundamentalQuantityDimension.Mass, 2),
FundamentalQuantity(FundamentalQuantityDimension.Time, -2)
), "energy"
)
// L m t^-2
val Force = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, 1),
FundamentalQuantity(FundamentalQuantityDimension.Mass, 1),
FundamentalQuantity(FundamentalQuantityDimension.Time, -2)
), "force"
)
// L^3 t^-1
val FlowVelocity = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, 3),
FundamentalQuantity(FundamentalQuantityDimension.Time, -1)
), "flow velocity"
)
// L
val Length = DerivedQuantity(FundamentalQuantityDimension.Length, "length")
// m
val Mass = DerivedQuantity(FundamentalQuantityDimension.Mass, "mass")
// L^-3 m
val MassDensity = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, -3),
FundamentalQuantity(FundamentalQuantityDimension.Mass, 1)
), "mass density"
)
// L^2 m t^-3
val Power = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, 2),
FundamentalQuantity(FundamentalQuantityDimension.Mass, 1),
FundamentalQuantity(FundamentalQuantityDimension.Time, -3)
), "power"
)
// L^-2 m
val SurfaceDensity = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, -2),
FundamentalQuantity(FundamentalQuantityDimension.Mass, 1)
), "surface density"
)
// t
val Time = DerivedQuantity(FundamentalQuantityDimension.Time, "time")
// L^1 t^-1
val Velocity = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, 1),
FundamentalQuantity(FundamentalQuantityDimension.Time, -1)
), "velocity"
)
// L^3
val Volume = DerivedQuantity(
listOf(
FundamentalQuantity(FundamentalQuantityDimension.Length, 3)
), "volume"
)