MOOSE - Multiscale Object Oriented Simulation Environment
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
SpikeGenStruct Struct Reference

#include <HSolveStruct.h>

+ Collaboration diagram for SpikeGenStruct:

Public Member Functions

void reinit (ProcPtr info)
 
void send (ProcPtr info)
 
 SpikeGenStruct (double *Vm, Eref e)
 

Public Attributes

Eref e_
 
double * Vm_
 

Detailed Description

Contains information about the spikegens that the HSolve object needs to talk with

Definition at line 114 of file HSolveStruct.h.

Constructor & Destructor Documentation

SpikeGenStruct::SpikeGenStruct ( double *  Vm,
Eref  e 
)
inline

Definition at line 116 of file HSolveStruct.h.

117  :
118  Vm_( Vm ),
119  e_( e )
120  { ; }

Member Function Documentation

void SpikeGenStruct::reinit ( ProcPtr  info)

Finds the spikegen object using e_ and calls reinit on the spikegen

Definition at line 67 of file HSolveStruct.cpp.

References Eref::data(), e_, and SpikeGen::reinit().

68 {
69  SpikeGen* spike = reinterpret_cast< SpikeGen* >( e_.data() );
70 
71  spike->reinit( e_, info );
72 }
char * data() const
Definition: Eref.cpp:41
void reinit(const Eref &e, ProcPtr p)
Definition: SpikeGen.cpp:209

+ Here is the call graph for this function:

void SpikeGenStruct::send ( ProcPtr  info)

Definition at line 74 of file HSolveStruct.cpp.

References Eref::data(), e_, SpikeGen::handleVm(), SpikeGen::process(), and Vm_.

75 {
76  SpikeGen* spike = reinterpret_cast< SpikeGen* >( e_.data() );
77 
78  spike->handleVm( *Vm_ );
79  spike->process( e_, info );
80 }
char * data() const
Definition: Eref.cpp:41
void process(const Eref &e, ProcPtr p)
Definition: SpikeGen.cpp:192
void handleVm(double val)
Definition: SpikeGen.cpp:214

+ Here is the call graph for this function:

Member Data Documentation

Eref SpikeGenStruct::e_

Definition at line 123 of file HSolveStruct.h.

Referenced by reinit(), and send().

double* SpikeGenStruct::Vm_

Definition at line 122 of file HSolveStruct.h.

Referenced by send().


The documentation for this struct was generated from the following files: