Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
models
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MitM
models
Commits
743bb443
Commit
743bb443
authored
8 years ago
by
Michael Kohlhase
Browse files
Options
Downloads
Patches
Plain Diff
adding model type metadata
parent
a3792550
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
source/mmt/Quantities.mmt
+6
-1
6 additions, 1 deletion
source/mmt/Quantities.mmt
with
6 additions
and
1 deletion
source/mmt/Quantities.mmt
+
6
−
1
View file @
743bb443
...
...
@@ -4,26 +4,31 @@ import qe http://mathhub.info/MMT/physics-units
/T This is a theory containing the electric displacement.
theory Displacement : qe:?QEBase =
meta modeltype physical_quantity
displacement_dim : type = QE (ElectricCharge /' (SIlength * SIlength))
displacement : displacement_dim # D
theory Permittivity : qe:?QEBase =
meta modeltype physical_quantity
permittivity_dim : type = QE (ElectricCharge /' (ElectricPotential * SIlength))
permittivity : permittivity_dim # εs
theory Density : qe:?QEBase =
meta modeltype physical_quantity
density_dim : type = QE (DimNone /' (SIlength * SIlength * SIlength))
density : density_dim
theory CurrentDensity : qe:?QEBase =
meta modeltype physical_quantity
currentdensity_dim : type = QE (SIcurrent /' Area)
currentdensity : currentdensity_dim
theory RecombinationRate : qe:?QEBase =
meta modeltype physical_quantity
recombinationrate_dim : type = QE (DimNone /' (Volume * SItime))
recombinationrate : recombinationrate_dim # R
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment