basecode/EpFunc.cpp File Reference

#include "header.h"
#include "../shell/Shell.h"
Include dependency graph for EpFunc.cpp:

Functions

template<>
NeutralgetEpFuncData< Neutral > (const Eref &e)

Function Documentation

template<>
Neutral* getEpFuncData< Neutral > ( const Eref e  )  [inline]

This is a template specialization for GetEpFunc applied to Neutrals. This is necessary in order to access Element fields of objects that may not have been allocated (such as synapses), even though their Element has been created and needs to be manipulated. Apparently regular functions with same args will be preferred over templates, let's see if this works. Nope, it doesn't. Good try. extern Neutral* getEpFuncData( const Eref& e ); Try this form: it doesn't work either. extern Neutral* dummyNeutral(); template<> Neutral* getEpFuncData< Neutral >( const Eref& e ) { return dummyNeutral(); } Try externing the template itself.


Generated on 1 Jul 2015 for MOOSE by  doxygen 1.6.1