\section{jd\-Occ\_\-Count  Class Reference}
\label{class_jdOcc_Count}\index{jdOcc_Count@{jd\-Occ\_\-Count}}
{\tt \#include $<$jd\_\-occ\_\-count.h$>$}

Inheritance diagram for jd\-Occ\_\-Count\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=56pt]{class_jdOcc_Count_inherit_graph}
\end{center}
\end{figure}
Collaboration diagram for jd\-Occ\_\-Count:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=373pt]{class_jdOcc_Count_coll_graph}
\end{center}
\end{figure}
\subsection*{Public Methods}
\begin{CompactItemize}
\item 
{\bf jd\-Occ\_\-Count} ({\bf Constraint\-Manager} \&{\bf CM})
\item 
{\bf $\sim$jd\-Occ\_\-Count} ()
\item 
int {\bf run} ()
\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
{\bf Dyn\-String} {\bf Base\-FN}
\end{CompactItemize}
\subsection*{Static Public Attributes}
\begin{CompactItemize}
\item 
double {\bf cube\_\-width} = 3.7
\end{CompactItemize}


\subsection{Detailed Description}
//////////////////////////////////////////////////////////

File: {\bf jd\_\-occ\_\-count.h}

Created by: Jon Dugan

jd\-Occ\_\-Count job.

////////////////////////////////////////////////////////// 



Definition at line 28 of file jd\_\-occ\_\-count.h.

\subsection{Constructor \& Destructor Documentation}
\index{jdOcc_Count@{jd\-Occ\_\-Count}!jdOcc_Count@{jdOcc\_\-Count}}
\index{jdOcc_Count@{jdOcc\_\-Count}!jdOcc_Count@{jd\-Occ\_\-Count}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}jd\-Occ\_\-Count::jd\-Occ\_\-Count ({\bf Constraint\-Manager} \& {\em cm})}\label{class_jdOcc_Count_a0}




Definition at line 3 of file jd\_\-occ\_\-count.C.\footnotesize\begin{verbatim}00004   : SatisfyMolecule(cm)
00005 {
00006 \end{verbatim}\normalsize 
\index{jdOcc_Count@{jd\-Occ\_\-Count}!~jdOcc_Count@{$\sim$jdOcc\_\-Count}}
\index{~jdOcc_Count@{$\sim$jdOcc\_\-Count}!jdOcc_Count@{jd\-Occ\_\-Count}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}jd\-Occ\_\-Count::$\sim$jd\-Occ\_\-Count ()}\label{class_jdOcc_Count_a1}




Definition at line 8 of file jd\_\-occ\_\-count.C.\footnotesize\begin{verbatim}00009   { 
00010 \end{verbatim}\normalsize 


\subsection{Member Function Documentation}
\index{jdOcc_Count@{jd\-Occ\_\-Count}!run@{run}}
\index{run@{run}!jdOcc_Count@{jd\-Occ\_\-Count}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int jd\-Occ\_\-Count::run ()\hspace{0.3cm}{\tt  [virtual]}}\label{class_jdOcc_Count_a2}


Execute this process. Returns the exit status of the process (0 is success, non-zero is error). 

Reimplemented from {\bf Process} {\rm (p.\,\pageref{class_Process_a1})}.

Definition at line 12 of file jd\_\-occ\_\-count.C.

Referenced by main().\footnotesize\begin{verbatim}00012                      {
00013 
00014 #ifdef JOB_VERBOSE
00015   cerr << "Start: \tOcc_Count::run() width =" << cube_width << endl;
00016 #endif
00017 
00018   Envelope E;
00019   E.Build(CM->getMolecule(),cube_width);
00020 
00021   DynString F;
00022   char * s;
00023   ofstream * os;
00024   F = BaseFN + ".csx";
00025   s = &(F[0]);  // ACK  not good, but it doesn't leak. -jd
00026   os = new ofstream (s);
00027   E.WriteAvsTxt(*os);
00028   delete os;
00029     cerr << "Wrote: " << F << endl;
00030   
00031   F = BaseFN + ".iv";
00032   s = &(F[0]);  // ACK  not good, but it doesn't leak. -jd
00033   os = new ofstream (s);
00034   E.WriteVRML(*os);
00035   delete os;
00036   cerr << "Wrote: " << F << endl;
00037 
00038   
00039   F = BaseFN + ".density";
00040   s = &(F[0]);  // ACK  not good, but it doesn't leak. -jd
00041   os = new ofstream (s);
00042   E.WriteDensity(*os, CM->getMolecule());
00043   delete os;
00044   cerr << "Wrote: " << F << endl;
00045 
00046   
00047   //  E.Output(cout);
00048   
00049 
00050 
00051 #ifdef JOB_VERBOSE
00052     cerr << "Ending:\tOcc_Count::run()" << endl;
00053 #endif
00054     
00055     return 0; //Normal completion
00056 \end{verbatim}\normalsize 


\subsection{Member Data Documentation}
\index{jdOcc_Count@{jd\-Occ\_\-Count}!BaseFN@{BaseFN}}
\index{BaseFN@{BaseFN}!jdOcc_Count@{jd\-Occ\_\-Count}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Dyn\-String} jd\-Occ\_\-Count::Base\-FN}\label{class_jdOcc_Count_m0}




Reimplemented from {\bf Satisfy\-Molecule} {\rm (p.\,\pageref{class_SatisfyMolecule_p0})}.

Definition at line 37 of file jd\_\-occ\_\-count.h.\index{jdOcc_Count@{jd\-Occ\_\-Count}!cube_width@{cube\_\-width}}
\index{cube_width@{cube\_\-width}!jdOcc_Count@{jd\-Occ\_\-Count}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double jd\-Occ\_\-Count::cube\_\-width = 3.7\hspace{0.3cm}{\tt  [static]}}\label{class_jdOcc_Count_p0}




Definition at line 62 of file globals.C.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
{\bf jd\_\-occ\_\-count.h}\item 
{\bf globals.C}\item 
{\bf jd\_\-occ\_\-count.C}\end{CompactItemize}
