#include <GeneralPlaneStimulusCellFactory.hpp>
Public Member Functions | |
GeneralPlaneStimulusCellFactory (unsigned numEleAcross, double meshWidth, bool useMeshWidthAsMag=false, double stimulusMagnitude=-1e7, double stimulusDuration=0.5) |
Supplies cells with a stimuli that depend upon the number of cells and width of the mesh.
Applied to cells within 1e-5 of x=0.
Definition at line 42 of file GeneralPlaneStimulusCellFactory.hpp.
GeneralPlaneStimulusCellFactory< CELL, ELEM_DIM, SPACE_DIM >::GeneralPlaneStimulusCellFactory | ( | unsigned | numEleAcross, | |
double | meshWidth, | |||
bool | useMeshWidthAsMag = false , |
|||
double | stimulusMagnitude = -1e7 , |
|||
double | stimulusDuration = 0.5 | |||
) | [inline] |
Constructor
numEleAcross | Number of elements across which to apply the stimulus | |
meshWidth | Width of the mesh (used to calculate magnitude of stimulus) | |
useMeshWidthAsMag | see todo comments above (defaults to false). | |
stimulusMagnitude | Magnitude of the applied stimulus (defaults to -1e7, modified in the constructor dependent on mesh size). | |
stimulusDuration | Duration of the applied stimulus (defaults to 0.5ms). |
Definition at line 61 of file GeneralPlaneStimulusCellFactory.hpp.
References PlaneStimulusCellFactory< CELL, ELEM_DIM, SPACE_DIM >::mpStimulus.