1 \section{The
\Index{modes
}}
3 For some solids, there are certain gratings predefined.
4 We can setup the key values to
\texttt{\Lkeyword{mode
}=
0,
1,
2,
3 or
4} which allows to have some some gratings from very coarse
\texttt{\Lkeyword{mode
}=
0} up to very fine
\texttt{\Lkeyword{mode
}=
4}.
6 This permits us to have a draft version of a solid with
\texttt{\Lkeyword{mode
}=
0} (fewer calculations) and then refine it with
\texttt{\Lkeyword{mode
}=
4} for the final version.
11 \psset{lightsrc=
10 5 0,viewpoint=
50 20 -
40 rtp2xyz,Decran=
35,unit=
0.5cm,
%
12 incolor=white,fillcolor=green!
50,r0=
5,r1=
2,h=
5,object=troncconecreux,r0=
5,r1=
2,h=
5}
13 \begin{pspicture
}(-
5,-
5)(
5,
5)
16 \rput(
0,-
4.5)
{\psframebox[fillstyle=solid,fillcolor=black
]{\small \textcolor{white
}{\texttt{[mode=
0]}}}}
19 \begin{pspicture
}(-
5,-
5)(
5,
5)
22 \rput(
0,-
4.5)
{\psframebox[fillstyle=solid,fillcolor=black
]{\small\textcolor{white
}{\texttt{[mode=
1]}}}}
25 \begin{pspicture
}(-
5,-
5)(
5,
5)
28 \rput(
0,-
4.5)
{\psframebox[fillstyle=solid,fillcolor=black
]{\textcolor{white
}{\texttt{[mode=
2]}}}}
31 \begin{pspicture
}(-
5,-
5)(
5,
5)
34 \rput(
0,-
4.5)
{\psframebox[fillstyle=solid,fillcolor=black
]{\textcolor{white
}{\texttt{[mode=
3]}}}}
37 \begin{pspicture
}(-
5,-
5)(
5,
5)
40 \rput(
0,-
4.5)
{\psframebox[fillstyle=solid,fillcolor=black
]{\textcolor{white
}{\texttt{[mode=
4]}}}}
43 \begin{pspicture
}(-
5,-
5)(
5,
5)
46 \rput(
0,-
4.5)
{\psframebox[fillstyle=solid,fillcolor=black
]{\small\textcolor{white
}{\texttt{[mode=
5] =>
[mode=
4] forced
}}}}