Skip to content

Commit

Permalink
Lazy import matplotlib and scipy to allow minimal install
Browse files Browse the repository at this point in the history
ELECTROSTATIC
CHARGE simulations using DevSim
File structure reorganization

Fixing some minor tests issues

Fix rebase

Fixed dataset test

Update tests/sims files

Test no_vtk

Test no_vtk

Test no_vtk

Small comment change

Test no_vtk

Test no_vtk

Doping new note

Making source compulsory

Add option to log handler to prefix every line

feat[frontend]: addition of VisualizationSpec for plotting specification in Medium

QuasiUniformGrid that adjusts to structure bounding boxes and snapping points

Added `min_steps_per_sim_size` field to Autogrid for subwavelength simulation domain

Fix compatibility to

this should do it

ELECTROSTATIC
CHARGE simulations using DevSim
File structure reorganization

fix status

fixes

Additional test test_gaussian_doping_get_contrib

Adding test back

Added charge example to docstrings

tiny error

still trying to debug the error

finished renaming

still trying to debug this validator?

this does it

Fix merge

Update schema

Comment
  • Loading branch information
marc-flex committed Jan 15, 2025
1 parent 405aef2 commit 85b6546
Show file tree
Hide file tree
Showing 96 changed files with 9,537 additions and 4,315 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.8.0rc1]
## [Unreleased]

### Added
- `VisualizationSpec` that allows `Medium` instances to specify color and transparency plotting attributes that override default ones.
- Added :zap: CHARGE Solver API, `SPICE` & `MultiPhysicsMedium` functionality.

### Changed
- `ModeMonitor` and `ModeSolverMonitor` now use the default `td.ModeSpec()` with `num_modes=1` when `mode_spec` is not provided.
Expand Down
39 changes: 39 additions & 0 deletions docs/api/charge/boundary_conditions.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
.. currentmodule:: tidy3d

Boundary Conditions
-----------------------------

Specifications
^^^^^^^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.HeatBoundarySpec
tidy3d.HeatChargeBoundarySpec


Types
^^^^^^^^^^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.VoltageBC
tidy3d.CurrentBC
tidy3d.InsulatingBC

Placement
^^^^^^^^^^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.StructureStructureInterface
tidy3d.StructureBoundary
tidy3d.MediumMediumInterface
tidy3d.StructureSimulationBoundary
tidy3d.SimulationBoundary
File renamed without changes.
14 changes: 13 additions & 1 deletion docs/api/charge/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@ CHARGE |:zap:|
.. toctree::
:hidden:

simulation
mediums
boundary_conditions
source
discretization
monitor
output_data


.. include:: /api/charge/mediums.rst
.. include:: /api/charge/simulation.rst
.. include:: /api/charge/mediums.rst
.. include:: /api/charge/boundary_conditions.rst
.. include:: /api/charge/source.rst
.. include:: /api/charge/discretization.rst
.. include:: /api/charge/monitor.rst
.. include:: /api/charge/output_data.rst
54 changes: 54 additions & 0 deletions docs/api/charge/mediums.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,57 @@ Charge Perturbation Specification

tidy3d.LinearChargePerturbation
tidy3d.CustomChargePerturbation


Charge Specification
-------------------------------

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.ChargeConductorMedium
tidy3d.ChargeInsulatorMedium
tidy3d.SemiconductorMedium

Mobility
^^^^^^^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.CaugheyThomasMobility


Generation Recombination
^^^^^^^^^^^^^^^^^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.AugerRecombination
tidy3d.RadiativeRecombination
tidy3d.ShockleyReedHallRecombination


Doping
^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.ConstantDoping
tidy3d.GaussianDoping


Bandgap
^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.SlotboomBandGapNarrowing
13 changes: 13 additions & 0 deletions docs/api/charge/monitor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. currentmodule:: tidy3d

Monitors
----------

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.SteadyVoltageMonitor
tidy3d.SteadyPotentialMonitor
tidy3d.SteadyFreeCarrierMonitor
tidy3d.SteadyCapacitanceMonitor
50 changes: 50 additions & 0 deletions docs/api/charge/output_data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
.. currentmodule:: tidy3d

Output Data
-------------


Simulation Data
^^^^^^^^^^^^^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.HeatChargeSimulationData


Monitor Data
^^^^^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.SteadyVoltageData
tidy3d.SteadyPotentialData
tidy3d.SteadyFreeCarrierData
tidy3d.SteadyCapacitanceData


Unstructured Data Classes
^^^^^^^^^^^^^^^^^^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.TriangularGridDataset
tidy3d.TetrahedralGridDataset


Individual Datasets
^^^^^^^^^^^^^^^^^^^

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.PointDataArray
tidy3d.CellDataArray
tidy3d.IndexedDataArray
File renamed without changes.
10 changes: 10 additions & 0 deletions docs/api/charge/source.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. currentmodule:: tidy3d

Thermal Sources
-----------------

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.HeatFromElectricSource
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. currentmodule:: tidy3d

Thermal/Charge Boundary Conditions
Boundary Conditions
-----------------------------

Specifications
Expand All @@ -24,9 +24,6 @@ Types
tidy3d.TemperatureBC
tidy3d.ConvectionBC
tidy3d.HeatFluxBC
tidy3d.VoltageBC
tidy3d.CurrentBC,
tidy3d.InsulatingBC


Placement
Expand Down
11 changes: 11 additions & 0 deletions docs/api/heat/discretization.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. currentmodule:: tidy3d

Grid Specification
--------------------

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.UniformUnstructuredGrid
tidy3d.DistanceUnstructuredGrid
22 changes: 22 additions & 0 deletions docs/api/heat/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
HEAT |:fire:|
=============

.. toctree::
:hidden:

simulation
mediums
boundary_conditions
source
discretization
monitor
output_data


.. include:: /api/heat/simulation.rst
.. include:: /api/heat/mediums.rst
.. include:: /api/heat/boundary_conditions.rst
.. include:: /api/heat/source.rst
.. include:: /api/heat/discretization.rst
.. include:: /api/heat/monitor.rst
.. include:: /api/heat/output_data.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. currentmodule:: tidy3d

Material Thermal/Charge Specification
Material Thermal
-------------------------------

.. autosummary::
Expand All @@ -9,8 +9,6 @@ Material Thermal/Charge Specification

tidy3d.FluidSpec
tidy3d.SolidSpec
tidy3d.ConductorSpec
tidy3d.InsulatorSpec


Thermal Perturbation Specification
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ Monitors
:toctree: ../_autosummary/
:template: module.rst

tidy3d.TemperatureMonitor
tidy3d.VoltageMonitor
tidy3d.TemperatureMonitor
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Output Data
-------------


Heat/Charge Simulation Data
Simulation Data
^^^^^^^^^^^^^^^^^^^^

.. autosummary::
Expand All @@ -23,7 +23,6 @@ Monitor Data
:template: module.rst

tidy3d.TemperatureData
tidy3d.VoltageData


Unstructured Data Classes
Expand Down
11 changes: 11 additions & 0 deletions docs/api/heat/simulation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.. currentmodule:: tidy3d

Simulation
-----------

.. autosummary::
:toctree: ../_autosummary/
:template: module.rst

tidy3d.HeatSimulation
tidy3d.HeatChargeSimulation
File renamed without changes.
22 changes: 0 additions & 22 deletions docs/api/heat_charge/index.rst

This file was deleted.

3 changes: 2 additions & 1 deletion docs/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ API |:computer:|
charge/index
eme/index
plugins/index
spice
constants
abstract_base
abstract_models
Expand All @@ -53,4 +54,4 @@ API |:computer:|
.. include:: /api/plugins/index.rst
.. include:: /api/constants.rst
.. include:: /api/abstract_base.rst
.. include:: /api/abstract_models.rst
.. include:: /api/abstract_models.rst
17 changes: 15 additions & 2 deletions docs/api/mediums.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

.. currentmodule:: tidy3d

Mediums
=======
EM Mediums
==========

Non-Dispersive Medium
---------------------
Expand Down Expand Up @@ -137,3 +137,16 @@ Abstract Classes

tidy3d.components.medium.AbstractPerturbationMedium
tidy3d.components.medium.NonlinearModel


Multi-Physics Medium
====================


.. autosummary::
:toctree: _autosummary/

tidy3d.components.material.multi_physics.MultiPhysicsMedium



Loading

0 comments on commit 85b6546

Please sign in to comment.