From 7dfcc480ba1e19bd3232349fc733caef94034292 Mon Sep 17 00:00:00 2001
From: stainer_t <thomas.stainer@oecd-nea.org>
Date: Mon, 8 Sep 2025 13:48:49 +0200
Subject: Initial commit from Polytechnique Montreal

---
 doc/IGE335/Section3.90_g2s.tex | 108 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 108 insertions(+)
 create mode 100644 doc/IGE335/Section3.90_g2s.tex

(limited to 'doc/IGE335/Section3.90_g2s.tex')

diff --git a/doc/IGE335/Section3.90_g2s.tex b/doc/IGE335/Section3.90_g2s.tex
new file mode 100644
index 0000000..d9d39fd
--- /dev/null
+++ b/doc/IGE335/Section3.90_g2s.tex
@@ -0,0 +1,108 @@
+\subsection{The {\tt G2S:} module}\label{sect:G2SData}
+
+The module {\tt G2S:} is used to create the SALOMON--formatted surfacic elements corresponding
+to a gigogne geometry. It can also be used to plot a SALOMON--formatted file or as a conversion tool to transform an ALAMOS--formatted file into
+a SALOMON--formatted file. The general format of the input data for the {\tt G2S:} module is the following:
+\begin{DataStructure}{Structure \dstr{G2S:}}
+$[$ \dusa{SURFIL} $]~[$ \dusa{PSFIL} $]$ \moc{:=} \moc{G2S:}~ $\{$ \dusa{SURFIL\_IN} $[$ \dusa{ZAFIL\_IN} $]~|$ \dusa{GEONAM} $\}$ ~\moc{::}~\dstr{G2S\_data} \\
+\end{DataStructure}
+
+\noindent where
+\begin{ListeDeDescription}{mmmmmm}
+
+\item[\dusa{SURFIL}] \texttt{character*12} name of the output SALOMON--formatted sequential {\sc ascii}
+file used to store the surfacic elements of the geometry.
+
+\item[\dusa{PSFIL}] \texttt{character*12} name of the sequential {\sc ascii}
+file used to store a postscript representation of the geometry corresponding to \dusa{SURFIL} or \dusa{GEONAM}.
+
+\item[\dusa{GEONAM}] {\tt character*12} name of the {\sl read-only} \dds{geometry} data
+structure. This structure may be build using the operator {\tt GEO:} (see \Sect{GEOData}).
+
+Reflective boundary conditions defined in operator {\tt GEO:} can be represented in two different ways:
+\vspace{-0.2cm}
+\begin{description}
+\item[{\tt ALBE 1.0}:] isotropic (or white) boundary condition compatible with \moc{TISO} (non-cyclic) tracking;
+\item[{\tt REFL}:] specular boundary condition compatible with \moc{TSPC} (cyclic) tracking.
+\end{description}
+
+\item[\dusa{SURFIL\_IN}] \texttt{character*12} name of the input SALOMON-- or ALAMOS--formatted sequential {\sc ascii}
+file used to store the surfacic elements of the geometry.
+
+\item[\dusa{ZAFIL\_IN}] \texttt{character*12} name of the input sequential {\sc ascii} file containing {\sl PropertyMap}
+information associated with the ALAMOS geometry. This file generally has a {\tt .za} extension. This information is used to
+set node-ordered mixture indices. By default, node-ordered mixture indices are recovered from the {\sl Mailles} record present
+in the ALAMOS surfacic file.
+
+\item[\dusa{G2S\_data}] input data structure containing specific data (see \Sect{descG2S}).
+\end{ListeDeDescription}
+
+\subsubsection{Data input for module {\tt G2S:}}\label{sect:descG2S}
+
+\vskip -0.5cm
+
+\begin{DataStructure}{Structure \dstr{G2S\_data}}
+$[$~\moc{EDIT} \dusa{iprint}~$]$ \\
+$[$~\moc{ALAMOS} \dusa{typgeo}~$]$ \\
+$[$~\moc{MACRO} $]$ \\
+$[~\{$~\moc{DRAWNOD} $|$ \moc{DRAWMIX} $\}~]~[$ \moc{ZOOMX} \dusa{facx1} \dusa{facx2} $]~[$ \moc{ZOOMY} \dusa{facy1} \dusa{facy2} $]$ \\
+\moc{;}
+\end{DataStructure}
+
+\vskip -0.3cm
+
+\noindent where
+\begin{ListeDeDescription}{mmmmmmmm}
+
+\item[\moc{EDIT}] keyword used to set \dusa{iprint}.
+
+\item[\dusa{iprint}] index used to control the printing in module {\tt G2S:}. =0 for no print; =1 for minimum printing (default value).
+
+\item[\moc{ALAMOS}] keyword to use {\tt G2S:} as a conversion tool to transform an ALAMOS--formatted file into
+a SALOMON-formatted file.
+
+\item[\dusa{typgeo}] type of Alamos geometry. A negative value is used for isotropic reflection (white boundary condition) with unfolding in {\tt SALT:} module.
+Otherwise, a specular boundary condition is used without unfolding.
+\begin{displaymath}
+\negthinspace \textsl{typgeo} = \left\{
+\begin{array}{ll}
+0 & \textrm{Isotropic reflection (white boundary condition) without perimeter}\\
+& \textrm{information}\\
+\pm 5 & \textrm{Cartesian rectangular geometry with translation}\\
+\pm 6 & \textrm{Cartesian rectangular geometry with specular reflection on each}\\
+& \textrm{side}\\
+\pm 7 & \textrm{Cartesian eight-of-square geometry with specular reflection on each}\\
+& \textrm{side}\\
+\pm 8 & \textrm{Hexagonal SA60 equilateral triangle geometry with specular reflec-}\\
+& \textrm{tion on each side}\\
+\pm 9 & \textrm{Full hexagonal geometry with translation}\\
+\pm 10 & \textrm{Hexagonal RA60 equilateral triangle geometry with } 60^\circ \textrm{ rotation}\\
+& \textrm{and translation}\\
+\pm 11 & \textrm{Hexagonal R120 lozenge geometry with } 120^\circ \textrm{ rotation and transla-}\\
+& \textrm{tion.}
+\end{array} \right.
+\end{displaymath}
+
+\item[\moc{MACRO}] keyword used to add macro-geometry information into file \dusa{SURFIL}. Macro geometries are made of inner-defined gigognes such as {\tt CARCEL}
+or {\tt HEXCEL} subgeometries. Macro-geometry information is not used by module {\tt SALT:}. By default, a unique macro-geometry is defined containing the complete domain.
+
+\item[\moc{DRAWNOD}] keyword used to print the region indices on the LHS postscript plot \dusa{PSFIL}. By default, no indices are printed.
+
+\item[\moc{DRAWMIX}] keyword used to print the material mixture indices on the LHS postscript plot \dusa{PSFIL}. By default, no indices are printed.
+
+\item[\moc{ZOOMX}] keyword used to plot a fraction of the $X$--domain. By default, all the $X$--domain is plotted.
+
+\item[\dusa{facx1}] left factor set in interval $0.0 \le$ \dusa{facx1} $< 1.0$ with 0.0 corresponding to the left boundary and 1.0 corresponding to the right boundary.
+
+\item[\dusa{facx2}] right factor set in interval \dusa{facx1} $<$ \dusa{facx2} $\le 1.0$.
+
+\item[\moc{ZOOMY}] keyword used to plot a fraction of the $Y$--domain. By default, all the $Y$--domain is plotted.
+
+\item[\dusa{facy1}] lower factor set in interval  $0.0 \le$ \dusa{facy1} $< 1.0$ with 0.0 corresponding to the lower boundary and 1.0 corresponding to the upper boundary.
+
+\item[\dusa{facy2}] upper factor set in interval \dusa{facy1} $<$ \dusa{facy2} $\le 1.0$.
+
+\end{ListeDeDescription}
+
+
+\clearpage
-- 
cgit v1.2.3

