This subroutine calculates the relative electric and magnetic field amplitudes, the relative fluctuations in the density and velocity of all species, and the heating rates of the given solution. It is based on the calc_eigen routine by Greg Howes and Kris Klein.
Type  Intent  Optional  Attributes  Name  

double complex,  intent(in)  ::  omega 
Complex wave frequency . 

double complex,  intent(out),  dimension(1:3)  ::  electric 
Relative electric field amplitude (eigenfunction). 

double complex,  intent(out),  dimension(1:3)  ::  magnetic 
Relative magnetic field amplitude (eigenfunction). 

double complex,  intent(out),  dimension(1:3,1:nspec)  ::  vmean 
Relative velocityfluctuation amplitude (eigenfunction). 

double complex,  intent(out),  dimension(1:nspec)  ::  ds 
Relative densityfluctuation amplitude (eigenfunction). 

double precision,  intent(out),  dimension(1:nspec)  ::  Ps 
Relative heating rate of a given species. 

logical,  intent(in)  ::  eigen_L 
Check whether eigenfunction calculation is requested. 

logical,  intent(in)  ::  heat_L 
Check whether eigenfunction calculation is requested. 