ode

package
v0.0.0-...-fef7cfc Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2015 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

//////// AUTOMATICALLY GENERATED CODE - DO NOT EDIT //////////

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControlErrlevel

func ControlErrlevel(c *GslOdeiv2Control, y float64, dydt float64, h float64, ind int, errlev []float64) int32

func ControlHadjust

func ControlHadjust(c *GslOdeiv2Control, s *GslOdeiv2Step, y []float64, yerr []float64, dydt []float64, h []float64) int32

func ControlInit

func ControlInit(c *GslOdeiv2Control, epsAbs float64, epsRel float64, aY float64, aDydt float64) int32

func ControlName

func ControlName(c *GslOdeiv2Control) string

func ControlSetDriver

func ControlSetDriver(c *GslOdeiv2Control, d *GslOdeiv2Driver) int32

func DriverApply

func DriverApply(d *GslOdeiv2Driver, t1 float64, y []float64) (int32, float64)

func DriverApplyFixedStep

func DriverApplyFixedStep(d *GslOdeiv2Driver, h float64, n int, y []float64) (int32, float64)

func DriverReset

func DriverReset(d *GslOdeiv2Driver) int32

func DriverResetHstart

func DriverResetHstart(d *GslOdeiv2Driver, hstart float64) int32

func DriverSetHmax

func DriverSetHmax(d *GslOdeiv2Driver, hmax float64) int32

func DriverSetHmin

func DriverSetHmin(d *GslOdeiv2Driver, hmin float64) int32

func DriverSetNmax

func DriverSetNmax(d *GslOdeiv2Driver, nmax int) int32

func EvolveApply

func EvolveApply(e *GslOdeiv2Evolve, con *GslOdeiv2Control, step *GslOdeiv2Step, sys *GslOdeiv2System, t1 float64, y []float64) (int32, float64, float64)

func EvolveApplyFixedStep

func EvolveApplyFixedStep(e *GslOdeiv2Evolve, con *GslOdeiv2Control, step *GslOdeiv2Step, sys *GslOdeiv2System, h float64, y []float64) (int32, float64)

func EvolveReset

func EvolveReset(e *GslOdeiv2Evolve) int32

func EvolveSetDriver

func EvolveSetDriver(e *GslOdeiv2Evolve, d *GslOdeiv2Driver) int32

func InitializeGslFOdeiv2System

func InitializeGslFOdeiv2System(ptr *GslOdeiv2System)

func StepApply

func StepApply(s *GslOdeiv2Step, t float64, h float64, y []float64, yerr []float64, dydtIn []float64, dydtOut []float64, sys *GslOdeiv2System) int32

func StepName

func StepName(s *GslOdeiv2Step) string

func StepOrder

func StepOrder(s *GslOdeiv2Step) uint32

func StepReset

func StepReset(s *GslOdeiv2Step) int32

func StepSetDriver

func StepSetDriver(s *GslOdeiv2Step, d *GslOdeiv2Driver) int32

Types

type GslCOdeiv2SystemPtr

type GslCOdeiv2SystemPtr uintptr

type GslOdeiv2Control

type GslOdeiv2Control struct {
	gogsl.GslReference
}

func ControlScaledNew

func ControlScaledNew(epsAbs float64, epsRel float64, aY float64, aDydt float64, scaleAbs []float64, dim int) *GslOdeiv2Control

func ControlStandardNew

func ControlStandardNew(epsAbs float64, epsRel float64, aY float64, aDydt float64) *GslOdeiv2Control

func ControlYNew

func ControlYNew(epsAbs float64, epsRel float64) *GslOdeiv2Control

func ControlYpNew

func ControlYpNew(epsAbs float64, epsRel float64) *GslOdeiv2Control

func (*GslOdeiv2Control) Dispose

func (x *GslOdeiv2Control) Dispose()

type GslOdeiv2ControlType

type GslOdeiv2ControlType struct {
	gogsl.GslReference
}

type GslOdeiv2Driver

type GslOdeiv2Driver struct {
	gogsl.GslReference
}

func DriverAllocScaledNew

func DriverAllocScaledNew(sys *GslOdeiv2System, t *GslOdeiv2StepType, hstart float64, epsabs float64, epsrel float64, aY float64, aDydt float64, scaleAbs []float64) *GslOdeiv2Driver

func DriverAllocStandardNew

func DriverAllocStandardNew(sys *GslOdeiv2System, t *GslOdeiv2StepType, hstart float64, epsabs float64, epsrel float64, aY float64, aDydt float64) *GslOdeiv2Driver

func DriverAllocYNew

func DriverAllocYNew(sys *GslOdeiv2System, t *GslOdeiv2StepType, hstart float64, epsabs float64, epsrel float64) *GslOdeiv2Driver

func DriverAllocYpNew

func DriverAllocYpNew(sys *GslOdeiv2System, t *GslOdeiv2StepType, hstart float64, epsabs float64, epsrel float64) *GslOdeiv2Driver

func (*GslOdeiv2Driver) Dispose

func (x *GslOdeiv2Driver) Dispose()

type GslOdeiv2Evolve

type GslOdeiv2Evolve struct {
	gogsl.GslReference
}

func EvolveAlloc

func EvolveAlloc(dim int) *GslOdeiv2Evolve

func (*GslOdeiv2Evolve) Dispose

func (x *GslOdeiv2Evolve) Dispose()

type GslOdeiv2FunctionType

type GslOdeiv2FunctionType func(t float64, y []float64, dydt []float64, params interface{}) int

type GslOdeiv2JacobianFunctionType

type GslOdeiv2JacobianFunctionType func(t float64, y []float64, dfdy []float64, dfdt []float64, params interface{}) int

type GslOdeiv2Step

type GslOdeiv2Step struct {
	gogsl.GslReference
}

func StepAlloc

func StepAlloc(t *GslOdeiv2StepType, dim int) *GslOdeiv2Step

func (*GslOdeiv2Step) Dispose

func (x *GslOdeiv2Step) Dispose()

type GslOdeiv2StepType

type GslOdeiv2StepType struct {
	gogsl.GslReference
}

type GslOdeiv2System

type GslOdeiv2System struct {
	Function  GslOdeiv2FunctionType
	Jacobian  GslOdeiv2JacobianFunctionType
	Dimension int
	Params    interface{}
	// contains filtered or unexported fields
}

func (GslOdeiv2System) CPtr

func (sys GslOdeiv2System) CPtr() uintptr

Jump to

Keyboard shortcuts

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