serialize

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

Documentation

Overview

Package serialize provide Serialize function to convert model -> SHIELD input files.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Result

type Result struct {
	// SimulationContext is necessary to bind shield simulation results to model.
	SimulationContext shield.SimulationContext

	//  Files map where: key is file name, value is file content.
	Files map[string]string
}

Result store result of Serialize() function.

func Serialize

func Serialize(setup setup.Setup) (Result, error)

Serialize simulation setup.Setup to shield input files.

Directories

Path Synopsis
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