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

support adjoint gradients in cylindrical coordinate #1749

Merged
merged 25 commits into from Sep 3, 2021

Conversation

mochen4
Copy link
Collaborator

@mochen4 mochen4 commented Aug 31, 2021

Support for adjoint gradients in cylindrical coordinate. Solve #1570.

@codecov-commenter
Copy link

codecov-commenter commented Aug 31, 2021

Codecov Report

Merging #1749 (4c1c629) into master (cdae1a8) will increase coverage by 0.90%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1749      +/-   ##
==========================================
+ Coverage   73.46%   74.37%   +0.90%     
==========================================
  Files          13       13              
  Lines        4557     4573      +16     
==========================================
+ Hits         3348     3401      +53     
+ Misses       1209     1172      -37     
Impacted Files Coverage Δ
python/adjoint/optimization_problem.py 72.66% <100.00%> (+2.96%) ⬆️
python/simulation.py 76.56% <100.00%> (+0.10%) ⬆️
python/geom.py 94.15% <0.00%> (+0.17%) ⬆️
python/source.py 95.41% <0.00%> (+3.05%) ⬆️
python/adjoint/objective.py 90.90% <0.00%> (+15.75%) ⬆️

@stevengj
Copy link
Collaborator

stevengj commented Sep 1, 2021

Would be good to have a test, otherwise looks good!

@stevengj stevengj merged commit e2739e4 into NanoComp:master Sep 3, 2021
@smartalecH
Copy link
Collaborator

It seems that every cylindrical test case must run to the maximum runtime. In other words, none of the DFT fields are ever "converging"...

We should probably look into that.

bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
* cyl

* remove print

* fix

* bug

* update

* update

* cyl

* update

* update

* cyl

* fix

* update

* update

* cyl

* update

* update

* rebase fix

* rebase

* rebase fix

* minor fix

* clean up

* cyl test

* typo

* fix

Co-authored-by: Mo Chen <mochen@Mos-MacBook-Pro.local>
mawc2019 pushed a commit to mawc2019/meep that referenced this pull request Nov 3, 2021
* cyl

* remove print

* fix

* bug

* update

* update

* cyl

* update

* update

* cyl

* fix

* update

* update

* cyl

* update

* update

* rebase fix

* rebase

* rebase fix

* minor fix

* clean up

* cyl test

* typo

* fix

Co-authored-by: Mo Chen <mochen@Mos-MacBook-Pro.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants