Skip to content

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