37 #ifndef NEKTAR_SOLVERS_CARDIACEPSOLVER_STIMULI_STIMULUS
38 #define NEKTAR_SOLVERS_CARDIACEPSOLVER_STIMULI_STIMULUS
88 const LibUtilities::SessionReaderSharedPtr& pSession,
89 const MultiRegions::ExpListSharedPtr& pField);
101 Stimulus(
const LibUtilities::SessionReaderSharedPtr& pSession,
102 const MultiRegions::ExpListSharedPtr& pField,
103 const TiXmlElement* pXml);
virtual void v_GenerateSummary(SolverUtils::SummaryList &s)=0
boost::shared_ptr< Stimulus > StimulusSharedPtr
A shared pointer to an EquationSystem object.
std::vector< std::pair< std::string, std::string > > SummaryList
ProtocolSharedPtr m_Protocol
Stimulus protocol to apply.
LibUtilities::SessionReaderSharedPtr m_session
Session.
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
boost::shared_ptr< Protocol > ProtocolSharedPtr
A shared pointer to an EquationSystem object.
int m_nq
Number of physical points.
static std::vector< StimulusSharedPtr > LoadStimuli(const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField)
boost::shared_ptr< ExpList > ExpListSharedPtr
Shared pointer to an ExpList object.
LibUtilities::NekFactory< std::string, Stimulus, const LibUtilities::SessionReaderSharedPtr &, const MultiRegions::ExpListSharedPtr &, const TiXmlElement * > StimulusFactory
Datatype of the NekFactory used to instantiate classes derived from the EquationSystem class...
Stimulus(const LibUtilities::SessionReaderSharedPtr &pSession, const MultiRegions::ExpListSharedPtr &pField, const TiXmlElement *pXml)
void Initialise()
Initialise the stimulus storage and set initial conditions.
void Update(Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time)
Updates RHS of outarray by adding a stimulus to it.
MultiRegions::ExpListSharedPtr m_field
Transmembrane potential field from PDE system.
StimulusFactory & GetStimulusFactory()
virtual void v_Update(Array< OneD, Array< OneD, NekDouble > > &outarray, const NekDouble time)=0
void GenerateSummary(SolverUtils::SummaryList &s)
Print a summary of the outarray.
Provides a generic Factory class.