66 m_nq = pField->GetTotPoints();
73 const TiXmlElement *pXmlparameter;
75 pXmlparameter = pXml->FirstChildElement(
"p_strength");
95 outarray[0][0] += v_amp;
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
MultiRegions::ExpListSharedPtr m_field
Transmembrane potential field from PDE system.
ProtocolSharedPtr m_Protocol
Stimulus protocol to apply.
int m_nq
Number of physical points.
LibUtilities::SessionReaderSharedPtr m_session
Session.
void Initialise()
Initialise the stimulus storage and set initial conditions.
static StimulusSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField, const TiXmlElement *pXml)
Creates an instance of this class.
void v_GenerateSummary(SolverUtils::SummaryList &s) override
StimulusPoint(const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField, const TiXmlElement *pXml)
static std::string className
Name of class.
void v_Update(Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time) override
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
std::vector< std::pair< std::string, std::string > > SummaryList
StimulusFactory & GetStimulusFactory()