-
Notifications
You must be signed in to change notification settings - Fork 632
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Special field updates for r = 0 and m = 0, ±1 in cylindrical coordina…
…tes (#2538) * special case for update E from D in cyl coords for m = 0 and r = 0 * add new function step_update_EDHB0 in step_generic.cpp which includes PML and nonlinearities * remove STEP_UPDATE_EDHB0 function and instead call STEP_UPDATE_EDHB with null off-diagonal components * remove STEP_UPDATE_EDHB0 in step_generic.cpp * use narrowband source for m=-1 case and add new test for m=0 * add comment to explain why narrow bandwidth source is necessary for |m| = 1 * add step-db update equations for z-PML and absorber at r = 0 for |m| = 1 * Revert "add step-db update equations for z-PML and absorber at r = 0 for |m| = 1" This reverts commit fc9b1c8. * Update step_db.cpp * typos * fix errors * remove hack for m = -1 test case * update r=0 step_db for m=0 to match step_generic * flip sign of curl terms and strides * skip special case of r=0 fields check in test_simple_metallic of cylindrical.cpp * reduce error tolerance in field comparison at r=0 in test_pml of cylindrical.cpp * check converged flux matches to seven rather than eight digits in test_pml_cyl.py * revert sign flip in sd of step_db.cpp for |m|=1 update equations * reduce range of iz-index loop for Dp update at r=0 for |m|=1 by one * replace custom loops for r=0 update of m = 0, ±1 with LOOP_OVER_IVECS * compute radiated flux from the farfield radiation pattern rather than Poynting flux of nearfields to avoid DFT interpolation to voxel center * revert extraction efficiency calculation to using add_flux but with Er source at r > 0 --------- Co-authored-by: Steven G. Johnson <[email protected]>
- Loading branch information
Showing
5 changed files
with
90 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters