Main Page   Compound List   File List   Compound Members   File Members  

ReactorFortran.hh

Go to the documentation of this file.
00001 
00006 #ifndef REACTORFORTRAN_HH
00007 #define REACTORFORTRAN_HH
00008 #include <complex>
00009 
00010 using namespace std;
00011 
00012 //
00013 //  Fortran prototypes for calling from C++
00014 //
00015 extern "C" {
00016   //
00017   // Hbook Interfaces
00018   //
00019   void hropen_(const int&,const char*,const char*,const char*,int&,int&,
00020                int lchar1,int lchar2,int lchar3);
00021   void hbookn_(const int&,const char*,const int&,const char*,const int&,
00022                const char*ntTags,
00023                int lchar1,int lchar2,int lchar3,int lchar4);
00024   void hbook1_(const int&,const char*,const int&,
00025                const float&,const float&,const float&,
00026                const int title_length);
00027   void hfill_(const int&,const float&,const float& y=0,const float& w=1);
00028 
00029   void hfn_(const int&,const float*);
00030 
00031   void hlimit_(const int&);
00032 
00033   void hldir_(const char*,const char*,
00034               int lchar1,int lchar2);
00035   void hcdir_(const char*,const char*,
00036               int lchar1,int lchar2);
00037   void hrout_(const int&,int&,const char*,
00038               int lchar1);
00039   void hrend_(const char*,int lchar1);
00040   //
00041   //  random generators
00042   //
00043   void ranlux_(float*,const int&);
00044   void rluxgo_(int& lux,int& init,int& k1,int& k2);
00045   void rnpssn_(const float& Mean,int& Value,int& ErrorCode);
00046   void rnormx_(float*,int&,void(float*,const int&));
00047   void rnhpre_(float*,const int&);
00048   void rnhran_(float*,const int&,const float&,const float&, float&);
00049   //
00050   // value from function generators
00051   //
00052   void funlxp_(float(const float&),float*,const float&,const float&);
00053   void funlux_(float*,float&,const int&);
00054   //
00055   // cernlib interpolation routine
00056   //
00057   float divdif_(float*,float*,const int&,const float&,const int&);
00058   //
00059   // gamma functions
00060   //
00061   complex<double> wgamma_(complex<double>&);
00062   float gamma_(float*);
00063 }
00064 #endif
00065 
00066  
00067 
00068 

Generated on Mon Feb 21 16:11:19 2005 for ReactorFsim by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002