Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NilBuffer = &scalarBuffer{[]float64{}}
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer interface { // Array Management Slice(low, high int) Length() int Clear() // Getters and Setters Quantity() Quantity SetGridLocation(g *geom.GridLocation) SetVectors(vecs []geom.Vec) bool // Buffer Retrieval CountBuffer() (num []int, ok bool) ScalarBuffer() (vals []float64, ok bool) VectorBuffer() (vals [][3]float64, ok bool) FinalizedScalarBuffer() (vals []float32, ok bool) FinalizedVectorBuffer() (xs, ys, zs []float32, ok bool) }
func WrapperDensityBuffer ¶
type Interpolator ¶
type Interpolator interface { Interpolate( buf Buffer, xs, vs []geom.Vec, ptVal float64, weights Buffer, low, high, jump int, ) // The bounding box around the box being written to. DomainCellBounds() *geom.CellBounds // The bounding box around the box being written from. BufferCellBounds() *geom.CellBounds Cells() int }
func MonteCarlo ¶
func MonteCarlo( segWidth int64, points, cells int, skip int64, unitBufs [][]geom.Vec, subIntr Interpolator, ) Interpolator
type Quantity ¶
type Quantity int64
func QuantityFromString ¶
func (Quantity) CanProject ¶
func (Quantity) RequiresVelocity ¶
Click to show internal directories.
Click to hide internal directories.