CoreNEURON
coreneuron::coreneuron Namespace Reference

Enumerations

enum  phase { one = 1, two, three, gap }
 Reading phase number. More...
 

Functions

template<phase P>
std::string getPhaseName ()
 Get the phase number in form of the string. More...
 
template<>
std::string getPhaseName< one > ()
 
template<>
std::string getPhaseName< two > ()
 
template<>
std::string getPhaseName< three > ()
 
template<>
std::string getPhaseName< gap > ()
 
template<phase P>
void read_phase_aux (NrnThread &nt, UserParams &)
 Reading phase selector. More...
 
template<>
void read_phase_aux< one > (NrnThread &nt, UserParams &userParams)
 
template<>
void read_phase_aux< two > (NrnThread &nt, UserParams &userParams)
 
template<>
void read_phase_aux< three > (NrnThread &nt, UserParams &userParams)
 
template<>
void read_phase_aux< gap > (NrnThread &nt, UserParams &userParams)
 
template<phase P>
void * phase_wrapper_w (NrnThread *nt, UserParams &userParams, bool in_memory_transfer)
 Reading phase wrapper for each neuron group. More...
 
template<phase P>
static void phase_wrapper (UserParams &userParams, int direct=0)
 Specific phase reading executed by threads. More...
 

Enumeration Type Documentation

◆ phase

Reading phase number.

Enumerator
one 
two 
three 
gap 

Definition at line 53 of file nrn_setup.hpp.

Function Documentation

◆ getPhaseName()

template<phase P>
std::string coreneuron::coreneuron::getPhaseName ( )
inline

Get the phase number in form of the string.

◆ getPhaseName< gap >()

template<>
std::string coreneuron::coreneuron::getPhaseName< gap > ( )
inline

Definition at line 75 of file nrn_setup.hpp.

◆ getPhaseName< one >()

template<>
std::string coreneuron::coreneuron::getPhaseName< one > ( )
inline

Definition at line 60 of file nrn_setup.hpp.

◆ getPhaseName< three >()

template<>
std::string coreneuron::coreneuron::getPhaseName< three > ( )
inline

Definition at line 70 of file nrn_setup.hpp.

◆ getPhaseName< two >()

template<>
std::string coreneuron::coreneuron::getPhaseName< two > ( )
inline

Definition at line 65 of file nrn_setup.hpp.

◆ phase_wrapper()

template<phase P>
static void coreneuron::coreneuron::phase_wrapper ( UserParams userParams,
int  direct = 0 
)
inlinestatic

Specific phase reading executed by threads.

Definition at line 147 of file nrn_setup.hpp.

◆ phase_wrapper_w()

template<phase P>
void* coreneuron::coreneuron::phase_wrapper_w ( NrnThread nt,
UserParams userParams,
bool  in_memory_transfer 
)
inline

Reading phase wrapper for each neuron group.

Definition at line 105 of file nrn_setup.hpp.

◆ read_phase_aux()

template<phase P>
void coreneuron::coreneuron::read_phase_aux ( NrnThread nt,
UserParams  
)
inline

Reading phase selector.

◆ read_phase_aux< gap >()

template<>
void coreneuron::coreneuron::read_phase_aux< gap > ( NrnThread nt,
UserParams userParams 
)
inline

Definition at line 99 of file nrn_setup.hpp.

◆ read_phase_aux< one >()

template<>
void coreneuron::coreneuron::read_phase_aux< one > ( NrnThread nt,
UserParams userParams 
)
inline

Definition at line 84 of file nrn_setup.hpp.

◆ read_phase_aux< three >()

template<>
void coreneuron::coreneuron::read_phase_aux< three > ( NrnThread nt,
UserParams userParams 
)
inline

Definition at line 94 of file nrn_setup.hpp.

◆ read_phase_aux< two >()

template<>
void coreneuron::coreneuron::read_phase_aux< two > ( NrnThread nt,
UserParams userParams 
)
inline

Definition at line 89 of file nrn_setup.hpp.