Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tidy3d from 2.5.0rc3 to 2.5.0 #278

Merged
merged 1 commit into from Dec 15, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 14, 2023

Bumps tidy3d from 2.5.0rc3 to 2.5.0.

Release notes

Sourced from tidy3d's releases.

v2.5.0

What's Changed

... (truncated)

Changelog

Sourced from tidy3d's changelog.

[2.5.0] - 2023-12-13

Added

  • Ability to mix regular mediums and geometries with differentiable analogues in JaxStructure. Enables support for shape optimization with dispersive mediums. New classes JaxStructureStaticGeometry and JaxStructureStaticMedium accept regular Tidy3D geometry and medium classes, respectively.
  • Warning if nonlinear mediums are used in an adjoint simulation. In this case, the gradients will not be accurate, but may be approximately correct if the nonlinearity is weak.
  • Validator for surface field projection monitors that warns if projecting backwards relative to the monitor's normal direction.
  • Validator for field projection monitors when far field approximation is enabled but the projection distance is small relative to the near field domain.
  • Ability to manually specify a medium through which to project fields, when using field projection monitors.
  • Added support for two-photon absorption via TwoPhotonAbsorption class. Added KerrNonlinearity that implements Kerr effect without third-harmonic generation.
  • Can create PoleResidue from LO-TO form via PoleResidue.from_lo_to.
  • Added TriangularGridDataset and TehrahedralGridDataset for storing and manipulating unstructured data.
  • Support for an anisotropic medium containing PEC components.
  • SimulationData.mnt_data_from_file() method to load only a single monitor data object from a simulation data .hdf5 file.
  • _hash_self to base model, uses hashlib to hash a Tidy3D component the same way every session.
  • ComponentModeler.plot_sim_eps() method to plot the simulation permittivity and ports.
  • Support for 2D PEC materials.
  • Ability to downsample recorded near fields to speed up server-side far field projections.
  • FieldData.apply_phase(phase) to multiply field data by a phase.
  • Optional phase argument to SimulationData.plot_field that applies a phase to complex-valued fields.
  • Ability to window near fields for spatial filtering of far fields for both client- and server-side field projections.
  • Support for multiple frequencies in output_monitors in adjoint plugin.
  • GDSII export functions to_gds_file, to_gds, to_gdspy, and to_gdstk to Simulation, Structure, and Geometry.
  • verbose argument to estimate_cost and real_cost functions such that the cost is logged if verbose==True (default). Additional helpful messages may also be logged.
  • Support for space-time modulation of permittivity and electric conductivity via ModulationSpec class. The modulation function must be separable in space and time. Modulations with user-supplied distributions in space and harmonic modulation in time are supported.
  • Geometry.intersections_tilted_plane calculates intersections with any plane, not only axis-aligned ones.
  • Transformed class to support geometry transformations.
  • Methods Geometry.translated, Geometry.scaled, and Geometry.rotated can be used to create transformed copies of any geometry.
  • Time zone in webAPI logging output.
  • Class Scene consisting of a background medium and structures for easier drafting and visualization of simulation setups as well as transferring such information between different simulations.
  • Solver for thermal simulation (see HeatSimulation and related classes).
  • Specification of material thermal properties in medium classes through an optional field .heat_spec.

Changed

  • Credit cost for remote mode solver has been modified to be defined in advance based on the mode solver details. Previously, the cost was based on elapsed runtime. On average, there should be little difference in the cost.
  • Mode solves that are part of an FDTD simulation (i.e. for mode sources and monitors) are now charged at the same flex credit cost as a corresponding standalone mode solver call.
  • Any FreqMonitor.freqs or Source.source_time.freq0 smaller than 1e5 now raise an error as this must be incorrect setup that is outside the Tidy3D intended range (note default frequency is Hz).
  • When using complex fields (e.g. with Bloch boundaries), FluxTimeMonitor and frequency-domain fields (including derived quantities like flux) now only use the real part of the time-domain electric field.
  • Indent for the json string of Tidy3D models has been changed to None when used internally; kept as indent=4 for writing to json and yaml files.
  • API for specifying one or more nonlinear models via NonlinearSpec.models.
  • freqs and direction are optional in ModeSolver methods converting to monitor and source, respectively. If not supplied, uses the values from the ModeSolver instance calling the method.
  • Removed spurious -1 factor in field amplitudes injected by field sources in some cases. The injected E-field should now exactly match the analytic, mode, or custom fields that the source is expected to inject, both in the forward and in the backward direction.
  • Restriction on the maximum memory that a monitor would need internally during the solver run, even if the final monitor data is smaller.
  • Restriction on the maximum size of mode solver data produced by a ModeSolver server call.
  • Updated versions of boto3, requests, and click.
  • python 3.7 no longer tested nor supported.
  • Removed warning that monitors now have colocate=True by default.
  • If PML or any absorbing boundary condition is used along a direction where the Simulation size is zero, an error will be raised, rather than just a warning.
  • Remove warning that monitors now have colocate=True by default.
  • Internal refactor of Web API functionality.
  • Geometry.from_gds doesn't create unnecessary groups of single elements.

... (truncated)

Commits
  • a9004b8 Merge pull request #1170 from flexcompute/pre/2.5
  • 46ecef4 Final changelog and schema for 2.5.0
  • c34a23e Added max_num_poles at least min_num_poles validator to FastDispersionFitter
  • 0857821 limit vtk version
  • 523df25 Mode solver eps_complex check at central frequency only
  • ca20525 Print cost breakdown in estimate_cost if there is mode or post-processing charge
  • e176ec5 Doubling mode solver internal storage for doulbe precision
  • e820311 Convenience property in mode solver to get number of cells, freqs, and modes
  • 259d1c4 Changed flux and DFT definitions with complex fields to only use real part, a...
  • 5c63398 Allow bend_radius to be negative, but not close to zero
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [tidy3d](https://github.com/flexcompute/tidy3d) from 2.5.0rc3 to 2.5.0.
- [Release notes](https://github.com/flexcompute/tidy3d/releases)
- [Changelog](https://github.com/flexcompute/tidy3d/blob/develop/CHANGELOG.md)
- [Commits](flexcompute/tidy3d@v2.5.0rc3...v2.5.0)

---
updated-dependencies:
- dependency-name: tidy3d
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Dec 14, 2023
@joamatab joamatab self-requested a review December 15, 2023 18:58
@joamatab joamatab merged commit 08011bf into main Dec 15, 2023
13 checks passed
@joamatab joamatab deleted the dependabot/pip/tidy3d-2.5.0 branch December 15, 2023 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant