shield

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: 3 Imported by: 2

Documentation

Overview

Package shield implements converters between model and input/output for SHIELD-HIT12A library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BodyID

type BodyID int

BodyID used directly in shield input files.

type MaterialID

type MaterialID int

MaterialID used directly in shield input files.

type SimulationContext

type SimulationContext struct {
	MapMaterialID           map[MaterialID]material.ID
	MapBodyID               map[BodyID]body.ID
	MapFilenameToDetectorID map[string]detector.ID
}

SimulationContext is struct used to recover data lost in process of serializing simulation data.

func NewSimulationContext

func NewSimulationContext() *SimulationContext

NewSimulationContext constructor.

type ZoneID

type ZoneID int

ZoneID used directly in shield input files.

Directories

Path Synopsis
Package results provide parser and serializer to convert Results <-> SHIELD.
Package results provide parser and serializer to convert Results <-> SHIELD.
Package setup provide parser and serializer to convert models <-> SHIELD.
Package setup provide parser and serializer to convert models <-> SHIELD.
serialize
Package serialize provide Serialize function to convert model -> SHIELD input files.
Package serialize provide Serialize function to convert model -> SHIELD input files.
serialize/data
Package data provide conversion from model to structures, which are easily serialized by shield.serialize.
Package data provide conversion from model to structures, which are easily serialized by shield.serialize.

Jump to

Keyboard shortcuts

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