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

Prepare for deprecating vectorize. #1537

Merged
merged 1 commit into from
Oct 28, 2024
Merged

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Oct 25, 2024

Adds virtual methods needs_v_unused that returns:

  • true for --neuron,
  • and the previous choice for CoreNEURON.

This will make CoreNEURON incompatible with NMODL generated MOD files. However, it will allow NMODL to generate code for NRN that doesn't use globals to handle the voltage v (and instead stores a cpoy as a regular range variable).

Adds virtual methods `needs_v_unused` that returns:
  * true for `--neuron`,
  * and the previous choice for CoreNEURON.

This will make CoreNEURON incompatible with NMODL generated MOD files.
However, it will allow NMODL to generate code for NRN that doesn't use
globals to handle the voltage `v` (and instead stores a cpoy as a
regular range variable).
@1uc 1uc marked this pull request as ready for review October 25, 2024 14:59
@1uc 1uc merged commit 750ec88 into master Oct 28, 2024
12 checks passed
@1uc 1uc deleted the 1uc/prepare-deprecate-vectorize branch October 28, 2024 09:04
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