public class EmptySubstrate extends Substrate
a, border, factor, intersectsBoundary, spatialOptInitialised, voxToObjects
Constructor and Description |
---|
EmptySubstrate(double[] substrateDims)
test constructor, size only
|
EmptySubstrate(SimulationParams simParams) |
Modifier and Type | Method and Description |
---|---|
boolean |
crossesMembrane(Walker walker,
double[] offset,
double[] step,
double[] normal,
double[] d,
boolean skipCurrent,
double origLength,
boolean[] in,
double[] p)
checks if a step will cross a barrier or not
|
double |
getPeakCoord() |
double[] |
getSubstrateSize() |
void |
init()
does nothing
|
boolean |
intracellular(Walker walker)
checks if a walker is in intracellular (true) or
extracellular (false) space
|
amend, getBottomLeft, getDiffusivityAt, getLogMagnetisationChange, getN, getSubsObj, getSubstrateCoords, getSubVoxelIndex, getUpperRight, initBoundaryIntersectionArrays, initCandidates, initialiseSpatialOptimisation, main, mapStepIntoSubstrate, moreCandidates, nextCandidate, testAmendment, testStepAmendment, unmapStepFromSubstrate, voxelContains
public EmptySubstrate(SimulationParams simParams)
public EmptySubstrate(double[] substrateDims)
substrateDims
- public boolean crossesMembrane(Walker walker, double[] offset, double[] step, double[] normal, double[] d, boolean skipCurrent, double origLength, boolean[] in, double[] p)
Substrate
crossesMembrane
in class Substrate
walker
- the walkerstep
- the step vectornormal
- container for the normalskipCurrent
- flag saying whether
to ignore the current
normal and distance
or notpublic double getPeakCoord()
getPeakCoord
in class Substrate
public double[] getSubstrateSize()
getSubstrateSize
in class Substrate
public boolean intracellular(Walker walker)
Substrate
intracellular
in class Substrate
walker
- the walker to check