aivika-experiment-3.1: Simulation experiments for the Aivika library

CopyrightCopyright (c) 2012-2015, David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Simulation.Aivika.Experiment.ExperimentSpecsWriter

Description

Tested with: GHC 7.6.3

The module defines ExperimentSpecsWriter that knows how to write in HTML the experiment specs which include the simulation specs and the number of simulation runs.

Synopsis

Documentation

data ExperimentSpecsWriter Source

Defines a writer that knows how to represent the experiment specs as the HTML table.

Constructors

ExperimentSpecsWriter 

Fields

experimentSpecsWidth :: Int

The width of the HTML table.

experimentSpecsNameText :: String

Translated text "Experiment Specs".

experimentSpecsStartTimeText :: String

Translated text "start time".

experimentSpecsStopTimeText :: String

Translated text "stop time".

experimentSpecsDTText :: String

Translated text "time step".

experimentSpecsRunCountText :: String

Translated text "run count".

experimentSpecsIntegMethodText :: String

Translated text "integration method".

experimentSpecsEulerText :: String

Translated text "Euler's".

experimentSpecsRungeKutta2Text :: String

Translated text "the 2-nd order Runge-Kutta".

experimentSpecsRungeKutta4Text :: String

Translated text "the 4-th order Runge-Kutta".

experimentSpecsFormatter :: ShowS

The formatter of numbers.

experimentSpecsWrite :: ExperimentSpecsWriter -> Experiment -> HtmlWriter ()

This function creates HTML.