tmvl

package module
v0.0.0-...-d3cb9a1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

README

tmvl

tmvl is a work in progress package investigating parallelization of ToMuVol software.

Documentation

Index

Constants

View Source
const NMax = 3

Variables

This section is empty.

Functions

This section is empty.

Types

type Geometry

type Geometry struct {
}

func (*Geometry) Medium

func (geo *Geometry) Medium(pos fmom.Vec3) int

type Muon

type Muon struct {
	Energy    float64
	Direction fmom.Vec3
	Position  fmom.Vec3
	Charge    int
	Distance  float64
	Time      float64
	// contains filtered or unexported fields
}

func NewMuon

func NewMuon(src rand.Source) *Muon

func (*Muon) Run

func (mu *Muon) Run(geo Geometry) error

type Result

type Result struct {
	ID        [sha512.Size384]byte
	Position  fmom.Vec3
	Direction fmom.Vec3
	Energy    float64
	Time      float64
	Distance  float64
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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