Skip to content

Enhance 3D simulation with permittivity handling and memory estimation#133

Merged
QuentinWach merged 1 commit into
mainfrom
memory_fix
Jun 5, 2026
Merged

Enhance 3D simulation with permittivity handling and memory estimation#133
QuentinWach merged 1 commit into
mainfrom
memory_fix

Conversation

@QuentinWach

Copy link
Copy Markdown
Collaborator
  • Added source permittivity parameters to apply_lossy_shell_from_lossless_3d for improved handling of empty source conditions.
  • Updated cpml_update_h_from_e_3d_shell_split and cpml_update_e_from_h_3d_shell_split to utilize permittivity in calculations.
  • Introduced memory estimation functionality in the Simulation class to report memory usage of fields and compiled coefficients.
  • Refactored snapshot shape determination to consider permittivity references, ensuring accurate field shape retrieval in 3D simulations.
  • Enhanced tests to validate the integration of permittivity and memory estimation features.

- Added source permittivity parameters to `apply_lossy_shell_from_lossless_3d` for improved handling of empty source conditions.
- Updated `cpml_update_h_from_e_3d_shell_split` and `cpml_update_e_from_h_3d_shell_split` to utilize permittivity in calculations.
- Introduced memory estimation functionality in the `Simulation` class to report memory usage of fields and compiled coefficients.
- Refactored snapshot shape determination to consider permittivity references, ensuring accurate field shape retrieval in 3D simulations.
- Enhanced tests to validate the integration of permittivity and memory estimation features.
@QuentinWach QuentinWach merged commit 802428f into main Jun 5, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant