Commit 6b07f14
committed
Optimizes thermo-electro-mechanical model calculations
Removes unnecessary type assertions and improves
numerical stability within the Bonet
ThermoElectroMechanical model.
This change ensures more efficient computation
and more accurate results without relying on
explicit type declarations, leveraging Julia's
type inference capabilities.
The test has been updated with the correct value after the change.1 parent 4edf5ab commit 6b07f14
File tree
2 files changed
+8
-8
lines changed- src/PhysicalModels
- test/TestConstitutiveModels
2 files changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
957 | 957 | | |
958 | 958 | | |
959 | 959 | | |
960 | | - | |
| 960 | + | |
961 | 961 | | |
962 | 962 | | |
963 | 963 | | |
| |||
0 commit comments