Documentation ¶
Index ¶
Constants ¶
View Source
const (
UnitBufCount = 1 << 6
)
Variables ¶
View Source
var (
NumCores = 0
)
Functions ¶
This section is empty.
Types ¶
type Box ¶
type HistManager ¶
type HistManager struct {
// contains filtered or unexported fields
}
HistManager is a struct which manages constructing
func NewHistManager ¶
func NewHistManager( files []string, boxes []HistBox, points int, quantity string, gridFile string, ) (*HistManager, error)
NewHistmanager creates a new HistManager.
func (*HistManager) Hist ¶
func (man *HistManager) Hist(info *HistInfo) error
Hist uses HistManager to compute a histogram with the given properties.
func (*HistManager) HistFromFile ¶
func (man *HistManager) HistFromFile(file string, info *HistInfo) error
HistFromFile updates the histograms of each box using only the particles in the given file.
func (*HistManager) Subsample ¶
func (man *HistManager) Subsample(skip int)
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) RenderCurl ¶
func (*Manager) RenderDensity ¶
func (*Manager) RenderDensityFromFile ¶
func (*Manager) RenderVelocity ¶
type Overlap ¶
type Overlap interface { density.Interpolator // BufferSize calculates buffer size required to represent the // underlying grid. BufferSize() int // ScaleVecs converts a vector array into the overlap's code units. ScaleVecs(vs []geom.Vec, vcb *geom.CellBounds) // Add adds the contents of buf to grid where buf is the overlap grid and // grid is the domain grid. The domain grid is contained within the given // cell bounds. Add(buf, grid density.Buffer) }
Click to show internal directories.
Click to hide internal directories.