8#include "LommelSeeliger.h" 
   11  double LommelSeeliger::PhotoModelAlgorithm(
double phase, 
double incidence,
 
   13    static double pht_lomsel;
 
   19    static double old_phase = -9999;
 
   20    static double old_incidence = -9999;
 
   21    static double old_emission= -9999;
 
   23    if (old_phase == phase && old_incidence == incidence && old_emission == emission) {
 
   28    old_incidence = incidence;
 
   29    old_emission = emission;
 
   31    incrad = incidence * 
Isis::PI / 180.0;
 
   32    emarad = emission * 
Isis::PI / 180.0;
 
   36    if(munot <= 0.0 || mu <= 0.0 || incidence == 90.0 ||
 
   41      pht_lomsel = 2.0 * munot / (munot + mu);
 
Container for cube-like labels.
This is free and unencumbered software released into the public domain.
const double PI
The mathematical constant PI.