qnty 0.1.2__py3-none-any.whl → 0.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- qnty/equations/equation.py +29 -3
- qnty/expressions/nodes.py +21 -13
- qnty/problems/problem.py +4 -0
- qnty/quantities/base_qnty.py +38 -0
- qnty/quantities/field_converters.py +5 -2
- qnty/quantities/field_qnty.py +25 -5
- qnty/quantities/field_vars.py +6523 -1606
- qnty/quantities/field_vars.pyi +963 -107
- qnty/utils/unit_suggestions.py +198 -0
- {qnty-0.1.2.dist-info → qnty-0.1.4.dist-info}/METADATA +1 -1
- {qnty-0.1.2.dist-info → qnty-0.1.4.dist-info}/RECORD +12 -11
- {qnty-0.1.2.dist-info → qnty-0.1.4.dist-info}/WHEEL +0 -0
qnty/quantities/field_vars.pyi
CHANGED
@@ -46,7 +46,7 @@ class AbsorbedDose(FieldQnty):
|
|
46
46
|
_setter_class = field_setter.AbsorbedDoseSetter
|
47
47
|
_dimension = dim.ABSORBED_DOSE
|
48
48
|
|
49
|
-
def __init__(self, name_or_value: str | int | float,
|
49
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
50
50
|
...
|
51
51
|
|
52
52
|
@overload
|
@@ -56,6 +56,14 @@ class AbsorbedDose(FieldQnty):
|
|
56
56
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AbsorbedDoseSetter:
|
57
57
|
...
|
58
58
|
|
59
|
+
@property
|
60
|
+
def value(self) -> float | None:
|
61
|
+
...
|
62
|
+
|
63
|
+
@property
|
64
|
+
def unit(self) -> str | None:
|
65
|
+
...
|
66
|
+
|
59
67
|
|
60
68
|
|
61
69
|
class Acceleration(FieldQnty):
|
@@ -79,7 +87,7 @@ class Acceleration(FieldQnty):
|
|
79
87
|
_setter_class = field_setter.AccelerationSetter
|
80
88
|
_dimension = dim.ACCELERATION
|
81
89
|
|
82
|
-
def __init__(self, name_or_value: str | int | float,
|
90
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
83
91
|
...
|
84
92
|
|
85
93
|
@overload
|
@@ -89,6 +97,14 @@ class Acceleration(FieldQnty):
|
|
89
97
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AccelerationSetter:
|
90
98
|
...
|
91
99
|
|
100
|
+
@property
|
101
|
+
def value(self) -> float | None:
|
102
|
+
...
|
103
|
+
|
104
|
+
@property
|
105
|
+
def unit(self) -> str | None:
|
106
|
+
...
|
107
|
+
|
92
108
|
|
93
109
|
|
94
110
|
class ActivationEnergy(FieldQnty):
|
@@ -112,7 +128,7 @@ class ActivationEnergy(FieldQnty):
|
|
112
128
|
_setter_class = field_setter.ActivationEnergySetter
|
113
129
|
_dimension = dim.ACTIVATION_ENERGY
|
114
130
|
|
115
|
-
def __init__(self, name_or_value: str | int | float,
|
131
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
116
132
|
...
|
117
133
|
|
118
134
|
@overload
|
@@ -122,6 +138,14 @@ class ActivationEnergy(FieldQnty):
|
|
122
138
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ActivationEnergySetter:
|
123
139
|
...
|
124
140
|
|
141
|
+
@property
|
142
|
+
def value(self) -> float | None:
|
143
|
+
...
|
144
|
+
|
145
|
+
@property
|
146
|
+
def unit(self) -> str | None:
|
147
|
+
...
|
148
|
+
|
125
149
|
|
126
150
|
|
127
151
|
class AmountOfSubstance(FieldQnty):
|
@@ -145,7 +169,7 @@ class AmountOfSubstance(FieldQnty):
|
|
145
169
|
_setter_class = field_setter.AmountOfSubstanceSetter
|
146
170
|
_dimension = dim.AMOUNT_OF_SUBSTANCE
|
147
171
|
|
148
|
-
def __init__(self, name_or_value: str | int | float,
|
172
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
149
173
|
...
|
150
174
|
|
151
175
|
@overload
|
@@ -155,6 +179,14 @@ class AmountOfSubstance(FieldQnty):
|
|
155
179
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AmountOfSubstanceSetter:
|
156
180
|
...
|
157
181
|
|
182
|
+
@property
|
183
|
+
def value(self) -> float | None:
|
184
|
+
...
|
185
|
+
|
186
|
+
@property
|
187
|
+
def unit(self) -> str | None:
|
188
|
+
...
|
189
|
+
|
158
190
|
|
159
191
|
|
160
192
|
class AnglePlane(FieldQnty):
|
@@ -178,7 +210,7 @@ class AnglePlane(FieldQnty):
|
|
178
210
|
_setter_class = field_setter.AnglePlaneSetter
|
179
211
|
_dimension = dim.ANGLE_PLANE
|
180
212
|
|
181
|
-
def __init__(self, name_or_value: str | int | float,
|
213
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
182
214
|
...
|
183
215
|
|
184
216
|
@overload
|
@@ -188,6 +220,14 @@ class AnglePlane(FieldQnty):
|
|
188
220
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AnglePlaneSetter:
|
189
221
|
...
|
190
222
|
|
223
|
+
@property
|
224
|
+
def value(self) -> float | None:
|
225
|
+
...
|
226
|
+
|
227
|
+
@property
|
228
|
+
def unit(self) -> str | None:
|
229
|
+
...
|
230
|
+
|
191
231
|
|
192
232
|
|
193
233
|
class AngleSolid(FieldQnty):
|
@@ -211,7 +251,7 @@ class AngleSolid(FieldQnty):
|
|
211
251
|
_setter_class = field_setter.AngleSolidSetter
|
212
252
|
_dimension = dim.ANGLE_SOLID
|
213
253
|
|
214
|
-
def __init__(self, name_or_value: str | int | float,
|
254
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
215
255
|
...
|
216
256
|
|
217
257
|
@overload
|
@@ -221,6 +261,14 @@ class AngleSolid(FieldQnty):
|
|
221
261
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AngleSolidSetter:
|
222
262
|
...
|
223
263
|
|
264
|
+
@property
|
265
|
+
def value(self) -> float | None:
|
266
|
+
...
|
267
|
+
|
268
|
+
@property
|
269
|
+
def unit(self) -> str | None:
|
270
|
+
...
|
271
|
+
|
224
272
|
|
225
273
|
|
226
274
|
class AngularAcceleration(FieldQnty):
|
@@ -244,7 +292,7 @@ class AngularAcceleration(FieldQnty):
|
|
244
292
|
_setter_class = field_setter.AngularAccelerationSetter
|
245
293
|
_dimension = dim.ANGULAR_ACCELERATION
|
246
294
|
|
247
|
-
def __init__(self, name_or_value: str | int | float,
|
295
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
248
296
|
...
|
249
297
|
|
250
298
|
@overload
|
@@ -254,6 +302,14 @@ class AngularAcceleration(FieldQnty):
|
|
254
302
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AngularAccelerationSetter:
|
255
303
|
...
|
256
304
|
|
305
|
+
@property
|
306
|
+
def value(self) -> float | None:
|
307
|
+
...
|
308
|
+
|
309
|
+
@property
|
310
|
+
def unit(self) -> str | None:
|
311
|
+
...
|
312
|
+
|
257
313
|
|
258
314
|
|
259
315
|
class AngularMomentum(FieldQnty):
|
@@ -277,7 +333,7 @@ class AngularMomentum(FieldQnty):
|
|
277
333
|
_setter_class = field_setter.AngularMomentumSetter
|
278
334
|
_dimension = dim.ANGULAR_MOMENTUM
|
279
335
|
|
280
|
-
def __init__(self, name_or_value: str | int | float,
|
336
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
281
337
|
...
|
282
338
|
|
283
339
|
@overload
|
@@ -287,6 +343,14 @@ class AngularMomentum(FieldQnty):
|
|
287
343
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AngularMomentumSetter:
|
288
344
|
...
|
289
345
|
|
346
|
+
@property
|
347
|
+
def value(self) -> float | None:
|
348
|
+
...
|
349
|
+
|
350
|
+
@property
|
351
|
+
def unit(self) -> str | None:
|
352
|
+
...
|
353
|
+
|
290
354
|
|
291
355
|
|
292
356
|
class Area(FieldQnty):
|
@@ -310,7 +374,7 @@ class Area(FieldQnty):
|
|
310
374
|
_setter_class = field_setter.AreaSetter
|
311
375
|
_dimension = dim.AREA
|
312
376
|
|
313
|
-
def __init__(self, name_or_value: str | int | float,
|
377
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
314
378
|
...
|
315
379
|
|
316
380
|
@overload
|
@@ -320,6 +384,14 @@ class Area(FieldQnty):
|
|
320
384
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AreaSetter:
|
321
385
|
...
|
322
386
|
|
387
|
+
@property
|
388
|
+
def value(self) -> float | None:
|
389
|
+
...
|
390
|
+
|
391
|
+
@property
|
392
|
+
def unit(self) -> str | None:
|
393
|
+
...
|
394
|
+
|
323
395
|
|
324
396
|
|
325
397
|
class AreaPerUnitVolume(FieldQnty):
|
@@ -343,7 +415,7 @@ class AreaPerUnitVolume(FieldQnty):
|
|
343
415
|
_setter_class = field_setter.AreaPerUnitVolumeSetter
|
344
416
|
_dimension = dim.AREA_PER_UNIT_VOLUME
|
345
417
|
|
346
|
-
def __init__(self, name_or_value: str | int | float,
|
418
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
347
419
|
...
|
348
420
|
|
349
421
|
@overload
|
@@ -353,6 +425,14 @@ class AreaPerUnitVolume(FieldQnty):
|
|
353
425
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AreaPerUnitVolumeSetter:
|
354
426
|
...
|
355
427
|
|
428
|
+
@property
|
429
|
+
def value(self) -> float | None:
|
430
|
+
...
|
431
|
+
|
432
|
+
@property
|
433
|
+
def unit(self) -> str | None:
|
434
|
+
...
|
435
|
+
|
356
436
|
|
357
437
|
|
358
438
|
class AtomicWeight(FieldQnty):
|
@@ -376,7 +456,7 @@ class AtomicWeight(FieldQnty):
|
|
376
456
|
_setter_class = field_setter.AtomicWeightSetter
|
377
457
|
_dimension = dim.ATOMIC_WEIGHT
|
378
458
|
|
379
|
-
def __init__(self, name_or_value: str | int | float,
|
459
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
380
460
|
...
|
381
461
|
|
382
462
|
@overload
|
@@ -386,6 +466,14 @@ class AtomicWeight(FieldQnty):
|
|
386
466
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.AtomicWeightSetter:
|
387
467
|
...
|
388
468
|
|
469
|
+
@property
|
470
|
+
def value(self) -> float | None:
|
471
|
+
...
|
472
|
+
|
473
|
+
@property
|
474
|
+
def unit(self) -> str | None:
|
475
|
+
...
|
476
|
+
|
389
477
|
|
390
478
|
|
391
479
|
class Concentration(FieldQnty):
|
@@ -409,7 +497,7 @@ class Concentration(FieldQnty):
|
|
409
497
|
_setter_class = field_setter.ConcentrationSetter
|
410
498
|
_dimension = dim.CONCENTRATION
|
411
499
|
|
412
|
-
def __init__(self, name_or_value: str | int | float,
|
500
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
413
501
|
...
|
414
502
|
|
415
503
|
@overload
|
@@ -419,6 +507,14 @@ class Concentration(FieldQnty):
|
|
419
507
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ConcentrationSetter:
|
420
508
|
...
|
421
509
|
|
510
|
+
@property
|
511
|
+
def value(self) -> float | None:
|
512
|
+
...
|
513
|
+
|
514
|
+
@property
|
515
|
+
def unit(self) -> str | None:
|
516
|
+
...
|
517
|
+
|
422
518
|
|
423
519
|
|
424
520
|
class Dimensionless(FieldQnty):
|
@@ -440,7 +536,7 @@ class Dimensionless(FieldQnty):
|
|
440
536
|
_setter_class = field_setter.DimensionlessSetter
|
441
537
|
_dimension = dim.DIMENSIONLESS
|
442
538
|
|
443
|
-
def __init__(self, name_or_value: str | int | float,
|
539
|
+
def __init__(self, name_or_value: str | int | float, name_or_unit: str | int | float | None = None):
|
444
540
|
...
|
445
541
|
|
446
542
|
@overload
|
@@ -450,6 +546,14 @@ class Dimensionless(FieldQnty):
|
|
450
546
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.DimensionlessSetter:
|
451
547
|
...
|
452
548
|
|
549
|
+
@property
|
550
|
+
def value(self) -> float | None:
|
551
|
+
...
|
552
|
+
|
553
|
+
@property
|
554
|
+
def unit(self) -> str | None:
|
555
|
+
...
|
556
|
+
|
453
557
|
|
454
558
|
|
455
559
|
class DynamicFluidity(FieldQnty):
|
@@ -473,7 +577,7 @@ class DynamicFluidity(FieldQnty):
|
|
473
577
|
_setter_class = field_setter.DynamicFluiditySetter
|
474
578
|
_dimension = dim.DYNAMIC_FLUIDITY
|
475
579
|
|
476
|
-
def __init__(self, name_or_value: str | int | float,
|
580
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
477
581
|
...
|
478
582
|
|
479
583
|
@overload
|
@@ -483,6 +587,14 @@ class DynamicFluidity(FieldQnty):
|
|
483
587
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.DynamicFluiditySetter:
|
484
588
|
...
|
485
589
|
|
590
|
+
@property
|
591
|
+
def value(self) -> float | None:
|
592
|
+
...
|
593
|
+
|
594
|
+
@property
|
595
|
+
def unit(self) -> str | None:
|
596
|
+
...
|
597
|
+
|
486
598
|
|
487
599
|
|
488
600
|
class ElectricCapacitance(FieldQnty):
|
@@ -506,7 +618,7 @@ class ElectricCapacitance(FieldQnty):
|
|
506
618
|
_setter_class = field_setter.ElectricCapacitanceSetter
|
507
619
|
_dimension = dim.ELECTRIC_CAPACITANCE
|
508
620
|
|
509
|
-
def __init__(self, name_or_value: str | int | float,
|
621
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
510
622
|
...
|
511
623
|
|
512
624
|
@overload
|
@@ -516,6 +628,14 @@ class ElectricCapacitance(FieldQnty):
|
|
516
628
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricCapacitanceSetter:
|
517
629
|
...
|
518
630
|
|
631
|
+
@property
|
632
|
+
def value(self) -> float | None:
|
633
|
+
...
|
634
|
+
|
635
|
+
@property
|
636
|
+
def unit(self) -> str | None:
|
637
|
+
...
|
638
|
+
|
519
639
|
|
520
640
|
|
521
641
|
class ElectricCharge(FieldQnty):
|
@@ -539,7 +659,7 @@ class ElectricCharge(FieldQnty):
|
|
539
659
|
_setter_class = field_setter.ElectricChargeSetter
|
540
660
|
_dimension = dim.ELECTRIC_CHARGE
|
541
661
|
|
542
|
-
def __init__(self, name_or_value: str | int | float,
|
662
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
543
663
|
...
|
544
664
|
|
545
665
|
@overload
|
@@ -549,6 +669,14 @@ class ElectricCharge(FieldQnty):
|
|
549
669
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricChargeSetter:
|
550
670
|
...
|
551
671
|
|
672
|
+
@property
|
673
|
+
def value(self) -> float | None:
|
674
|
+
...
|
675
|
+
|
676
|
+
@property
|
677
|
+
def unit(self) -> str | None:
|
678
|
+
...
|
679
|
+
|
552
680
|
|
553
681
|
|
554
682
|
class ElectricCurrentIntensity(FieldQnty):
|
@@ -572,7 +700,7 @@ class ElectricCurrentIntensity(FieldQnty):
|
|
572
700
|
_setter_class = field_setter.ElectricCurrentIntensitySetter
|
573
701
|
_dimension = dim.ELECTRIC_CURRENT_INTENSITY
|
574
702
|
|
575
|
-
def __init__(self, name_or_value: str | int | float,
|
703
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
576
704
|
...
|
577
705
|
|
578
706
|
@overload
|
@@ -582,6 +710,14 @@ class ElectricCurrentIntensity(FieldQnty):
|
|
582
710
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricCurrentIntensitySetter:
|
583
711
|
...
|
584
712
|
|
713
|
+
@property
|
714
|
+
def value(self) -> float | None:
|
715
|
+
...
|
716
|
+
|
717
|
+
@property
|
718
|
+
def unit(self) -> str | None:
|
719
|
+
...
|
720
|
+
|
585
721
|
|
586
722
|
|
587
723
|
class ElectricDipoleMoment(FieldQnty):
|
@@ -605,7 +741,7 @@ class ElectricDipoleMoment(FieldQnty):
|
|
605
741
|
_setter_class = field_setter.ElectricDipoleMomentSetter
|
606
742
|
_dimension = dim.ELECTRIC_DIPOLE_MOMENT
|
607
743
|
|
608
|
-
def __init__(self, name_or_value: str | int | float,
|
744
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
609
745
|
...
|
610
746
|
|
611
747
|
@overload
|
@@ -615,6 +751,14 @@ class ElectricDipoleMoment(FieldQnty):
|
|
615
751
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricDipoleMomentSetter:
|
616
752
|
...
|
617
753
|
|
754
|
+
@property
|
755
|
+
def value(self) -> float | None:
|
756
|
+
...
|
757
|
+
|
758
|
+
@property
|
759
|
+
def unit(self) -> str | None:
|
760
|
+
...
|
761
|
+
|
618
762
|
|
619
763
|
|
620
764
|
class ElectricFieldStrength(FieldQnty):
|
@@ -638,7 +782,7 @@ class ElectricFieldStrength(FieldQnty):
|
|
638
782
|
_setter_class = field_setter.ElectricFieldStrengthSetter
|
639
783
|
_dimension = dim.ELECTRIC_FIELD_STRENGTH
|
640
784
|
|
641
|
-
def __init__(self, name_or_value: str | int | float,
|
785
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
642
786
|
...
|
643
787
|
|
644
788
|
@overload
|
@@ -648,6 +792,14 @@ class ElectricFieldStrength(FieldQnty):
|
|
648
792
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricFieldStrengthSetter:
|
649
793
|
...
|
650
794
|
|
795
|
+
@property
|
796
|
+
def value(self) -> float | None:
|
797
|
+
...
|
798
|
+
|
799
|
+
@property
|
800
|
+
def unit(self) -> str | None:
|
801
|
+
...
|
802
|
+
|
651
803
|
|
652
804
|
|
653
805
|
class ElectricInductance(FieldQnty):
|
@@ -671,7 +823,7 @@ class ElectricInductance(FieldQnty):
|
|
671
823
|
_setter_class = field_setter.ElectricInductanceSetter
|
672
824
|
_dimension = dim.ELECTRIC_INDUCTANCE
|
673
825
|
|
674
|
-
def __init__(self, name_or_value: str | int | float,
|
826
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
675
827
|
...
|
676
828
|
|
677
829
|
@overload
|
@@ -681,6 +833,14 @@ class ElectricInductance(FieldQnty):
|
|
681
833
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricInductanceSetter:
|
682
834
|
...
|
683
835
|
|
836
|
+
@property
|
837
|
+
def value(self) -> float | None:
|
838
|
+
...
|
839
|
+
|
840
|
+
@property
|
841
|
+
def unit(self) -> str | None:
|
842
|
+
...
|
843
|
+
|
684
844
|
|
685
845
|
|
686
846
|
class ElectricPotential(FieldQnty):
|
@@ -704,7 +864,7 @@ class ElectricPotential(FieldQnty):
|
|
704
864
|
_setter_class = field_setter.ElectricPotentialSetter
|
705
865
|
_dimension = dim.ELECTRIC_POTENTIAL
|
706
866
|
|
707
|
-
def __init__(self, name_or_value: str | int | float,
|
867
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
708
868
|
...
|
709
869
|
|
710
870
|
@overload
|
@@ -714,6 +874,14 @@ class ElectricPotential(FieldQnty):
|
|
714
874
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricPotentialSetter:
|
715
875
|
...
|
716
876
|
|
877
|
+
@property
|
878
|
+
def value(self) -> float | None:
|
879
|
+
...
|
880
|
+
|
881
|
+
@property
|
882
|
+
def unit(self) -> str | None:
|
883
|
+
...
|
884
|
+
|
717
885
|
|
718
886
|
|
719
887
|
class ElectricResistance(FieldQnty):
|
@@ -737,7 +905,7 @@ class ElectricResistance(FieldQnty):
|
|
737
905
|
_setter_class = field_setter.ElectricResistanceSetter
|
738
906
|
_dimension = dim.ELECTRIC_RESISTANCE
|
739
907
|
|
740
|
-
def __init__(self, name_or_value: str | int | float,
|
908
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
741
909
|
...
|
742
910
|
|
743
911
|
@overload
|
@@ -747,6 +915,14 @@ class ElectricResistance(FieldQnty):
|
|
747
915
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricResistanceSetter:
|
748
916
|
...
|
749
917
|
|
918
|
+
@property
|
919
|
+
def value(self) -> float | None:
|
920
|
+
...
|
921
|
+
|
922
|
+
@property
|
923
|
+
def unit(self) -> str | None:
|
924
|
+
...
|
925
|
+
|
750
926
|
|
751
927
|
|
752
928
|
class ElectricalConductance(FieldQnty):
|
@@ -770,7 +946,7 @@ class ElectricalConductance(FieldQnty):
|
|
770
946
|
_setter_class = field_setter.ElectricalConductanceSetter
|
771
947
|
_dimension = dim.ELECTRICAL_CONDUCTANCE
|
772
948
|
|
773
|
-
def __init__(self, name_or_value: str | int | float,
|
949
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
774
950
|
...
|
775
951
|
|
776
952
|
@overload
|
@@ -780,6 +956,14 @@ class ElectricalConductance(FieldQnty):
|
|
780
956
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricalConductanceSetter:
|
781
957
|
...
|
782
958
|
|
959
|
+
@property
|
960
|
+
def value(self) -> float | None:
|
961
|
+
...
|
962
|
+
|
963
|
+
@property
|
964
|
+
def unit(self) -> str | None:
|
965
|
+
...
|
966
|
+
|
783
967
|
|
784
968
|
|
785
969
|
class ElectricalPermittivity(FieldQnty):
|
@@ -803,7 +987,7 @@ class ElectricalPermittivity(FieldQnty):
|
|
803
987
|
_setter_class = field_setter.ElectricalPermittivitySetter
|
804
988
|
_dimension = dim.ELECTRICAL_PERMITTIVITY
|
805
989
|
|
806
|
-
def __init__(self, name_or_value: str | int | float,
|
990
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
807
991
|
...
|
808
992
|
|
809
993
|
@overload
|
@@ -813,6 +997,14 @@ class ElectricalPermittivity(FieldQnty):
|
|
813
997
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricalPermittivitySetter:
|
814
998
|
...
|
815
999
|
|
1000
|
+
@property
|
1001
|
+
def value(self) -> float | None:
|
1002
|
+
...
|
1003
|
+
|
1004
|
+
@property
|
1005
|
+
def unit(self) -> str | None:
|
1006
|
+
...
|
1007
|
+
|
816
1008
|
|
817
1009
|
|
818
1010
|
class ElectricalResistivity(FieldQnty):
|
@@ -836,7 +1028,7 @@ class ElectricalResistivity(FieldQnty):
|
|
836
1028
|
_setter_class = field_setter.ElectricalResistivitySetter
|
837
1029
|
_dimension = dim.ELECTRICAL_RESISTIVITY
|
838
1030
|
|
839
|
-
def __init__(self, name_or_value: str | int | float,
|
1031
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
840
1032
|
...
|
841
1033
|
|
842
1034
|
@overload
|
@@ -846,6 +1038,14 @@ class ElectricalResistivity(FieldQnty):
|
|
846
1038
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ElectricalResistivitySetter:
|
847
1039
|
...
|
848
1040
|
|
1041
|
+
@property
|
1042
|
+
def value(self) -> float | None:
|
1043
|
+
...
|
1044
|
+
|
1045
|
+
@property
|
1046
|
+
def unit(self) -> str | None:
|
1047
|
+
...
|
1048
|
+
|
849
1049
|
|
850
1050
|
|
851
1051
|
class EnergyFlux(FieldQnty):
|
@@ -869,7 +1069,7 @@ class EnergyFlux(FieldQnty):
|
|
869
1069
|
_setter_class = field_setter.EnergyFluxSetter
|
870
1070
|
_dimension = dim.ENERGY_FLUX
|
871
1071
|
|
872
|
-
def __init__(self, name_or_value: str | int | float,
|
1072
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
873
1073
|
...
|
874
1074
|
|
875
1075
|
@overload
|
@@ -879,6 +1079,14 @@ class EnergyFlux(FieldQnty):
|
|
879
1079
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.EnergyFluxSetter:
|
880
1080
|
...
|
881
1081
|
|
1082
|
+
@property
|
1083
|
+
def value(self) -> float | None:
|
1084
|
+
...
|
1085
|
+
|
1086
|
+
@property
|
1087
|
+
def unit(self) -> str | None:
|
1088
|
+
...
|
1089
|
+
|
882
1090
|
|
883
1091
|
|
884
1092
|
class EnergyHeatWork(FieldQnty):
|
@@ -902,7 +1110,7 @@ class EnergyHeatWork(FieldQnty):
|
|
902
1110
|
_setter_class = field_setter.EnergyHeatWorkSetter
|
903
1111
|
_dimension = dim.ENERGY_HEAT_WORK
|
904
1112
|
|
905
|
-
def __init__(self, name_or_value: str | int | float,
|
1113
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
906
1114
|
...
|
907
1115
|
|
908
1116
|
@overload
|
@@ -912,6 +1120,14 @@ class EnergyHeatWork(FieldQnty):
|
|
912
1120
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.EnergyHeatWorkSetter:
|
913
1121
|
...
|
914
1122
|
|
1123
|
+
@property
|
1124
|
+
def value(self) -> float | None:
|
1125
|
+
...
|
1126
|
+
|
1127
|
+
@property
|
1128
|
+
def unit(self) -> str | None:
|
1129
|
+
...
|
1130
|
+
|
915
1131
|
|
916
1132
|
|
917
1133
|
class EnergyPerUnitArea(FieldQnty):
|
@@ -935,7 +1151,7 @@ class EnergyPerUnitArea(FieldQnty):
|
|
935
1151
|
_setter_class = field_setter.EnergyPerUnitAreaSetter
|
936
1152
|
_dimension = dim.ENERGY_PER_UNIT_AREA
|
937
1153
|
|
938
|
-
def __init__(self, name_or_value: str | int | float,
|
1154
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
939
1155
|
...
|
940
1156
|
|
941
1157
|
@overload
|
@@ -945,6 +1161,14 @@ class EnergyPerUnitArea(FieldQnty):
|
|
945
1161
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.EnergyPerUnitAreaSetter:
|
946
1162
|
...
|
947
1163
|
|
1164
|
+
@property
|
1165
|
+
def value(self) -> float | None:
|
1166
|
+
...
|
1167
|
+
|
1168
|
+
@property
|
1169
|
+
def unit(self) -> str | None:
|
1170
|
+
...
|
1171
|
+
|
948
1172
|
|
949
1173
|
|
950
1174
|
class Force(FieldQnty):
|
@@ -968,7 +1192,7 @@ class Force(FieldQnty):
|
|
968
1192
|
_setter_class = field_setter.ForceSetter
|
969
1193
|
_dimension = dim.FORCE
|
970
1194
|
|
971
|
-
def __init__(self, name_or_value: str | int | float,
|
1195
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
972
1196
|
...
|
973
1197
|
|
974
1198
|
@overload
|
@@ -978,6 +1202,14 @@ class Force(FieldQnty):
|
|
978
1202
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ForceSetter:
|
979
1203
|
...
|
980
1204
|
|
1205
|
+
@property
|
1206
|
+
def value(self) -> float | None:
|
1207
|
+
...
|
1208
|
+
|
1209
|
+
@property
|
1210
|
+
def unit(self) -> str | None:
|
1211
|
+
...
|
1212
|
+
|
981
1213
|
|
982
1214
|
|
983
1215
|
class ForceBody(FieldQnty):
|
@@ -1001,7 +1233,7 @@ class ForceBody(FieldQnty):
|
|
1001
1233
|
_setter_class = field_setter.ForceBodySetter
|
1002
1234
|
_dimension = dim.FORCE_BODY
|
1003
1235
|
|
1004
|
-
def __init__(self, name_or_value: str | int | float,
|
1236
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1005
1237
|
...
|
1006
1238
|
|
1007
1239
|
@overload
|
@@ -1011,6 +1243,14 @@ class ForceBody(FieldQnty):
|
|
1011
1243
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ForceBodySetter:
|
1012
1244
|
...
|
1013
1245
|
|
1246
|
+
@property
|
1247
|
+
def value(self) -> float | None:
|
1248
|
+
...
|
1249
|
+
|
1250
|
+
@property
|
1251
|
+
def unit(self) -> str | None:
|
1252
|
+
...
|
1253
|
+
|
1014
1254
|
|
1015
1255
|
|
1016
1256
|
class ForcePerUnitMass(FieldQnty):
|
@@ -1034,7 +1274,7 @@ class ForcePerUnitMass(FieldQnty):
|
|
1034
1274
|
_setter_class = field_setter.ForcePerUnitMassSetter
|
1035
1275
|
_dimension = dim.FORCE_PER_UNIT_MASS
|
1036
1276
|
|
1037
|
-
def __init__(self, name_or_value: str | int | float,
|
1277
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1038
1278
|
...
|
1039
1279
|
|
1040
1280
|
@overload
|
@@ -1044,6 +1284,14 @@ class ForcePerUnitMass(FieldQnty):
|
|
1044
1284
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ForcePerUnitMassSetter:
|
1045
1285
|
...
|
1046
1286
|
|
1287
|
+
@property
|
1288
|
+
def value(self) -> float | None:
|
1289
|
+
...
|
1290
|
+
|
1291
|
+
@property
|
1292
|
+
def unit(self) -> str | None:
|
1293
|
+
...
|
1294
|
+
|
1047
1295
|
|
1048
1296
|
|
1049
1297
|
class FrequencyVoltageRatio(FieldQnty):
|
@@ -1067,7 +1315,7 @@ class FrequencyVoltageRatio(FieldQnty):
|
|
1067
1315
|
_setter_class = field_setter.FrequencyVoltageRatioSetter
|
1068
1316
|
_dimension = dim.FREQUENCY_VOLTAGE_RATIO
|
1069
1317
|
|
1070
|
-
def __init__(self, name_or_value: str | int | float,
|
1318
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1071
1319
|
...
|
1072
1320
|
|
1073
1321
|
@overload
|
@@ -1077,6 +1325,14 @@ class FrequencyVoltageRatio(FieldQnty):
|
|
1077
1325
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.FrequencyVoltageRatioSetter:
|
1078
1326
|
...
|
1079
1327
|
|
1328
|
+
@property
|
1329
|
+
def value(self) -> float | None:
|
1330
|
+
...
|
1331
|
+
|
1332
|
+
@property
|
1333
|
+
def unit(self) -> str | None:
|
1334
|
+
...
|
1335
|
+
|
1080
1336
|
|
1081
1337
|
|
1082
1338
|
class FuelConsumption(FieldQnty):
|
@@ -1100,7 +1356,7 @@ class FuelConsumption(FieldQnty):
|
|
1100
1356
|
_setter_class = field_setter.FuelConsumptionSetter
|
1101
1357
|
_dimension = dim.FUEL_CONSUMPTION
|
1102
1358
|
|
1103
|
-
def __init__(self, name_or_value: str | int | float,
|
1359
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1104
1360
|
...
|
1105
1361
|
|
1106
1362
|
@overload
|
@@ -1110,6 +1366,14 @@ class FuelConsumption(FieldQnty):
|
|
1110
1366
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.FuelConsumptionSetter:
|
1111
1367
|
...
|
1112
1368
|
|
1369
|
+
@property
|
1370
|
+
def value(self) -> float | None:
|
1371
|
+
...
|
1372
|
+
|
1373
|
+
@property
|
1374
|
+
def unit(self) -> str | None:
|
1375
|
+
...
|
1376
|
+
|
1113
1377
|
|
1114
1378
|
|
1115
1379
|
class HeatOfCombustion(FieldQnty):
|
@@ -1133,7 +1397,7 @@ class HeatOfCombustion(FieldQnty):
|
|
1133
1397
|
_setter_class = field_setter.HeatOfCombustionSetter
|
1134
1398
|
_dimension = dim.HEAT_OF_COMBUSTION
|
1135
1399
|
|
1136
|
-
def __init__(self, name_or_value: str | int | float,
|
1400
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1137
1401
|
...
|
1138
1402
|
|
1139
1403
|
@overload
|
@@ -1143,6 +1407,14 @@ class HeatOfCombustion(FieldQnty):
|
|
1143
1407
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.HeatOfCombustionSetter:
|
1144
1408
|
...
|
1145
1409
|
|
1410
|
+
@property
|
1411
|
+
def value(self) -> float | None:
|
1412
|
+
...
|
1413
|
+
|
1414
|
+
@property
|
1415
|
+
def unit(self) -> str | None:
|
1416
|
+
...
|
1417
|
+
|
1146
1418
|
|
1147
1419
|
|
1148
1420
|
class HeatOfFusion(FieldQnty):
|
@@ -1166,7 +1438,7 @@ class HeatOfFusion(FieldQnty):
|
|
1166
1438
|
_setter_class = field_setter.HeatOfFusionSetter
|
1167
1439
|
_dimension = dim.HEAT_OF_FUSION
|
1168
1440
|
|
1169
|
-
def __init__(self, name_or_value: str | int | float,
|
1441
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1170
1442
|
...
|
1171
1443
|
|
1172
1444
|
@overload
|
@@ -1176,6 +1448,14 @@ class HeatOfFusion(FieldQnty):
|
|
1176
1448
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.HeatOfFusionSetter:
|
1177
1449
|
...
|
1178
1450
|
|
1451
|
+
@property
|
1452
|
+
def value(self) -> float | None:
|
1453
|
+
...
|
1454
|
+
|
1455
|
+
@property
|
1456
|
+
def unit(self) -> str | None:
|
1457
|
+
...
|
1458
|
+
|
1179
1459
|
|
1180
1460
|
|
1181
1461
|
class HeatOfVaporization(FieldQnty):
|
@@ -1199,7 +1479,7 @@ class HeatOfVaporization(FieldQnty):
|
|
1199
1479
|
_setter_class = field_setter.HeatOfVaporizationSetter
|
1200
1480
|
_dimension = dim.HEAT_OF_VAPORIZATION
|
1201
1481
|
|
1202
|
-
def __init__(self, name_or_value: str | int | float,
|
1482
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1203
1483
|
...
|
1204
1484
|
|
1205
1485
|
@overload
|
@@ -1209,6 +1489,14 @@ class HeatOfVaporization(FieldQnty):
|
|
1209
1489
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.HeatOfVaporizationSetter:
|
1210
1490
|
...
|
1211
1491
|
|
1492
|
+
@property
|
1493
|
+
def value(self) -> float | None:
|
1494
|
+
...
|
1495
|
+
|
1496
|
+
@property
|
1497
|
+
def unit(self) -> str | None:
|
1498
|
+
...
|
1499
|
+
|
1212
1500
|
|
1213
1501
|
|
1214
1502
|
class HeatTransferCoefficient(FieldQnty):
|
@@ -1232,7 +1520,7 @@ class HeatTransferCoefficient(FieldQnty):
|
|
1232
1520
|
_setter_class = field_setter.HeatTransferCoefficientSetter
|
1233
1521
|
_dimension = dim.HEAT_TRANSFER_COEFFICIENT
|
1234
1522
|
|
1235
|
-
def __init__(self, name_or_value: str | int | float,
|
1523
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1236
1524
|
...
|
1237
1525
|
|
1238
1526
|
@overload
|
@@ -1242,6 +1530,14 @@ class HeatTransferCoefficient(FieldQnty):
|
|
1242
1530
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.HeatTransferCoefficientSetter:
|
1243
1531
|
...
|
1244
1532
|
|
1533
|
+
@property
|
1534
|
+
def value(self) -> float | None:
|
1535
|
+
...
|
1536
|
+
|
1537
|
+
@property
|
1538
|
+
def unit(self) -> str | None:
|
1539
|
+
...
|
1540
|
+
|
1245
1541
|
|
1246
1542
|
|
1247
1543
|
class Illuminance(FieldQnty):
|
@@ -1265,7 +1561,7 @@ class Illuminance(FieldQnty):
|
|
1265
1561
|
_setter_class = field_setter.IlluminanceSetter
|
1266
1562
|
_dimension = dim.ILLUMINANCE
|
1267
1563
|
|
1268
|
-
def __init__(self, name_or_value: str | int | float,
|
1564
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1269
1565
|
...
|
1270
1566
|
|
1271
1567
|
@overload
|
@@ -1275,6 +1571,14 @@ class Illuminance(FieldQnty):
|
|
1275
1571
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.IlluminanceSetter:
|
1276
1572
|
...
|
1277
1573
|
|
1574
|
+
@property
|
1575
|
+
def value(self) -> float | None:
|
1576
|
+
...
|
1577
|
+
|
1578
|
+
@property
|
1579
|
+
def unit(self) -> str | None:
|
1580
|
+
...
|
1581
|
+
|
1278
1582
|
|
1279
1583
|
|
1280
1584
|
class KineticEnergyOfTurbulence(FieldQnty):
|
@@ -1298,7 +1602,7 @@ class KineticEnergyOfTurbulence(FieldQnty):
|
|
1298
1602
|
_setter_class = field_setter.KineticEnergyOfTurbulenceSetter
|
1299
1603
|
_dimension = dim.KINETIC_ENERGY_OF_TURBULENCE
|
1300
1604
|
|
1301
|
-
def __init__(self, name_or_value: str | int | float,
|
1605
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1302
1606
|
...
|
1303
1607
|
|
1304
1608
|
@overload
|
@@ -1308,6 +1612,14 @@ class KineticEnergyOfTurbulence(FieldQnty):
|
|
1308
1612
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.KineticEnergyOfTurbulenceSetter:
|
1309
1613
|
...
|
1310
1614
|
|
1615
|
+
@property
|
1616
|
+
def value(self) -> float | None:
|
1617
|
+
...
|
1618
|
+
|
1619
|
+
@property
|
1620
|
+
def unit(self) -> str | None:
|
1621
|
+
...
|
1622
|
+
|
1311
1623
|
|
1312
1624
|
|
1313
1625
|
class Length(FieldQnty):
|
@@ -1331,7 +1643,7 @@ class Length(FieldQnty):
|
|
1331
1643
|
_setter_class = field_setter.LengthSetter
|
1332
1644
|
_dimension = dim.LENGTH
|
1333
1645
|
|
1334
|
-
def __init__(self, name_or_value: str | int | float,
|
1646
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1335
1647
|
...
|
1336
1648
|
|
1337
1649
|
@overload
|
@@ -1341,6 +1653,14 @@ class Length(FieldQnty):
|
|
1341
1653
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.LengthSetter:
|
1342
1654
|
...
|
1343
1655
|
|
1656
|
+
@property
|
1657
|
+
def value(self) -> float | None:
|
1658
|
+
...
|
1659
|
+
|
1660
|
+
@property
|
1661
|
+
def unit(self) -> str | None:
|
1662
|
+
...
|
1663
|
+
|
1344
1664
|
|
1345
1665
|
|
1346
1666
|
class LinearMassDensity(FieldQnty):
|
@@ -1364,7 +1684,7 @@ class LinearMassDensity(FieldQnty):
|
|
1364
1684
|
_setter_class = field_setter.LinearMassDensitySetter
|
1365
1685
|
_dimension = dim.LINEAR_MASS_DENSITY
|
1366
1686
|
|
1367
|
-
def __init__(self, name_or_value: str | int | float,
|
1687
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1368
1688
|
...
|
1369
1689
|
|
1370
1690
|
@overload
|
@@ -1374,6 +1694,14 @@ class LinearMassDensity(FieldQnty):
|
|
1374
1694
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.LinearMassDensitySetter:
|
1375
1695
|
...
|
1376
1696
|
|
1697
|
+
@property
|
1698
|
+
def value(self) -> float | None:
|
1699
|
+
...
|
1700
|
+
|
1701
|
+
@property
|
1702
|
+
def unit(self) -> str | None:
|
1703
|
+
...
|
1704
|
+
|
1377
1705
|
|
1378
1706
|
|
1379
1707
|
class LinearMomentum(FieldQnty):
|
@@ -1397,7 +1725,7 @@ class LinearMomentum(FieldQnty):
|
|
1397
1725
|
_setter_class = field_setter.LinearMomentumSetter
|
1398
1726
|
_dimension = dim.LINEAR_MOMENTUM
|
1399
1727
|
|
1400
|
-
def __init__(self, name_or_value: str | int | float,
|
1728
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1401
1729
|
...
|
1402
1730
|
|
1403
1731
|
@overload
|
@@ -1407,6 +1735,14 @@ class LinearMomentum(FieldQnty):
|
|
1407
1735
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.LinearMomentumSetter:
|
1408
1736
|
...
|
1409
1737
|
|
1738
|
+
@property
|
1739
|
+
def value(self) -> float | None:
|
1740
|
+
...
|
1741
|
+
|
1742
|
+
@property
|
1743
|
+
def unit(self) -> str | None:
|
1744
|
+
...
|
1745
|
+
|
1410
1746
|
|
1411
1747
|
|
1412
1748
|
class LuminanceSelf(FieldQnty):
|
@@ -1430,7 +1766,7 @@ class LuminanceSelf(FieldQnty):
|
|
1430
1766
|
_setter_class = field_setter.LuminanceSelfSetter
|
1431
1767
|
_dimension = dim.LUMINANCE_SELF
|
1432
1768
|
|
1433
|
-
def __init__(self, name_or_value: str | int | float,
|
1769
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1434
1770
|
...
|
1435
1771
|
|
1436
1772
|
@overload
|
@@ -1440,6 +1776,14 @@ class LuminanceSelf(FieldQnty):
|
|
1440
1776
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.LuminanceSelfSetter:
|
1441
1777
|
...
|
1442
1778
|
|
1779
|
+
@property
|
1780
|
+
def value(self) -> float | None:
|
1781
|
+
...
|
1782
|
+
|
1783
|
+
@property
|
1784
|
+
def unit(self) -> str | None:
|
1785
|
+
...
|
1786
|
+
|
1443
1787
|
|
1444
1788
|
|
1445
1789
|
class LuminousFlux(FieldQnty):
|
@@ -1463,7 +1807,7 @@ class LuminousFlux(FieldQnty):
|
|
1463
1807
|
_setter_class = field_setter.LuminousFluxSetter
|
1464
1808
|
_dimension = dim.LUMINOUS_FLUX
|
1465
1809
|
|
1466
|
-
def __init__(self, name_or_value: str | int | float,
|
1810
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1467
1811
|
...
|
1468
1812
|
|
1469
1813
|
@overload
|
@@ -1473,6 +1817,14 @@ class LuminousFlux(FieldQnty):
|
|
1473
1817
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.LuminousFluxSetter:
|
1474
1818
|
...
|
1475
1819
|
|
1820
|
+
@property
|
1821
|
+
def value(self) -> float | None:
|
1822
|
+
...
|
1823
|
+
|
1824
|
+
@property
|
1825
|
+
def unit(self) -> str | None:
|
1826
|
+
...
|
1827
|
+
|
1476
1828
|
|
1477
1829
|
|
1478
1830
|
class LuminousIntensity(FieldQnty):
|
@@ -1496,7 +1848,7 @@ class LuminousIntensity(FieldQnty):
|
|
1496
1848
|
_setter_class = field_setter.LuminousIntensitySetter
|
1497
1849
|
_dimension = dim.LUMINOUS_INTENSITY
|
1498
1850
|
|
1499
|
-
def __init__(self, name_or_value: str | int | float,
|
1851
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1500
1852
|
...
|
1501
1853
|
|
1502
1854
|
@overload
|
@@ -1506,6 +1858,14 @@ class LuminousIntensity(FieldQnty):
|
|
1506
1858
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.LuminousIntensitySetter:
|
1507
1859
|
...
|
1508
1860
|
|
1861
|
+
@property
|
1862
|
+
def value(self) -> float | None:
|
1863
|
+
...
|
1864
|
+
|
1865
|
+
@property
|
1866
|
+
def unit(self) -> str | None:
|
1867
|
+
...
|
1868
|
+
|
1509
1869
|
|
1510
1870
|
|
1511
1871
|
class MagneticField(FieldQnty):
|
@@ -1529,7 +1889,7 @@ class MagneticField(FieldQnty):
|
|
1529
1889
|
_setter_class = field_setter.MagneticFieldSetter
|
1530
1890
|
_dimension = dim.MAGNETIC_FIELD
|
1531
1891
|
|
1532
|
-
def __init__(self, name_or_value: str | int | float,
|
1892
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1533
1893
|
...
|
1534
1894
|
|
1535
1895
|
@overload
|
@@ -1539,6 +1899,14 @@ class MagneticField(FieldQnty):
|
|
1539
1899
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MagneticFieldSetter:
|
1540
1900
|
...
|
1541
1901
|
|
1902
|
+
@property
|
1903
|
+
def value(self) -> float | None:
|
1904
|
+
...
|
1905
|
+
|
1906
|
+
@property
|
1907
|
+
def unit(self) -> str | None:
|
1908
|
+
...
|
1909
|
+
|
1542
1910
|
|
1543
1911
|
|
1544
1912
|
class MagneticFlux(FieldQnty):
|
@@ -1562,7 +1930,7 @@ class MagneticFlux(FieldQnty):
|
|
1562
1930
|
_setter_class = field_setter.MagneticFluxSetter
|
1563
1931
|
_dimension = dim.MAGNETIC_FLUX
|
1564
1932
|
|
1565
|
-
def __init__(self, name_or_value: str | int | float,
|
1933
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1566
1934
|
...
|
1567
1935
|
|
1568
1936
|
@overload
|
@@ -1572,6 +1940,14 @@ class MagneticFlux(FieldQnty):
|
|
1572
1940
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MagneticFluxSetter:
|
1573
1941
|
...
|
1574
1942
|
|
1943
|
+
@property
|
1944
|
+
def value(self) -> float | None:
|
1945
|
+
...
|
1946
|
+
|
1947
|
+
@property
|
1948
|
+
def unit(self) -> str | None:
|
1949
|
+
...
|
1950
|
+
|
1575
1951
|
|
1576
1952
|
|
1577
1953
|
class MagneticInductionFieldStrength(FieldQnty):
|
@@ -1595,7 +1971,7 @@ class MagneticInductionFieldStrength(FieldQnty):
|
|
1595
1971
|
_setter_class = field_setter.MagneticInductionFieldStrengthSetter
|
1596
1972
|
_dimension = dim.MAGNETIC_INDUCTION_FIELD_STRENGTH
|
1597
1973
|
|
1598
|
-
def __init__(self, name_or_value: str | int | float,
|
1974
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1599
1975
|
...
|
1600
1976
|
|
1601
1977
|
@overload
|
@@ -1605,6 +1981,14 @@ class MagneticInductionFieldStrength(FieldQnty):
|
|
1605
1981
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MagneticInductionFieldStrengthSetter:
|
1606
1982
|
...
|
1607
1983
|
|
1984
|
+
@property
|
1985
|
+
def value(self) -> float | None:
|
1986
|
+
...
|
1987
|
+
|
1988
|
+
@property
|
1989
|
+
def unit(self) -> str | None:
|
1990
|
+
...
|
1991
|
+
|
1608
1992
|
|
1609
1993
|
|
1610
1994
|
class MagneticMoment(FieldQnty):
|
@@ -1628,7 +2012,7 @@ class MagneticMoment(FieldQnty):
|
|
1628
2012
|
_setter_class = field_setter.MagneticMomentSetter
|
1629
2013
|
_dimension = dim.MAGNETIC_MOMENT
|
1630
2014
|
|
1631
|
-
def __init__(self, name_or_value: str | int | float,
|
2015
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1632
2016
|
...
|
1633
2017
|
|
1634
2018
|
@overload
|
@@ -1638,6 +2022,14 @@ class MagneticMoment(FieldQnty):
|
|
1638
2022
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MagneticMomentSetter:
|
1639
2023
|
...
|
1640
2024
|
|
2025
|
+
@property
|
2026
|
+
def value(self) -> float | None:
|
2027
|
+
...
|
2028
|
+
|
2029
|
+
@property
|
2030
|
+
def unit(self) -> str | None:
|
2031
|
+
...
|
2032
|
+
|
1641
2033
|
|
1642
2034
|
|
1643
2035
|
class MagneticPermeability(FieldQnty):
|
@@ -1661,7 +2053,7 @@ class MagneticPermeability(FieldQnty):
|
|
1661
2053
|
_setter_class = field_setter.MagneticPermeabilitySetter
|
1662
2054
|
_dimension = dim.MAGNETIC_PERMEABILITY
|
1663
2055
|
|
1664
|
-
def __init__(self, name_or_value: str | int | float,
|
2056
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1665
2057
|
...
|
1666
2058
|
|
1667
2059
|
@overload
|
@@ -1671,6 +2063,14 @@ class MagneticPermeability(FieldQnty):
|
|
1671
2063
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MagneticPermeabilitySetter:
|
1672
2064
|
...
|
1673
2065
|
|
2066
|
+
@property
|
2067
|
+
def value(self) -> float | None:
|
2068
|
+
...
|
2069
|
+
|
2070
|
+
@property
|
2071
|
+
def unit(self) -> str | None:
|
2072
|
+
...
|
2073
|
+
|
1674
2074
|
|
1675
2075
|
|
1676
2076
|
class MagnetomotiveForce(FieldQnty):
|
@@ -1694,7 +2094,7 @@ class MagnetomotiveForce(FieldQnty):
|
|
1694
2094
|
_setter_class = field_setter.MagnetomotiveForceSetter
|
1695
2095
|
_dimension = dim.MAGNETOMOTIVE_FORCE
|
1696
2096
|
|
1697
|
-
def __init__(self, name_or_value: str | int | float,
|
2097
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1698
2098
|
...
|
1699
2099
|
|
1700
2100
|
@overload
|
@@ -1704,6 +2104,14 @@ class MagnetomotiveForce(FieldQnty):
|
|
1704
2104
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MagnetomotiveForceSetter:
|
1705
2105
|
...
|
1706
2106
|
|
2107
|
+
@property
|
2108
|
+
def value(self) -> float | None:
|
2109
|
+
...
|
2110
|
+
|
2111
|
+
@property
|
2112
|
+
def unit(self) -> str | None:
|
2113
|
+
...
|
2114
|
+
|
1707
2115
|
|
1708
2116
|
|
1709
2117
|
class Mass(FieldQnty):
|
@@ -1727,7 +2135,7 @@ class Mass(FieldQnty):
|
|
1727
2135
|
_setter_class = field_setter.MassSetter
|
1728
2136
|
_dimension = dim.MASS
|
1729
2137
|
|
1730
|
-
def __init__(self, name_or_value: str | int | float,
|
2138
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1731
2139
|
...
|
1732
2140
|
|
1733
2141
|
@overload
|
@@ -1737,6 +2145,14 @@ class Mass(FieldQnty):
|
|
1737
2145
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MassSetter:
|
1738
2146
|
...
|
1739
2147
|
|
2148
|
+
@property
|
2149
|
+
def value(self) -> float | None:
|
2150
|
+
...
|
2151
|
+
|
2152
|
+
@property
|
2153
|
+
def unit(self) -> str | None:
|
2154
|
+
...
|
2155
|
+
|
1740
2156
|
|
1741
2157
|
|
1742
2158
|
class MassDensity(FieldQnty):
|
@@ -1760,7 +2176,7 @@ class MassDensity(FieldQnty):
|
|
1760
2176
|
_setter_class = field_setter.MassDensitySetter
|
1761
2177
|
_dimension = dim.MASS_DENSITY
|
1762
2178
|
|
1763
|
-
def __init__(self, name_or_value: str | int | float,
|
2179
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1764
2180
|
...
|
1765
2181
|
|
1766
2182
|
@overload
|
@@ -1770,6 +2186,14 @@ class MassDensity(FieldQnty):
|
|
1770
2186
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MassDensitySetter:
|
1771
2187
|
...
|
1772
2188
|
|
2189
|
+
@property
|
2190
|
+
def value(self) -> float | None:
|
2191
|
+
...
|
2192
|
+
|
2193
|
+
@property
|
2194
|
+
def unit(self) -> str | None:
|
2195
|
+
...
|
2196
|
+
|
1773
2197
|
|
1774
2198
|
|
1775
2199
|
class MassFlowRate(FieldQnty):
|
@@ -1793,7 +2217,7 @@ class MassFlowRate(FieldQnty):
|
|
1793
2217
|
_setter_class = field_setter.MassFlowRateSetter
|
1794
2218
|
_dimension = dim.MASS_FLOW_RATE
|
1795
2219
|
|
1796
|
-
def __init__(self, name_or_value: str | int | float,
|
2220
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1797
2221
|
...
|
1798
2222
|
|
1799
2223
|
@overload
|
@@ -1803,6 +2227,14 @@ class MassFlowRate(FieldQnty):
|
|
1803
2227
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MassFlowRateSetter:
|
1804
2228
|
...
|
1805
2229
|
|
2230
|
+
@property
|
2231
|
+
def value(self) -> float | None:
|
2232
|
+
...
|
2233
|
+
|
2234
|
+
@property
|
2235
|
+
def unit(self) -> str | None:
|
2236
|
+
...
|
2237
|
+
|
1806
2238
|
|
1807
2239
|
|
1808
2240
|
class MassFlux(FieldQnty):
|
@@ -1826,7 +2258,7 @@ class MassFlux(FieldQnty):
|
|
1826
2258
|
_setter_class = field_setter.MassFluxSetter
|
1827
2259
|
_dimension = dim.MASS_FLUX
|
1828
2260
|
|
1829
|
-
def __init__(self, name_or_value: str | int | float,
|
2261
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1830
2262
|
...
|
1831
2263
|
|
1832
2264
|
@overload
|
@@ -1836,6 +2268,14 @@ class MassFlux(FieldQnty):
|
|
1836
2268
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MassFluxSetter:
|
1837
2269
|
...
|
1838
2270
|
|
2271
|
+
@property
|
2272
|
+
def value(self) -> float | None:
|
2273
|
+
...
|
2274
|
+
|
2275
|
+
@property
|
2276
|
+
def unit(self) -> str | None:
|
2277
|
+
...
|
2278
|
+
|
1839
2279
|
|
1840
2280
|
|
1841
2281
|
class MassFractionOfI(FieldQnty):
|
@@ -1859,7 +2299,7 @@ class MassFractionOfI(FieldQnty):
|
|
1859
2299
|
_setter_class = field_setter.MassFractionOfISetter
|
1860
2300
|
_dimension = dim.MASS_FRACTION_OF_I
|
1861
2301
|
|
1862
|
-
def __init__(self, name_or_value: str | int | float,
|
2302
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1863
2303
|
...
|
1864
2304
|
|
1865
2305
|
@overload
|
@@ -1869,6 +2309,14 @@ class MassFractionOfI(FieldQnty):
|
|
1869
2309
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MassFractionOfISetter:
|
1870
2310
|
...
|
1871
2311
|
|
2312
|
+
@property
|
2313
|
+
def value(self) -> float | None:
|
2314
|
+
...
|
2315
|
+
|
2316
|
+
@property
|
2317
|
+
def unit(self) -> str | None:
|
2318
|
+
...
|
2319
|
+
|
1872
2320
|
|
1873
2321
|
|
1874
2322
|
class MassTransferCoefficient(FieldQnty):
|
@@ -1892,7 +2340,7 @@ class MassTransferCoefficient(FieldQnty):
|
|
1892
2340
|
_setter_class = field_setter.MassTransferCoefficientSetter
|
1893
2341
|
_dimension = dim.MASS_TRANSFER_COEFFICIENT
|
1894
2342
|
|
1895
|
-
def __init__(self, name_or_value: str | int | float,
|
2343
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1896
2344
|
...
|
1897
2345
|
|
1898
2346
|
@overload
|
@@ -1902,6 +2350,14 @@ class MassTransferCoefficient(FieldQnty):
|
|
1902
2350
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MassTransferCoefficientSetter:
|
1903
2351
|
...
|
1904
2352
|
|
2353
|
+
@property
|
2354
|
+
def value(self) -> float | None:
|
2355
|
+
...
|
2356
|
+
|
2357
|
+
@property
|
2358
|
+
def unit(self) -> str | None:
|
2359
|
+
...
|
2360
|
+
|
1905
2361
|
|
1906
2362
|
|
1907
2363
|
class MolalityOfSoluteI(FieldQnty):
|
@@ -1925,7 +2381,7 @@ class MolalityOfSoluteI(FieldQnty):
|
|
1925
2381
|
_setter_class = field_setter.MolalityOfSoluteISetter
|
1926
2382
|
_dimension = dim.MOLALITY_OF_SOLUTE_I
|
1927
2383
|
|
1928
|
-
def __init__(self, name_or_value: str | int | float,
|
2384
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1929
2385
|
...
|
1930
2386
|
|
1931
2387
|
@overload
|
@@ -1935,6 +2391,14 @@ class MolalityOfSoluteI(FieldQnty):
|
|
1935
2391
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MolalityOfSoluteISetter:
|
1936
2392
|
...
|
1937
2393
|
|
2394
|
+
@property
|
2395
|
+
def value(self) -> float | None:
|
2396
|
+
...
|
2397
|
+
|
2398
|
+
@property
|
2399
|
+
def unit(self) -> str | None:
|
2400
|
+
...
|
2401
|
+
|
1938
2402
|
|
1939
2403
|
|
1940
2404
|
class MolarConcentrationByMass(FieldQnty):
|
@@ -1958,7 +2422,7 @@ class MolarConcentrationByMass(FieldQnty):
|
|
1958
2422
|
_setter_class = field_setter.MolarConcentrationByMassSetter
|
1959
2423
|
_dimension = dim.MOLAR_CONCENTRATION_BY_MASS
|
1960
2424
|
|
1961
|
-
def __init__(self, name_or_value: str | int | float,
|
2425
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1962
2426
|
...
|
1963
2427
|
|
1964
2428
|
@overload
|
@@ -1968,6 +2432,14 @@ class MolarConcentrationByMass(FieldQnty):
|
|
1968
2432
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MolarConcentrationByMassSetter:
|
1969
2433
|
...
|
1970
2434
|
|
2435
|
+
@property
|
2436
|
+
def value(self) -> float | None:
|
2437
|
+
...
|
2438
|
+
|
2439
|
+
@property
|
2440
|
+
def unit(self) -> str | None:
|
2441
|
+
...
|
2442
|
+
|
1971
2443
|
|
1972
2444
|
|
1973
2445
|
class MolarFlowRate(FieldQnty):
|
@@ -1991,7 +2463,7 @@ class MolarFlowRate(FieldQnty):
|
|
1991
2463
|
_setter_class = field_setter.MolarFlowRateSetter
|
1992
2464
|
_dimension = dim.MOLAR_FLOW_RATE
|
1993
2465
|
|
1994
|
-
def __init__(self, name_or_value: str | int | float,
|
2466
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
1995
2467
|
...
|
1996
2468
|
|
1997
2469
|
@overload
|
@@ -2001,6 +2473,14 @@ class MolarFlowRate(FieldQnty):
|
|
2001
2473
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MolarFlowRateSetter:
|
2002
2474
|
...
|
2003
2475
|
|
2476
|
+
@property
|
2477
|
+
def value(self) -> float | None:
|
2478
|
+
...
|
2479
|
+
|
2480
|
+
@property
|
2481
|
+
def unit(self) -> str | None:
|
2482
|
+
...
|
2483
|
+
|
2004
2484
|
|
2005
2485
|
|
2006
2486
|
class MolarFlux(FieldQnty):
|
@@ -2024,7 +2504,7 @@ class MolarFlux(FieldQnty):
|
|
2024
2504
|
_setter_class = field_setter.MolarFluxSetter
|
2025
2505
|
_dimension = dim.MOLAR_FLUX
|
2026
2506
|
|
2027
|
-
def __init__(self, name_or_value: str | int | float,
|
2507
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2028
2508
|
...
|
2029
2509
|
|
2030
2510
|
@overload
|
@@ -2034,6 +2514,14 @@ class MolarFlux(FieldQnty):
|
|
2034
2514
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MolarFluxSetter:
|
2035
2515
|
...
|
2036
2516
|
|
2517
|
+
@property
|
2518
|
+
def value(self) -> float | None:
|
2519
|
+
...
|
2520
|
+
|
2521
|
+
@property
|
2522
|
+
def unit(self) -> str | None:
|
2523
|
+
...
|
2524
|
+
|
2037
2525
|
|
2038
2526
|
|
2039
2527
|
class MolarHeatCapacity(FieldQnty):
|
@@ -2057,7 +2545,7 @@ class MolarHeatCapacity(FieldQnty):
|
|
2057
2545
|
_setter_class = field_setter.MolarHeatCapacitySetter
|
2058
2546
|
_dimension = dim.MOLAR_HEAT_CAPACITY
|
2059
2547
|
|
2060
|
-
def __init__(self, name_or_value: str | int | float,
|
2548
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2061
2549
|
...
|
2062
2550
|
|
2063
2551
|
@overload
|
@@ -2067,6 +2555,14 @@ class MolarHeatCapacity(FieldQnty):
|
|
2067
2555
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MolarHeatCapacitySetter:
|
2068
2556
|
...
|
2069
2557
|
|
2558
|
+
@property
|
2559
|
+
def value(self) -> float | None:
|
2560
|
+
...
|
2561
|
+
|
2562
|
+
@property
|
2563
|
+
def unit(self) -> str | None:
|
2564
|
+
...
|
2565
|
+
|
2070
2566
|
|
2071
2567
|
|
2072
2568
|
class MolarityOfI(FieldQnty):
|
@@ -2090,7 +2586,7 @@ class MolarityOfI(FieldQnty):
|
|
2090
2586
|
_setter_class = field_setter.MolarityOfISetter
|
2091
2587
|
_dimension = dim.MOLARITY_OF_I
|
2092
2588
|
|
2093
|
-
def __init__(self, name_or_value: str | int | float,
|
2589
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2094
2590
|
...
|
2095
2591
|
|
2096
2592
|
@overload
|
@@ -2100,6 +2596,14 @@ class MolarityOfI(FieldQnty):
|
|
2100
2596
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MolarityOfISetter:
|
2101
2597
|
...
|
2102
2598
|
|
2599
|
+
@property
|
2600
|
+
def value(self) -> float | None:
|
2601
|
+
...
|
2602
|
+
|
2603
|
+
@property
|
2604
|
+
def unit(self) -> str | None:
|
2605
|
+
...
|
2606
|
+
|
2103
2607
|
|
2104
2608
|
|
2105
2609
|
class MoleFractionOfI(FieldQnty):
|
@@ -2123,7 +2627,7 @@ class MoleFractionOfI(FieldQnty):
|
|
2123
2627
|
_setter_class = field_setter.MoleFractionOfISetter
|
2124
2628
|
_dimension = dim.MOLE_FRACTION_OF_I
|
2125
2629
|
|
2126
|
-
def __init__(self, name_or_value: str | int | float,
|
2630
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2127
2631
|
...
|
2128
2632
|
|
2129
2633
|
@overload
|
@@ -2133,6 +2637,14 @@ class MoleFractionOfI(FieldQnty):
|
|
2133
2637
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MoleFractionOfISetter:
|
2134
2638
|
...
|
2135
2639
|
|
2640
|
+
@property
|
2641
|
+
def value(self) -> float | None:
|
2642
|
+
...
|
2643
|
+
|
2644
|
+
@property
|
2645
|
+
def unit(self) -> str | None:
|
2646
|
+
...
|
2647
|
+
|
2136
2648
|
|
2137
2649
|
|
2138
2650
|
class MomentOfInertia(FieldQnty):
|
@@ -2156,7 +2668,7 @@ class MomentOfInertia(FieldQnty):
|
|
2156
2668
|
_setter_class = field_setter.MomentOfInertiaSetter
|
2157
2669
|
_dimension = dim.MOMENT_OF_INERTIA
|
2158
2670
|
|
2159
|
-
def __init__(self, name_or_value: str | int | float,
|
2671
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2160
2672
|
...
|
2161
2673
|
|
2162
2674
|
@overload
|
@@ -2166,6 +2678,14 @@ class MomentOfInertia(FieldQnty):
|
|
2166
2678
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MomentOfInertiaSetter:
|
2167
2679
|
...
|
2168
2680
|
|
2681
|
+
@property
|
2682
|
+
def value(self) -> float | None:
|
2683
|
+
...
|
2684
|
+
|
2685
|
+
@property
|
2686
|
+
def unit(self) -> str | None:
|
2687
|
+
...
|
2688
|
+
|
2169
2689
|
|
2170
2690
|
|
2171
2691
|
class MomentumFlowRate(FieldQnty):
|
@@ -2189,7 +2709,7 @@ class MomentumFlowRate(FieldQnty):
|
|
2189
2709
|
_setter_class = field_setter.MomentumFlowRateSetter
|
2190
2710
|
_dimension = dim.MOMENTUM_FLOW_RATE
|
2191
2711
|
|
2192
|
-
def __init__(self, name_or_value: str | int | float,
|
2712
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2193
2713
|
...
|
2194
2714
|
|
2195
2715
|
@overload
|
@@ -2199,6 +2719,14 @@ class MomentumFlowRate(FieldQnty):
|
|
2199
2719
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MomentumFlowRateSetter:
|
2200
2720
|
...
|
2201
2721
|
|
2722
|
+
@property
|
2723
|
+
def value(self) -> float | None:
|
2724
|
+
...
|
2725
|
+
|
2726
|
+
@property
|
2727
|
+
def unit(self) -> str | None:
|
2728
|
+
...
|
2729
|
+
|
2202
2730
|
|
2203
2731
|
|
2204
2732
|
class MomentumFlux(FieldQnty):
|
@@ -2222,7 +2750,7 @@ class MomentumFlux(FieldQnty):
|
|
2222
2750
|
_setter_class = field_setter.MomentumFluxSetter
|
2223
2751
|
_dimension = dim.MOMENTUM_FLUX
|
2224
2752
|
|
2225
|
-
def __init__(self, name_or_value: str | int | float,
|
2753
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2226
2754
|
...
|
2227
2755
|
|
2228
2756
|
@overload
|
@@ -2232,6 +2760,14 @@ class MomentumFlux(FieldQnty):
|
|
2232
2760
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.MomentumFluxSetter:
|
2233
2761
|
...
|
2234
2762
|
|
2763
|
+
@property
|
2764
|
+
def value(self) -> float | None:
|
2765
|
+
...
|
2766
|
+
|
2767
|
+
@property
|
2768
|
+
def unit(self) -> str | None:
|
2769
|
+
...
|
2770
|
+
|
2235
2771
|
|
2236
2772
|
|
2237
2773
|
class NormalityOfSolution(FieldQnty):
|
@@ -2255,7 +2791,7 @@ class NormalityOfSolution(FieldQnty):
|
|
2255
2791
|
_setter_class = field_setter.NormalityOfSolutionSetter
|
2256
2792
|
_dimension = dim.NORMALITY_OF_SOLUTION
|
2257
2793
|
|
2258
|
-
def __init__(self, name_or_value: str | int | float,
|
2794
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2259
2795
|
...
|
2260
2796
|
|
2261
2797
|
@overload
|
@@ -2265,6 +2801,14 @@ class NormalityOfSolution(FieldQnty):
|
|
2265
2801
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.NormalityOfSolutionSetter:
|
2266
2802
|
...
|
2267
2803
|
|
2804
|
+
@property
|
2805
|
+
def value(self) -> float | None:
|
2806
|
+
...
|
2807
|
+
|
2808
|
+
@property
|
2809
|
+
def unit(self) -> str | None:
|
2810
|
+
...
|
2811
|
+
|
2268
2812
|
|
2269
2813
|
|
2270
2814
|
class ParticleDensity(FieldQnty):
|
@@ -2288,7 +2832,7 @@ class ParticleDensity(FieldQnty):
|
|
2288
2832
|
_setter_class = field_setter.ParticleDensitySetter
|
2289
2833
|
_dimension = dim.PARTICLE_DENSITY
|
2290
2834
|
|
2291
|
-
def __init__(self, name_or_value: str | int | float,
|
2835
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2292
2836
|
...
|
2293
2837
|
|
2294
2838
|
@overload
|
@@ -2298,6 +2842,14 @@ class ParticleDensity(FieldQnty):
|
|
2298
2842
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ParticleDensitySetter:
|
2299
2843
|
...
|
2300
2844
|
|
2845
|
+
@property
|
2846
|
+
def value(self) -> float | None:
|
2847
|
+
...
|
2848
|
+
|
2849
|
+
@property
|
2850
|
+
def unit(self) -> str | None:
|
2851
|
+
...
|
2852
|
+
|
2301
2853
|
|
2302
2854
|
|
2303
2855
|
class Percent(FieldQnty):
|
@@ -2321,7 +2873,7 @@ class Percent(FieldQnty):
|
|
2321
2873
|
_setter_class = field_setter.PercentSetter
|
2322
2874
|
_dimension = dim.PERCENT
|
2323
2875
|
|
2324
|
-
def __init__(self, name_or_value: str | int | float,
|
2876
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2325
2877
|
...
|
2326
2878
|
|
2327
2879
|
@overload
|
@@ -2331,6 +2883,14 @@ class Percent(FieldQnty):
|
|
2331
2883
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.PercentSetter:
|
2332
2884
|
...
|
2333
2885
|
|
2886
|
+
@property
|
2887
|
+
def value(self) -> float | None:
|
2888
|
+
...
|
2889
|
+
|
2890
|
+
@property
|
2891
|
+
def unit(self) -> str | None:
|
2892
|
+
...
|
2893
|
+
|
2334
2894
|
|
2335
2895
|
|
2336
2896
|
class Permeability(FieldQnty):
|
@@ -2354,7 +2914,7 @@ class Permeability(FieldQnty):
|
|
2354
2914
|
_setter_class = field_setter.PermeabilitySetter
|
2355
2915
|
_dimension = dim.PERMEABILITY
|
2356
2916
|
|
2357
|
-
def __init__(self, name_or_value: str | int | float,
|
2917
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2358
2918
|
...
|
2359
2919
|
|
2360
2920
|
@overload
|
@@ -2364,6 +2924,14 @@ class Permeability(FieldQnty):
|
|
2364
2924
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.PermeabilitySetter:
|
2365
2925
|
...
|
2366
2926
|
|
2927
|
+
@property
|
2928
|
+
def value(self) -> float | None:
|
2929
|
+
...
|
2930
|
+
|
2931
|
+
@property
|
2932
|
+
def unit(self) -> str | None:
|
2933
|
+
...
|
2934
|
+
|
2367
2935
|
|
2368
2936
|
|
2369
2937
|
class PhotonEmissionRate(FieldQnty):
|
@@ -2387,7 +2955,7 @@ class PhotonEmissionRate(FieldQnty):
|
|
2387
2955
|
_setter_class = field_setter.PhotonEmissionRateSetter
|
2388
2956
|
_dimension = dim.PHOTON_EMISSION_RATE
|
2389
2957
|
|
2390
|
-
def __init__(self, name_or_value: str | int | float,
|
2958
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2391
2959
|
...
|
2392
2960
|
|
2393
2961
|
@overload
|
@@ -2397,6 +2965,14 @@ class PhotonEmissionRate(FieldQnty):
|
|
2397
2965
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.PhotonEmissionRateSetter:
|
2398
2966
|
...
|
2399
2967
|
|
2968
|
+
@property
|
2969
|
+
def value(self) -> float | None:
|
2970
|
+
...
|
2971
|
+
|
2972
|
+
@property
|
2973
|
+
def unit(self) -> str | None:
|
2974
|
+
...
|
2975
|
+
|
2400
2976
|
|
2401
2977
|
|
2402
2978
|
class PowerPerUnitMass(FieldQnty):
|
@@ -2420,7 +2996,7 @@ class PowerPerUnitMass(FieldQnty):
|
|
2420
2996
|
_setter_class = field_setter.PowerPerUnitMassSetter
|
2421
2997
|
_dimension = dim.POWER_PER_UNIT_MASS
|
2422
2998
|
|
2423
|
-
def __init__(self, name_or_value: str | int | float,
|
2999
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2424
3000
|
...
|
2425
3001
|
|
2426
3002
|
@overload
|
@@ -2430,6 +3006,14 @@ class PowerPerUnitMass(FieldQnty):
|
|
2430
3006
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.PowerPerUnitMassSetter:
|
2431
3007
|
...
|
2432
3008
|
|
3009
|
+
@property
|
3010
|
+
def value(self) -> float | None:
|
3011
|
+
...
|
3012
|
+
|
3013
|
+
@property
|
3014
|
+
def unit(self) -> str | None:
|
3015
|
+
...
|
3016
|
+
|
2433
3017
|
|
2434
3018
|
|
2435
3019
|
class PowerPerUnitVolume(FieldQnty):
|
@@ -2453,7 +3037,7 @@ class PowerPerUnitVolume(FieldQnty):
|
|
2453
3037
|
_setter_class = field_setter.PowerPerUnitVolumeSetter
|
2454
3038
|
_dimension = dim.POWER_PER_UNIT_VOLUME
|
2455
3039
|
|
2456
|
-
def __init__(self, name_or_value: str | int | float,
|
3040
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2457
3041
|
...
|
2458
3042
|
|
2459
3043
|
@overload
|
@@ -2463,6 +3047,14 @@ class PowerPerUnitVolume(FieldQnty):
|
|
2463
3047
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.PowerPerUnitVolumeSetter:
|
2464
3048
|
...
|
2465
3049
|
|
3050
|
+
@property
|
3051
|
+
def value(self) -> float | None:
|
3052
|
+
...
|
3053
|
+
|
3054
|
+
@property
|
3055
|
+
def unit(self) -> str | None:
|
3056
|
+
...
|
3057
|
+
|
2466
3058
|
|
2467
3059
|
|
2468
3060
|
class PowerThermalDuty(FieldQnty):
|
@@ -2486,7 +3078,7 @@ class PowerThermalDuty(FieldQnty):
|
|
2486
3078
|
_setter_class = field_setter.PowerThermalDutySetter
|
2487
3079
|
_dimension = dim.POWER_THERMAL_DUTY
|
2488
3080
|
|
2489
|
-
def __init__(self, name_or_value: str | int | float,
|
3081
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2490
3082
|
...
|
2491
3083
|
|
2492
3084
|
@overload
|
@@ -2496,6 +3088,14 @@ class PowerThermalDuty(FieldQnty):
|
|
2496
3088
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.PowerThermalDutySetter:
|
2497
3089
|
...
|
2498
3090
|
|
3091
|
+
@property
|
3092
|
+
def value(self) -> float | None:
|
3093
|
+
...
|
3094
|
+
|
3095
|
+
@property
|
3096
|
+
def unit(self) -> str | None:
|
3097
|
+
...
|
3098
|
+
|
2499
3099
|
|
2500
3100
|
|
2501
3101
|
class Pressure(FieldQnty):
|
@@ -2519,7 +3119,7 @@ class Pressure(FieldQnty):
|
|
2519
3119
|
_setter_class = field_setter.PressureSetter
|
2520
3120
|
_dimension = dim.PRESSURE
|
2521
3121
|
|
2522
|
-
def __init__(self, name_or_value: str | int | float,
|
3122
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2523
3123
|
...
|
2524
3124
|
|
2525
3125
|
@overload
|
@@ -2529,6 +3129,14 @@ class Pressure(FieldQnty):
|
|
2529
3129
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.PressureSetter:
|
2530
3130
|
...
|
2531
3131
|
|
3132
|
+
@property
|
3133
|
+
def value(self) -> float | None:
|
3134
|
+
...
|
3135
|
+
|
3136
|
+
@property
|
3137
|
+
def unit(self) -> str | None:
|
3138
|
+
...
|
3139
|
+
|
2532
3140
|
|
2533
3141
|
|
2534
3142
|
class RadiationDoseEquivalent(FieldQnty):
|
@@ -2552,7 +3160,7 @@ class RadiationDoseEquivalent(FieldQnty):
|
|
2552
3160
|
_setter_class = field_setter.RadiationDoseEquivalentSetter
|
2553
3161
|
_dimension = dim.RADIATION_DOSE_EQUIVALENT
|
2554
3162
|
|
2555
|
-
def __init__(self, name_or_value: str | int | float,
|
3163
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2556
3164
|
...
|
2557
3165
|
|
2558
3166
|
@overload
|
@@ -2562,6 +3170,14 @@ class RadiationDoseEquivalent(FieldQnty):
|
|
2562
3170
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.RadiationDoseEquivalentSetter:
|
2563
3171
|
...
|
2564
3172
|
|
3173
|
+
@property
|
3174
|
+
def value(self) -> float | None:
|
3175
|
+
...
|
3176
|
+
|
3177
|
+
@property
|
3178
|
+
def unit(self) -> str | None:
|
3179
|
+
...
|
3180
|
+
|
2565
3181
|
|
2566
3182
|
|
2567
3183
|
class RadiationExposure(FieldQnty):
|
@@ -2585,7 +3201,7 @@ class RadiationExposure(FieldQnty):
|
|
2585
3201
|
_setter_class = field_setter.RadiationExposureSetter
|
2586
3202
|
_dimension = dim.RADIATION_EXPOSURE
|
2587
3203
|
|
2588
|
-
def __init__(self, name_or_value: str | int | float,
|
3204
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2589
3205
|
...
|
2590
3206
|
|
2591
3207
|
@overload
|
@@ -2595,6 +3211,14 @@ class RadiationExposure(FieldQnty):
|
|
2595
3211
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.RadiationExposureSetter:
|
2596
3212
|
...
|
2597
3213
|
|
3214
|
+
@property
|
3215
|
+
def value(self) -> float | None:
|
3216
|
+
...
|
3217
|
+
|
3218
|
+
@property
|
3219
|
+
def unit(self) -> str | None:
|
3220
|
+
...
|
3221
|
+
|
2598
3222
|
|
2599
3223
|
|
2600
3224
|
class Radioactivity(FieldQnty):
|
@@ -2618,7 +3242,7 @@ class Radioactivity(FieldQnty):
|
|
2618
3242
|
_setter_class = field_setter.RadioactivitySetter
|
2619
3243
|
_dimension = dim.RADIOACTIVITY
|
2620
3244
|
|
2621
|
-
def __init__(self, name_or_value: str | int | float,
|
3245
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2622
3246
|
...
|
2623
3247
|
|
2624
3248
|
@overload
|
@@ -2628,6 +3252,14 @@ class Radioactivity(FieldQnty):
|
|
2628
3252
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.RadioactivitySetter:
|
2629
3253
|
...
|
2630
3254
|
|
3255
|
+
@property
|
3256
|
+
def value(self) -> float | None:
|
3257
|
+
...
|
3258
|
+
|
3259
|
+
@property
|
3260
|
+
def unit(self) -> str | None:
|
3261
|
+
...
|
3262
|
+
|
2631
3263
|
|
2632
3264
|
|
2633
3265
|
class SecondMomentOfArea(FieldQnty):
|
@@ -2651,7 +3283,7 @@ class SecondMomentOfArea(FieldQnty):
|
|
2651
3283
|
_setter_class = field_setter.SecondMomentOfAreaSetter
|
2652
3284
|
_dimension = dim.SECOND_MOMENT_OF_AREA
|
2653
3285
|
|
2654
|
-
def __init__(self, name_or_value: str | int | float,
|
3286
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2655
3287
|
...
|
2656
3288
|
|
2657
3289
|
@overload
|
@@ -2661,6 +3293,14 @@ class SecondMomentOfArea(FieldQnty):
|
|
2661
3293
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SecondMomentOfAreaSetter:
|
2662
3294
|
...
|
2663
3295
|
|
3296
|
+
@property
|
3297
|
+
def value(self) -> float | None:
|
3298
|
+
...
|
3299
|
+
|
3300
|
+
@property
|
3301
|
+
def unit(self) -> str | None:
|
3302
|
+
...
|
3303
|
+
|
2664
3304
|
|
2665
3305
|
|
2666
3306
|
class SecondRadiationConstantPlanck(FieldQnty):
|
@@ -2684,7 +3324,7 @@ class SecondRadiationConstantPlanck(FieldQnty):
|
|
2684
3324
|
_setter_class = field_setter.SecondRadiationConstantPlanckSetter
|
2685
3325
|
_dimension = dim.SECOND_RADIATION_CONSTANT_PLANCK
|
2686
3326
|
|
2687
|
-
def __init__(self, name_or_value: str | int | float,
|
3327
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2688
3328
|
...
|
2689
3329
|
|
2690
3330
|
@overload
|
@@ -2694,6 +3334,14 @@ class SecondRadiationConstantPlanck(FieldQnty):
|
|
2694
3334
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SecondRadiationConstantPlanckSetter:
|
2695
3335
|
...
|
2696
3336
|
|
3337
|
+
@property
|
3338
|
+
def value(self) -> float | None:
|
3339
|
+
...
|
3340
|
+
|
3341
|
+
@property
|
3342
|
+
def unit(self) -> str | None:
|
3343
|
+
...
|
3344
|
+
|
2697
3345
|
|
2698
3346
|
|
2699
3347
|
class SpecificEnthalpy(FieldQnty):
|
@@ -2717,7 +3365,7 @@ class SpecificEnthalpy(FieldQnty):
|
|
2717
3365
|
_setter_class = field_setter.SpecificEnthalpySetter
|
2718
3366
|
_dimension = dim.SPECIFIC_ENTHALPY
|
2719
3367
|
|
2720
|
-
def __init__(self, name_or_value: str | int | float,
|
3368
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2721
3369
|
...
|
2722
3370
|
|
2723
3371
|
@overload
|
@@ -2727,6 +3375,14 @@ class SpecificEnthalpy(FieldQnty):
|
|
2727
3375
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SpecificEnthalpySetter:
|
2728
3376
|
...
|
2729
3377
|
|
3378
|
+
@property
|
3379
|
+
def value(self) -> float | None:
|
3380
|
+
...
|
3381
|
+
|
3382
|
+
@property
|
3383
|
+
def unit(self) -> str | None:
|
3384
|
+
...
|
3385
|
+
|
2730
3386
|
|
2731
3387
|
|
2732
3388
|
class SpecificGravity(FieldQnty):
|
@@ -2750,7 +3406,7 @@ class SpecificGravity(FieldQnty):
|
|
2750
3406
|
_setter_class = field_setter.SpecificGravitySetter
|
2751
3407
|
_dimension = dim.SPECIFIC_GRAVITY
|
2752
3408
|
|
2753
|
-
def __init__(self, name_or_value: str | int | float,
|
3409
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2754
3410
|
...
|
2755
3411
|
|
2756
3412
|
@overload
|
@@ -2760,6 +3416,14 @@ class SpecificGravity(FieldQnty):
|
|
2760
3416
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SpecificGravitySetter:
|
2761
3417
|
...
|
2762
3418
|
|
3419
|
+
@property
|
3420
|
+
def value(self) -> float | None:
|
3421
|
+
...
|
3422
|
+
|
3423
|
+
@property
|
3424
|
+
def unit(self) -> str | None:
|
3425
|
+
...
|
3426
|
+
|
2763
3427
|
|
2764
3428
|
|
2765
3429
|
class SpecificHeatCapacityConstantPressure(FieldQnty):
|
@@ -2783,7 +3447,7 @@ class SpecificHeatCapacityConstantPressure(FieldQnty):
|
|
2783
3447
|
_setter_class = field_setter.SpecificHeatCapacityConstantPressureSetter
|
2784
3448
|
_dimension = dim.SPECIFIC_HEAT_CAPACITY_CONSTANT_PRESSURE
|
2785
3449
|
|
2786
|
-
def __init__(self, name_or_value: str | int | float,
|
3450
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2787
3451
|
...
|
2788
3452
|
|
2789
3453
|
@overload
|
@@ -2793,6 +3457,14 @@ class SpecificHeatCapacityConstantPressure(FieldQnty):
|
|
2793
3457
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SpecificHeatCapacityConstantPressureSetter:
|
2794
3458
|
...
|
2795
3459
|
|
3460
|
+
@property
|
3461
|
+
def value(self) -> float | None:
|
3462
|
+
...
|
3463
|
+
|
3464
|
+
@property
|
3465
|
+
def unit(self) -> str | None:
|
3466
|
+
...
|
3467
|
+
|
2796
3468
|
|
2797
3469
|
|
2798
3470
|
class SpecificLength(FieldQnty):
|
@@ -2816,7 +3488,7 @@ class SpecificLength(FieldQnty):
|
|
2816
3488
|
_setter_class = field_setter.SpecificLengthSetter
|
2817
3489
|
_dimension = dim.SPECIFIC_LENGTH
|
2818
3490
|
|
2819
|
-
def __init__(self, name_or_value: str | int | float,
|
3491
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2820
3492
|
...
|
2821
3493
|
|
2822
3494
|
@overload
|
@@ -2826,6 +3498,14 @@ class SpecificLength(FieldQnty):
|
|
2826
3498
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SpecificLengthSetter:
|
2827
3499
|
...
|
2828
3500
|
|
3501
|
+
@property
|
3502
|
+
def value(self) -> float | None:
|
3503
|
+
...
|
3504
|
+
|
3505
|
+
@property
|
3506
|
+
def unit(self) -> str | None:
|
3507
|
+
...
|
3508
|
+
|
2829
3509
|
|
2830
3510
|
|
2831
3511
|
class SpecificSurface(FieldQnty):
|
@@ -2849,7 +3529,7 @@ class SpecificSurface(FieldQnty):
|
|
2849
3529
|
_setter_class = field_setter.SpecificSurfaceSetter
|
2850
3530
|
_dimension = dim.SPECIFIC_SURFACE
|
2851
3531
|
|
2852
|
-
def __init__(self, name_or_value: str | int | float,
|
3532
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2853
3533
|
...
|
2854
3534
|
|
2855
3535
|
@overload
|
@@ -2859,6 +3539,14 @@ class SpecificSurface(FieldQnty):
|
|
2859
3539
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SpecificSurfaceSetter:
|
2860
3540
|
...
|
2861
3541
|
|
3542
|
+
@property
|
3543
|
+
def value(self) -> float | None:
|
3544
|
+
...
|
3545
|
+
|
3546
|
+
@property
|
3547
|
+
def unit(self) -> str | None:
|
3548
|
+
...
|
3549
|
+
|
2862
3550
|
|
2863
3551
|
|
2864
3552
|
class SpecificVolume(FieldQnty):
|
@@ -2882,7 +3570,7 @@ class SpecificVolume(FieldQnty):
|
|
2882
3570
|
_setter_class = field_setter.SpecificVolumeSetter
|
2883
3571
|
_dimension = dim.SPECIFIC_VOLUME
|
2884
3572
|
|
2885
|
-
def __init__(self, name_or_value: str | int | float,
|
3573
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2886
3574
|
...
|
2887
3575
|
|
2888
3576
|
@overload
|
@@ -2892,6 +3580,14 @@ class SpecificVolume(FieldQnty):
|
|
2892
3580
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SpecificVolumeSetter:
|
2893
3581
|
...
|
2894
3582
|
|
3583
|
+
@property
|
3584
|
+
def value(self) -> float | None:
|
3585
|
+
...
|
3586
|
+
|
3587
|
+
@property
|
3588
|
+
def unit(self) -> str | None:
|
3589
|
+
...
|
3590
|
+
|
2895
3591
|
|
2896
3592
|
|
2897
3593
|
class Stress(FieldQnty):
|
@@ -2915,7 +3611,7 @@ class Stress(FieldQnty):
|
|
2915
3611
|
_setter_class = field_setter.StressSetter
|
2916
3612
|
_dimension = dim.STRESS
|
2917
3613
|
|
2918
|
-
def __init__(self, name_or_value: str | int | float,
|
3614
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2919
3615
|
...
|
2920
3616
|
|
2921
3617
|
@overload
|
@@ -2925,6 +3621,14 @@ class Stress(FieldQnty):
|
|
2925
3621
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.StressSetter:
|
2926
3622
|
...
|
2927
3623
|
|
3624
|
+
@property
|
3625
|
+
def value(self) -> float | None:
|
3626
|
+
...
|
3627
|
+
|
3628
|
+
@property
|
3629
|
+
def unit(self) -> str | None:
|
3630
|
+
...
|
3631
|
+
|
2928
3632
|
|
2929
3633
|
|
2930
3634
|
class SurfaceMassDensity(FieldQnty):
|
@@ -2948,7 +3652,7 @@ class SurfaceMassDensity(FieldQnty):
|
|
2948
3652
|
_setter_class = field_setter.SurfaceMassDensitySetter
|
2949
3653
|
_dimension = dim.SURFACE_MASS_DENSITY
|
2950
3654
|
|
2951
|
-
def __init__(self, name_or_value: str | int | float,
|
3655
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2952
3656
|
...
|
2953
3657
|
|
2954
3658
|
@overload
|
@@ -2958,6 +3662,14 @@ class SurfaceMassDensity(FieldQnty):
|
|
2958
3662
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SurfaceMassDensitySetter:
|
2959
3663
|
...
|
2960
3664
|
|
3665
|
+
@property
|
3666
|
+
def value(self) -> float | None:
|
3667
|
+
...
|
3668
|
+
|
3669
|
+
@property
|
3670
|
+
def unit(self) -> str | None:
|
3671
|
+
...
|
3672
|
+
|
2961
3673
|
|
2962
3674
|
|
2963
3675
|
class SurfaceTension(FieldQnty):
|
@@ -2981,7 +3693,7 @@ class SurfaceTension(FieldQnty):
|
|
2981
3693
|
_setter_class = field_setter.SurfaceTensionSetter
|
2982
3694
|
_dimension = dim.SURFACE_TENSION
|
2983
3695
|
|
2984
|
-
def __init__(self, name_or_value: str | int | float,
|
3696
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
2985
3697
|
...
|
2986
3698
|
|
2987
3699
|
@overload
|
@@ -2991,6 +3703,14 @@ class SurfaceTension(FieldQnty):
|
|
2991
3703
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.SurfaceTensionSetter:
|
2992
3704
|
...
|
2993
3705
|
|
3706
|
+
@property
|
3707
|
+
def value(self) -> float | None:
|
3708
|
+
...
|
3709
|
+
|
3710
|
+
@property
|
3711
|
+
def unit(self) -> str | None:
|
3712
|
+
...
|
3713
|
+
|
2994
3714
|
|
2995
3715
|
|
2996
3716
|
class Temperature(FieldQnty):
|
@@ -3014,7 +3734,7 @@ class Temperature(FieldQnty):
|
|
3014
3734
|
_setter_class = field_setter.TemperatureSetter
|
3015
3735
|
_dimension = dim.TEMPERATURE
|
3016
3736
|
|
3017
|
-
def __init__(self, name_or_value: str | int | float,
|
3737
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3018
3738
|
...
|
3019
3739
|
|
3020
3740
|
@overload
|
@@ -3024,6 +3744,14 @@ class Temperature(FieldQnty):
|
|
3024
3744
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.TemperatureSetter:
|
3025
3745
|
...
|
3026
3746
|
|
3747
|
+
@property
|
3748
|
+
def value(self) -> float | None:
|
3749
|
+
...
|
3750
|
+
|
3751
|
+
@property
|
3752
|
+
def unit(self) -> str | None:
|
3753
|
+
...
|
3754
|
+
|
3027
3755
|
|
3028
3756
|
|
3029
3757
|
class ThermalConductivity(FieldQnty):
|
@@ -3047,7 +3775,7 @@ class ThermalConductivity(FieldQnty):
|
|
3047
3775
|
_setter_class = field_setter.ThermalConductivitySetter
|
3048
3776
|
_dimension = dim.THERMAL_CONDUCTIVITY
|
3049
3777
|
|
3050
|
-
def __init__(self, name_or_value: str | int | float,
|
3778
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3051
3779
|
...
|
3052
3780
|
|
3053
3781
|
@overload
|
@@ -3057,6 +3785,14 @@ class ThermalConductivity(FieldQnty):
|
|
3057
3785
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ThermalConductivitySetter:
|
3058
3786
|
...
|
3059
3787
|
|
3788
|
+
@property
|
3789
|
+
def value(self) -> float | None:
|
3790
|
+
...
|
3791
|
+
|
3792
|
+
@property
|
3793
|
+
def unit(self) -> str | None:
|
3794
|
+
...
|
3795
|
+
|
3060
3796
|
|
3061
3797
|
|
3062
3798
|
class Time(FieldQnty):
|
@@ -3080,7 +3816,7 @@ class Time(FieldQnty):
|
|
3080
3816
|
_setter_class = field_setter.TimeSetter
|
3081
3817
|
_dimension = dim.TIME
|
3082
3818
|
|
3083
|
-
def __init__(self, name_or_value: str | int | float,
|
3819
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3084
3820
|
...
|
3085
3821
|
|
3086
3822
|
@overload
|
@@ -3090,6 +3826,14 @@ class Time(FieldQnty):
|
|
3090
3826
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.TimeSetter:
|
3091
3827
|
...
|
3092
3828
|
|
3829
|
+
@property
|
3830
|
+
def value(self) -> float | None:
|
3831
|
+
...
|
3832
|
+
|
3833
|
+
@property
|
3834
|
+
def unit(self) -> str | None:
|
3835
|
+
...
|
3836
|
+
|
3093
3837
|
|
3094
3838
|
|
3095
3839
|
class Torque(FieldQnty):
|
@@ -3113,7 +3857,7 @@ class Torque(FieldQnty):
|
|
3113
3857
|
_setter_class = field_setter.TorqueSetter
|
3114
3858
|
_dimension = dim.TORQUE
|
3115
3859
|
|
3116
|
-
def __init__(self, name_or_value: str | int | float,
|
3860
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3117
3861
|
...
|
3118
3862
|
|
3119
3863
|
@overload
|
@@ -3123,6 +3867,14 @@ class Torque(FieldQnty):
|
|
3123
3867
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.TorqueSetter:
|
3124
3868
|
...
|
3125
3869
|
|
3870
|
+
@property
|
3871
|
+
def value(self) -> float | None:
|
3872
|
+
...
|
3873
|
+
|
3874
|
+
@property
|
3875
|
+
def unit(self) -> str | None:
|
3876
|
+
...
|
3877
|
+
|
3126
3878
|
|
3127
3879
|
|
3128
3880
|
class TurbulenceEnergyDissipationRate(FieldQnty):
|
@@ -3146,7 +3898,7 @@ class TurbulenceEnergyDissipationRate(FieldQnty):
|
|
3146
3898
|
_setter_class = field_setter.TurbulenceEnergyDissipationRateSetter
|
3147
3899
|
_dimension = dim.TURBULENCE_ENERGY_DISSIPATION_RATE
|
3148
3900
|
|
3149
|
-
def __init__(self, name_or_value: str | int | float,
|
3901
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3150
3902
|
...
|
3151
3903
|
|
3152
3904
|
@overload
|
@@ -3156,6 +3908,14 @@ class TurbulenceEnergyDissipationRate(FieldQnty):
|
|
3156
3908
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.TurbulenceEnergyDissipationRateSetter:
|
3157
3909
|
...
|
3158
3910
|
|
3911
|
+
@property
|
3912
|
+
def value(self) -> float | None:
|
3913
|
+
...
|
3914
|
+
|
3915
|
+
@property
|
3916
|
+
def unit(self) -> str | None:
|
3917
|
+
...
|
3918
|
+
|
3159
3919
|
|
3160
3920
|
|
3161
3921
|
class VelocityAngular(FieldQnty):
|
@@ -3179,7 +3939,7 @@ class VelocityAngular(FieldQnty):
|
|
3179
3939
|
_setter_class = field_setter.VelocityAngularSetter
|
3180
3940
|
_dimension = dim.VELOCITY_ANGULAR
|
3181
3941
|
|
3182
|
-
def __init__(self, name_or_value: str | int | float,
|
3942
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3183
3943
|
...
|
3184
3944
|
|
3185
3945
|
@overload
|
@@ -3189,6 +3949,14 @@ class VelocityAngular(FieldQnty):
|
|
3189
3949
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.VelocityAngularSetter:
|
3190
3950
|
...
|
3191
3951
|
|
3952
|
+
@property
|
3953
|
+
def value(self) -> float | None:
|
3954
|
+
...
|
3955
|
+
|
3956
|
+
@property
|
3957
|
+
def unit(self) -> str | None:
|
3958
|
+
...
|
3959
|
+
|
3192
3960
|
|
3193
3961
|
|
3194
3962
|
class VelocityLinear(FieldQnty):
|
@@ -3212,7 +3980,7 @@ class VelocityLinear(FieldQnty):
|
|
3212
3980
|
_setter_class = field_setter.VelocityLinearSetter
|
3213
3981
|
_dimension = dim.VELOCITY_LINEAR
|
3214
3982
|
|
3215
|
-
def __init__(self, name_or_value: str | int | float,
|
3983
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3216
3984
|
...
|
3217
3985
|
|
3218
3986
|
@overload
|
@@ -3222,6 +3990,14 @@ class VelocityLinear(FieldQnty):
|
|
3222
3990
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.VelocityLinearSetter:
|
3223
3991
|
...
|
3224
3992
|
|
3993
|
+
@property
|
3994
|
+
def value(self) -> float | None:
|
3995
|
+
...
|
3996
|
+
|
3997
|
+
@property
|
3998
|
+
def unit(self) -> str | None:
|
3999
|
+
...
|
4000
|
+
|
3225
4001
|
|
3226
4002
|
|
3227
4003
|
class ViscosityDynamic(FieldQnty):
|
@@ -3245,7 +4021,7 @@ class ViscosityDynamic(FieldQnty):
|
|
3245
4021
|
_setter_class = field_setter.ViscosityDynamicSetter
|
3246
4022
|
_dimension = dim.VISCOSITY_DYNAMIC
|
3247
4023
|
|
3248
|
-
def __init__(self, name_or_value: str | int | float,
|
4024
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3249
4025
|
...
|
3250
4026
|
|
3251
4027
|
@overload
|
@@ -3255,6 +4031,14 @@ class ViscosityDynamic(FieldQnty):
|
|
3255
4031
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ViscosityDynamicSetter:
|
3256
4032
|
...
|
3257
4033
|
|
4034
|
+
@property
|
4035
|
+
def value(self) -> float | None:
|
4036
|
+
...
|
4037
|
+
|
4038
|
+
@property
|
4039
|
+
def unit(self) -> str | None:
|
4040
|
+
...
|
4041
|
+
|
3258
4042
|
|
3259
4043
|
|
3260
4044
|
class ViscosityKinematic(FieldQnty):
|
@@ -3278,7 +4062,7 @@ class ViscosityKinematic(FieldQnty):
|
|
3278
4062
|
_setter_class = field_setter.ViscosityKinematicSetter
|
3279
4063
|
_dimension = dim.VISCOSITY_KINEMATIC
|
3280
4064
|
|
3281
|
-
def __init__(self, name_or_value: str | int | float,
|
4065
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3282
4066
|
...
|
3283
4067
|
|
3284
4068
|
@overload
|
@@ -3288,6 +4072,14 @@ class ViscosityKinematic(FieldQnty):
|
|
3288
4072
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.ViscosityKinematicSetter:
|
3289
4073
|
...
|
3290
4074
|
|
4075
|
+
@property
|
4076
|
+
def value(self) -> float | None:
|
4077
|
+
...
|
4078
|
+
|
4079
|
+
@property
|
4080
|
+
def unit(self) -> str | None:
|
4081
|
+
...
|
4082
|
+
|
3291
4083
|
|
3292
4084
|
|
3293
4085
|
class Volume(FieldQnty):
|
@@ -3311,7 +4103,7 @@ class Volume(FieldQnty):
|
|
3311
4103
|
_setter_class = field_setter.VolumeSetter
|
3312
4104
|
_dimension = dim.VOLUME
|
3313
4105
|
|
3314
|
-
def __init__(self, name_or_value: str | int | float,
|
4106
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3315
4107
|
...
|
3316
4108
|
|
3317
4109
|
@overload
|
@@ -3321,6 +4113,14 @@ class Volume(FieldQnty):
|
|
3321
4113
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.VolumeSetter:
|
3322
4114
|
...
|
3323
4115
|
|
4116
|
+
@property
|
4117
|
+
def value(self) -> float | None:
|
4118
|
+
...
|
4119
|
+
|
4120
|
+
@property
|
4121
|
+
def unit(self) -> str | None:
|
4122
|
+
...
|
4123
|
+
|
3324
4124
|
|
3325
4125
|
|
3326
4126
|
class VolumeFractionOfI(FieldQnty):
|
@@ -3344,7 +4144,7 @@ class VolumeFractionOfI(FieldQnty):
|
|
3344
4144
|
_setter_class = field_setter.VolumeFractionOfISetter
|
3345
4145
|
_dimension = dim.VOLUME_FRACTION_OF_I
|
3346
4146
|
|
3347
|
-
def __init__(self, name_or_value: str | int | float,
|
4147
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3348
4148
|
...
|
3349
4149
|
|
3350
4150
|
@overload
|
@@ -3354,6 +4154,14 @@ class VolumeFractionOfI(FieldQnty):
|
|
3354
4154
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.VolumeFractionOfISetter:
|
3355
4155
|
...
|
3356
4156
|
|
4157
|
+
@property
|
4158
|
+
def value(self) -> float | None:
|
4159
|
+
...
|
4160
|
+
|
4161
|
+
@property
|
4162
|
+
def unit(self) -> str | None:
|
4163
|
+
...
|
4164
|
+
|
3357
4165
|
|
3358
4166
|
|
3359
4167
|
class VolumetricCalorificHeatingValue(FieldQnty):
|
@@ -3377,7 +4185,7 @@ class VolumetricCalorificHeatingValue(FieldQnty):
|
|
3377
4185
|
_setter_class = field_setter.VolumetricCalorificHeatingValueSetter
|
3378
4186
|
_dimension = dim.VOLUMETRIC_CALORIFIC_HEATING_VALUE
|
3379
4187
|
|
3380
|
-
def __init__(self, name_or_value: str | int | float,
|
4188
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3381
4189
|
...
|
3382
4190
|
|
3383
4191
|
@overload
|
@@ -3387,6 +4195,14 @@ class VolumetricCalorificHeatingValue(FieldQnty):
|
|
3387
4195
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.VolumetricCalorificHeatingValueSetter:
|
3388
4196
|
...
|
3389
4197
|
|
4198
|
+
@property
|
4199
|
+
def value(self) -> float | None:
|
4200
|
+
...
|
4201
|
+
|
4202
|
+
@property
|
4203
|
+
def unit(self) -> str | None:
|
4204
|
+
...
|
4205
|
+
|
3390
4206
|
|
3391
4207
|
|
3392
4208
|
class VolumetricCoefficientOfExpansion(FieldQnty):
|
@@ -3410,7 +4226,7 @@ class VolumetricCoefficientOfExpansion(FieldQnty):
|
|
3410
4226
|
_setter_class = field_setter.VolumetricCoefficientOfExpansionSetter
|
3411
4227
|
_dimension = dim.VOLUMETRIC_COEFFICIENT_OF_EXPANSION
|
3412
4228
|
|
3413
|
-
def __init__(self, name_or_value: str | int | float,
|
4229
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3414
4230
|
...
|
3415
4231
|
|
3416
4232
|
@overload
|
@@ -3420,6 +4236,14 @@ class VolumetricCoefficientOfExpansion(FieldQnty):
|
|
3420
4236
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.VolumetricCoefficientOfExpansionSetter:
|
3421
4237
|
...
|
3422
4238
|
|
4239
|
+
@property
|
4240
|
+
def value(self) -> float | None:
|
4241
|
+
...
|
4242
|
+
|
4243
|
+
@property
|
4244
|
+
def unit(self) -> str | None:
|
4245
|
+
...
|
4246
|
+
|
3423
4247
|
|
3424
4248
|
|
3425
4249
|
class VolumetricFlowRate(FieldQnty):
|
@@ -3443,7 +4267,7 @@ class VolumetricFlowRate(FieldQnty):
|
|
3443
4267
|
_setter_class = field_setter.VolumetricFlowRateSetter
|
3444
4268
|
_dimension = dim.VOLUMETRIC_FLOW_RATE
|
3445
4269
|
|
3446
|
-
def __init__(self, name_or_value: str | int | float,
|
4270
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3447
4271
|
...
|
3448
4272
|
|
3449
4273
|
@overload
|
@@ -3453,6 +4277,14 @@ class VolumetricFlowRate(FieldQnty):
|
|
3453
4277
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.VolumetricFlowRateSetter:
|
3454
4278
|
...
|
3455
4279
|
|
4280
|
+
@property
|
4281
|
+
def value(self) -> float | None:
|
4282
|
+
...
|
4283
|
+
|
4284
|
+
@property
|
4285
|
+
def unit(self) -> str | None:
|
4286
|
+
...
|
4287
|
+
|
3456
4288
|
|
3457
4289
|
|
3458
4290
|
class VolumetricFlux(FieldQnty):
|
@@ -3476,7 +4308,7 @@ class VolumetricFlux(FieldQnty):
|
|
3476
4308
|
_setter_class = field_setter.VolumetricFluxSetter
|
3477
4309
|
_dimension = dim.VOLUMETRIC_FLUX
|
3478
4310
|
|
3479
|
-
def __init__(self, name_or_value: str | int | float,
|
4311
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3480
4312
|
...
|
3481
4313
|
|
3482
4314
|
@overload
|
@@ -3486,6 +4318,14 @@ class VolumetricFlux(FieldQnty):
|
|
3486
4318
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.VolumetricFluxSetter:
|
3487
4319
|
...
|
3488
4320
|
|
4321
|
+
@property
|
4322
|
+
def value(self) -> float | None:
|
4323
|
+
...
|
4324
|
+
|
4325
|
+
@property
|
4326
|
+
def unit(self) -> str | None:
|
4327
|
+
...
|
4328
|
+
|
3489
4329
|
|
3490
4330
|
|
3491
4331
|
class VolumetricMassFlowRate(FieldQnty):
|
@@ -3509,7 +4349,7 @@ class VolumetricMassFlowRate(FieldQnty):
|
|
3509
4349
|
_setter_class = field_setter.VolumetricMassFlowRateSetter
|
3510
4350
|
_dimension = dim.VOLUMETRIC_MASS_FLOW_RATE
|
3511
4351
|
|
3512
|
-
def __init__(self, name_or_value: str | int | float,
|
4352
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3513
4353
|
...
|
3514
4354
|
|
3515
4355
|
@overload
|
@@ -3519,6 +4359,14 @@ class VolumetricMassFlowRate(FieldQnty):
|
|
3519
4359
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.VolumetricMassFlowRateSetter:
|
3520
4360
|
...
|
3521
4361
|
|
4362
|
+
@property
|
4363
|
+
def value(self) -> float | None:
|
4364
|
+
...
|
4365
|
+
|
4366
|
+
@property
|
4367
|
+
def unit(self) -> str | None:
|
4368
|
+
...
|
4369
|
+
|
3522
4370
|
|
3523
4371
|
|
3524
4372
|
class Wavenumber(FieldQnty):
|
@@ -3542,7 +4390,7 @@ class Wavenumber(FieldQnty):
|
|
3542
4390
|
_setter_class = field_setter.WavenumberSetter
|
3543
4391
|
_dimension = dim.WAVENUMBER
|
3544
4392
|
|
3545
|
-
def __init__(self, name_or_value: str | int | float,
|
4393
|
+
def __init__(self, name_or_value: str | int | float, unit_or_name: str | None = None, name_or_value2: str | int | float | None = None):
|
3546
4394
|
...
|
3547
4395
|
|
3548
4396
|
@overload
|
@@ -3552,5 +4400,13 @@ class Wavenumber(FieldQnty):
|
|
3552
4400
|
def set(self, value: float, unit: str | None = None) -> Self | field_setter.WavenumberSetter:
|
3553
4401
|
...
|
3554
4402
|
|
4403
|
+
@property
|
4404
|
+
def value(self) -> float | None:
|
4405
|
+
...
|
4406
|
+
|
4407
|
+
@property
|
4408
|
+
def unit(self) -> str | None:
|
4409
|
+
...
|
4410
|
+
|
3555
4411
|
|
3556
4412
|
|