storage

package
v0.0.0-...-5a422e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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 (m *Storage) InitialiseDimensions(dims []int)

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 (*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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL