Logo Search packages:      
Sourcecode: necpp version File versions  Download package

double nec_context::get_maximum_gain ( int  index = 0  )  [inline]

Get the maximum gain in dB.

This function requires a previous rp_card() method to have been called.

The maximum gain in dB or -999.0 if no radiation pattern had been previously requested. This only works for a SINGLE FRQUENCY rp_card request.

Definition at line 91 of file nec_context.h.

References get_radiation_pattern().

            nec_radiation_pattern* rp = get_radiation_pattern(index);
            if (NULL == rp)
                  return -999.0;
            return rp->get_maximum_gain_db();

Generated by  Doxygen 1.6.0   Back to index