public class SquashyInflammationSubstrate extends CylinderSubstrate
Modifier and Type | Field and Description |
---|---|
boolean |
chuck
for debugging
|
SquashyCylinder[] |
cylinder
array of cylinders
|
double[][] |
P
array of cylinder positions
|
a, border, factor, intersectsBoundary, spatialOptInitialised, voxToObjects
Constructor and Description |
---|
SquashyInflammationSubstrate(SimulationParams simParams)
constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
drawCrossSection()
writes the cross sections of each cylinder to a file.
|
double |
getPeakCoord()
returns the centra of a square substrate
|
double[] |
getSubstrateSize() |
void |
init()
initialise squashy cylinders of given radius at
each centre specified by the P array
|
boolean |
intracellular(Walker walker)
tests if a position is intracellular or not.
|
crossesMembrane, getCylinders, main, setSubstrateDims
amend, getBottomLeft, getDiffusivityAt, getLogMagnetisationChange, getN, getSubsObj, getSubstrateCoords, getSubVoxelIndex, getUpperRight, initBoundaryIntersectionArrays, initCandidates, initialiseSpatialOptimisation, mapStepIntoSubstrate, moreCandidates, nextCandidate, testAmendment, testStepAmendment, unmapStepFromSubstrate, voxelContains
public boolean chuck
public SquashyCylinder[] cylinder
public double[][] P
public SquashyInflammationSubstrate(SimulationParams simParams)
public double[] getSubstrateSize()
getSubstrateSize
in class CylinderSubstrate
public double getPeakCoord()
getPeakCoord
in class CylinderSubstrate
public void init()
init
in class CylinderSubstrate
public boolean intracellular(Walker walker)
intracellular
in class CylinderSubstrate
walker
- walker whose position to testpublic final void drawCrossSection() throws java.io.IOException
java.io.IOException