Home
last modified time | relevance | path

Searched refs:freqKhz (Results 1 – 12 of 12) sorted by relevance

/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/uan/model/
H A Duan-prop-model-thorp.cc77 UanPropModelThorp::GetAttenDbKyd (double freqKhz) in GetAttenDbKyd() argument
80 return GetAttenDbKm (freqKhz) / 1.093613298; in GetAttenDbKyd()
84 UanPropModelThorp::GetAttenDbKm (double freqKhz) in GetAttenDbKm() argument
87 double fsq = freqKhz * freqKhz; in GetAttenDbKm()
90 if (freqKhz >= 0.4) in GetAttenDbKm()
97 atten = 0.002 + 0.11 * (freqKhz / (1 + freqKhz)) + 0.011 * freqKhz; in GetAttenDbKm()
H A Duan-prop-model-thorp.h60 double GetAttenDbKyd (double freqKhz);
66 double GetAttenDbKm (double freqKhz);
/dports/misc/mnn/MNN-1.2.0/tools/cpp/
H A DgetPerformance.cpp63 int freqKhz = -1; in getFreqKhz() local
71 fscanf(fp, "%d", &freqKhz); in getFreqKhz()
73 freqVector.push_back(freqKhz); in getFreqKhz()
83 freqKhz = -1; in getFreqKhz()
84 fscanf(fp, "%d", &freqKhz); in getFreqKhz()
86 freqVector.push_back(freqKhz); in getFreqKhz()
/dports/games/flightgear/flightgear-2020.3.11/src/Airports/
H A Dapt_loader.cxx709 int freqKhz = std::stoi(token[1]); in parseCommLine() local
711 const int channel = freqKhz % 25; in parseCommLine()
714 …aptDat << ":" << lineNum << ": skipping invalid 8.333 kHz Frequency " << freqKhz << " for " << las… in parseCommLine()
718 freqKhz *= 10; in parseCommLine()
719 const int remainder = freqKhz % 100; in parseCommLine()
722 freqKhz += 5; in parseCommLine()
725 if (freqKhz % 25) { in parseCommLine()
727 …aptDat << ":" << lineNum << ": skipping invalid 25 kHz Frequency " << freqKhz << " for " << last_a… in parseCommLine()
732 if (freqKhz < 118000 || freqKhz >= 137000) { in parseCommLine()
734 …aptDat << ":" << lineNum << ": skipping out of range Frequency " << freqKhz << " for " << last_apt… in parseCommLine()
[all …]
/dports/games/flightgear/flightgear-2020.3.11/src/ATC/
H A DCommStation.cxx33 CommStation::findByFreq(int freqKhz, const SGGeod& pos, FGPositioned::Filter* filt) in findByFreq() argument
35 return (CommStation*) NavDataCache::instance()->findCommByFreq(freqKhz, pos, filt).ptr(); in findByFreq()
H A DCommStation.hxx26 …static CommStationRef findByFreq(int freqKhz, const SGGeod& pos, FGPositioned::Filter* filt = NULL…
/dports/games/flightgear/flightgear-2020.3.11/src/Navaids/
H A Dnavlist.cxx192 int freqKhz = static_cast<int>(freq * 100 + 0.5); in findByFreq() local
193 PositionedIDVec stations(cache->findNavaidsByFreq(freqKhz, position, filter)); in findByFreq()
228 int freqKhz = static_cast<int>(freq * 100 + 0.5); in findByFreq() local
229 PositionedIDVec stations(cache->findNavaidsByFreq(freqKhz, filter)); in findByFreq()
H A DNavDataCache.hxx222 FGPositionedRef findCommByFreq(int freqKhz, const SGGeod& pos, FGPositioned::Filter* filt);
239 PositionedIDVec findNavaidsByFreq(int freqKhz, const SGGeod& pos, FGPositioned::Filter* filt);
243 PositionedIDVec findNavaidsByFreq(int freqKhz, FGPositioned::Filter* filt);
H A DNavDataCache.cxx775 int freqKhz = sqlite3_column_int(loadCommStation, 1); in loadComm() local
778 CommStation* c = new CommStation(rowId, name, ty, pos, freqKhz, range); in loadComm()
2390 NavDataCache::findCommByFreq(int freqKhz, const SGGeod& aPos, FGPositioned::Filter* aFilter) in findCommByFreq() argument
2392 sqlite3_bind_int(d->findCommByFreq, 1, freqKhz); in findCommByFreq()
2422 NavDataCache::findNavaidsByFreq(int freqKhz, const SGGeod& aPos, FGPositioned::Filter* aFilter) in findNavaidsByFreq() argument
2424 sqlite3_bind_int(d->findNavsByFreq, 1, freqKhz); in findNavaidsByFreq()
2442 NavDataCache::findNavaidsByFreq(int freqKhz, FGPositioned::Filter* aFilter) in findNavaidsByFreq() argument
2444 sqlite3_bind_int(d->findNavsByFreqNoPos, 1, freqKhz); in findNavaidsByFreq()
/dports/games/flightgear/flightgear-2020.3.11/src/Instrumentation/
H A Dcommradio.cxx624 int freqKhz = static_cast<int>(_frequency * 1000 + 0.5); in update() local
626 if (!_useEightPointThree && freqKhz % 25) { in update()
627 freqKhz += 5; in update()
630 _commStationForFrequency = flightgear::CommStation::findByFreq(freqKhz, position, NULL); in update()
/dports/games/flightgear-data/fgdata/Nasal/input_helpers/
H A Dgoflight.nas11 var formatFrequencyKHz = func(freqKhz, fieldWidth)
13 return bytesForString(sprintf("%6.2f", freqKhz), fieldWidth);
/dports/games/flightgear/flightgear-2020.3.11/utils/fgcom/
H A Dfgcom.cxx341 int freqKhz = 10 * static_cast<int>(freq * 100 + 0.25); in getClosestAirportForFreq() local
346 ret = _airportsData.equal_range(freqKhz); in getClosestAirportForFreq()