setup

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: GPL-3.0, GPL-3.0-or-later Imports: 6 Imported by: 6

Documentation

Overview

Package setup implement setup.Setup, which contains simulation setup data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyMap

type BodyMap map[body.ID]*body.Body

BodyMap type used in Setup structure.

type DetectorMap

type DetectorMap map[detector.ID]*detector.Detector

DetectorMap type used in Setup structure.

type MaterialMap

type MaterialMap map[material.ID]*material.Material

MaterialMap type used in Setup structure.

type Setup

type Setup struct {
	Materials MaterialMap               `json:"materials"`
	Bodies    BodyMap                   `json:"bodies"`
	Zones     ZoneMap                   `json:"zones"`
	Detectors DetectorMap               `json:"detectors"`
	Beam      beam.Beam                 `json:"beam"`
	Options   options.SimulationOptions `json:"options"`
}

Setup contains all simulation data.

func NewEmptySetup

func NewEmptySetup() Setup

NewEmptySetup constructor.

type ZoneMap

type ZoneMap map[zone.ID]*zone.Zone

ZoneMap type used in Setup structure.

Directories

Path Synopsis
Package beam implement beam model.
Package beam implement beam model.
Package body implement Body model, which store basic Geometry description.
Package body implement Body model, which store basic Geometry description.
Package material implement material model.
Package material implement material model.
Package options implement simulation parametrization options.
Package options implement simulation parametrization options.
Package zone implement Zone model.
Package zone implement Zone model.

Jump to

Keyboard shortcuts

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