Documentation ¶
Index ¶
- func Find(collection *list.List, fn func(value interface{}, index int64) bool) *list.Element
- func FindAfter(last *list.Element, fn func(value interface{}) bool) *list.Element
- func FindByElement(collection *list.List, fn func(element *list.Element, index int64) bool) *list.Element
- func ForEach(collection *list.List, fn func(value interface{}, index int64))
- func ForEachElement(collection *list.List, fn func(element *list.Element, index int64))
- type AccretionProcessor
- type DustBand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindByElement ¶
Types ¶
type AccretionProcessor ¶
type AccretionProcessor struct { CloudEccentricity float64 Planets *list.List DustBands *list.List // contains filtered or unexported fields }
func NewAccretionProcessor ¶
func NewAccretionProcessor(random random.Random) *AccretionProcessor
func (*AccretionProcessor) DistPlanetaryMasses ¶
func (accretionProcessor *AccretionProcessor) DistPlanetaryMasses(stellarMassRatio, stellarLuminosityRatio, innerDust, outerDust, outerPlanetLimit, dustDensityCoefficient float64, doMoons bool)
func (*AccretionProcessor) StellarDustLimit ¶
func (accretionProcessor *AccretionProcessor) StellarDustLimit(stellarMassRatio float64) float64
Click to show internal directories.
Click to hide internal directories.