public interface DiffusionCalculator
Modifier and Type | Method and Description |
---|---|
void |
advance(NetState dn,
DiffusibleQuantity dq,
Timestep ts)
Run the diffusion calculation for the supplied network, diffusible
quantity and timestep.
|
void |
init(NetStructure dnet)
Initialises the internal representation of the network structure.
|
void init(NetStructure dnet)
diffuse
use the same precomputed mapping.dnet
- the diffusive net properties defining the network geometry.void advance(NetState dn, DiffusibleQuantity dq, Timestep ts)
getValue(DiffusibleQuantity)
and set after the calculation with
setValue(DiffusibleQuantity, double)
difnet
- the NetState to evolve. Note that its structure
object must be the same as that used to initialise the
net diffuser.dq
- the diffusible quantity to use. One net may contain several
different diffusing quantitites - membrane potential, ions,
indicators and others.
NB as yet dq is ignored MISSINGtimestep
- the timestep to be takensomething
- if the NetState's structure doesnt match the one
the calculator was initialized onCopyright © 2013. All Rights Reserved.