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
9ba6c95a
Commit
9ba6c95a
authored
6 years ago
by
Student-A
Browse files
Options
Downloads
Patches
Plain Diff
adds missing roles
parent
43d5423a
Branches
aimans_playground
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
source/mmt/Example.mmt
+1
-1
1 addition, 1 deletion
source/mmt/Example.mmt
source/mmt/VanRoosbrockEg.mmt
+7
-7
7 additions, 7 deletions
source/mmt/VanRoosbrockEg.mmt
with
8 additions
and
8 deletions
source/mmt/Example.mmt
+
1
−
1
View file @
9ba6c95a
...
...
@@ -101,5 +101,5 @@ theory FreeFallOnEarthModel =
gravity: $ Acceleration (Vector 3) ❘ # g ❘ = (◁ 0.0, -9.81, 0.0) ! (metres /'' seconds ²'')❙
equation_of_motion: ⊦ x ≐ x_0 '+' (v_0 '*' t) '+' g '*∘' (t '*' t '/' (2.0 ? units)) ❙
equation_of_motion: ⊦ x ≐ x_0 '+' (v_0 '*' t) '+' g '*∘' (t '*' t '/' (2.0 ? units))
❘ role Law
❙
❚
This diff is collapsed.
Click to expand it.
source/mmt/VanRoosbrockEg.mmt
+
7
−
7
View file @
9ba6c95a
...
...
@@ -74,23 +74,23 @@ theory VanRoosbrockEg : qe:?ModelBase =
include ur:?LF ❙
include qe:?BoundaryConditionBase❙
permitivity_relation: ⊦ ε_s ≐ ε_r '*' ε_0 ❘ role Law❙
permitivity_relation: ⊦ ε_s ≐ ε_r '*' ε_0 ❘ role Law
❙
displacement_law: ⊦ D ≐ ε_s '∘*. E ❘ role Law ❙
gauss_law: ⊦ -. ρ ≐ ∇⋅. D ❘ role Law❙
charge_density_law: {x: Ω}⊦ ρ x ≐ e '*' (C x '-' n x) ❙
charge_density_law: {x: Ω}⊦ ρ x ≐ e '*' (C x '-' n x)
❘ role Law
❙
displacement_relation: ⊦ D ≐ ε_s '∘*. E❙
displacement_relation: ⊦ D ≐ ε_s '∘*. E
❘ role Law
❙
electric_field_law: ⊦ E ≐ -. ∇. Ψ ❙
electric_field_law: ⊦ E ≐ -. ∇. Ψ
❘ role Law
❙
electron_density_law: {x: Ω} ⊦ n x ≐ N_c x '*' (exp ((e '*' (Ψ x '-' φ_n x) '-' E_c x) '/' (k_B '*' T x)))❙
electron_density_law: {x: Ω} ⊦ n x ≐ N_c x '*' (exp ((e '*' (Ψ x '-' φ_n x) '-' E_c x) '/' (k_B '*' T x)))
❘ role Law
❙
electron_current: ⊦ j_n ≐ ((e '∘*. μ_n .*. n) .*. (∇. φ_n)) ❙
electron_current: ⊦ j_n ≐ ((e '∘*. μ_n .*. n) .*. (∇. φ_n))
❘ role Law
❙
electron_continuity_eqn: ⊦ ∇⋅. j_n ≐ ([x: Ω] 0.0
? units) | Ω ❘ role Condition
❙
electron_continuity_eqn: ⊦ ∇⋅. j_n ≐ ([x: Ω] 0.0
) ❘ role Law
❙
two_potential_at_boundary : Dirichlet Ψ ([x: ∂Ω] 2.0 ? volts)❙
...
...
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