#include <StimulusBoundaryCondition.hpp>
Inherits AbstractBoundaryCondition< SPACE_DIM >.
Public Member Functions | |
StimulusBoundaryCondition (AbstractStimulusFunction *pStimulus) | |
double | GetValue (const ChastePoint< SPACE_DIM > &rX) const |
Private Attributes | |
AbstractStimulusFunction * | mpStimulus |
Boundary condition defined by an AbstractStimlus object.
Definition at line 40 of file StimulusBoundaryCondition.hpp.
StimulusBoundaryCondition< SPACE_DIM >::StimulusBoundaryCondition | ( | AbstractStimulusFunction * | pStimulus | ) | [inline] |
Create a new boundary condition object.
pStimulus | Stimulus object defining the parameters of the boundary condition |
Definition at line 33 of file StimulusBoundaryCondition.cpp.
References StimulusBoundaryCondition< SPACE_DIM >::mpStimulus.
double StimulusBoundaryCondition< SPACE_DIM >::GetValue | ( | const ChastePoint< SPACE_DIM > & | rX | ) | const [inline, virtual] |
rX | The point at which this boundary condition is to be evaluated. |
Implements AbstractBoundaryCondition< SPACE_DIM >.
Definition at line 39 of file StimulusBoundaryCondition.cpp.
References AbstractStimulusFunction::GetStimulus(), PdeSimulationTime::GetTime(), and StimulusBoundaryCondition< SPACE_DIM >::mpStimulus.
AbstractStimulusFunction* StimulusBoundaryCondition< SPACE_DIM >::mpStimulus [private] |
A pointer to the stimulus that is to be applied as a boundary condition
Definition at line 44 of file StimulusBoundaryCondition.hpp.
Referenced by StimulusBoundaryCondition< SPACE_DIM >::GetValue(), and StimulusBoundaryCondition< SPACE_DIM >::StimulusBoundaryCondition().