forked from ExternalVendorCode/Signal-Server
3.04 Egli model and unit test
This commit is contained in:
12
outputs.cc
12
outputs.cc
@@ -1534,13 +1534,15 @@ void PathReport(struct site source, struct site destination, char *name,
|
||||
free_space_loss);
|
||||
}
|
||||
|
||||
if((loss*1.1) < free_space_loss){
|
||||
fprintf(stderr,"Model error! Computed loss of %.1fdB is greater than free space loss of %.1fdB. Check your inuts for model %d\n",loss,free_space_loss,propmodel);
|
||||
return;
|
||||
}
|
||||
|
||||
fprintf(fd2, "Computed path loss: %.2f dB\n", loss);
|
||||
|
||||
|
||||
if((loss*1.5) < free_space_loss){
|
||||
fprintf(fd2,"Model error! Computed loss of %.1fdB is greater than free space loss of %.1fdB. Check your inuts for model %d\n",loss,free_space_loss,propmodel);
|
||||
fprintf(stderr,"Model error! Computed loss of %.1fdB is greater than free space loss of %.1fdB. Check your inuts for model %d\n",loss,free_space_loss,propmodel);
|
||||
return;
|
||||
}
|
||||
|
||||
if (free_space_loss != 0.0)
|
||||
fprintf(fd2,
|
||||
"Attenuation due to terrain shielding: %.2f dB\n",
|
||||
|
Reference in New Issue
Block a user