Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Refactor preamble code. #1426

Open
1uc opened this issue Sep 11, 2024 · 0 comments
Open

Refactor preamble code. #1426

1uc opened this issue Sep 11, 2024 · 0 comments

Comments

@1uc
Copy link
Collaborator

1uc commented Sep 11, 2024

The functions that serve as "entry points" into the MOD file, need to set up some variables that we then use, e.g.

auto _lmr = ...;
auto inst = ...;
auto node_data = ...;

This code is repetitive, but seems to be done adhoc in the NEURON code printer. It would be nice to make it systematic. We need to distinguish at least the following:

  • access to the memb_list vs. only a _prop.
  • access to a node (i.e. everything that's not an ARTIFICIAL_CELL).
  • access to thread data in two favours: a) any access at all i.e. VECTORIZED==1, b) access to the NRN thread specific copy of _thread.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant