| subroutine, public energy_mxll_oct_m::energy_density_calc  | 
          ( | 
          class(mesh_t), intent(in)  | 
          mesh,  | 
        
        
           | 
           | 
          type(states_mxll_t), intent(in)  | 
          st,  | 
        
        
           | 
           | 
          complex(real64), dimension(:,:), intent(in)  | 
          rs_field,  | 
        
        
           | 
           | 
          real(real64), dimension(:), intent(inout)  | 
          energy_dens,  | 
        
        
           | 
           | 
          real(real64), dimension(:), intent(inout)  | 
          e_energy_dens,  | 
        
        
           | 
           | 
          real(real64), dimension(:), intent(inout)  | 
          b_energy_dens,  | 
        
        
           | 
           | 
          logical, intent(in), optional  | 
          plane_waves_check,  | 
        
        
           | 
           | 
          complex(real64), dimension(:,:), intent(in), optional  | 
          rs_field_plane_waves,  | 
        
        
           | 
           | 
          real(real64), dimension(:), intent(inout), optional  | 
          energy_dens_plane_waves  | 
        
        
           | 
          ) | 
           |  |