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

Waveform Relaxation for Gap Junctions #1810

Draft
wants to merge 41 commits into
base: master
Choose a base branch
from
Draft

Conversation

kanzl
Copy link
Contributor

@kanzl kanzl commented Jan 21, 2022

Implements waveform relaxation for gap junctions:

  • Add WR iterations in integration in fvm_lowered_cell_impl.hpp
  • Use membrane potential of gj partner cell as input for next WR iteration when calculating gj current
  • Add variable vec_v_peer to mechanism ppack

v_step.push_back(state_->voltage[node_cv]);
t_step.push_back(state_->dt_cv[node_cv]);

auto err_cv = state_->voltage[node_cv] - traces_v_prev[gj][step][node_cv];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SEGV Here

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.

2 participants