|
@@ -280,7 +280,7 @@ namespace Lemma {
|
280
|
280
|
for (int irec=0; irec<Receivers->GetNumberOfPoints(); ++irec) {
|
281
|
281
|
if (!Receivers->GetMask(irec)) {
|
282
|
282
|
AntCopy->ApproximateWithElectricDipoles(Receivers->GetLocation(irec));
|
283
|
|
- for (unsigned int idip=0; idip<AntCopy->GetNumberOfDipoles(); ++idip) {
|
|
283
|
+ for (int idip=0; idip < static_cast<int>(AntCopy->GetNumberOfDipoles()); ++idip) {
|
284
|
284
|
auto tDipole = AntCopy->GetDipoleSource(idip);
|
285
|
285
|
//#ifdef LEMMAUSEOMP
|
286
|
286
|
//#pragma omp for schedule(static, 1)
|
|
@@ -318,7 +318,7 @@ namespace Lemma {
|
318
|
318
|
#pragma omp for schedule(static, 1)
|
319
|
319
|
#endif
|
320
|
320
|
for (int ifreq=0; ifreq<Antenna->GetNumberOfFrequencies(); ++ifreq) {
|
321
|
|
- for (unsigned int idip=0; idip<Antenna->GetNumberOfDipoles(); ++idip) {
|
|
321
|
+ for (int idip=0; idip< static_cast<int>(Antenna->GetNumberOfDipoles()); ++idip) {
|
322
|
322
|
auto tDipole = Antenna->GetDipoleSource(idip);
|
323
|
323
|
// Propogation constant in free space
|
324
|
324
|
Real wavef = tDipole->GetAngularFrequency(ifreq) *
|
|
@@ -354,7 +354,7 @@ namespace Lemma {
|
354
|
354
|
#ifdef LEMMAUSEOMP
|
355
|
355
|
#pragma omp for schedule(static, 1)
|
356
|
356
|
#endif
|
357
|
|
- for (unsigned int idip=0; idip<Antenna->GetNumberOfDipoles(); ++idip) {
|
|
357
|
+ for (int idip=0; idip<static_cast<int>(Antenna->GetNumberOfDipoles()); ++idip) {
|
358
|
358
|
//#pragma omp critical
|
359
|
359
|
//{
|
360
|
360
|
//cout << "idip=" << idip << "\tthread num=" << omp_get_thread_num() << '\n';
|