Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#include <AbstractStimulusFactory.hpp>
Public Member Functions | |
virtual boost::shared_ptr< AbstractStimulusFunction > | CreateStimulusForNode (Node< SPACE_DIM > *pNode) |
virtual unsigned | GetNumberOfCells () |
virtual void | SetCompatibleExtracellularStimulus () |
AbstractStimulusFactory () | |
virtual | ~AbstractStimulusFactory () |
void | SetMesh (AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh) |
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * | GetMesh () |
std::vector< AbstractChasteRegion< SPACE_DIM > * > | GetRegionsToBeGrounded () |
Protected Attributes | |
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * | mpMesh |
std::vector< AbstractChasteRegion< SPACE_DIM > * > | mGroundedRegions |
Abstract class that specifies a stimulus factory. The core method is CreateStimulusForNode which creates a stimulus object at each node in the mesh. The default implementation (here) specifies a ZeroStimulus. child classes may override this method.
The other crucial method is SetCompatibleExtracellularStimulus which ensures that the stimulus specified obeys compatibility conditions. The implementation here is empty (compatible with ZeroStimulus which implicitly obeys compatibility conditions). child classes may over-ride the method.
Definition at line 60 of file AbstractStimulusFactory.hpp.
AbstractStimulusFactory< ELEMENT_DIM, SPACE_DIM >::AbstractStimulusFactory | ( | ) |
Default constructor.
Definition at line 56 of file AbstractStimulusFactory.cpp.
|
virtual |
Destructor
Definition at line 63 of file AbstractStimulusFactory.cpp.
|
virtual |
May be overridden by child classes.
pNode | pointer to the node object |
Definition at line 41 of file AbstractStimulusFactory.cpp.
Referenced by ExtendedBidomainTissue< SPACE_DIM >::ExtendedBidomainTissue().
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * AbstractStimulusFactory< ELEMENT_DIM, SPACE_DIM >::GetMesh | ( | ) |
Definition at line 80 of file AbstractStimulusFactory.cpp.
Referenced by ExtendedBidomainTissue< SPACE_DIM >::ExtendedBidomainTissue().
|
virtual |
Definition at line 49 of file AbstractStimulusFactory.cpp.
Referenced by ExtendedBidomainTissue< SPACE_DIM >::ExtendedBidomainTissue().
std::vector< AbstractChasteRegion< SPACE_DIM > * > AbstractStimulusFactory< ELEMENT_DIM, SPACE_DIM >::GetRegionsToBeGrounded | ( | ) |
Definition at line 96 of file AbstractStimulusFactory.cpp.
|
virtual |
Empty default implementation that is compatible with the default implementation of CreateStimulusForNode (i.e., empty implementation for zero stimulus).
If needed, over-ride this
Reimplemented in ElectrodesStimulusFactory< DIM >.
Definition at line 74 of file AbstractStimulusFactory.cpp.
void AbstractStimulusFactory< ELEMENT_DIM, SPACE_DIM >::SetMesh | ( | AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * | pMesh | ) |
pMesh | the mesh for which to create stimuli. |
Definition at line 68 of file AbstractStimulusFactory.cpp.
|
protected |
Vector of regions of nodes to be grounded
Definition at line 70 of file AbstractStimulusFactory.hpp.
|
protected |
The mesh, set by the problem class
Definition at line 67 of file AbstractStimulusFactory.hpp.