commit b34bfdd6c930882370b6bf1b26ed89219110efb9
parent ba4b9d3dc28a806baa1a99b796403d1ccd16583f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 13 Nov 2017 15:35:09 +0100
Add the solmaps program to the Solstice-PP archive
Diffstat:
3 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/solstice-resources.html.in b/solstice-resources.html.in
@@ -90,10 +90,35 @@ Writing `45-70-raw-results.txt'
Writing `50-75-raw-results.txt'
</pre>
+<h3>solmaps</h3>
+
+<p>The <code>solmaps</code> command line takes as input the results of a
+regular Solstice simulation. These data are read from a file or from standard
+input whether a filename is provided as an argument or not, respectively.
+<code>solmaps</code> extracts the maps of incoming flux computed by Solstice
+for the receivers whose <code>per_primitive</code> flag is enabled (see <a
+href=man/man5/solstice-receiver.5.html>solstice-receiver</a>(5) for more
+informations). Each map is then saved in a specific <a
+href="http://www.vtk.org/wp-content/uploads/2015/04/file-formats.pdf">VTK</a>
+file.</p>
+
+<p>The following example pipes <code>solstice</code> with <code>solmaps</code>
+to save the maps of the receivers <code>target_a</code> and
+<code>target_b</code> computed by solstice for each provided sun
+direction.</p>
+
+<pre class="code">
+$ solstice -n10000 -D45,70:50,75 -R rcvs.yaml input.yaml | solmaps
+Writing `45-70-target_a.vtk'
+Writing `45-70-target_b.vtk'
+Writing `50-75-target_a.vtk'
+Writing `50-75-target_b.vtk'
+</pre>
+
<h3>solpaths</h3>
<p>The <code>solpaths</code> tool reads the radiative paths dumped by Solstice
-when it is invoked with the <code>-p</code> option. The radiative paths are red
+when it is invoked with the <code>-p</code> option. The radiative paths are read
from a file or from the standard input, whether a filename is provided as an
argument or not, respectively. For each simulated sun direction, it generates a
<a
diff --git a/solstice.sh b/solstice.sh
@@ -102,7 +102,7 @@ if [ ! -f downloads/$PP.tar.gz ]; then
echo "Generate the Solstice PP Makefile"
{
- echo 'PROG = solpp solppraw solpaths'
+ echo 'PROG = solmaps solpp solppraw solpaths'
echo ''
echo '.PHONY: default'
echo 'default: $(PROG)'
diff --git a/star-therm.png b/star-therm.png
Binary files differ.