Skip to content
Snippets Groups Projects
Select Git revision
  • cbdc46e3006af9696198d432fa912c921dcc8dae
  • master default protected
  • fix_Makefile.mingw#2
  • update_Makefile.mingw
  • fix_Makefile.mingw
  • fix_API_for_C_apps
  • fix_procinfo_mac
  • boinccmd_gpu_mode_always_until_sigterm
  • fgrp_osx_hotfix
  • fix_boinc_master@f8250782
  • eah_wrapper_improvements
  • diagnostics_win-hotfix
  • diagnostics_win-hotfix-old
  • current_fgrp_apps
  • testing_gw_apps
  • gw_app_darwin_15
  • current_brp_apps
  • current_brp_apps_android10
  • current_gfx_apps
  • current_server
  • current_gw_apps
  • previous_fgrp_apps
  • previous_gw_apps
  • testing_brp_apps
  • apps_FGRP3_1.07
  • apps_FGRP3_1.08
26 results

generate_svn_version.sh

Blame
  • antenna_lib.h 1.18 KiB
    // Double inclusion protection
    #ifndef ANTENNA_LIB_H
    #define ANTENNA_LIB_H
    // Structure for passing information about the GW source and detectors
    struct InputStruct {
       // orbital orientation in degrees, 0 to 180. Zero degrees has
       // orbital angular momentum pointing to the earth
       double iota;
       // orientation of long axis of ellipse, 0 to 360, in degrees CCW
       // from North
       double psi;
       // orientation of detector arms away from actual, 0 to 360, in
       // degrees CCW when viewed from directly overhead
       // Ordering is LLO, LHO, VIRGO
       double orientation[3];
    };
    
    // Structure for returning information about the response.  The array
    // elements are in the order LLO, LHO, VIRGO
    struct OutputStruct {
       // detector names, null terminated string
       char name[3][8];
       // amplitude of sin function, dimensionless
       double amp[3];
       // phase of sin function, in degrees from 0 to 360
       double phase[3];
       // time delays, in milliseconds
       double dt[3];
    };
    
    
    // Function gets antenna responses, using information in the 
    // input structure (not modified) and writing to the output structure.
    void get_antenna(struct OutputStruct *out, struct InputStruct *in);
    
    #endif // ANTENNA_LIB_H