Skip to content
Snippets Groups Projects
Commit 7660623f authored by Baptiste LENIAU's avatar Baptiste LENIAU
Browse files

more text

git-svn-id: svn+ssh://svn.in2p3.fr/class@370 0e7d625b-0364-4367-a6be-d5be4a48d228
parent 76d31002
No related branches found
No related tags found
No related merge requests found
...@@ -978,18 +978,30 @@ At the moment, there is two Irradiation Model available. The two solvers differs ...@@ -978,18 +978,30 @@ At the moment, there is two Irradiation Model available. The two solvers differs
\begin{center} \begin{center}
\begin{minipage}{\textwidth} \begin{minipage}{\textwidth}
\begin{lstlisting} \begin{lstlisting}
#include "CLASSHeaders.hxx"
#include "Irradiation/IM_RK4.hxx"
//#include "Irradiation/IM_Matrix.hxx"
..
using namespace std;
int main()
{
//...
IM_RK4* Solver = new IM_RK4(LogObject); // or new IM_RK4(); // uses a default logfile
// IM_Matrix* Solver = new IM_Matrix(LogObject); // or new IM_Matrix(); //uses default logfile
PhysicModels* PHYMOD = new PhysicModels(XSMOX, EQMLINPWRMOX, Solver);
//...
}
\end{lstlisting} \end{lstlisting}
\end{minipage} \end{minipage}
\end{center} \end{center}
LogObject is a CLASSLogger object (see section~\ref{sec:logclass}).
%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%
%% CHAPTER : CLASSGUI %% CHAPTER : CLASSGUI
%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%
\part{CLASSGui : The results viewer} \part{CLASSGui : The results viewer}
\subsection{How to build an Irradiation Model}
The strength of CLASS is to allow the user to build his own physic models, this section explains how to build a new Bateman solver (Irradiation Model) and to incorporate it into CLASS.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment