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

Restructure connections #1721

Merged
merged 1 commit into from
Aug 11, 2021
Merged

Restructure connections #1721

merged 1 commit into from
Aug 11, 2021

Conversation

ahoenselaar
Copy link
Contributor

  • Replace connections with separate maps for incoming and outgoing connections.
  • Maintain separate connections for each chunk pair.

These changes unblock some of the improvements discussed on #1710 and #1670, in particular overlapped processing of incoming data.

* Replace `connections` with separate maps for incoming and outgoing connections.
* Maintain separate connections for each chunk pair.

These changes unblock some of the improvements disucssed on NanoComp#1710 and NanoComp#1670.
@codecov-commenter
Copy link

Codecov Report

Merging #1721 (609a579) into master (9509547) will decrease coverage by 19.19%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1721       +/-   ##
===========================================
- Coverage   73.35%   54.15%   -19.20%     
===========================================
  Files          13       13               
  Lines        4530     4535        +5     
===========================================
- Hits         3323     2456      -867     
- Misses       1207     2079      +872     
Impacted Files Coverage Δ
python/adjoint/utils.py 0.00% <0.00%> (-93.45%) ⬇️
python/adjoint/wrapper.py 0.00% <0.00%> (-91.46%) ⬇️
python/adjoint/filter_source.py 0.00% <0.00%> (-85.30%) ⬇️
python/adjoint/__init__.py 0.00% <0.00%> (-80.00%) ⬇️
python/adjoint/objective.py 0.00% <0.00%> (-75.31%) ⬇️
python/adjoint/optimization_problem.py 0.00% <0.00%> (-69.59%) ⬇️
python/adjoint/filters.py 0.00% <0.00%> (-49.70%) ⬇️
python/adjoint/basis.py 0.00% <0.00%> (-15.71%) ⬇️
python/simulation.py 67.06% <0.00%> (-9.20%) ⬇️
python/source.py 85.49% <0.00%> (-6.88%) ⬇️
... and 2 more

@ahoenselaar
Copy link
Contributor Author

More immediate processing of incoming data illustrated here:
ahoenselaar@dffe891

@oskooi oskooi self-requested a review August 10, 2021 22:51
@stevengj stevengj merged commit 926144d into NanoComp:master Aug 11, 2021
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
* Replace `connections` with separate maps for incoming and outgoing connections.
* Maintain separate connections for each chunk pair.

These changes unblock some of the improvements disucssed on NanoComp#1710 and NanoComp#1670.

Co-authored-by: Andreas Hoenselaar <[email protected]>
mawc2019 pushed a commit to mawc2019/meep that referenced this pull request Nov 3, 2021
* Replace `connections` with separate maps for incoming and outgoing connections.
* Maintain separate connections for each chunk pair.

These changes unblock some of the improvements disucssed on NanoComp#1710 and NanoComp#1670.

Co-authored-by: Andreas Hoenselaar <[email protected]>
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.

4 participants