Documentation ¶
Index ¶
- Constants
- type Storage
- func (m *Storage) ApplyParameters(parameters data.ND2Float64)
- func (m *Storage) Description() sim.ModelDescription
- func (m *Storage) FindDimensions(parameters data.ND2Float64) []int
- func (m *Storage) InitialiseDimensions(dims []int)
- func (m *Storage) InitialiseStates(n int) data.ND2Float64
- func (m *Storage) Run(inputs data.ND3Float64, states data.ND2Float64, outputs data.ND3Float64)
- type StorageDissolvedDecay
- func (m *StorageDissolvedDecay) ApplyParameters(parameters data.ND2Float64)
- func (m *StorageDissolvedDecay) Description() sim.ModelDescription
- func (m *StorageDissolvedDecay) FindDimensions(parameters data.ND2Float64) []int
- func (m *StorageDissolvedDecay) InitialiseDimensions(dims []int)
- func (m *StorageDissolvedDecay) InitialiseStates(n int) data.ND2Float64
- func (m *StorageDissolvedDecay) Run(inputs data.ND3Float64, states data.ND2Float64, outputs data.ND3Float64)
- type StorageParticulateTrapping
- func (m *StorageParticulateTrapping) ApplyParameters(parameters data.ND2Float64)
- func (m *StorageParticulateTrapping) Description() sim.ModelDescription
- func (m *StorageParticulateTrapping) FindDimensions(parameters data.ND2Float64) []int
- func (m *StorageParticulateTrapping) InitialiseDimensions(dims []int)
- func (m *StorageParticulateTrapping) InitialiseStates(n int) data.ND2Float64
- func (m *StorageParticulateTrapping) Run(inputs data.ND3Float64, states data.ND2Float64, outputs data.ND3Float64)
- type StorageTrapAll
- func (m *StorageTrapAll) ApplyParameters(parameters data.ND2Float64)
- func (m *StorageTrapAll) Description() sim.ModelDescription
- func (m *StorageTrapAll) FindDimensions(parameters data.ND2Float64) []int
- func (m *StorageTrapAll) InitialiseDimensions(dims []int)
- func (m *StorageTrapAll) InitialiseStates(n int) data.ND2Float64
- func (m *StorageTrapAll) Run(inputs data.ND3Float64, states data.ND2Float64, outputs data.ND3Float64)
Constants ¶
View Source
const ( MIN_TIMESTEP_SECONDS_NEGATIVE = 6 MIN_TIMESTEP_SECONDS_POSITIVE = 60 ALLOWED_REL_ERROR_RELEASE_RATE = 1e-5 ALLOWED_ABS_ERROR_RELEASE_RATE = 1e-4 ESSENTIALLY_ZERO_RELEASE_RATE = 1e-4 MAX_SUBTIMESTEPS = 600000 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct { DeltaT data.ND1Float64 // contains filtered or unexported fields }
func (*Storage) ApplyParameters ¶
func (m *Storage) ApplyParameters(parameters data.ND2Float64)
func (*Storage) Description ¶
func (m *Storage) Description() sim.ModelDescription
func (*Storage) FindDimensions ¶
func (m *Storage) FindDimensions(parameters data.ND2Float64) []int
func (*Storage) InitialiseDimensions ¶
func (*Storage) InitialiseStates ¶
func (m *Storage) InitialiseStates(n int) data.ND2Float64
func (*Storage) Run ¶
func (m *Storage) Run(inputs data.ND3Float64, states data.ND2Float64, outputs data.ND3Float64)
type StorageDissolvedDecay ¶
type StorageDissolvedDecay struct { DeltaT data.ND1Float64 // contains filtered or unexported fields }
func (*StorageDissolvedDecay) ApplyParameters ¶
func (m *StorageDissolvedDecay) ApplyParameters(parameters data.ND2Float64)
func (*StorageDissolvedDecay) Description ¶
func (m *StorageDissolvedDecay) Description() sim.ModelDescription
func (*StorageDissolvedDecay) FindDimensions ¶
func (m *StorageDissolvedDecay) FindDimensions(parameters data.ND2Float64) []int
func (*StorageDissolvedDecay) InitialiseDimensions ¶
func (m *StorageDissolvedDecay) InitialiseDimensions(dims []int)
func (*StorageDissolvedDecay) InitialiseStates ¶
func (m *StorageDissolvedDecay) InitialiseStates(n int) data.ND2Float64
func (*StorageDissolvedDecay) Run ¶
func (m *StorageDissolvedDecay) Run(inputs data.ND3Float64, states data.ND2Float64, outputs data.ND3Float64)
type StorageParticulateTrapping ¶
type StorageParticulateTrapping struct { DeltaT data.ND1Float64 // contains filtered or unexported fields }
func (*StorageParticulateTrapping) ApplyParameters ¶
func (m *StorageParticulateTrapping) ApplyParameters(parameters data.ND2Float64)
func (*StorageParticulateTrapping) Description ¶
func (m *StorageParticulateTrapping) Description() sim.ModelDescription
func (*StorageParticulateTrapping) FindDimensions ¶
func (m *StorageParticulateTrapping) FindDimensions(parameters data.ND2Float64) []int
func (*StorageParticulateTrapping) InitialiseDimensions ¶
func (m *StorageParticulateTrapping) InitialiseDimensions(dims []int)
func (*StorageParticulateTrapping) InitialiseStates ¶
func (m *StorageParticulateTrapping) InitialiseStates(n int) data.ND2Float64
func (*StorageParticulateTrapping) Run ¶
func (m *StorageParticulateTrapping) Run(inputs data.ND3Float64, states data.ND2Float64, outputs data.ND3Float64)
type StorageTrapAll ¶
type StorageTrapAll struct { }
func (*StorageTrapAll) ApplyParameters ¶
func (m *StorageTrapAll) ApplyParameters(parameters data.ND2Float64)
func (*StorageTrapAll) Description ¶
func (m *StorageTrapAll) Description() sim.ModelDescription
func (*StorageTrapAll) FindDimensions ¶
func (m *StorageTrapAll) FindDimensions(parameters data.ND2Float64) []int
func (*StorageTrapAll) InitialiseDimensions ¶
func (m *StorageTrapAll) InitialiseDimensions(dims []int)
func (*StorageTrapAll) InitialiseStates ¶
func (m *StorageTrapAll) InitialiseStates(n int) data.ND2Float64
func (*StorageTrapAll) Run ¶
func (m *StorageTrapAll) Run(inputs data.ND3Float64, states data.ND2Float64, outputs data.ND3Float64)
Click to show internal directories.
Click to hide internal directories.