#include <GIDI_settings.hh>
 | 
| void  | initialize (int order, int length, double const *energies, double const *fluxes) | 
|   | 
This class stores the flux for one Legendre order (see class GIDI_settings_flux). 
Definition at line 91 of file GIDI_settings.hh.
 
◆ GIDI_settings_flux_order() [1/4]
      
        
          | GIDI_settings_flux_order::GIDI_settings_flux_order  | 
          ( | 
          int  | 
          order | ) | 
           | 
        
      
 
- Parameters
 - 
  
    | order | The Legendre order for this flux data.  | 
  
   
Definition at line 15 of file GIDI_settings_flux.cc.
   17     if( order < 0 ) 
throw 1;
 
 
 
 
◆ GIDI_settings_flux_order() [2/4]
      
        
          | GIDI_settings_flux_order::GIDI_settings_flux_order  | 
          ( | 
          int  | 
          order,  | 
        
        
           | 
           | 
          int  | 
          length,  | 
        
        
           | 
           | 
          double const *  | 
          energies,  | 
        
        
           | 
           | 
          double const *  | 
          fluxes  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | order | The Legendre order for this flux data.  | 
    | length | The number or values in energies and fluxes.  | 
    | energies | List of energies where flux is given.  | 
    | fluxes | List of flux value for each energies value.  | 
  
   
Definition at line 23 of file GIDI_settings_flux.cc.
void initialize(int order, int length, double const *energies, double const *fluxes)
 
 
 
 
◆ GIDI_settings_flux_order() [3/4]
      
        
          | GIDI_settings_flux_order::GIDI_settings_flux_order  | 
          ( | 
          int  | 
          order,  | 
        
        
           | 
           | 
          std::vector< double > const &  | 
          energies,  | 
        
        
           | 
           | 
          std::vector< double > const &  | 
          fluxes  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | order | The Legendre order for this flux data.  | 
    | energies | List of energies where flux is given.  | 
    | fluxes | List of flux value for each energies value.  | 
  
   
Definition at line 30 of file GIDI_settings_flux.cc.
   32     int length = (int) energies.size( );
    34     if( length != (
int) fluxes.size( ) ) 
throw 1;
    35     initialize( order, length, &(energies[0]), &(fluxes[0]) );
 void initialize(int order, int length, double const *energies, double const *fluxes)
 
 
 
 
◆ GIDI_settings_flux_order() [4/4]
- Parameters
 - 
  
    | fluxOrder | Legendre flux order to copy.  | 
  
   
Definition at line 40 of file GIDI_settings_flux.cc.
   42     initialize( fluxOrder.mOrder, fluxOrder.size( ), &(fluxOrder.mEnergies[0]), &(fluxOrder.mFluxes[0]) );
 void initialize(int order, int length, double const *energies, double const *fluxes)
 
 
 
 
◆ ~GIDI_settings_flux_order()
      
        
          | GIDI_settings_flux_order::~GIDI_settings_flux_order  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getEnergies()
  
  
      
        
          | double const* GIDI_settings_flux_order::getEnergies  | 
          ( | 
          void  | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getFluxes()
  
  
      
        
          | double const* GIDI_settings_flux_order::getFluxes  | 
          ( | 
          void  | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ getOrder()
  
  
      
        
          | int GIDI_settings_flux_order::getOrder  | 
          ( | 
          void  | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ initialize()
  
  
      
        
          | void GIDI_settings_flux_order::initialize  | 
          ( | 
          int  | 
          order,  | 
         
        
           | 
           | 
          int  | 
          length,  | 
         
        
           | 
           | 
          double const *  | 
          energies,  | 
         
        
           | 
           | 
          double const *  | 
          fluxes  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
Definition at line 47 of file GIDI_settings_flux.cc.
   49     if( order < 0 ) 
throw 1;
    53     for( 
int i1 = 0; i1 < length; ++i1 ) 
mEnergies[i1] = energies[i1];
    54     for( 
int i1 = 0; i1 < length; ++i1 ) 
mFluxes[i1] = fluxes[i1];
 
std::vector< double > mFluxes
 
std::vector< double > mEnergies
 
 
 
 
◆ print()
      
        
          | void GIDI_settings_flux_order::print  | 
          ( | 
          int  | 
          valuesPerLine = 10 | ) | 
           const | 
        
      
 
Definition at line 65 of file GIDI_settings_flux.cc.
   68     bool printIndent = 
true;
    71     std::cout << 
"    ORDER: " << 
mOrder << std::endl;
    72     for( 
int iE = 0; iE < 
nE; ++iE ) {
    73         if( printIndent ) std::cout << 
"    ";
    77         if( ( ( iE + 1 ) % valuesPerLine ) == 0 ) {
    78             std::cout << std::endl;
    82     if( nE % valuesPerLine ) std::cout << std::endl;
 
std::vector< double > mFluxes
 
std::vector< double > mEnergies
 
 
 
 
◆ size()
  
  
      
        
          | int GIDI_settings_flux_order::size  | 
          ( | 
          void  | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ mEnergies
  
  
      
        
          | std::vector<double> GIDI_settings_flux_order::mEnergies | 
         
       
   | 
  
private   | 
  
 
 
◆ mFluxes
  
  
      
        
          | std::vector<double> GIDI_settings_flux_order::mFluxes | 
         
       
   | 
  
private   | 
  
 
List of flux values - one for each element of mEnergies. 
Definition at line 96 of file GIDI_settings.hh.
 
 
◆ mOrder
  
  
      
        
          | int GIDI_settings_flux_order::mOrder | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: