Class which represents a monoenergetic energy spectrum.  
 More...
#include <source.h>
Class which represents a monoenergetic energy spectrum. 
Definition at line 32 of file source.h.
 
◆ MonoenergeticSpectrum()
  
  
      
        
          | MonoenergeticSpectrum::MonoenergeticSpectrum  | 
          ( | 
          double |           energy | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
Constructor for the MonoenergeticSpectrum class. 
- Parameters
 - 
  
    | energy | The energy of the monoenergetic spectrum.  | 
  
   
 
 
◆ sampleEnergy()
  
  
      
        
          | double MonoenergeticSpectrum::sampleEnergy  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Returns the energy of the monoenergetic spectrum. 
- Returns
 - A sample from the monoenergetic spectrum. Will always be the same value. 
 
Implements EnergySpectrum.
 
 
◆ energy_
  
  
      
        
          | double MonoenergeticSpectrum::energy_ | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following file: