What is HBOOK

 

Here are some quick notes about HBOOK. HBOOK is used in Fortran programs to create histogram files which can be viewed and manipulated using PAW. For real understanding look at some of the files which use these commands (like gmd/monte/basic_sim.f) or any other Fortran program. HBOOK only uses real or integers, NO double precision. All of the HBOOK commands can be found in the HBOOK manual in the lab
or click on HBOOK HERE. Quick stuff:

  • call hbook1
    opens a histogram
  • call hpak
    Packs an array into a histogram
  • call hf1
    Fills a value into a histogram

Probably not very helpful, but it will get you a brief idea of what is happening. Look at the files, look through HBOOK for any additional commands. Segmentation Fault usually means you have gone out of bounds of an array (the error does NOT necessarily happen where you have gone out of bounds, so WHERE it happens will usually not give you any indication of where you have gone out of bounds). Usually Fortran will let you go anywhere in or out of an array, but HBOOK will not, even if HBOOK does not use that particular array.

Back

 
© 2006 Carleton University 1125 Colonel By Drive, Ottawa, Ontario, K1S 5B6 Canada (613) 520-7400
| Contacts |
Canada's Capital University