Commit 0a72b9c
committed
pydantic v2 (wip)
add somefiles
replacing v1
more replacements
copy methods and ordering of basemodel
update get_submodels_by_hash
basemodel done (except for docs)
basemodel and modespec done
slowly but surely..
progress
next batch
going going
getting started on medium
more refactoring
new structure for medium.py
add medium
why it no work
fix medium
upgrade material library
most of it
first pass
add pydantic-settings
fixes to validators, mutable assignment, ...:
remove skip_if_fields_missing
cleaning up types & type serializaton
fix printing and serialization of autograd types
more type serialization updates
Fix traced ndarray serialization
fix equality check in basemodel
fix some v1 leftovers
fix some tests
fix equality check
sim_data tests passing
make serializer more robust and another fix for equality comparison
fix warn if none validators
Check for pydantic v2 ValidationErrors
Canonicalize coordinate handling of unstructured datasets
Simulation data tests passing
material library tests passing
fix bad name
fix material libray -> library
lotsa fixes, tests_web & test_package passing
fix remaining web test warnings
everything importable for doctests
rebase, wip
fix mutation
safer ndarray coercion and expressions fix
working on post init validation
fix multiphysics medium attribute lookup
remove test script from vcs
doctests passing
fix NedeljkovicSorefMashanovich
fix non-component tests
fix tracer serialization
remove unnecessary to_static call
the smallest changes really do take the longest
all of test_IO passing
fix caching and copy update
docstring for __init_subclass__
passing: IO, base, beam, boundaries, custom, eme, field_projection, geometry, log
passing: grid, grid_spec, heat, heat_charge, layerrefinement, lumped_element, medium
passing: meshgenerate, microwave, mode
passing: monitor, packaging, parameter_perturbation, perturbation_medium, scene, sidewall
passing: expressions
passing: smatrix, array_factor, design, dispersion_fitter, microwave, mode_solver
wip: adjoint & invdes
passing: source, structure, time_modulation
passing: types
add helpers to filter model fields
add tests for new basemodel helpers
small fixes
wip: autograd
fix waveguide
passing: autograd
rebase fixes
no more post-init validators
fix dataarray json schema
rework array constraints
wip: adjoint1 parent c5188a6 commit 0a72b9c
248 files changed
Lines changed: 8593 additions & 7956 deletions
File tree
- tests
- test_components
- test_data
- test_material_library
- test_package
- test_plugins
- expressions
- smatrix
- test_web
- tidy3d
- components
- autograd
- base_sim
- data
- data
- unstructured
- eme
- data
- geometry
- grid
- material
- tcad
- microwave/data
- mode
- data
- source
- spice
- analysis
- sources
- tcad
- analysis
- boundary
- data
- monitor_data
- monitors
- simulation
- source
- viz
- material_library
- plugins
- adjoint
- components
- data
- utils
- autograd
- invdes
- design
- dispersion
- expressions
- invdes
- microwave
- mode
- polyslab
- resonance
- smatrix
- component_modelers
- data
- ports
- waveguide
- web
- api
- autograd
- core
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
| 286 | + | |
284 | 287 | | |
285 | 288 | | |
286 | 289 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | | - | |
| 75 | + | |
75 | 76 | | |
76 | | - | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
| 105 | + | |
105 | 106 | | |
106 | | - | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
111 | | - | |
| 112 | + | |
112 | 113 | | |
113 | | - | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
118 | | - | |
| 119 | + | |
119 | 120 | | |
120 | | - | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
126 | 127 | | |
127 | | - | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
189 | 190 | | |
190 | 191 | | |
191 | 192 | | |
192 | | - | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
| |||
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| 224 | + | |
223 | 225 | | |
| 226 | + | |
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments