Stardis 0.14.0



sgreen-output - output format of sgreen(1) results


The type of the data that are generated depends on the options used when sgreen(1) is invoked. When invoked with option -a, sgreen(1) outputs Monte-Carlo results, either in extended or compact format, whether option -e is used or not. Also, when invoked whith option -s sgreen(1) silently creates an HTML file contening a summary of the Green function used.


As Green summaries comply with HTML format, that can be found in HTML specification documents [1], they will not be further described thereafter. Only Monte-Carlo results grammar is described in this section.

In what follows, text appearing between quote marks is a verbatim part of the output, except the quote characters, and text introduced by the # character in a description is a comment and is not part of the output.

<output>              ::= <compact-results>
                        | <extended-results>

<compact-results>     ::= <compact-MC-result> # as many results as provided
                          <compact-results>   # setting lines

<extended-results>    ::= "message: Initialisation time = " <time value>
                          "message: Computation time = " <time value>


<compact-MC-result>   ::= <estimate> <standard-deviation>

<extended-MC-results> ::= <extended-MC-result>  # as many results as provided
                        | <extended-MC-results> # setting lines

<time value>          ::= [<h> "hour"] [<m> "min"] [<s> "sec"] \
                          [<ms> "msec"] [<us> "usec"]

<extended-MC-result>  ::= <estimate> "K +/-" <standard-deviation> \
                          ";" <applied-settings>

<estimate>            ::= REAL

<standard-deviation>  ::= REAL # in [0, INF)


<applied-settings>    ::= ASCII TEXT # verbatim from the settings file

<h>                   ::= INTEGER # in [1 INF)

<m>                   ::= INTEGER # in [1 59]

<s>                   ::= INTEGER # in [1 59]

<ms>                  ::= INTEGER # in [1 999]

<us>                  ::= INTEGER # in [1 999]


When using option -s, sgreen(1) creates a summary of the Green function in HTML format. This document contains the following sections:

* List of variables
* Formula of the Monte-Carlo estimate
* Counts
* Solids
* Fluids
* T boundaries for solids
* T boundaries for fluids
* H boundaries for solids
* H boundaries for fluids
* F boundaries for solids
* Solid-Fluid connections
* Solid-Solid connections
* Radiative temperatures


1. HTML Standard -


sgreen(1), sgreen-input(5)