blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
264
content_id
stringlengths
40
40
detected_licenses
listlengths
0
85
license_type
stringclasses
2 values
repo_name
stringlengths
5
140
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
986 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
3.89k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
145 values
src_encoding
stringclasses
34 values
language
stringclasses
1 value
is_vendor
bool
1 class
is_generated
bool
2 classes
length_bytes
int64
3
10.4M
extension
stringclasses
122 values
content
stringlengths
3
10.4M
authors
listlengths
1
1
author_id
stringlengths
0
158
70277436582ef5c50415af3ddb4899380f00fcb9
af976711c178037f4e72fc9aa5577a007da77b0d
/src/snapplot/dlg_error_options.hpp
41cdfad192782546e772d6a295e622767cd96a9a
[ "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
linz/snap
865ebb67306de3a4703eb7972397c6ffbea2f1f6
62e0708da11e5c918de760d06c75a27b59463461
refs/heads/master
2023-06-02T11:36:28.508813
2023-05-16T18:52:38
2023-05-16T18:52:38
43,912,064
8
5
NOASSERTION
2022-04-02T18:10:27
2015-10-08T19:35:16
C
UTF-8
C++
false
false
122
hpp
#ifndef DLG_ERROR_OPTIONS_HPP #define DLG_ERROR_OPTIONS_HPP bool SetupErrorOptions( wxHelpController *help = 0 ); #endif
[ "ccrook@linz.govt.nz" ]
ccrook@linz.govt.nz
71f84ac653d9cea5c49547c5e0bec37556c1a9be
0c717271d43dd86ed4aa7f047a856a34bf2e033d
/Codeforces/Round 709(Div 2)/Matrix_XOR.cpp
c516a8cee885f1da8e072e5f1ecc100f80601877
[]
no_license
sudo1729/CODING-SOLUTIONS
378ff550f38f03999be665dc9020eb4eea7d364e
0cf8657c6832f2587bfd1aa5cf5bbcd0de2ecc7d
refs/heads/master
2023-04-19T02:01:42.824523
2021-04-18T05:47:07
2021-04-18T05:47:07
305,708,772
0
0
null
null
null
null
UTF-8
C++
false
false
2,438
cpp
/* ``````````````````$$$$$ `````````````$$$$$$´´´´$$$$$$ ``````````$$$´´´´´´´´´´´´´´´´$$$ ````````$`$$´´´´´´´´´´´´´´´´´´´´$$ ```````$´$$$´´´´´´´´´´´´´´´´´´´´´$$$$ `````$´´$$$$´´´´´´´´´´´´´´´´´´´´´´´´´´$ ````$´´$$$$$´´´´´´´´´´$$$$$$$´´´´´´´´´$$ ```$´´´$$$$$$$´´´$$$$$$$$$$$$$$$$$´´´´´$$ ``$´´´´$$$$$$$$$$$$$$$$$$$$$$$$$$$$$´´´´$$ `$´´´´´´$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$´´$ `$´´´´´´$$$$$$$$$$$´´´´$$$$$$$$$$$$$$$$$$$ $´´´´´´´´$$$$$$$$´´´´´´´´$$$$$$$´´´´´´´´$$ $´´´´´´´´´$$$$$$´´´´´´´´´´$$$$´´´´´´´´´´´$ `$´´´´´´´´´$$$$$´´´´´´´´´´$$$´´´´´´´´´´´$ `$´´´´´´´´´´$$$$$´´´´´´´´$$$$´´´´´´´´´´´$ `$´´´´´´´´´´´$$$$$$´´´´$$$$$´´´´´´´´´´´$$ ``$´´´´´´´´´´´$$$$$$$$$$$$$$´´´´´´´´´´´$ ``$$´´´´´´´´´´´´$$$$$$$$$$$$´´´´´´´´´´$$ ```$$´´´´´´´´´´´´$$$$$$$$$$´´´´´´´´´´$$ ````$´´´´´´´´´´´´$$$$$$$$$´´´´´´´´´´´$ `````$´´´´´´´´´´´$$$$$$$$´´´´´´´´´´´$ ``````$$´´´´´´´´´$$$$$$´´´´´´´´´´´$$ ````````$$´´´´´´$$$$$´´´´´´´´´´´$$ ``````````$$$´$$$$´´´´´´´´´´´$$$ `````````````$$$$$´´´´´´$$$$$ ``````````````````$$$$$$ */ #include<bits/stdc++.h> #define ll long long int #define pb push_back #define F first #define S second #define vi vector<ll> #define vs vector<string> #define input(v,n) for(ll VAL=0;VAL<n;VAL++){ll VALUE;cin>>VALUE;v.pb(VALUE);} #define mi map<ll,ll> #define FOR(i,a,b) for(ll i=a;i<b;i++) #define mi map<ll,ll> #define print(v) for(ll printing=0;printing<v.size();printing++){cout<<v[printing]<<' ';} #define TestCase ll testcase;cin>>testcase;while(testcase--) #define bin(n) bitset<32>(n).to_string(); #define maxv(v) *max_element(v.begin(),v.end()) #define minv(v) *min_element(v.begin(),v.end()) #define decimal(s) stoll(s,nullptr,2) #define rmLead(str) str.erase(0, min(str.find_first_not_of('0'), str.size()-1)); using namespace std; void solve(){ ll n,m,k;cin>>n>>m>>k; ll ans=0; for(ll i=1;i<=min(n,m);i++){ ans=ans^(k+2*i); } cout<<ans<<"\n"; } int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); TestCase{ solve(); } }
[ "tripathiakhilesh98163@gmail.com" ]
tripathiakhilesh98163@gmail.com
417f0f8305423bf823872b1af6d0c647213e031e
2cae3c65a40a43aa1376fe8f6302ae84b2185b68
/StJetAnalysis.cxx
7183e05bef3a21f3b7c348ad283cfad7d43c2546
[]
no_license
mckinziebrandon/STAR
a7039b28e4ea6367a8e4752abb8036a26722593a
e1626b9f0795cb2e8d339e42fc86b7e4cd9b2d47
refs/heads/master
2020-04-25T18:43:53.617355
2015-09-30T18:53:20
2015-09-30T18:53:20
33,167,069
0
0
null
null
null
null
UTF-8
C++
false
false
224,377
cxx
#include "StJetAnalysis.h" //---------------------------------------------------------------------------------------- static TRandom ran; static TRandom3 r3; static TString HistName; static char NoP[50]; static TRandom ran_gen; //---------------------------------------------------------------------------------------- static StRefMultCorr* refmultCorrUtil; static Int_t erefMult_bin; static Int_t erefMult_bin16; static char* ALEX_EVENT_TREE = "JetTrackEvent"; static char* ALEX_EVENT_BRANCH = "Events"; static Double_t jet_R; static Double_t jet_R_background; static const Int_t N_Beamtime = 8; // 0 == 7.7, 1 == 11.5, 2 == 39, 3 == 62.4, 4 == 19.6, 5 == 27, 6 == 200, 7 == 14.5 static const Int_t N_jet_areas = 16; // static const Int_t N_z_vertex_bins = 20; // 8 static const Int_t N_mult_bins = 8; // 4 static const Int_t N_Psi_bins = 4; // 5 static const Int_t N_global_bin = N_Psi_bins*N_mult_bins*N_z_vertex_bins; static const Double_t max_pt_val_embed = 50.0; // maximum pt value embeded for Delta pt calculation static const Double_t track_eff_scaling_factor = 81499.0/73525.0; // ratio of reconstructed tracks (1000 events) for Nhitsfit > 14 and Nhitsfit > 19 static Int_t Remove_N_hardest; // 2 for same event, 0 for mixed event (if high pT tracks were removed or scaled down) static const Int_t N_Et_bins = 5; static const Int_t N_leading_pt_bins = 20; // 15 static const Double_t leading_pt_split_cut = 4.0; // cut at which the tracks are split into tracks with smaller pT // 2.5 // 1.5 static const Double_t leading_pt_split_val = 0.5; static const Double_t max_pt_threshold = 30.0; // 30 static Double_t max_pt_downscale_threshold; // Used only for eMode == 32, all particles with this momentum will be downscaled by downscale_factor static const Double_t downscale_factor = 0.1; static const Int_t N_track_pt_bins_eta_phi = 3; static const Double_t array_pt_bins_eta_phi[N_track_pt_bins_eta_phi] = {0.5,2.0,max_pt_threshold}; // binning in pT (upper values) for eta vs. phi 2D histograms static const Double_t jet_delta_eta_cut = 100.0; static const Double_t jet_delta_phi_cut = 45.0*(2.0*Pi/360.0); static const Double_t track_pT_assoc_threshold = 2.0; static const Double_t array_areas[N_jet_areas] = {0.0,0.05,0.1,0.15,0.2,0.25,0.3,0.35,0.4,0.45,0.5,0.55,0.6,0.65,0.7,0.75}; static const Int_t N_Delta_pt_bins = 5; static const Double_t array_pt_bins_Delta_pt[N_Delta_pt_bins] = {1,3,5,10,15}; // R = 0.2 --> area = 0.13 // R = 0.3 --> area = 0.28 // R = 0.4 --> area = 0.5 // R = 0.5 --> area = 0.79 static Double_t PYTHIA_hard_bin_weigh_factors[11] = {1.6137644,0.136423,0.022972,0.005513,0.001650,0.000574,0.000390,0.000010200809,0.000000501270,0.000000028611,0.000000001446}; static Double_t PYTHIA_hard_bin_high_pT_N_events[11] = {5,61,1275,9844,39541,103797,338451,1655573,3084417,3997019,4471887}; // Number of PYTHIA events with at least one 9 GeV/c track static TH1D* h_PYTHIA_hard_bin_weigh_factors; static TH1D* h_PYTHIA_hard_bin_high_pT_N_events; static Long64_t N_PYTHIA_events[11]; static Long64_t counter_PYTHIA[11]; static TH2D* h_Delta_pt_vs_embed_pt[N_jet_areas][2][N_Psi_bins]; static TH2D* h_Delta_pt_vs_embed_pt_weight[N_jet_areas][2][N_Psi_bins]; static TH1D* h_jet_pt[N_jet_areas][N_leading_pt_bins+1][4]; static TH1D* h_jet_pt_sub[N_jet_areas][N_leading_pt_bins+1][4]; static TH2D* h2D_dijet_pt[N_jet_areas][N_leading_pt_bins+1][4]; static TH2D* h2D_dijet_pt_sub[N_jet_areas][N_leading_pt_bins+1][4]; static TH1D* h_N_tracks_dijet[N_leading_pt_bins+1][2]; static TH2D* h2D_mult_vs_global_bin[N_leading_pt_bins+1][2]; static TH1D* h_trigger_track[4]; static TH2D* h_trigger_track_vs_global_bin[4]; static TH1D* h_jet_area[N_jet_areas][2]; static TH1D* h_jet_rho[N_jet_areas][2]; static TH1D* h_jet_per_event[N_jet_areas][2]; static TH1D* h_dijet_per_event[N_jet_areas][2]; static TProfile* p_jet_area_values; static TH1D* h_jet_area_array[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH1D* h_jet_rho_array[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH1D* h_jet_rhoarea_array[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH2D* h2D_jet_rho_vs_mult_array[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH2D* h2D_track_eta_vs_phi[N_z_vertex_bins][N_mult_bins][N_Psi_bins][N_track_pt_bins_eta_phi]; static TH2D* h2D_jet_rho_vs_mult_array_In[N_z_vertex_bins][N_mult_bins][N_Psi_bins][2]; static TH1D* h_jet_Et_array[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH1D* h_jet_Et_array_weight[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH1D* h_jet_Et_array_In[N_z_vertex_bins][N_mult_bins][N_Psi_bins][2]; static TH1D* h_jet_per_event_array[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH1D* h_tracks_per_event_array[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH1D* h_tracks_per_event_array_In[N_z_vertex_bins][N_mult_bins][N_Psi_bins][2]; static TH2D* h_tracks_vs_z_vertex_array[N_z_vertex_bins][N_mult_bins]; static TH2D* h_Psi_vs_z_vertex_array[N_z_vertex_bins][N_Psi_bins]; static TH2D* h_tracks_vs_z_vertex_sample; static TH1D* h_Psi2_sample; static TH2D* h_jet_rho_vs_Et; static TH2D* h_Phi_vs_eta[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH2D* h_Phi_vs_eta_random_phi[N_z_vertex_bins]; static TH1D* h_Momentum[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH2D* h_tracks_vs_z_vertex[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH1D* h_Psi2[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH1D* h_Et[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static TH2D* h_ratio_sub_lead_to_lead_pt_vs_lead_pt; static TH2D* h_sub_lead_vs_lead_pt; static TH2D* h_PsiA_vs_PsiB; static TH1D* h_PsiA; static TH1D* h_PsiB; static TH1D* h_Psi_Full; static TH1D* h_Psi_etapos; static TH1D* h_Psi_etaneg; static TH1D* h_phi; static TH2D* h_area_vs_jet_pt; static TH2D* h_area_vs_recoil_jet_pt[N_leading_pt_bins+1]; static TH1D* h_rho[N_leading_pt_bins+1]; static TH1D* h_area; static TH1D* h_track_pT; static TH1D* h_track_pT_cut; static TH1D* h_tracks_above_threshold_per_event; static TProfile* p_pt_Ach[2]; static TH1F* h_Ach; static const Int_t N2D_tracks_above_threshold = 10; static TH2D* h2D_tracks_above_threshold[N2D_tracks_above_threshold]; static TH2D* h2D_Sim_matched_pT_vs_original_pT[N_jet_areas]; static TH2D* h2D_Sim_original_pT_vs_matched_pT[N_jet_areas]; static TH1D* h_matched_tracks_fraction[N_jet_areas]; static TH2D* h2D_matched_tracks_fraction_vs_original_pT[N_jet_areas]; static TH1D* h_N_accepted_recoil_jets[N_jet_areas][N_leading_pt_bins+1]; static const Int_t Array_runID_eff_track_rec[7] = {12126100,12138025,12145021,12152017,12154022,12165032,12171017}; static const TString Array_PID_eff_track_rec[6] = {"pplus","pminus","piplus","piminus","kplus","kminus"}; static TF1* f_EfficiencyVsPt[9][7][6]; //centrality(9),runID(7),PID(6) static TProfile* p_v2_vs_pt; static TProfile* p_v2_vs_pt_jet; static TProfile* p_parameters; static TProfile* p_Array_leading_pt_bins[2]; Float_t vertex_z_start_stop_delta[N_Beamtime][3] = { {-40.0,40.0,1.0}, {-40.0,40.0,1.0}, {-40.0,40.0,1.0}, {-40.0,40.0,1.0}, {-40.0,40.0,1.0}, {-40.0,40.0,1.0}, {-40.0,40.0,1.0}, {-40.0,40.0,1.0} }; static const Double_t z_acceptance[N_Beamtime] = {70.0,50.0,40.0,40.0,70.0,70.0,30.0,50.0}; Double_t Psi_start_stop_delta[N_Beamtime][3] = { {-TMath::Pi()/2.0,TMath::Pi()/2.0,1.0}, {-TMath::Pi()/2.0,TMath::Pi()/2.0,1.0}, {-TMath::Pi()/2.0,TMath::Pi()/2.0,1.0}, {-TMath::Pi()/2.0,TMath::Pi()/2.0,1.0}, {-TMath::Pi()/2.0,TMath::Pi()/2.0,1.0}, {-TMath::Pi()/2.0,TMath::Pi()/2.0,1.0}, {-TMath::Pi()/2.0,TMath::Pi()/2.0,1.0}, {-TMath::Pi()/2.0,TMath::Pi()/2.0,1.0} }; //static const Float_t Array_leading_pt_bins[2][N_leading_pt_bins+1] = //{ // {0.0,0.5,1.0,2.0,3.0,4.0,5.0,6.0,7.0,10.0,15.0,0.0,5.0,10.0,7.0,0.0}, // {0.5,1.0,2.0,3.0,4.0,5.0,6.0,7.0,10.0,15.0,20.0,5.0,10.0,20.0,20.0,500.0} //}; static const Float_t Array_leading_pt_bins[2][N_leading_pt_bins+1] = { {0.0,1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0,11.0,12.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0,0.0}, {1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0,11.0,12.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0,20.0,500.0} }; static Double_t Integrated_events_SE_ME[2]; static Double_t SE_ME_integral_scale_factor; static const Int_t n_z_vertex_bins = 10; static const Int_t n_params = 3; static TH1D* h_rc_QxQy_etapm_z_vs_index_[6][n_z_vertex_bins][n_params]; // stores the fit parameters as a function of the index static TH1D* h_runId_index_rc; static TH1D* h_runId_index_rc_inv; static TH1D* h_runId_index_rc_clone; static TFile* re_centering; static Float_t start_z; static Float_t delta_z; static Int_t gBeamTimeNum; static TF1* LevyFit_pT; //------------------------------------------------------------------------------------------------------------------ // For mixed event Float_t mult_start_stop_delta[N_Beamtime][3] = { {700.0,1000.0,1.0}, {700.0,1000.0,1.0}, {700.0,1000.0,1.0}, {700.0,1000.0,1.0}, {700.0,1000.0,1.0}, {700.0,1000.0,1.0}, {700.0,1000.0,1.0}, {700.0,1000.0,1.0} }; TFile* F_mixed_event[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static StJetTrackEvent JetTrackEvent_Fill[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static StJetTrackEvent *JetTrackEvent_ptr_Fill[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static StJetTrackParticle *JetTrackParticle_Fill; static StJetTrackParticle *JetTrackParticle_ME; static TTree *Tree_JetTrackEvent_Fill[N_z_vertex_bins][N_mult_bins][N_Psi_bins]; static const char JETTRACK_EVENT_TREE[] = "JetTrackEvent"; static const char JETTRACK_EVENT_BRANCH[] = "Events"; static std::vector<StJetTrackEvent*> JetTrackEvent_ME; static Int_t N_max_events; //------------------------------------------------------------------------------------------------------------------ static TFile* f_track_efficiencies; static TF1* func_effLow; static TF1* func_effHigh; //TCanvas* c_3D; //TH3D* h_3D_dummy; static TNtuple *NT_ReCoil_Jet; static Float_t ReCoil_Jet_NTDataArray[14]; static Int_t N_orig_smear = 1; // used only for PYTHIA //------------------------------------------------------------------------------------------------------------------------------------ // bad run lists static const Int_t n_bad_run_numbers[N_Beamtime] = {328,27,38,105,35,34,179,1}; static const Int_t bad_run_list_7GeV[328] = {11114084,11114085,11114086,11114088,11114089,11114094,11114095,11114100,11114109,11115005,11115007,11115013,11115019,11115025,11115027,11115028,11115030,11115032,11115051,11115062,11115064,11115069,11115072,11115078,11115079,11115080,11115086,11115088,11115094,11116001,11116002,11116005,11116006,11116010,11116014,11116020,11116023,11116028,11116060,11116061,11116062,11116064,11116068,11116070,11116072,11116073,11116075,11117002,11117006,11117031,11117033,11117034,11117036,11117039,11117044,11117045,11117046,11117052,11117055,11117063,11117064,11117071,11117075,11117085,11117088,11117089,11117090,11117093,11117094,11117095,11117098,11117100,11117103,11117104,11117107,11118007,11118008,11118016,11118024,11118025,11118026,11118039,11118044,11119001,11119003,11119006,11119007,11119009,11119012,11119013,11119015,11119016,11119017,11119022,11119024,11119026,11119029,11119030,11119056,11119057,11119060,11119062,11119067,11119069,11119070,11119071,11119074,11119075,11119077,11119079,11119081,11119090,11119091,11119100,11119101,11120003,11120006,11120008,11120011,11120014,11120019,11120023,11120030,11120034,11120037,11120039,11120040,11120045,11120052,11120057,11120062,11120063,11120069,11120070,11120071,11120074,11120077,11120078,11120084,11120092,11121006,11121014,11121015,11121019,11121029,11121030,11121034,11121035,11121043,11121044,11121054,11121058,11121066,11121067,11121070,11121075,11121082,11122001,11122007,11122008,11122010,11122017,11122024,11122037,11122038,11122047,11122048,11122049,11122050,11122053,11122058,11122062,11122069,11122073,11122078,11122085,11122097,11123003,11123004,11123015,11123026,11123028,11123040,11123044,11123055,11123057,11123058,11123059,11123067,11123075,11123076,11123077,11123079,11123081,11123084,11123086,11123088,11123089,11123093,11123094,11123095,11123100,11123101,11123102,11123104,11124001,11124005,11124007,11124008,11124015,11124016,11124018,11124041,11124046,11124050,11124051,11124052,11124053,11124058,11124060,11124061,11124062,11124063,11124064,11124065,11124066,11124069,11125002,11125003,11125004,11125005,11125006,11125008,11125012,11125013,11125014,11125015,11125016,11125017,11125020,11125021,11125022,11125023,11125073,11125081,11125089,11125090,11125096,11125097,11126005,11126006,11126007,11126016,11126018,11126022,11126023,11127001,11127002,11127043,11128005,11128012,11128018,11128050,11128056,11128072,11129018,11129022,11129028,11129051,11130027,11130034,11130057,11131038,11131062,11132013,11132070,11133006,11133019,11134053,11134060,11134067,11134076,11135068,11136003,11136005,11136006,11136007,11136008,11136012,11136013,11136014,11136061,11136076,11136101,11136130,11136160,11136163,11137019,11138027,11138049,11138086,11138124,11139014,11140076,11140086,11141063,11142117,11143026,11143028,11144001,11144009,11144031,11144033,11144040,11144043,11144052,11145008,11145028,11145035,11146061,11146076,11146079,11147004,11147006,11147014,11147017,11147021,11147023}; static const Int_t bad_run_list_11GeV[27] = {11148039,11148045,11149001,11149008,11149010,11149011,11149015,11149047,11150016,11150025,11150028,11151036,11151040,11151050,11152016,11152036,11152078,11153032,11153042,11155001,11155009,11156003,11156009,11157012,11158006,11158022,11158024}; static const Int_t bad_run_list_19GeV[35] = {12113091,12114007,12114035,12114078,12114092,12114116,12115009,12115014,12115015,12115016,12115018,12115019,12115020,12115022,12115023,12115062,12115073,12115093,12115094,12116012,12116054,12117010,12117016,12117020,12117065,12119040,12119042,12120017,12120026,12121017,12121022,12121034,12121050,12121067,12122019}; static const Int_t bad_run_list_27GeV[34] = {12172050,12172051,12172055,12173030,12173031,12173032,12173033,12173034,12174067,12174085,12175062,12175087,12175113,12175114,12175115,12176001,12176044,12176054,12176071,12177015,12177061,12177092,12177099,12177101,12177106,12177107,12177108,12178003,12178004,12178005,12178006,12178013,12178099,12178120}; static const Int_t bad_run_list_39GeV[38] = {11199124,11100002,11100045,11101046,11102012,11102051,11102052,11102053,11102054,11102055,11102058,11103035,11103056,11103058,11103092,11103093,11105052,11105053,11105054,11105055,11107007,11107042,11107057,11107061,11107065,11107074,11108101,11109013,11109077,11109088,11109090,11109127,11110013,11110034,11110073,11110076,11111084,11111085}; static const Int_t bad_run_list_62GeV[105] = {11080072,11081023,11081025,11082012,11082013,11082046,11082056,11082057,11084009,11084011,11084012,11084013,11084020,11084021,11084035,11084044,11084064,11085015,11085025,11085030,11085046,11085055,11085056,11085057,11086005,11086007,11087001,11087002,11087003,11087004,11088013,11089026,11089028,11089029,11089055,11089068,11089072,11091007,11091015,11091021,11091078,11092010,11092011,11092012,11092032,11092033,11092034,11092067,11092096,11093001,11094016,11094017,11094018,11094019,11094020,11094021,11094022,11094023,11094024,11094027,11094028,11094042,11094044,11094045,11094046,11094047,11094048,11094050,11094051,11094052,11094053,11094054,11094055,11094074,11094075,11094077,11095001,11095002,11095003,11095004,11095005,11095006,11095009,11095010,11095011,11095012,11095013,11095014,11095015,11095022,11095040,11095048,11095050,11095051,11095061,11095062,11095063,11095064,11095082,11095087,11096024,11096039,11096043,11096044,11097093}; static const Int_t bad_run_list_200GeV[179] = {12126101,12127003,12127017,12127018,12127032,12128025,12132043,12133018,12134023,12136005,12136006,12136014,12136017,12136022,12136023,12136024,12136025,12136027,12136028,12136029,12136030,12136031,12136034,12136054,12138017,12138021,12138081,12138082,12139006,12139007,12139015,12139016,12139028,12139059,12139075,12139076,12139077,12139078,12139079,12139080,12140010,12140011,12140012,12140013,12140014,12140015,12140016,12140018,12140019,12140020,12140021,12140025,12140026,12140027,12140028,12140029,12140042,12140051,12140052,12140053,12140054,12140055,12140056,12140064,12140066,12140067,12141001,12141002,12141003,12141004,12141005,12141006,12141009,12141014,12141015,12141016,12141017,12141018,12141019,12141026,12141027,12141028,12141029,12141030,12141032,12141033,12141034,12141035,12141036,12141041,12141042,12141043,12141044,12141045,12141046,12141048,12141050,12141051,12141052,12141056,12141059,12141060,12141061,12141062,12141063,12141064,12141065,12141066,12141067,12141071,12141072,12142001,12142002,12142003,12142006,12142013,12142014,12142015,12142016,12142017,12142018,12142019,12142020,12142021,12142022,12142023,12142026,12142027,12142032,12142033,12142034,12142046,12142047,12142048,12142049,12142050,12142051,12142061,12142062,12142063,12142076,12142077,12143016,12143018,12143054,12143075,12144001,12144002,12144013,12144014,12144027,12144028,12157038,12157051,12158040,12158041,12158054,12158056,12158057,12162055,12162056,12162057,12162058,12164037,12164078,12164079,12166002,12166003,12167015,12167024,12167052,12168002,12168009,12168022,12168077,12170044,12170045,12170054,12170056}; static const Int_t bad_run_list_15GeV[1] = {1}; //------------------------------------------------------------------------------------------------------------------------------------ #include "StJetAnalysis_Func.h" //------------------------------------------------------------------------------------------------------------------ ClassImp(StJetAnalysis) StJetAnalysis::StJetAnalysis() { } //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ StJetAnalysis::~StJetAnalysis() { } //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ Int_t StJetAnalysis::Get_runID_range_Index(Int_t runID) { for(Int_t i_range = 0; i_range < 6; i_range++) { if(runID > Array_runID_eff_track_rec[i_range] && runID <= Array_runID_eff_track_rec[i_range+1]) { return i_range; } } return -1; } //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ Double_t* StJetAnalysis::Parameter_eff_track_rec_function(Int_t Centrality, Int_t runID, Int_t PID, Int_t All) { Int_t runID_range = -1; Double_t *Parameter = new Double_t[4]; for(int i = 0; i < 4; i++) { Parameter[i] = 0; } runID_range = Get_runID_range_Index(runID); if(runID_range < 0) { cout << "WARNING: runID is out of range" << endl; return 0; } if( PID < 0 || PID > 5) { cout << "PID is out of range" << endl; return 0; } runID_range += 1; // index 0 is for all runIDs together if(All == 1){runID_range = 0;} Parameter[0] = Global_ABC_Parameters_A[Centrality][runID_range][PID]; Parameter[1] = Global_ABC_Parameters_B[Centrality][runID_range][PID]; Parameter[2] = Global_ABC_Parameters_C[Centrality][runID_range][PID]; Parameter[3] = runID_range; return Parameter; } //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ void StJetAnalysis::Read_ABC_params_eff_track_rec_function() //read ABC Parameter from a root file { Int_t Switch_Array[6]={2,3,4,5,0,1}; //change PID in turn cout << "Read track reconstruction efficiency parameter file: " << eEff_file.Data() << endl; TFile *Eff_file=new TFile(eEff_file.Data()); TH3D* hA =(TH3D*)Eff_file->Get("hA"); TH3D* hB =(TH3D*)Eff_file->Get("hB"); TH3D* hC =(TH3D*)Eff_file->Get("hC"); TH2D* hsA =(TH2D*)Eff_file->Get("hsA"); TH2D* hsB =(TH2D*)Eff_file->Get("hsB"); TH2D* hsC =(TH2D*)Eff_file->Get("hsC"); for(Int_t i = 0; i < 6; i++) // PID { for(Int_t j = 0; j < 9; j++) // Centrality { for(Int_t k = 0; k < 7; k++) // runID { Global_ABC_Parameters_A[j][k][Switch_Array[i]] = hA->GetBinContent(hA->FindBin(i,j,k)); Global_ABC_Parameters_B[j][k][Switch_Array[i]] = hB->GetBinContent(hB->FindBin(i,j,k)); Global_ABC_Parameters_C[j][k][Switch_Array[i]] = hC->GetBinContent(hC->FindBin(i,j,k)); } } } } //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ Int_t StJetAnalysis::Init() { cout << "Init started" << endl; r3.SetSeed(0); refmultCorrUtil = CentralityMaker::instance()->getRefMultCorr(); jet_R = eJet_R; jet_R_background = eBkg_R; Remove_N_hardest = eRem_n_hardest; max_pt_downscale_threshold = emax_pt_down_scale; for(Int_t i = 0; i < 11; i++) { counter_PYTHIA[i] = 0; } for(Int_t i_charge = 0; i_charge < 2; i_charge++) { HistName = "p_pt_Ach_"; HistName += i_charge; p_pt_Ach[i_charge] = new TProfile(HistName.Data(),HistName.Data(),15,-0.25,0.25); } h_Ach = new TH1F("h_Ach","h_Ach",60,-0.3,0.3); //------------------------------------------------------------ cout << "Initialize track reconstruction efficiency functions" << endl; TString FuncName; for(Int_t loop_Centr = 0; loop_Centr < 9; loop_Centr++) // Centrality { for(Int_t loop_runID = 0; loop_runID < 7; loop_runID++) // runID { for(Int_t loop_PID = 0; loop_PID < 6; loop_PID++) // PID { Int_t loop_runID_use = loop_runID - 1; // runIDs start from loop_runID = 1, for loop_runID = 0 all runIDs are used Int_t use_all_runIDs = 0; if(loop_runID == 0) // for first index use all runIDs { loop_runID_use = 0; use_all_runIDs = 1; } Double_t* Parameter = Parameter_eff_track_rec_function(loop_Centr,Array_runID_eff_track_rec[loop_runID_use+1],loop_PID,use_all_runIDs); FuncName = "f_EfficiencyVsPt_runID_Centr_"; FuncName += loop_Centr; FuncName += "_runID_"; FuncName += loop_runID; FuncName += "_PID_"; FuncName += Array_PID_eff_track_rec[loop_PID]; f_EfficiencyVsPt[loop_Centr][loop_runID][loop_PID] = new TF1(FuncName.Data(),Eff_track_rec_function,0,50.0,3); f_EfficiencyVsPt[loop_Centr][loop_runID][loop_PID]->SetParameter(0,Parameter[0]); f_EfficiencyVsPt[loop_Centr][loop_runID][loop_PID]->SetParameter(1,Parameter[1]); f_EfficiencyVsPt[loop_Centr][loop_runID][loop_PID]->SetParameter(2,Parameter[2]); delete[] Parameter; } } } //------------------------------------------------------------ //------------------------------------------------------------ cout << "Open re-centering correction histograms" << endl; // Open the mean Qx, Qy histograms for re-centering correction start_z = -z_acceptance[eBeamTimeNum]; delta_z = 2.0*z_acceptance[eBeamTimeNum]/((Float_t)n_z_vertex_bins); gBeamTimeNum = eBeamTimeNum; re_centering = TFile::Open(re_centering_name.Data()); // open the file cout << "Opened re centering file = " << re_centering_name.Data() << endl; for(Int_t n_qxy = 0; n_qxy < 6; n_qxy++) { for(Int_t n_z = 0; n_z < n_z_vertex_bins; n_z++) { for(Int_t n_par = 0; n_par < n_params; n_par++) { HistName = "h_rc_QxQy_etapm_z_vs_index_"; HistName += n_qxy; HistName += "_"; HistName += n_z; HistName += "_"; HistName += n_par; h_rc_QxQy_etapm_z_vs_index_[n_qxy][n_z][n_par] = (TH1D*)re_centering->FindObjectAny(HistName.Data()); } } } h_runId_index_rc = (TH1D*)re_centering->FindObjectAny("h_runId_index"); h_runId_index_rc->SetName("h_runId_index_rc"); Double_t h_min_rc = h_runId_index_rc->GetMinimum(); Double_t h_max_rc = h_runId_index_rc->GetMaximum(); Int_t h_Nbins_rc = h_runId_index_rc->GetNbinsX(); Int_t h_Nbins_rc_inv = (Int_t)(h_max_rc-h_min_rc)+1; cout << "h_Nbins_rc = " << h_Nbins_rc << ", h_min_rc = " << h_min_rc << ", h_max_rc = " << h_max_rc << endl; h_runId_index_rc_inv = new TH1D("h_runId_index_rc_inv","h_runId_index_rc_inv",h_Nbins_rc_inv,h_min_rc,h_max_rc+1.0); cout << "h_Nbins_rc_inv = " << h_runId_index_rc_inv->GetNbinsX() << endl; for(Int_t i_rc = 1; i_rc < h_Nbins_rc+1; i_rc++) { h_runId_index_rc_inv->SetBinContent(h_runId_index_rc_inv->FindBin(h_runId_index_rc->GetBinContent(i_rc)),(Float_t)i_rc); } h_runId_index_rc_clone = (TH1D*)h_runId_index_rc->Clone("h_runId_index_rc_clone"); h_runId_index_rc_clone->Reset(); for(Int_t i_rc = 1; i_rc < h_runId_index_rc_inv->GetNbinsX()+1; i_rc++) { h_runId_index_rc_clone->SetBinContent(h_runId_index_rc_clone->FindBin(h_runId_index_rc_inv->GetBinContent(i_rc)),h_runId_index_rc_inv->GetBinCenter(i_rc)); } h_runId_index_rc_clone->Add(h_runId_index_rc,-1); // End recentering files //------------------------------------------------------------ if(eMode == 311 || eMode == 312) N_orig_smear = 2; // PYTHIA if(eCentrality == 1) // 60-80% { mult_start_stop_delta[0][0] = 5.0; // 5.0 mult_start_stop_delta[0][1] = 120.0; // 135.0 mult_start_stop_delta[0][2] = 1.0; mult_start_stop_delta[1][0] = 5.0; mult_start_stop_delta[1][1] = 120.0; mult_start_stop_delta[1][2] = 1.0; mult_start_stop_delta[2][0] = 5.0; mult_start_stop_delta[2][1] = 120.0; mult_start_stop_delta[2][2] = 1.0; mult_start_stop_delta[3][0] = 5.0; mult_start_stop_delta[3][1] = 120.0; mult_start_stop_delta[3][2] = 1.0; mult_start_stop_delta[4][0] = 5.0; // 5.0 mult_start_stop_delta[4][1] = 120.0; // 135.0 mult_start_stop_delta[4][2] = 1.0; mult_start_stop_delta[5][0] = 5.0; mult_start_stop_delta[5][1] = 120.0; mult_start_stop_delta[5][2] = 1.0; mult_start_stop_delta[6][0] = 5.0; mult_start_stop_delta[6][1] = 120.0; mult_start_stop_delta[6][2] = 1.0; mult_start_stop_delta[7][0] = 5.0; mult_start_stop_delta[7][1] = 120.0; mult_start_stop_delta[7][2] = 1.0; } cout << "Open track efficiency file" << endl; f_track_efficiencies = TFile::Open("/project/projectdirs/star/aschmah/Jet/Data/Efficiencies/eff_pp.root"); // open the file func_effLow = (TF1*)f_track_efficiencies->Get("effhL"); func_effHigh = (TF1*)f_track_efficiencies->Get("effhH"); //---------------------------------------------------------------------------------------- cout << "Define functions" << endl; LevyFit_pT = new TF1("LevyFit_pT",LevyFitFunc_pT,0.0,6.0,4); //---------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------- if(eMode == 0 || eMode == 1 || eMode == 311 || eMode == 312) { // Same event input for(Int_t i_SE_ME = 0; i_SE_ME < 1; i_SE_ME++) { TString SE_ME_List = SEList; //if(i_SE_ME == 1) SE_ME_List = MEList; if (!SE_ME_List.IsNull()) // if input file is ok { cout << "Open file list " << SE_ME_List << endl; ifstream in(SE_ME_List); // input stream if(in) { cout << "file list is ok" << endl; if(eMode == 0 || eMode == 1 || eMode == 311) { input_SE_ME[i_SE_ME] = new TChain( ALEX_EVENT_TREE, ALEX_EVENT_TREE ); char str[255]; // char array for each file name Long64_t entries_save = 0; while(in) { in.getline(str,255); // take the lines of the file list if(str[0] != 0) { TString addfile; if(eMode == 0 || eMode == 1) addfile = "jet_trees_V2/"; addfile += str; if(eMode == 311) addfile = pinputdirPYTHIA+addfile; if(eMode == 312) addfile = pinputdir+addfile; Long64_t file_entries; input_SE_ME[i_SE_ME] ->AddFile(addfile.Data(),-1, ALEX_EVENT_TREE ); file_entries = input_SE_ME[i_SE_ME]->GetEntries(); cout << "File added to data chain: " << addfile.Data() << " with " << (file_entries-entries_save) << " entries" << endl; entries_save = file_entries; } } } if(eMode == 312) { char str[255]; // char array for each file name Int_t PYTHIA_file = 0; while(in) { input_PYTHIA[PYTHIA_file] = new TChain( ALEX_EVENT_TREE, ALEX_EVENT_TREE ); in.getline(str,255); // take the lines of the file list if(str[0] != 0) { TString addfile; TString inputdir_full = pinputdirPYTHIA; inputdir_full += "Pythia/Trees_9GeV/"; addfile += str; addfile = inputdir_full+addfile; Long64_t file_entries; input_PYTHIA[PYTHIA_file] ->AddFile(addfile.Data(),-1, ALEX_EVENT_TREE ); file_entries = input_PYTHIA[PYTHIA_file]->GetEntries(); N_PYTHIA_events[PYTHIA_file] = file_entries; cout << "File added to data chain: " << addfile.Data() << " with " << file_entries << " entries" << endl; } PYTHIA_file++; } } } else { cout << "WARNING: file input is problemtic" << endl; } if(eMode == 0 || eMode == 1 || eMode == 311) { JetTrackEvent = new StJetTrackEvent(); input_SE_ME[i_SE_ME] ->SetBranchAddress( ALEX_EVENT_BRANCH, &JetTrackEvent ); } if(eMode == 312) { for(Int_t PYTHIA_file = 0; PYTHIA_file < 11; PYTHIA_file++) { cout << "Set branch address for PYTHIA hard bin file: " << PYTHIA_file << endl; JetTrackEvent_PYTHIA[PYTHIA_file] = new StJetTrackEvent(); input_PYTHIA[PYTHIA_file] ->SetBranchAddress( ALEX_EVENT_BRANCH, &JetTrackEvent_PYTHIA[PYTHIA_file] ); } } } if(eMode == 0 || eMode == 1 || eMode == 311) { file_entries_SE_ME[i_SE_ME] = input_SE_ME[i_SE_ME]->GetEntries(); cout << "Number of entries in chain: " << file_entries_SE_ME[i_SE_ME] << endl; } } } //---------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------- if(eMode == 2 || eMode == 3 || eMode == 4 || eMode == 11 || eMode == 31 || eMode == 32 || eMode == 42 || eMode == 312 ) { N_max_events = mult_start_stop_delta[eBeamTimeNum][1]*1.1; JetTrackEvent_ME.resize(N_max_events); for(Int_t mix_loop = 0; mix_loop < N_max_events; mix_loop++) { JetTrackEvent_ME[mix_loop] = new StJetTrackEvent(); } //Int_t size = JetTrackEvent_ME.size(); //cout << "size = " << size << endl; //JetTrackEvent_ME.clear(); //cout << "cleared" << endl; input_SE_ME[0] = new TChain( ALEX_EVENT_TREE, ALEX_EVENT_TREE ); Long64_t entries_save = 0; TString addfile; //addfile = "histo_out/mode_"; addfile = "/histo_out_V2/mode_"; if(eIn_Mode != 24) { addfile += eIn_Mode; } else { addfile += 2; } addfile += "/F_mixed_event_z_"; addfile += ez_bin; addfile += "_mult_"; addfile += emult_bin; addfile += "_Psi_"; addfile += ePsi_bin; addfile += "_mode_"; if(eIn_Mode != 24) { addfile += eIn_Mode; } if(eIn_Mode == 2) { addfile += "_In_mode_1"; } if(eIn_Mode == 24) { addfile += "2_In_mode_4"; } if(eCentrality == 0) addfile += "_0_10"; if(eCentrality == 1) addfile += "_60_80"; addfile += "_V2.root"; addfile = pinputdir+addfile; Long64_t file_entries; input_SE_ME[0] ->AddFile(addfile.Data(),-1, ALEX_EVENT_TREE ); file_entries = input_SE_ME[0]->GetEntries(); cout << "File added to data chain: " << addfile.Data() << " with " << (file_entries-entries_save) << " entries" << endl; entries_save = file_entries; JetTrackEvent = new StJetTrackEvent(); input_SE_ME[0] ->SetBranchAddress( ALEX_EVENT_BRANCH, &JetTrackEvent ); file_entries_SE_ME[0] = input_SE_ME[0]->GetEntries(); cout << "Number of entries in chain: " << file_entries_SE_ME[0] << endl; if(eMode != 11) { cout << "Load sample histogram file: " << eSampleHist.Data() << endl; Inputfile = TFile::Open(eSampleHist.Data()); // open the file for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { for(Int_t i_mult = 0; i_mult < N_mult_bins; i_mult++) { HistName = "h_tracks_vs_z_vertex_array_z_"; HistName += i_z; HistName += "_m_"; HistName += i_mult; h_tracks_vs_z_vertex_array[i_z][i_mult] = (TH2D*)Inputfile->Get(HistName.Data()); } } for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { for(Int_t i_Psi = 0; i_Psi < N_Psi_bins; i_Psi++) { HistName = "h_Psi_vs_z_vertex_array_z_"; HistName += i_z; HistName += "_m_"; HistName += i_Psi; h_Psi_vs_z_vertex_array[i_z][i_Psi] = (TH2D*)Inputfile->Get(HistName.Data()); } } for(Int_t i_pT = 0; i_pT < N_track_pt_bins_eta_phi; i_pT++) { HistName = "h2D_track_eta_vs_phi_"; HistName += ez_bin; HistName += "_m_"; HistName += emult_bin; HistName += "_P_"; HistName += ePsi_bin; HistName += "_pT_"; HistName += i_pT; h2D_track_eta_vs_phi[ez_bin][emult_bin][ePsi_bin][i_pT] = (TH2D*)Inputfile->Get(HistName.Data()); } } cout << "Load SE Et histogram file: " << eSE_Et_Hist.Data() << endl; Inputfile_Et[0] = TFile::Open(eSE_Et_Hist.Data()); // open the file cout << "Load ME Et histogram file: " << eME_Et_Hist.Data() << endl; Inputfile_Et[1] = TFile::Open(eME_Et_Hist.Data()); // open the file //h_tracks_vs_z_vertex_sample = (TH2D*)Inputfile->Get("h_tracks_vs_z_vertex"); //h_tracks_vs_z_vertex_sample ->SetName("h_tracks_vs_z_vertex_sample"); //h_Psi2_sample = (TH1D*)Inputfile->Get("h_Psi2"); //h_Psi2_sample ->SetName("h_Psi2_sample"); cout << "Histograms loaded" << endl; } //---------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------- p_jet_area_values = new TProfile("p_jet_area_values","p_jet_area_values",100,0,100); for(Int_t i_val = 0; i_val < N_jet_areas; i_val++) { p_jet_area_values->Fill(i_val,(Double_t)array_areas[i_val]); } p_parameters = new TProfile("p_parameters","p_parameters",100,0,100); p_parameters ->Fill(0.0,(Double_t)N_Beamtime); p_parameters ->Fill(1.0,(Double_t)N_jet_areas); p_parameters ->Fill(2.0,(Double_t)N_z_vertex_bins); p_parameters ->Fill(3.0,(Double_t)N_mult_bins); p_parameters ->Fill(4.0,(Double_t)N_Psi_bins); p_parameters ->Fill(5.0,(Double_t)N_Et_bins); p_parameters ->Fill(6.0,(Double_t)N_leading_pt_bins); p_parameters ->Fill(7.0,(Double_t)leading_pt_split_cut); p_parameters ->Fill(8.0,(Double_t)leading_pt_split_val); p_parameters ->Fill(9.0,(Double_t)max_pt_threshold); p_parameters ->Fill(10.0,(Double_t)jet_delta_eta_cut); p_parameters ->Fill(11.0,(Double_t)jet_delta_phi_cut); p_parameters ->Fill(12.0,(Double_t)track_pT_assoc_threshold); p_parameters ->Fill(13.0,(Double_t)jet_R); p_parameters ->Fill(14.0,(Double_t)array_areas[0]); p_parameters ->Fill(15.0,(Double_t)array_areas[1]); p_parameters ->Fill(16.0,(Double_t)array_areas[2]); p_parameters ->Fill(17.0,(Double_t)array_areas[3]); p_parameters ->Fill(18.0,(Double_t)array_areas[4]); p_parameters ->Fill(19.0,(Double_t)Remove_N_hardest); p_parameters ->Fill(20.0,(Double_t)ePYTHIA_eff_factor); p_parameters ->Fill(21.0,(Double_t)downscale_factor); p_parameters ->Fill(22.0,(Double_t)N_Delta_pt_bins); p_parameters ->Fill(23.0,(Double_t)array_pt_bins_Delta_pt[0]); p_parameters ->Fill(24.0,(Double_t)array_pt_bins_Delta_pt[1]); p_parameters ->Fill(25.0,(Double_t)array_pt_bins_Delta_pt[2]); p_parameters ->Fill(26.0,(Double_t)array_pt_bins_Delta_pt[3]); p_parameters ->Fill(27.0,(Double_t)array_pt_bins_Delta_pt[4]); p_parameters ->Fill(28.0,(Double_t)jet_R_background); p_parameters ->Fill(29.0,(Double_t)track_eff_scaling_factor); p_parameters ->Fill(30.0,(Double_t)max_pt_downscale_threshold); p_parameters ->Fill(31.0,(Double_t)max_pt_val_embed); cout << "Parameters set" << endl; for(Int_t ipt_lead = 0; ipt_lead < (N_leading_pt_bins+1); ipt_lead++) { HistName = "h_area_vs_recoil_jet_pt_"; HistName += ipt_lead; h_area_vs_recoil_jet_pt[ipt_lead] = new TH2D(HistName.Data(),HistName.Data(),400,-20,80,400,0,2); h_area_vs_recoil_jet_pt[ipt_lead]->Sumw2(); HistName = "h_rho_"; HistName += ipt_lead; h_rho[ipt_lead] = new TH1D(HistName.Data(),HistName.Data(),400,0.0,60); h_rho[ipt_lead]->Sumw2(); } h_area_vs_jet_pt = new TH2D("h_area_vs_jet_pt","h_area_vs_jet_pt",400,-20,80,400,0,2); h_area_vs_jet_pt->Sumw2(); h_area = new TH1D("h_area","h_area",400,0,2); h_area->Sumw2(); h_track_pT = new TH1D("h_track_pT","h_track_pT",500,0,200); h_track_pT->Sumw2(); h_track_pT_cut = new TH1D("h_track_pT_cut","h_track_pT_cut",500,0,200); h_track_pT_cut->Sumw2(); h_tracks_above_threshold_per_event = new TH1D("h_tracks_above_threshold_per_event","h_tracks_above_threshold_per_event",20,0,20); h_tracks_above_threshold_per_event->Sumw2(); for(Int_t i_hist = 0; i_hist < N2D_tracks_above_threshold; i_hist++) { HistName = "h2D_tracks_above_threshold_"; HistName += i_hist; h2D_tracks_above_threshold[i_hist] = new TH2D(HistName.Data(),HistName.Data(),20,0,20,20,0,20); h2D_tracks_above_threshold[i_hist]->Sumw2(); } if(eMode == 0 || eMode == 3 || eMode == 31 || eMode == 32 || eMode == 311 || eMode == 312 || eMode == 42) { if(eMode == 3 || eMode == 31 || eMode == 32 || eMode == 312 || eMode == 42) { outputfile_name = eOutdir; outputfile_name += "F_mixed_event_z_"; outputfile_name += ez_bin; outputfile_name += "_mult_"; outputfile_name += emult_bin; outputfile_name += "_Psi_"; outputfile_name += ePsi_bin; outputfile_name += "_mode_"; outputfile_name += eMode; outputfile_name += "_In_mode_"; outputfile_name += eIn_Mode; if(eCentrality == 0) outputfile_name += "_0_10"; if(eCentrality == 1) outputfile_name += "_60_80"; outputfile_name += ".root"; } cout << "Output file: " << outputfile_name.Data() << endl; Outputfile = new TFile(outputfile_name.Data(),"RECREATE"); NT_ReCoil_Jet = new TNtuple("NT_ReCoil_Jet","NT_ReCoil_Jet Ntuple","EventId:JetId:rho:area:Jetphi:Jeteta:Jetpt:TrackId:eta:phi:pt:x:y:z"); NT_ReCoil_Jet ->SetAutoSave( 5000000 ); //c_3D = new TCanvas("c_3D","c_3D",10,10,800,800); //h_3D_dummy = new TH3D("h_3D_dummy","h_3D_dummy",200,-300,300,200,-300,300,200,-1000,1000); //Draw_STAR_3D(); } if(eMode == 11) { outputfile_name = eOutdir; outputfile_name += "Jet_sample_histos_out_z_"; //outputfile_name += eSuffix.Data(); outputfile_name += ez_bin; outputfile_name += "_mult_"; outputfile_name += emult_bin; outputfile_name += "_Psi_"; outputfile_name += ePsi_bin; outputfile_name += "_mode_"; outputfile_name += eMode; outputfile_name += "_In_mode_"; outputfile_name += eIn_Mode; if(eCentrality == 0) outputfile_name += "_0_10"; if(eCentrality == 1) outputfile_name += "_60_80"; outputfile_name += ".root"; Outputfile = new TFile(outputfile_name.Data(),"RECREATE"); } if(eMode == 1 || eMode == 2 || eMode == 4) // create sub category trees { cout << "Create sub category output files" << endl; Int_t start_z = 0; Int_t start_mult = 0; Int_t start_Psi = 0; //Int_t start_Psi = ePsi_bin; Int_t stop_z = N_z_vertex_bins; Int_t stop_mult = N_mult_bins; Int_t stop_Psi = N_Psi_bins; //Int_t stop_Psi = ePsi_bin+1; if(eMode == 2 || eMode == 1 || eMode == 4 ) { start_z = ez_bin; start_mult = emult_bin; start_Psi = ePsi_bin; stop_z = ez_bin+1; stop_mult = emult_bin+1; stop_Psi = ePsi_bin+1; } for(Int_t i_z = start_z; i_z < stop_z; i_z++) { for(Int_t i_mult = start_mult; i_mult < stop_mult; i_mult++) { for(Int_t i_Psi = start_Psi; i_Psi < stop_Psi; i_Psi++) { TString mixed_event_outfile_name = eOutdir; mixed_event_outfile_name += "F_mixed_event_z_"; mixed_event_outfile_name += i_z; mixed_event_outfile_name += "_mult_"; mixed_event_outfile_name += i_mult; mixed_event_outfile_name += "_Psi_"; mixed_event_outfile_name += i_Psi; mixed_event_outfile_name += "_mode_"; mixed_event_outfile_name += eMode; if(eMode == 2) { mixed_event_outfile_name += "_In_mode_"; mixed_event_outfile_name += eIn_Mode; } mixed_event_outfile_name += eSuffix.Data(); if(eCentrality == 0) mixed_event_outfile_name += "_0_10"; if(eCentrality == 1) mixed_event_outfile_name += "_60_80"; mixed_event_outfile_name += ".root"; F_mixed_event[i_z][i_mult][i_Psi] = new TFile(mixed_event_outfile_name.Data(),"RECREATE"); cout << "Sub category output file" << mixed_event_outfile_name.Data() << " created" << endl; Tree_JetTrackEvent_Fill[i_z][i_mult][i_Psi] = NULL; JetTrackEvent_ptr_Fill[i_z][i_mult][i_Psi] = &JetTrackEvent_Fill[i_z][i_mult][i_Psi]; Tree_JetTrackEvent_Fill[i_z][i_mult][i_Psi] = new TTree(JETTRACK_EVENT_TREE , JETTRACK_EVENT_TREE); Tree_JetTrackEvent_Fill[i_z][i_mult][i_Psi]->Branch(JETTRACK_EVENT_BRANCH , "StJetTrackEvent", &JetTrackEvent_ptr_Fill[i_z][i_mult][i_Psi]); Long64_t maxtreesize = 2000000000; Tree_JetTrackEvent_Fill[i_z][i_mult][i_Psi]->SetMaxTreeSize(5*Long64_t(maxtreesize)); Tree_JetTrackEvent_Fill[i_z][i_mult][i_Psi]->SetAutoSave( 10000000 ); //Tree_JetTrackEvent_Fill[i_z][i_mult][i_Psi]->SetBasketSize("*",128000); Tree_JetTrackEvent_Fill[i_z][i_mult][i_Psi]->SetBasketSize("*",128000*10); HistName = "h_Momentum_z_"; HistName += i_z; HistName += "_mult_"; HistName += i_mult; HistName += "_Psi_"; HistName += i_Psi; h_Momentum[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),500,-50,50); HistName = "h_tracks_vs_z_vertex_z_"; HistName += i_z; HistName += "_mult_"; HistName += i_mult; HistName += "_Psi_"; HistName += i_Psi; h_tracks_vs_z_vertex[i_z][i_mult][i_Psi] = new TH2D(HistName.Data(),HistName.Data(),100,-50,50,1300,0,1300); HistName = "h_Psi2_z_"; HistName += i_z; HistName += "_mult_"; HistName += i_mult; HistName += "_Psi_"; HistName += i_Psi; h_Psi2[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),100,-TMath::Pi(),TMath::Pi()); HistName = "h_Et_z_"; HistName += i_z; HistName += "_mult_"; HistName += i_mult; HistName += "_Psi_"; HistName += i_Psi; h_Et[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),1000,0,1000); HistName = "h_Phi_vs_eta_z_"; HistName += i_z; HistName += "_mult_"; HistName += i_mult; HistName += "_Psi_"; HistName += i_Psi; h_Phi_vs_eta[i_z][i_mult][i_Psi] = new TH2D(HistName.Data(),HistName.Data(),200,-1.5,1.5,200,-1.0*TMath::Pi(),1.0*TMath::Pi()); } } } h_PsiA_vs_PsiB = new TH2D("h_PsiA_vs_PsiB","h_PsiA_vs_PsiB",100,-TMath::Pi(),TMath::Pi(),100,-TMath::Pi(),TMath::Pi()); h_PsiA = new TH1D("h_PsiA","h_PsiA",100,-TMath::Pi(),TMath::Pi()); h_PsiB = new TH1D("h_PsiB","h_PsiB",100,-TMath::Pi(),TMath::Pi()); h_Psi_Full = new TH1D("h_Psi_Full","h_Psi_Full",100,-TMath::Pi(),TMath::Pi()); } cout << "QA histograms created" << endl; //---------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------- if(eMode == 11) { for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { for(Int_t i_mult = 0; i_mult < N_mult_bins; i_mult++) { HistName = "h_tracks_vs_z_vertex_array_z_"; HistName += i_z; HistName += "_m_"; HistName += i_mult; h_tracks_vs_z_vertex_array[i_z][i_mult] = new TH2D(HistName.Data(),HistName.Data(),100,-50,50,1300,0,1300); for(Int_t i_Psi = 0; i_Psi < N_Psi_bins; i_Psi++) { for(Int_t i_pT = 0; i_pT < N_track_pt_bins_eta_phi; i_pT++) { HistName = "h2D_track_eta_vs_phi_"; HistName += i_z; HistName += "_m_"; HistName += i_mult; HistName += "_P_"; HistName += i_Psi; HistName += "_pT_"; HistName += i_pT; h2D_track_eta_vs_phi[i_z][i_mult][i_Psi][i_pT] = new TH2D(HistName.Data(),HistName.Data(),80,-TMath::Pi(),TMath::Pi(),80,-1,1); } } } } for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { for(Int_t i_Psi = 0; i_Psi < N_Psi_bins; i_Psi++) { HistName = "h_Psi_vs_z_vertex_array_z_"; HistName += i_z; HistName += "_m_"; HistName += i_Psi; h_Psi_vs_z_vertex_array[i_z][i_Psi] = new TH2D(HistName.Data(),HistName.Data(),100,-50,50,100,-TMath::Pi()/2.0,TMath::Pi()/2.0); } } } cout << "Additional histograms created" << endl; //---------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------- if( (eMode == 3 || eMode == 31 || eMode == 32 || eMode == 312 || eMode == 42) && eRandom != -1) { for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { for(Int_t i_mult = 0; i_mult < N_mult_bins; i_mult++) { for(Int_t i_Psi = 0; i_Psi < N_Psi_bins; i_Psi++) { Float_t Int_SE_ME[2]; for(Int_t iSE_ME = 0; iSE_ME < 2; iSE_ME++) { /* HistName = "QA_hist_arrays/h_jet_Et_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; h_jet_Et_array_In[i_z][i_mult][i_Psi][iSE_ME] = (TH1D*)Inputfile_Et[iSE_ME]->Get(HistName.Data()); HistName += "_iSE_ME"; HistName += iSE_ME; h_jet_Et_array_In[i_z][i_mult][i_Psi][iSE_ME]->SetName(HistName.Data()); h_jet_Et_array_In[i_z][i_mult][i_Psi][iSE_ME]->Rebin(4); //h_jet_Et_array_In[i_z][i_mult][i_Psi][iSE_ME]->Sumw2(); Float_t start_int_area = 0.0; Float_t stop_int_area = 1000.0; Int_SE_ME[iSE_ME] = h_jet_Et_array_In[i_z][i_mult][i_Psi][iSE_ME]->Integral(h_jet_Et_array_In[i_z][i_mult][i_Psi][iSE_ME]->FindBin(start_int_area),h_jet_Et_array_In[i_z][i_mult][i_Psi][iSE_ME]->FindBin(stop_int_area)); HistName = "QA_hist_arrays/h_tracks_per_event_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; h_tracks_per_event_array_In[i_z][i_mult][i_Psi][iSE_ME] = (TH1D*)Inputfile_Et[iSE_ME]->Get(HistName.Data()); HistName += "_iSE_ME"; HistName += iSE_ME; h_tracks_per_event_array_In[i_z][i_mult][i_Psi][iSE_ME]->SetName(HistName.Data()); Integrated_events_SE_ME[iSE_ME] += h_tracks_per_event_array_In[i_z][i_mult][i_Psi][iSE_ME]->Integral(1,h_tracks_per_event_array_In[i_z][i_mult][i_Psi][iSE_ME]->GetNbinsX()); */ HistName = "QA_hist_arrays/h2D_jet_rho_vs_mult_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; //cout << "Old name" << HistName.Data() << endl; h2D_jet_rho_vs_mult_array_In[i_z][i_mult][i_Psi][iSE_ME] = (TH2D*)Inputfile_Et[iSE_ME]->Get(HistName.Data()); if(!h2D_jet_rho_vs_mult_array_In[i_z][i_mult][i_Psi][iSE_ME]) { cout << "WARNING: " << HistName.Data() << " does not exist!" << endl; if(eCentrality != 1) { h2D_jet_rho_vs_mult_array_In[i_z][i_mult][i_Psi][iSE_ME] = new TH2D(HistName.Data(),HistName.Data(),100,720,1020,150,15,45); } else { h2D_jet_rho_vs_mult_array_In[i_z][i_mult][i_Psi][iSE_ME] = new TH2D(HistName.Data(),HistName.Data(),60,0,180,150,0,30); } } HistName += "_iSE_ME"; HistName += iSE_ME; //cout << "New name" << HistName.Data() << endl; h2D_jet_rho_vs_mult_array_In[i_z][i_mult][i_Psi][iSE_ME]->SetName(HistName.Data()); Integrated_events_SE_ME[iSE_ME] += h2D_jet_rho_vs_mult_array_In[i_z][i_mult][i_Psi][iSE_ME]->Integral(1,h2D_jet_rho_vs_mult_array_In[i_z][i_mult][i_Psi][iSE_ME]->GetNbinsX(),1,h2D_jet_rho_vs_mult_array_In[i_z][i_mult][i_Psi][iSE_ME]->GetNbinsY()); } if(Int_SE_ME[0] > 0.0 && Int_SE_ME[1] > 0.0) { // Normalization? I removed it to take into account the different number of entries in SE and ME for different bins //h_jet_Et_array_In[i_z][i_mult][i_Psi][1]->Scale(Int_SE_ME[0]/Int_SE_ME[1]); } } } } cout << "All normalization histograms loaded" << endl; SE_ME_integral_scale_factor = 1.0; if(Integrated_events_SE_ME[0] > 0 && Integrated_events_SE_ME[1] > 0) { SE_ME_integral_scale_factor = Integrated_events_SE_ME[0]/Integrated_events_SE_ME[1]; } cout << "Integrated_events_SE_ME[0] = " << Integrated_events_SE_ME[0] << ", Integrated_events_SE_ME[1] = " << Integrated_events_SE_ME[1] << ", SE_ME_integral_scale_factor = " << SE_ME_integral_scale_factor << endl; // Apply global normalization factor to ME histograms -> same integrated number of counts for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { for(Int_t i_mult = 0; i_mult < N_mult_bins; i_mult++) { for(Int_t i_Psi = 0; i_Psi < N_Psi_bins; i_Psi++) { //h_tracks_per_event_array_In[i_z][i_mult][i_Psi][1]->Scale(SE_ME_integral_scale_factor); h2D_jet_rho_vs_mult_array_In[i_z][i_mult][i_Psi][1]->Scale(SE_ME_integral_scale_factor); } } } } //---------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------- h_ratio_sub_lead_to_lead_pt_vs_lead_pt = new TH2D("h_ratio_sub_lead_to_lead_pt_vs_lead_pt","h_ratio_sub_lead_to_lead_pt_vs_lead_pt",300,0,50,300,0,2); h_sub_lead_vs_lead_pt = new TH2D("h_sub_lead_vs_lead_pt","h_sub_lead_vs_lead_pt",300,0,50,300,0,50); for(Int_t i_area_acc = 0; i_area_acc < N_jet_areas; i_area_acc++) { for(Int_t ipt_lead = 0; ipt_lead < (N_leading_pt_bins+1); ipt_lead++) { HistName = "h_N_accepted_recoil_jets_area_"; HistName += i_area_acc; HistName += "_pt_"; HistName += ipt_lead; h_N_accepted_recoil_jets[i_area_acc][ipt_lead] = new TH1D(HistName.Data(),HistName.Data(),20,0,20); h_N_accepted_recoil_jets[i_area_acc][ipt_lead]->Sumw2(); } } for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { for(Int_t i_mult = 0; i_mult < N_mult_bins; i_mult++) { for(Int_t i_Psi = 0; i_Psi < N_Psi_bins; i_Psi++) { HistName = "h_jet_area_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; h_jet_area_array[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),1000,0.0,2.0); HistName = "h_jet_rho_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; h_jet_rho_array[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),1000,0.0,100); HistName = "h_jet_rhoarea_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; h_jet_rhoarea_array[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),1000,0.0,200); HistName = "h2D_jet_rho_vs_mult_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; if(eCentrality != 1) { h2D_jet_rho_vs_mult_array[i_z][i_mult][i_Psi] = new TH2D(HistName.Data(),HistName.Data(),100,720,1020,150,15,45); } else { h2D_jet_rho_vs_mult_array[i_z][i_mult][i_Psi] = new TH2D(HistName.Data(),HistName.Data(),60,0,180,150,0,30); } HistName = "h_jet_Et_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; h_jet_Et_array[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),2000,0.0,1000); HistName = "h_jet_Et_array_weight_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; h_jet_Et_array_weight[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),2000,0.0,1000); HistName = "h_jet_per_event_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; h_jet_per_event_array[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),100,0.0,100); HistName = "h_tracks_per_event_array_z"; HistName += i_z; HistName += "_m"; HistName += i_mult; HistName += "_P"; HistName += i_Psi; h_tracks_per_event_array[i_z][i_mult][i_Psi] = new TH1D(HistName.Data(),HistName.Data(),1300,0.0,1300); } } } h_jet_rho_vs_Et = new TH2D("h_jet_rho_vs_Et","h_jet_rho_vs_ET",2000,0.0,1000,1000,0.0,100); h_trigger_track[0] = new TH1D("h_trigger_track","h_trigger_track",N_leading_pt_bins+1,0,N_leading_pt_bins+1); h_trigger_track[1] = new TH1D("h_trigger_track_smear","h_trigger_track_smear",N_leading_pt_bins+1,0,N_leading_pt_bins+1); h_trigger_track[2] = new TH1D("h_trigger_track_all","h_trigger_track_all",N_leading_pt_bins+1,0,N_leading_pt_bins+1); h_trigger_track[3] = new TH1D("h_trigger_track_smear_all","h_trigger_track_smear_all",N_leading_pt_bins+1,0,N_leading_pt_bins+1); h_trigger_track_vs_global_bin[0] = new TH2D("h_trigger_track_vs_global_bin","h_trigger_track_vs_global_bin",N_global_bin,0,N_global_bin,N_leading_pt_bins+1,0,N_leading_pt_bins+1); h_trigger_track_vs_global_bin[1] = new TH2D("h_trigger_track_vs_global_bin_smear","h_trigger_track_vs_global_bin_smear",N_global_bin,0,N_global_bin,N_leading_pt_bins+1,0,N_leading_pt_bins+1); h_trigger_track_vs_global_bin[2] = new TH2D("h_trigger_track_vs_global_bin_all","h_trigger_track_vs_global_bin_all",N_global_bin,0,N_global_bin,N_leading_pt_bins+1,0,N_leading_pt_bins+1); h_trigger_track_vs_global_bin[3] = new TH2D("h_trigger_track_vs_global_bin_smear_all","h_trigger_track_vs_global_bin_smear_all",N_global_bin,0,N_global_bin,N_leading_pt_bins+1,0,N_leading_pt_bins+1); h_jet_rho_vs_Et ->Sumw2(); h_trigger_track[0] ->Sumw2(); h_trigger_track[1] ->Sumw2(); h_trigger_track[2] ->Sumw2(); h_trigger_track[3] ->Sumw2(); h_trigger_track_vs_global_bin[0] ->Sumw2(); h_trigger_track_vs_global_bin[1] ->Sumw2(); h_trigger_track_vs_global_bin[2] ->Sumw2(); h_trigger_track_vs_global_bin[3] ->Sumw2(); for(Int_t i = 0; i < 2; i++) { HistName = "p_Array_leading_pt_bins_"; HistName += i; p_Array_leading_pt_bins[i] = new TProfile(HistName.Data(),HistName.Data(),N_leading_pt_bins+1,0,N_leading_pt_bins+1); for(Int_t ipt_lead = 0; ipt_lead < (N_leading_pt_bins+1); ipt_lead++) { p_Array_leading_pt_bins[i] ->Fill(ipt_lead,Array_leading_pt_bins[i][ipt_lead]); } } for(Int_t ipt_lead = 0; ipt_lead < (N_leading_pt_bins+1); ipt_lead++) { for(Int_t i_orig_smear = 0; i_orig_smear < N_orig_smear; i_orig_smear++) { HistName = "h_N_tracks_dijet_pt_"; HistName += ipt_lead; if(i_orig_smear == 1) HistName += "_smear"; h_N_tracks_dijet[ipt_lead][i_orig_smear] = new TH1D(HistName.Data(),HistName.Data(),100,mult_start_stop_delta[eBeamTimeNum][0],mult_start_stop_delta[eBeamTimeNum][1]); h_N_tracks_dijet[ipt_lead][i_orig_smear] ->Sumw2(); HistName = "h2D_mult_vs_global_bin_pt_"; HistName += ipt_lead; if(i_orig_smear == 1) HistName += "_smear"; h2D_mult_vs_global_bin[ipt_lead][i_orig_smear] = new TH2D(HistName.Data(),HistName.Data(),N_global_bin,0,N_global_bin,100,mult_start_stop_delta[eBeamTimeNum][0],mult_start_stop_delta[eBeamTimeNum][1]); h2D_mult_vs_global_bin[ipt_lead][i_orig_smear] ->Sumw2(); } } if(eMode == 311 || eMode == 312) { for(Int_t i = 0; i < N_jet_areas; i++) { HistName = "h2D_Sim_matched_pT_vs_original_pT_area"; HistName += i; h2D_Sim_matched_pT_vs_original_pT[i] = new TH2D(HistName.Data(),HistName.Data(),280,0,70,280,0,70); HistName = "h2D_Sim_original_pT_vs_matched_pT_area"; HistName += i; h2D_Sim_original_pT_vs_matched_pT[i] = new TH2D(HistName.Data(),HistName.Data(),280,0,70,280,0,70); HistName = "h_matched_tracks_fraction_area"; HistName += i; h_matched_tracks_fraction[i] = new TH1D(HistName.Data(),HistName.Data(),150,0,1.5); HistName = "h2D_matched_tracks_fraction_vs_original_pT_area"; HistName += i; h2D_matched_tracks_fraction_vs_original_pT[i] = new TH2D(HistName.Data(),HistName.Data(),280,0,70,150,0,1.5); h2D_Sim_matched_pT_vs_original_pT[i] ->Sumw2(); h2D_Sim_original_pT_vs_matched_pT[i] ->Sumw2(); h_matched_tracks_fraction[i] ->Sumw2(); h2D_matched_tracks_fraction_vs_original_pT[i] ->Sumw2(); } } if(eMode == 312) { h_PYTHIA_hard_bin_weigh_factors = new TH1D("h_PYTHIA_hard_bin_weigh_factors","h_PYTHIA_hard_bin_weigh_factors",11,0,11); h_PYTHIA_hard_bin_high_pT_N_events = new TH1D("h_PYTHIA_hard_bin_high_pT_N_events","h_PYTHIA_hard_bin_high_pT_N_events",11,0,11); for(Int_t PYTHIA_file = 0; PYTHIA_file < 11; PYTHIA_file++) { h_PYTHIA_hard_bin_weigh_factors ->SetBinContent(PYTHIA_file+1,PYTHIA_hard_bin_weigh_factors[PYTHIA_file]); h_PYTHIA_hard_bin_high_pT_N_events->SetBinContent(PYTHIA_file+1,PYTHIA_hard_bin_high_pT_N_events[PYTHIA_file]); //cout << "PYTHIA_file: " << PYTHIA_file << ", weight: " << PYTHIA_hard_bin_weigh_factors[PYTHIA_file] // << ", weight2: " << h_PYTHIA_hard_bin_weigh_factors->GetBinContent(PYTHIA_file + 1) << endl; } } if(eMode == 42 || eMode == 312) { p_v2_vs_pt = new TProfile("p_v2_vs_pt","p_v2_ps_pt",200,0,20); p_v2_vs_pt_jet = new TProfile("p_v2_vs_pt_jet","p_v2_ps_pt_jet",200,0,20); h_Psi_Full = new TH1D("h_Psi_Full","h_Psi_Full",100,-TMath::Pi(),TMath::Pi()); h_phi = new TH1D("h_phi","h_phi",200,-2.0*TMath::Pi(),2.0*TMath::Pi()); h_Psi_etapos = new TH1D("h_Psi_etapos","h_Psi_etapos",100,-TMath::Pi(),TMath::Pi()); h_Psi_etaneg = new TH1D("h_Psi_etaneg","h_Psi_etaneg",100,-TMath::Pi(),TMath::Pi()); for(Int_t i_orig_smear = 0; i_orig_smear < N_orig_smear; i_orig_smear++) { for(Int_t i = 0; i < N_jet_areas; i++) { for(Int_t i_Psi = 0; i_Psi < N_Psi_bins; i_Psi++) { HistName = "h_Delta_pt_vs_embed_pt_"; HistName += i; HistName += "_P_"; HistName += i_Psi; if(i_orig_smear == 1) HistName += "_smear"; const Int_t N_bins_pt_embed = (Int_t)(max_pt_val_embed*4.0); const Double_t Pt_range_embed = (Double_t)(N_bins_pt_embed/4.0); h_Delta_pt_vs_embed_pt[i][i_orig_smear][i_Psi] = new TH2D(HistName.Data(),HistName.Data(),N_bins_pt_embed,0,Pt_range_embed,160,-30,50.0); h_Delta_pt_vs_embed_pt[i][i_orig_smear][i_Psi] ->Sumw2(); if(eMode == 42) { HistName = "h_Delta_pt_vs_embed_pt_weight_"; HistName += i; HistName += "_P_"; HistName += i_Psi; if(i_orig_smear == 1) HistName += "_smear"; const Int_t N_bins_pt_embed = (Int_t)(max_pt_val_embed*4.0); const Double_t Pt_range_embed = (Double_t)(N_bins_pt_embed/4.0); h_Delta_pt_vs_embed_pt_weight[i][i_orig_smear][i_Psi] = new TH2D(HistName.Data(),HistName.Data(),N_bins_pt_embed,0,Pt_range_embed,160,-30,50.0); h_Delta_pt_vs_embed_pt_weight[i][i_orig_smear][i_Psi] ->Sumw2(); } } } } } for(Int_t i_orig_smear = 0; i_orig_smear < 4; i_orig_smear++) { for(Int_t i = 0; i < N_jet_areas; i++) { for(Int_t ipt_lead = 0; ipt_lead < (N_leading_pt_bins+1); ipt_lead++) { HistName = "h_jet_pt_"; HistName += i; HistName += "_lead_pt_"; HistName += ipt_lead; if(i_orig_smear == 1) HistName += "_smear"; if(i_orig_smear > 1) { HistName += "_"; HistName += i_orig_smear; } h_jet_pt[i][ipt_lead][i_orig_smear] = new TH1D(HistName.Data(),HistName.Data(),1400,-40,100.0); h_jet_pt[i][ipt_lead][i_orig_smear] ->Sumw2(); HistName = "h_jet_pt_sub_"; HistName += i; HistName += "_lead_pt_"; HistName += ipt_lead; if(i_orig_smear == 1) HistName += "_smear"; if(i_orig_smear > 1) { HistName += "_"; HistName += i_orig_smear; } h_jet_pt_sub[i][ipt_lead][i_orig_smear] = new TH1D(HistName.Data(),HistName.Data(),1400,-40,100.0); h_jet_pt_sub[i][ipt_lead][i_orig_smear] ->Sumw2(); HistName = "h2D_dijet_pt_"; HistName += i; HistName += "_lead_pt_"; HistName += ipt_lead; if(i_orig_smear == 1) HistName += "_smear"; if(i_orig_smear > 1) { HistName += "_"; HistName += i_orig_smear; } h2D_dijet_pt[i][ipt_lead][i_orig_smear] = new TH2D(HistName.Data(),HistName.Data(),100,-0.5*Pi,1.5*Pi,350,-40,100.0); h2D_dijet_pt[i][ipt_lead][i_orig_smear] ->Sumw2(); HistName = "h2D_dijet_pt_sub_"; HistName += i; HistName += "_lead_pt_"; HistName += ipt_lead; if(i_orig_smear == 1) HistName += "_smear"; if(i_orig_smear > 1) { HistName += "_"; HistName += i_orig_smear; } h2D_dijet_pt_sub[i][ipt_lead][i_orig_smear] = new TH2D(HistName.Data(),HistName.Data(),100,-0.5*Pi,1.5*Pi,350,-40,100.0); h2D_dijet_pt_sub[i][ipt_lead][i_orig_smear] ->Sumw2(); } if(i_orig_smear < N_orig_smear) { HistName = "h_jet_area_"; HistName += i; if(i_orig_smear == 1) HistName += "_smear"; h_jet_area[i][i_orig_smear] = new TH1D(HistName.Data(),HistName.Data(),1000,0.0,2.0); h_jet_area[i][i_orig_smear] ->Sumw2(); HistName = "h_jet_rho_"; HistName += i; if(i_orig_smear == 1) HistName += "_smear"; h_jet_rho[i][i_orig_smear] = new TH1D(HistName.Data(),HistName.Data(),1000,0.0,100); h_jet_rho[i][i_orig_smear] ->Sumw2(); HistName = "h_jet_per_event_"; HistName += i; if(i_orig_smear == 1) HistName += "_smear"; h_jet_per_event[i][i_orig_smear] = new TH1D(HistName.Data(),HistName.Data(),100,0.0,100.0); h_jet_per_event[i][i_orig_smear] ->Sumw2(); HistName = "h_dijet_per_event_"; HistName += i; if(i_orig_smear == 1) HistName += "_smear"; h_dijet_per_event[i][i_orig_smear] = new TH1D(HistName.Data(),HistName.Data(),100,0.0,100.0); h_dijet_per_event[i][i_orig_smear] ->Sumw2(); } } } if(eMode == 0 || eMode == 1 || eMode == 2 || eMode == 4) { for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { HistName = "h_Phi_vs_eta_random_phi_"; HistName += i_z; h_Phi_vs_eta_random_phi[i_z] = new TH2D(HistName.Data(),HistName.Data(),200,-1.5,1.5,200,-1.0*TMath::Pi(),1.0*TMath::Pi()); } } Float_t delta_z = (vertex_z_start_stop_delta[eBeamTimeNum][1] - vertex_z_start_stop_delta[eBeamTimeNum][0])/((Float_t)N_z_vertex_bins); vertex_z_start_stop_delta[eBeamTimeNum][2] = delta_z; Float_t delta_mult = (mult_start_stop_delta[eBeamTimeNum][1] - mult_start_stop_delta[eBeamTimeNum][0])/((Float_t)N_mult_bins); mult_start_stop_delta[eBeamTimeNum][2] = delta_mult; Float_t delta_Psi = (Psi_start_stop_delta[eBeamTimeNum][1] - Psi_start_stop_delta[eBeamTimeNum][0])/((Float_t)N_Psi_bins); Psi_start_stop_delta[eBeamTimeNum][2] = delta_Psi; //---------------------------------------------------------------------------------------------------- return 1; } //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ Int_t StJetAnalysis::Make() { cout << "Make started" << endl; r3.SetSeed(0); gRandom->SetSeed(0); cout << "Seed = " << r3.GetSeed() << endl; ran_gen.SetSeed(0); ran.SetSeed(0); //---------------------------------------------------------------------------------------------------- cout << "Define bad run list" << endl; Int_t bad_run_numbers[n_bad_run_numbers[eBeamTimeNum]]; for(Int_t j = 0; j < n_bad_run_numbers[eBeamTimeNum]; j++) { if(eBeamTimeNum == 0) bad_run_numbers[j] = bad_run_list_7GeV[j]; if(eBeamTimeNum == 1) bad_run_numbers[j] = bad_run_list_11GeV[j]; if(eBeamTimeNum == 2) bad_run_numbers[j] = bad_run_list_39GeV[j]; if(eBeamTimeNum == 3) bad_run_numbers[j] = bad_run_list_62GeV[j]; if(eBeamTimeNum == 4) bad_run_numbers[j] = bad_run_list_19GeV[j]; if(eBeamTimeNum == 5) bad_run_numbers[j] = bad_run_list_27GeV[j]; if(eBeamTimeNum == 6) bad_run_numbers[j] = bad_run_list_200GeV[j]; if(eBeamTimeNum == 7) bad_run_numbers[j] = bad_run_list_15GeV[j]; } //---------------------------------------------------------------------------------------------------- if(eMode == 0 || eMode == 1 || eMode == 11 || eMode == 3 || eMode == 31 || eMode == 32 || eMode == 312 || eMode == 42 || eMode == 4 || eMode == 311) // eMode 2 is mixed event { if(eMode == 1 || eMode == 2 || eMode == 4) { F_mixed_event[ez_bin][emult_bin][ePsi_bin] ->cd(); } for(Int_t i_SE_ME = 0; i_SE_ME < 1; i_SE_ME++) { if(i_SE_ME == 0) cout << "Same event loop started" << endl; if(i_SE_ME == 1) cout << "Mixed event loop started" << endl; Int_t vertex_pos_counter = 0; Long64_t stop_event_use_loop = stop_event_use; if(stop_event_use_loop > file_entries_SE_ME[i_SE_ME]) stop_event_use_loop = file_entries_SE_ME[i_SE_ME]; for(Long64_t counter = start_event_use; counter < stop_event_use_loop; counter++) { if (counter != 0 && counter % 100 == 0) cout << "." << flush; if (counter != 0 && counter % 1000 == 0) { if((stop_event_use_loop-start_event_use) > 0) { Double_t event_percent = 100.0*((Double_t)(counter-start_event_use))/((Double_t)(stop_event_use_loop-start_event_use)); cout << " " << counter << " (" << event_percent << "%) " << "\n" << "==> Processing data " << flush; } } if (!input_SE_ME[i_SE_ME]->GetEntry( counter )) // take the event -> information is stored in event break; // end of data chunk //----------------------------------------------------------------------------- // Event information Float_t prim_vertex_x = JetTrackEvent->getx(); Float_t prim_vertex_y = JetTrackEvent->gety(); Float_t prim_vertex_z = JetTrackEvent->getz(); Int_t RunId = JetTrackEvent->getid(); Float_t refMult = JetTrackEvent->getmult(); Float_t n_prim = JetTrackEvent->getn_prim(); Float_t n_non_prim = JetTrackEvent->getn_non_prim(); Int_t n_tofmatch_prim = JetTrackEvent->getn_tof_prim(); Int_t SE_ME_flag = JetTrackEvent->getSE_ME_flag(); Float_t ZDCx = JetTrackEvent->getZDCx(); Float_t BBCx = JetTrackEvent->getBBCx(); Float_t vzVPD = JetTrackEvent->getvzVpd(); Int_t N_Particles = JetTrackEvent->getNumParticle(); TVector2 QvecEtaPos = JetTrackEvent->getQvecEtaPos(); TVector2 QvecEtaNeg = JetTrackEvent->getQvecEtaNeg(); Int_t cent9 = JetTrackEvent->getcent9(); if(fabs(prim_vertex_z) > z_acceptance[eBeamTimeNum]) continue; Double_t reweight = 1.0; if(eMode != 311) // not PYTHIA { refmultCorrUtil->init(RunId); refmultCorrUtil->initEvent(refMult, prim_vertex_z, ZDCx); // Get centrality bins // see StRefMultCorr.h for the definition of centrality bins //erefMult_bin16 = refmultCorrUtil->getCentralityBin16(); //erefMult_bin = refmultCorrUtil->getCentralityBin9(); reweight = refmultCorrUtil->getWeight(); //cout << "Centrality reweight: " << reweight << endl; } Int_t cent9_eff_array[9] = {8,7,6,5,4,3,2,1,0}; // index for centrality was inverted for efficiency functions Int_t cent9_eff = 0; if(cent9 >= 0 && cent9 < 9) cent9_eff = cent9_eff_array[cent9]; Double_t Psi2 = 0.0; Double_t EP_eta_pos_corr = -999.0; // angle Double_t EP_eta_neg_corr = -999.0; // angle Double_t EP_Qx_eta_pos_corr = -999.0; Double_t EP_Qy_eta_pos_corr = -999.0; Double_t EP_Qx_eta_neg_corr = -999.0; Double_t EP_Qy_eta_neg_corr = -999.0; if(eMode == 1) // Do a re-centering correction for the Q-vectors { Calc_Corr_EventPlane_Angle(JetTrackEvent, EP_eta_pos_corr, EP_eta_neg_corr, EP_Qx_eta_pos_corr, EP_Qy_eta_pos_corr, EP_Qx_eta_neg_corr, EP_Qy_eta_neg_corr); QvecEtaPos.Set(EP_Qx_eta_pos_corr,EP_Qy_eta_pos_corr); QvecEtaNeg.Set(EP_Qx_eta_neg_corr,EP_Qy_eta_neg_corr); Double_t EP_eta_full = TMath::ATan2(EP_Qy_eta_pos_corr+EP_Qy_eta_neg_corr,EP_Qx_eta_pos_corr+EP_Qx_eta_neg_corr); EP_eta_full /= 2.0; Psi2 = EP_eta_full; } else { EP_eta_pos_corr = TMath::ATan2(QvecEtaPos.Y(),QvecEtaPos.X()); EP_eta_pos_corr /= 2.0; EP_eta_neg_corr = TMath::ATan2(QvecEtaNeg.Y(),QvecEtaNeg.X()); EP_eta_neg_corr /= 2.0; Double_t EP_eta_full = TMath::ATan2(QvecEtaPos.Y()+QvecEtaNeg.Y(),QvecEtaPos.X()+QvecEtaNeg.X()); EP_eta_full /= 2.0; Psi2 = EP_eta_full; } //----------------------------------------------------------------------------- //--------------------------------------------------------------------------- // Good/Bad run selection Int_t flag_good_run = 1; for(Int_t bad_run = 0; bad_run < n_bad_run_numbers[eBeamTimeNum]; bad_run++) { if(bad_run_numbers[bad_run] == (Int_t)RunId) { flag_good_run = 0; break; } } //if(!flag_good_run) cout << "bad run: " << (Int_t)RunId << endl; //--------------------------------------------------------------------------- // Pileup protection if( fabs(vzVPD - prim_vertex_z) < 3.0 && n_tofmatch_prim > 1 && flag_good_run ) { Int_t z_bin = -1; if(prim_vertex_z > vertex_z_start_stop_delta[eBeamTimeNum][0] && prim_vertex_z < vertex_z_start_stop_delta[eBeamTimeNum][1]) { z_bin = (Int_t)((prim_vertex_z-vertex_z_start_stop_delta[eBeamTimeNum][0])/vertex_z_start_stop_delta[eBeamTimeNum][2]); } Int_t mult_bin = -1; if(N_Particles > mult_start_stop_delta[eBeamTimeNum][0] && N_Particles < mult_start_stop_delta[eBeamTimeNum][1]) { mult_bin = (Int_t)((N_Particles-mult_start_stop_delta[eBeamTimeNum][0])/mult_start_stop_delta[eBeamTimeNum][2]); } Int_t Psi_bin = -1; if(Psi2 > Psi_start_stop_delta[eBeamTimeNum][0] && Psi2 < Psi_start_stop_delta[eBeamTimeNum][1]) { Psi_bin = (Int_t)((Psi2-Psi_start_stop_delta[eBeamTimeNum][0])/Psi_start_stop_delta[eBeamTimeNum][2]); } //if(mult_bin == 7 && Psi_bin == 0 && z_bin == 10) //{ //cout << "N_Particles = " << N_Particles << ", refMult = " << refMult << ", mult_bin = " << mult_bin << ", Psi_bin = " << Psi_bin << ", z_bin = " << z_bin << endl; //cout << "start mult: " << mult_start_stop_delta[eBeamTimeNum][0] << ", Delta mult: " << mult_start_stop_delta[eBeamTimeNum][2] << endl; //QvecEtaPos.Print(); //QvecEtaNeg.Print(); //} Int_t global_bin = z_bin + mult_bin*N_z_vertex_bins + Psi_bin*N_z_vertex_bins*N_mult_bins; if(eMode != 1) global_bin = ez_bin + emult_bin*N_z_vertex_bins + ePsi_bin*N_z_vertex_bins*N_mult_bins; if(eMode == 11 //&& z_bin != -1 && mult_bin != -1 && Psi_bin != -1 ) { Int_t N_Particles_below_threshold = 0; Long64_t N_tracks_above_threshold = 0; Long64_t N_tracks_above_threshold_array[N2D_tracks_above_threshold]; for(Int_t i_hist = 0; i_hist < N2D_tracks_above_threshold; i_hist++) { N_tracks_above_threshold_array[i_hist] = 0; } Long64_t N_tracks_above_trigger = 0; for(Int_t i_Particle = 0; i_Particle < N_Particles; i_Particle++) { // Particle information JetTrackParticle = JetTrackEvent ->getParticle(i_Particle); Float_t dca = JetTrackParticle->get_dca_to_prim(); Float_t m2 = JetTrackParticle->get_Particle_m2 (); Float_t nSPi = JetTrackParticle->get_Particle_nSigmaPi(); Float_t nSK = JetTrackParticle->get_Particle_nSigmaK(); Float_t nSP = JetTrackParticle->get_Particle_nSigmaP(); Float_t qp = JetTrackParticle->get_Particle_qp(); Float_t nhitsfit = JetTrackParticle->get_Particle_hits_fit(); TLorentzVector TLV_Particle_prim = JetTrackParticle->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob = JetTrackParticle->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use = TLV_Particle_prim; if(eflab_prim_glob == 1) TLV_Particle_use = TLV_Particle_glob; Double_t track_pT = TLV_Particle_use.Pt(); if(track_pT != track_pT) continue; // that is a NaN test. It always fails if track_pT = nan. Double_t track_eta = TLV_Particle_use.PseudoRapidity(); Double_t track_phi = TLV_Particle_use.Phi(); if(dca < 1.0 && nhitsfit > 14) { h_track_pT_cut ->Fill(TLV_Particle_use.Pt()); if(TLV_Particle_use.Pt() > max_pt_threshold) N_tracks_above_threshold++; for(Int_t i_hist = 0; i_hist < N2D_tracks_above_threshold; i_hist++) { if(TLV_Particle_use.Pt() > (max_pt_threshold + 2.0*((Double_t)i_hist))) N_tracks_above_threshold_array[i_hist]++; } if(TLV_Particle_use.Pt() > 9.0 && TLV_Particle_use.Pt() <= max_pt_threshold) N_tracks_above_trigger++; } Int_t epT_bin = 0; for(Int_t i_pT = 0; i_pT < N_track_pt_bins_eta_phi; i_pT++) { if(track_pT <= array_pt_bins_eta_phi[i_pT]) { epT_bin = i_pT; break; } } //if(nSPi == -999.0) cout << "i_Particle = " << i_Particle << ", mother_pT = " << nSK << ", pT = " << TLV_Particle_use.Pt() << endl; if( (nSPi == -999.0 && nSK < max_pt_threshold) || // nSK stores in eMode = 4 the orignal pT before splitting (nSPi != -999.0 && TLV_Particle_use.Pt() < max_pt_threshold) ) { h2D_track_eta_vs_phi[ez_bin][emult_bin][ePsi_bin][epT_bin]->Fill(track_phi,track_eta); //cout << "eta = " << track_eta << ", phi = " << track_phi << endl; N_Particles_below_threshold++; } //else //{ // cout << "i_Particle = " << i_Particle << ", nSPi = " << nSPi << ", mother_pT = " << nSK << ", pT = " << TLV_Particle_use.Pt() << endl; //} } h_tracks_above_threshold_per_event ->Fill(N_tracks_above_threshold); for(Int_t i_hist = 0; i_hist < N2D_tracks_above_threshold; i_hist++) { h2D_tracks_above_threshold[i_hist] ->Fill(N_tracks_above_trigger,N_tracks_above_threshold_array[i_hist]); } h_tracks_vs_z_vertex_array[ez_bin][emult_bin] ->Fill(prim_vertex_z,N_Particles_below_threshold); h_Psi_vs_z_vertex_array[ez_bin][ePsi_bin] ->Fill(prim_vertex_z,Psi2); } if(eMode == 0 && z_bin != -1) { //cout << "prim_vertex_z = " << prim_vertex_z << ", N_Particles = " << N_Particles << endl; //h_tracks_vs_z_vertex->Fill(prim_vertex_z,N_Particles); //h_Psi2 ->Fill(Psi2); //----------------------------------------------------------------------------- // Particle loop for(Int_t i_Particle = 0; i_Particle < N_Particles; i_Particle++) { // Particle information JetTrackParticle = JetTrackEvent ->getParticle(i_Particle); Float_t dca = JetTrackParticle->get_dca_to_prim(); Float_t m2 = JetTrackParticle->get_Particle_m2 (); Float_t nSPi = JetTrackParticle->get_Particle_nSigmaPi(); Float_t nSK = JetTrackParticle->get_Particle_nSigmaK(); Float_t nSP = JetTrackParticle->get_Particle_nSigmaP(); Float_t qp = JetTrackParticle->get_Particle_qp(); Float_t nhitsfit = JetTrackParticle->get_Particle_hits_fit(); TLorentzVector TLV_Particle_prim = JetTrackParticle->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob = JetTrackParticle->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use = TLV_Particle_prim; if(eflab_prim_glob == 1) TLV_Particle_use = TLV_Particle_glob; Double_t track_pT = TLV_Particle_use.Pt(); if(track_pT != track_pT) continue; // that is a NaN test. It always fails if track_pT = nan. Double_t track_eta = TLV_Particle_use.PseudoRapidity(); Double_t track_phi = TLV_Particle_use.Phi(); //h_Phi_vs_eta[z_bin] ->Fill(Eta,Phi); Double_t ran_angle = ran_gen.Rndm()*TMath::Pi()*2.0; TLV_Particle_use.SetPhi(ran_angle); track_phi = TLV_Particle_use.Phi(); h_Phi_vs_eta_random_phi[z_bin] ->Fill(track_eta,track_phi); } //----------------------------------------------------------------------------- } //----------------------------------------------------------------------------- if(eMode == 1) { // Fill event plane QA histograms h_PsiA_vs_PsiB ->Fill(EP_eta_neg_corr,EP_eta_pos_corr); h_PsiA ->Fill(EP_eta_pos_corr); h_PsiB ->Fill(EP_eta_neg_corr); h_Psi_Full ->Fill(Psi2); } //----------------------------------------------------------------------------- if(eMode == 1 && z_bin == ez_bin && mult_bin == emult_bin && Psi_bin == ePsi_bin //z_bin >= 0 && z_bin < N_z_vertex_bins && //mult_bin >= 0 && mult_bin < N_mult_bins && //Psi_bin >= 0 && Psi_bin < N_Psi_bins //Psi_bin == ePsi_bin ) { //F_mixed_event[z_bin][mult_bin][Psi_bin] ->cd(); // Calculate biased Et Double_t Et_total = 0.0; for(Int_t i_Particle = 0; i_Particle < N_Particles; i_Particle++) { // Particle information JetTrackParticle = JetTrackEvent->getParticle(i_Particle); TLorentzVector TLV_Particle_prim = JetTrackParticle->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob = JetTrackParticle->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use = TLV_Particle_prim; if(eflab_prim_glob == 1) TLV_Particle_use = TLV_Particle_glob; //if(TLV_Particle_use.Pt() < 2.5) { Et_total += TLV_Particle_use.Et(); } } h_Et[z_bin][mult_bin][Psi_bin] ->Fill(Et_total); h_tracks_vs_z_vertex[z_bin][mult_bin][Psi_bin] ->Fill(prim_vertex_z,N_Particles); h_Psi2[z_bin][mult_bin][Psi_bin] ->Fill(Psi2); // Fill event information for d4s JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].clearParticleList(); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setx(prim_vertex_x); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].sety(prim_vertex_y); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setz(prim_vertex_z); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setid(RunId); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setmult(refMult); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setn_prim(n_prim); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setn_non_prim(n_non_prim); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setn_tof_prim(n_tofmatch_prim); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setSE_ME_flag(SE_ME_flag); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setZDCx(ZDCx); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setBBCx(BBCx); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setvzVpd(vzVPD); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setQvecEtaPos(QvecEtaPos); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setQvecEtaNeg(QvecEtaNeg); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setcent9(cent9); for(Int_t i_Particle = 0; i_Particle < N_Particles; i_Particle++) { // Particle information JetTrackParticle = JetTrackEvent ->getParticle(i_Particle); Float_t dca = JetTrackParticle->get_dca_to_prim(); Float_t m2 = JetTrackParticle->get_Particle_m2 (); Float_t nSPi = JetTrackParticle->get_Particle_nSigmaPi(); Float_t nSK = JetTrackParticle->get_Particle_nSigmaK(); Float_t nSP = JetTrackParticle->get_Particle_nSigmaP(); Float_t qp = JetTrackParticle->get_Particle_qp(); Float_t nhitsfit = JetTrackParticle->get_Particle_hits_fit(); TLorentzVector TLV_Particle_prim = JetTrackParticle->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob = JetTrackParticle->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use = TLV_Particle_prim; if(eflab_prim_glob == 1) TLV_Particle_use = TLV_Particle_glob; Double_t track_pT = TLV_Particle_use.Pt(); if(track_pT != track_pT) continue; // that is a NaN test. It always fails if track_pT = nan. Double_t Eta = TLV_Particle_use.PseudoRapidity(); Double_t Phi = TLV_Particle_use.Phi(); h_Phi_vs_eta[z_bin][mult_bin][Psi_bin] ->Fill(Eta,Phi); h_Momentum[z_bin][mult_bin][Psi_bin] ->Fill(qp); JetTrackParticle_Fill = JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].createParticle(); JetTrackParticle_Fill ->set_dca_to_prim(dca); JetTrackParticle_Fill ->set_Particle_m2(m2); JetTrackParticle_Fill ->set_Particle_nSigmaPi(nSPi); JetTrackParticle_Fill ->set_Particle_nSigmaK(nSK); JetTrackParticle_Fill ->set_Particle_nSigmaP(nSP); JetTrackParticle_Fill ->set_Particle_qp(qp); JetTrackParticle_Fill ->set_TLV_Particle_prim(TLV_Particle_prim); JetTrackParticle_Fill ->set_TLV_Particle_glob(TLV_Particle_glob); JetTrackParticle_Fill ->set_Particle_hits_fit(nhitsfit); } Tree_JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin] ->Fill(); } if(eMode == 4 && z_bin == ez_bin && mult_bin == emult_bin && Psi_bin == ePsi_bin ) { // Calculate biased Et Double_t Et_total = 0.0; for(Int_t i_Particle = 0; i_Particle < N_Particles; i_Particle++) { // Particle information JetTrackParticle = JetTrackEvent->getParticle(i_Particle); TLorentzVector TLV_Particle_prim = JetTrackParticle->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob = JetTrackParticle->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use = TLV_Particle_prim; if(eflab_prim_glob == 1) TLV_Particle_use = TLV_Particle_glob; //if(TLV_Particle_use.Pt() < 2.5) { Et_total += TLV_Particle_use.Et(); } } h_Et[z_bin][mult_bin][Psi_bin] ->Fill(Et_total); h_tracks_vs_z_vertex[z_bin][mult_bin][Psi_bin] ->Fill(prim_vertex_z,N_Particles); h_Psi2[z_bin][mult_bin][Psi_bin] ->Fill(Psi2); // Fill event information for d4s JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].clearParticleList(); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setx(prim_vertex_x); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].sety(prim_vertex_y); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setz(prim_vertex_z); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setid(RunId); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setmult(refMult); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setn_prim(n_prim); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setn_non_prim(n_non_prim); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setn_tof_prim(n_tofmatch_prim); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setSE_ME_flag(SE_ME_flag); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setZDCx(ZDCx); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setBBCx(BBCx); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setvzVpd(vzVPD); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setQvecEtaPos(QvecEtaPos); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setQvecEtaNeg(QvecEtaNeg); JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].setcent9(cent9); for(Int_t i_Particle = 0; i_Particle < N_Particles; i_Particle++) { // Particle information JetTrackParticle = JetTrackEvent->getParticle(i_Particle); Float_t dca = JetTrackParticle->get_dca_to_prim(); Float_t m2 = JetTrackParticle->get_Particle_m2 (); Float_t nSPi = JetTrackParticle->get_Particle_nSigmaPi(); Float_t nSK = JetTrackParticle->get_Particle_nSigmaK(); Float_t nSP = JetTrackParticle->get_Particle_nSigmaP(); Float_t qp = JetTrackParticle->get_Particle_qp(); Float_t nhitsfit = JetTrackParticle->get_Particle_hits_fit(); TLorentzVector TLV_Particle_prim = JetTrackParticle->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob = JetTrackParticle->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use = TLV_Particle_prim; if(eflab_prim_glob == 1) TLV_Particle_use = TLV_Particle_glob; Double_t track_pT = TLV_Particle_use.Pt(); if(track_pT != track_pT) continue; // that is a NaN test. It always fails if track_pT = nan. Float_t Phi = TLV_Particle_use.Phi(); Float_t Eta = TLV_Particle_use.PseudoRapidity(); Float_t Energy = TLV_Particle_use.E(); h_Phi_vs_eta[z_bin][mult_bin][Psi_bin] ->Fill(Eta,Phi); h_Momentum[z_bin][mult_bin][Psi_bin] ->Fill(qp); Float_t Pt = track_pT; //if(Pt > 10.0) //{ // cout << "Pt = " << Pt << ", Eta = " << Eta << ", Phi = " << Phi << ", m2 = " << m2 // << ", nSPi = " << nSPi << ", qp = " << qp << ", dca = " << dca << endl; //} if(Pt >= leading_pt_split_cut) // split the track into smaller pieces { Double_t N_d_split_tracks = Pt/leading_pt_split_val; Int_t N_i_split_tracks = (Int_t)N_d_split_tracks; // number of split tracks Double_t pt_split_val = Pt/((Double_t)N_i_split_tracks); // real pt value of split tracks //cout << "Pt = " << Pt << ", Eta = " << Eta << ", Phi = " << Phi << ", N_i_split_tracks = " << N_i_split_tracks << ", pt_split_val = " << pt_split_val << endl; for(Int_t i_split = 0; i_split < N_i_split_tracks; i_split++) { TLorentzVector TLV_Particle_split_prim = TLV_Particle_use; Double_t Delta_eta = (ran_gen.Rndm()-0.5)*0.2; Double_t Delta_phi = (ran_gen.Rndm()-0.5)*0.2; Double_t Eta_split = TLV_Particle_use.PseudoRapidity() + Delta_eta; Double_t Phi_split = TLV_Particle_use.Phi() + Delta_phi; if(Eta_split > 1.2) Eta_split = 1.2 - ran_gen.Rndm()*0.1; if(Eta_split < -1.2) Eta_split = -1.2 + ran_gen.Rndm()*0.1; if(Phi_split > TMath::Pi()) Phi_split -= 2.0*TMath::Pi(); if(Phi_split < (-TMath::Pi())) Phi_split += 2.0*TMath::Pi(); Double_t E_split = TLV_Particle_use.E()/((Double_t)N_d_split_tracks); TLV_Particle_split_prim.SetPtEtaPhiE(pt_split_val,Eta_split,Phi_split,E_split); TLorentzVector TLV_Particle_split_glob = TLV_Particle_glob; Delta_eta = (ran_gen.Rndm()-0.5)*0.2; Delta_phi = (ran_gen.Rndm()-0.5)*0.2; Eta_split = TLV_Particle_glob.PseudoRapidity() + Delta_eta; Phi_split = TLV_Particle_glob.Phi() + Delta_phi; if(Eta_split > 1.2) Eta_split = 1.2 - ran_gen.Rndm()*0.1; if(Eta_split < -1.2) Eta_split = -1.2 + ran_gen.Rndm()*0.1; if(Phi_split > TMath::Pi()) Phi_split -= 2.0*TMath::Pi(); if(Phi_split < (-TMath::Pi())) Phi_split += 2.0*TMath::Pi(); E_split = TLV_Particle_glob.E()/((Double_t)N_d_split_tracks); TLV_Particle_split_glob.SetPtEtaPhiE(pt_split_val,Eta_split,Phi_split,E_split); //cout << "i_split = " << i_split << ", Eta_split = " << Eta_split << ", Phi_split = " << Phi_split << endl; JetTrackParticle_Fill = JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].createParticle(); JetTrackParticle_Fill ->set_dca_to_prim(dca); JetTrackParticle_Fill ->set_Particle_m2(Phi); JetTrackParticle_Fill ->set_Particle_nSigmaPi(-999.0); JetTrackParticle_Fill ->set_Particle_nSigmaK(Pt); JetTrackParticle_Fill ->set_Particle_nSigmaP(N_d_split_tracks); JetTrackParticle_Fill ->set_Particle_qp(Eta); JetTrackParticle_Fill ->set_TLV_Particle_prim(TLV_Particle_split_prim); JetTrackParticle_Fill ->set_TLV_Particle_glob(TLV_Particle_split_glob); JetTrackParticle_Fill ->set_Particle_hits_fit(nhitsfit); } } else { JetTrackParticle_Fill = JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin].createParticle(); JetTrackParticle_Fill ->set_dca_to_prim(dca); JetTrackParticle_Fill ->set_Particle_m2(m2); JetTrackParticle_Fill ->set_Particle_nSigmaPi(nSPi); JetTrackParticle_Fill ->set_Particle_nSigmaK(nSK); JetTrackParticle_Fill ->set_Particle_nSigmaP(nSP); JetTrackParticle_Fill ->set_Particle_qp(qp); JetTrackParticle_Fill ->set_TLV_Particle_prim(TLV_Particle_prim); JetTrackParticle_Fill ->set_TLV_Particle_glob(TLV_Particle_glob); JetTrackParticle_Fill ->set_Particle_hits_fit(nhitsfit); } } Tree_JetTrackEvent_Fill[z_bin][mult_bin][Psi_bin] ->Fill(); } if(eMode == 3 || eMode == 31 || eMode == 32 || eMode == 312 || eMode == 311 || eMode == 42) { //----------------------------------------------------------------------------- // Particle loop std::vector< std::vector<PseudoJet> > particles; // original, smeared for PYTHIA particles.resize(2); vector<Float_t> particles_info; Double_t Et_total = 0.0; Int_t i_Particle_use = 0; Double_t pt_Delta_pt = 0.0; Double_t qp_Embed = 1.0; if(eMode == 42) // Get embedding pt value for Delta pt calculation { //Int_t pt_bin_Delta_pt = ran_gen.Integer(N_Delta_pt_bins); //pt_Delta_pt = array_pt_bins_Delta_pt[pt_bin_Delta_pt]; pt_Delta_pt = ran_gen.Rndm()*max_pt_val_embed; } std::vector< std::vector<Double_t> > vec_trigger_tracks; // eta, phi, pT Long64_t N_tracks_above_threshold = 0; Long64_t N_tracks_above_threshold_array[N2D_tracks_above_threshold]; for(Int_t i_hist = 0; i_hist < N2D_tracks_above_threshold; i_hist++) { N_tracks_above_threshold_array[i_hist] = 0; } Long64_t N_tracks_above_trigger = 0; Int_t N_pos_neg_charges_reconstructed[2] = {0,0}; Int_t N_pos_neg_charges_reconstructed_Ach[2] = {0,0}; for(Int_t i_Particle = 0; i_Particle < N_Particles; i_Particle++) { // Particle information JetTrackParticle = JetTrackEvent->getParticle(i_Particle); Float_t dca = JetTrackParticle->get_dca_to_prim(); Float_t m2 = JetTrackParticle->get_Particle_m2 (); Float_t nSPi = JetTrackParticle->get_Particle_nSigmaPi(); Float_t nSK = JetTrackParticle->get_Particle_nSigmaK(); Float_t nSP = JetTrackParticle->get_Particle_nSigmaP(); Float_t qp = JetTrackParticle->get_Particle_qp(); Float_t nhitsfit = JetTrackParticle->get_Particle_hits_fit(); TLorentzVector TLV_Particle_prim = JetTrackParticle->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob = JetTrackParticle->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use = TLV_Particle_prim; if(eflab_prim_glob == 1) TLV_Particle_use = TLV_Particle_glob; Double_t track_phi = TLV_Particle_use.Phi(); Double_t track_pT = TLV_Particle_use.Pt(); if(track_pT != track_pT) continue; // that is a NaN test. It always fails if track_pT = nan. Double_t track_eta = TLV_Particle_use.PseudoRapidity(); h_track_pT ->Fill(TLV_Particle_use.Pt()); #if 0 //--------------------------------------------------------------- // A_ch analysis -> CMW effect (nothing to do with jets) // Cuts to determine Ach Int_t charge = 0; if(qp < 0.0) charge = 1; if( fabs(track_eta) < 1.0 && track_pT > 0.15 && track_pT < 12.0 && !(track_pT < 0.4 && fabs(nSP) < 3.0) && dca < 1.0 && nhitsfit >= 15 && N_pos_neg_charges_reconstructed_Ach[charge] < max_tracks ) { N_pos_neg_charges_reconstructed_Ach[charge]++; } // Cuts to determine pion pT if( fabs(track_eta) < 1.0 && track_pT > 0.15 && track_pT < 0.5 && dca < 1.0 && nhitsfit >= 15 && N_pos_neg_charges_reconstructed[charge] < max_tracks && fabs(nSPi) < 2.0 ) { pt_tracks[charge][N_pos_neg_charges_reconstructed[charge]] = track_pT; N_pos_neg_charges_reconstructed[charge]++; } //--------------------------------------------------------------- #endif if(dca < 1.0 && nhitsfit > 14) { h_track_pT_cut ->Fill(TLV_Particle_use.Pt()); if(TLV_Particle_use.Pt() > max_pt_threshold) N_tracks_above_threshold++; for(Int_t i_hist = 0; i_hist < N2D_tracks_above_threshold; i_hist++) { if(TLV_Particle_use.Pt() > (max_pt_threshold + 2.0*((Double_t)i_hist))) N_tracks_above_threshold_array[i_hist]++; } if(TLV_Particle_use.Pt() > 9.0 && TLV_Particle_use.Pt() <= max_pt_threshold) N_tracks_above_trigger++; if(EP_eta_pos_corr > -999.0 && EP_eta_neg_corr > -999.0) { Double_t Psi2_use = EP_eta_pos_corr; if(track_eta > 0.0) Psi2_use = EP_eta_neg_corr; Double_t phi_use = track_phi; // -pi/2..pi/2 -> 0..pi if(Psi2_use < 0.0) Psi2_use += TMath::Pi(); // -pi..pi -> 0..pi if(phi_use < 0.0) phi_use = phi_use + TMath::Pi(); // -pi..pi, delta_phi_angle: 0..pi Double_t delta_phi_angle = phi_use - Psi2_use; if(phi_use >= 0.0 && delta_phi_angle >= 0.0) delta_phi_angle = delta_phi_angle; if(phi_use >= 0.0 && delta_phi_angle < 0.0) delta_phi_angle += TMath::Pi(); if(phi_use < 0.0 && delta_phi_angle >= -TMath::Pi()) delta_phi_angle += TMath::Pi(); if(phi_use < 0.0 && delta_phi_angle < -TMath::Pi()) delta_phi_angle += 2.0*TMath::Pi(); Double_t v2_val = TMath::Cos(2.0*delta_phi_angle); //-------------------------------------------------------- if(eMode == 42) { p_v2_vs_pt ->Fill(track_pT,v2_val); } } } // if(fabs(track_eta) > 1.0) cout << "i_Particle: " << i_Particle << ", Track pT: " << TLV_Particle_use.Pt() << ", Track eta: " << track_eta << endl; qp_Embed = qp; //if(eRandom == 1) //{ //Double_t ran_angle = ran_gen.Rndm()*TMath::Pi()*2.0; //TLV_Particle_use.SetPhi(ran_angle); //} if( (nSPi == -999.0 && nSK < max_pt_threshold) || // nSK stores in eMode = 4 the orignal pT before splitting (nSPi == -999.0 && eIn_Mode == 24) || (nSPi != -999.0 && TLV_Particle_use.Pt() < max_pt_threshold) // remove tracks above max pT threshold //(nSPi != -999.0) ) { if(dca < 1.0) { //---------------------------------------------- // Trigger particles if(track_pT > 0.2 && track_pT < max_pt_threshold && fabs(track_eta) < 1.0) { std::vector<Double_t> vec_in; vec_in.resize(3); vec_in[0] = track_eta; vec_in[1] = track_phi; vec_in[2] = track_pT; vec_trigger_tracks.push_back(vec_in); } //---------------------------------------------- if((eMode == 32 || eMode == 312) && TLV_Particle_use.Pt() > max_pt_downscale_threshold) { //cout << "Before: p = {" << TLV_Particle_use.Px() << ", " << TLV_Particle_use.Py() << ", " << TLV_Particle_use.Pz() << ", " << TLV_Particle_use.E() << "}" << endl; TLV_Particle_use *= downscale_factor; //cout << "After: p = {" << TLV_Particle_use.Px() << ", " << TLV_Particle_use.Py() << ", " << TLV_Particle_use.Pz() << ", " << TLV_Particle_use.E() << "}" << endl; } PseudoJet Fill_PseudoJet(TLV_Particle_use.Px(),TLV_Particle_use.Py(),TLV_Particle_use.Pz(),TLV_Particle_use.E()); Fill_PseudoJet.set_user_index(i_Particle_use); //particles.push_back( PseudoJet(TLV_Particle_use.Px(),TLV_Particle_use.Py(),TLV_Particle_use.Pz(),TLV_Particle_use.E()) ); if(eMode != 312) particles[0].push_back(Fill_PseudoJet); // mode 312: save only original PYTHIA tracks (later) for particles[0] -> Calculate Delta pT with PYTHIA jets if(eMode == 312) { particles[1].push_back(Fill_PseudoJet); // } particles_info.push_back(qp); Et_total += TLV_Particle_use.Et(); //cout << "index = " << i_Particle_use << ", qp = " << qp << ", Et_total = " << Et_total << endl; // Do momentum smearing and apply track efficiencies for PYTHIA if(eMode == 311) // PYTHIA { // Apply momentum smearing and track reconstruction efficiency PseudoJet Fill_PseudoJet_smear; Int_t track_acc = Apply_mom_smearing_and_efficiency(eflab_prim_glob,qp,eCentrality,i_Particle_use,m2,ePYTHIA_eff_factor,TLV_Particle_use,Fill_PseudoJet_smear,f_EfficiencyVsPt); if(track_acc) { particles[1].push_back(Fill_PseudoJet_smear); } } i_Particle_use++; } } } // end of track loop #if 0 //--------------------------------------------------------------- // A_ch analysis -> CMW effect (nothing to do with jets) if(N_pos_neg_charges_reconstructed_Ach[0] + N_pos_neg_charges_reconstructed_Ach[1] > 0) { Double_t Ach = ((Double_t)(N_pos_neg_charges_reconstructed_Ach[0] - N_pos_neg_charges_reconstructed_Ach[1]))/((Double_t)(N_pos_neg_charges_reconstructed_Ach[0] + N_pos_neg_charges_reconstructed_Ach[1])); Double_t Mult = (Double_t)(N_pos_neg_charges_reconstructed_Ach[0] + N_pos_neg_charges_reconstructed_Ach[1]); h_Ach ->Fill(Ach); for(Int_t i_pos_neg = 0; i_pos_neg < 2; i_pos_neg++) // loop first over all positive and then over all negative charges { for(Int_t i_tracks = 0; i_tracks < N_pos_neg_charges_reconstructed[i_pos_neg]; i_tracks++) { p_pt_Ach[i_pos_neg] ->Fill(Ach,pt_tracks[i_pos_neg][i_tracks]); } } } //--------------------------------------------------------------- #endif h_tracks_above_threshold_per_event->Fill(N_tracks_above_threshold); for(Int_t i_hist = 0; i_hist < N2D_tracks_above_threshold; i_hist++) { h2D_tracks_above_threshold[i_hist] ->Fill(N_tracks_above_trigger,N_tracks_above_threshold_array[i_hist]); } Int_t Embed_user_index = i_Particle_use+1; //--------------------------------------------------- // Single particle embedding for delta pt calculation if(eMode == 42) // Delta pt calculation -> add one additional track { // Calculate pT bin for sampling distribution Int_t epT_bin = 0; for(Int_t i_pT = 0; i_pT < N_track_pt_bins_eta_phi; i_pT++) { if(pt_Delta_pt <= array_pt_bins_eta_phi[i_pT]) { epT_bin = i_pT; break; } } // Sample eta and phi of the track based on same event distribution Double_t track_phi; Double_t track_eta; h2D_track_eta_vs_phi[ez_bin][emult_bin][ePsi_bin][epT_bin]->GetRandom2(track_phi,track_eta); //cout << "Embed pt = " << pt_Delta_pt << ", epT_bin = " << epT_bin << ", phi = " << track_phi << ", eta = " << track_eta << endl; TLorentzVector TLV_Particle_Embed; TLV_Particle_Embed.SetPtEtaPhiM(pt_Delta_pt,track_eta,track_phi,1.0); PseudoJet Fill_PseudoJet(TLV_Particle_Embed.Px(),TLV_Particle_Embed.Py(),TLV_Particle_Embed.Pz(),TLV_Particle_Embed.E()); Fill_PseudoJet.set_user_index(Embed_user_index); particles[0].push_back(Fill_PseudoJet); particles_info.push_back(qp_Embed); // taken from previous real track } //--------------------------------------------------- //--------------------------------------------------- Double_t PYTHIA_hard_bin_index_weight = 1.0; if(eMode == 312) { // PYTHIA embedding for closure test // Get random hard bin Int_t PYTHIA_hard_bin_index = (Int_t)(h_PYTHIA_hard_bin_high_pT_N_events->GetRandom()); // Number of PYTHIA events with at least one 9 GeV/c track //Int_t PYTHIA_hard_bin_index = ran_gen.Integer(11); // Get PYTHIA hard bin weighting factor PYTHIA_hard_bin_index_weight = h_PYTHIA_hard_bin_weigh_factors->GetBinContent(PYTHIA_hard_bin_index + 1); //cout << "PYTHIA embedding, index: " << PYTHIA_hard_bin_index << ", PYTHIA_hard_bin_index_weight: " << PYTHIA_hard_bin_index_weight << endl; if(PYTHIA_hard_bin_index >= 0 && PYTHIA_hard_bin_index < 11) { if(counter_PYTHIA[PYTHIA_hard_bin_index] >= N_PYTHIA_events[PYTHIA_hard_bin_index]) // start from the first PYTHIA event if all events were already used { counter_PYTHIA[PYTHIA_hard_bin_index] = 0; } input_PYTHIA[PYTHIA_hard_bin_index]->GetEntry(counter_PYTHIA[PYTHIA_hard_bin_index]); #if 0 cout << "" << endl; cout << "PYTHIA embedding, index: " << PYTHIA_hard_bin_index << ", counter: " << counter_PYTHIA[PYTHIA_hard_bin_index] << ", PYTHIA_hard_bin_index_weight: " << PYTHIA_hard_bin_index_weight << endl; #endif Float_t N_Particles_PYTHIA = JetTrackEvent_PYTHIA[PYTHIA_hard_bin_index]->getNumParticle(); // Loop over the PYTHIA tracks Int_t PYTHIA_user_index = 10000; for(Int_t i_Particle_PYTHIA = 0; i_Particle_PYTHIA < N_Particles_PYTHIA; i_Particle_PYTHIA++) { // Particle information JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index] = JetTrackEvent_PYTHIA[PYTHIA_hard_bin_index]->getParticle(i_Particle_PYTHIA); Float_t dca_PYTHIA = JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index]->get_dca_to_prim(); Float_t m2_PYTHIA = JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index]->get_Particle_m2 (); Float_t nSPi_PYTHIA = JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index]->get_Particle_nSigmaPi(); Float_t nSK_PYTHIA = JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index]->get_Particle_nSigmaK(); Float_t nSP_PYTHIA = JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index]->get_Particle_nSigmaP(); Float_t qp_PYTHIA = JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index]->get_Particle_qp(); Float_t nhitsfit_PYTHIA = JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index]->get_Particle_hits_fit(); TLorentzVector TLV_Particle_prim_PYTHIA = JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index]->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob_PYTHIA = JetTrackParticle_PYTHIA[PYTHIA_hard_bin_index]->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use_PYTHIA = TLV_Particle_prim_PYTHIA; if(eflab_prim_glob == 1) TLV_Particle_use_PYTHIA = TLV_Particle_glob_PYTHIA; Double_t track_pT_PYTHIA = TLV_Particle_use_PYTHIA.Pt(); if(track_pT_PYTHIA != track_pT_PYTHIA) continue; // that is a NaN test. It always fails if track_pT = nan. Double_t track_eta_PYTHIA = TLV_Particle_use_PYTHIA.PseudoRapidity(); Double_t track_phi_PYTHIA = TLV_Particle_use_PYTHIA.Phi(); TLorentzVector TLV_Particle_Embed; TLV_Particle_Embed.SetPtEtaPhiM(track_pT_PYTHIA,track_eta_PYTHIA,track_phi_PYTHIA,1.0); PseudoJet Fill_PseudoJet(TLV_Particle_Embed.Px(),TLV_Particle_Embed.Py(),TLV_Particle_Embed.Pz(),TLV_Particle_Embed.E()); Fill_PseudoJet.set_user_index(PYTHIA_user_index); //particles[0].push_back(Fill_PseudoJet); particles_info.push_back(qp_PYTHIA); // taken from previous real track // Apply momentum smearing and track reconstruction efficiency PseudoJet Fill_PseudoJet_smear_PYTHIA; Int_t track_acc = Apply_mom_smearing_and_efficiency(eflab_prim_glob,qp_PYTHIA,eCentrality,PYTHIA_user_index,m2_PYTHIA,ePYTHIA_eff_factor,TLV_Particle_use_PYTHIA,Fill_PseudoJet_smear_PYTHIA,f_EfficiencyVsPt); if(track_acc) { // Only difference for mode 312 is that [0] has no underlying heavy-ion event particles[0].push_back(Fill_PseudoJet_smear_PYTHIA); particles[1].push_back(Fill_PseudoJet_smear_PYTHIA); //---------------------------------------------- // Trigger particles if(track_pT_PYTHIA > 0.2 && track_pT_PYTHIA < max_pt_threshold && fabs(track_eta_PYTHIA) < 1.0) { std::vector<Double_t> vec_in; vec_in.resize(3); vec_in[0] = track_eta_PYTHIA; vec_in[1] = track_phi_PYTHIA; vec_in[2] = track_pT_PYTHIA; vec_trigger_tracks.push_back(vec_in); } //---------------------------------------------- } //cout << "i_Particle_PYTHIA: " << i_Particle_PYTHIA << ", pt: " << track_pT_PYTHIA << endl; PYTHIA_user_index++; Embed_user_index++; } counter_PYTHIA[PYTHIA_hard_bin_index]++; } else { cout << "ERROR: PYTHIA_hard_bin_index out of range!" << endl; continue; } } //--------------------------------------------------- //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- // choose a jet definition JetDefinition jet_def(antikt_algorithm, jet_R); // jet area definition Double_t ghost_maxrap = 1.0; // Fiducial cut for background estimation GhostedAreaSpec area_spec(ghost_maxrap); //AreaDefinition area_def(active_area, area_spec); AreaDefinition area_def(active_area_explicit_ghosts,GhostedAreaSpec(ghost_maxrap,1,0.01)); // Loop only activates for PYTHIA vector<PseudoJet> jets[2]; // [not smeared, smeared] only for PYTHIA Double_t jet_rho_array[2]; std::vector< std::vector< std::vector<Float_t> > > vec_jet_array; std::vector< std::vector< std::vector< std::vector<Float_t> > > > vec_jet_const_array; // jet constituent information vec_jet_array.resize(2); // [not smeared, smeared] only for PYTHIA vec_jet_const_array.resize(2); // [not smeared, smeared] only for PYTHIA #if 0 cout << "tracks original PYTHIA: " << particles[0].size() << ", tracks PYTHIA (smeared+eff): " << particles[1].size() << endl; #endif for(Int_t i_orig_smear = 0; i_orig_smear < N_orig_smear; i_orig_smear++) { //AreaDefinition area_def(active_area, GhostedAreaSpec(ghost_maxrap)); //ClusterSequenceArea clust_seq(particles, jet_def, area_def); ClusterSequenceArea clust_seq_hard(particles[i_orig_smear], jet_def, area_def); // run the clustering, extract the jets //ClusterSequence clust_seq(particles, jet_def); double ptmin = 0.2; vector<PseudoJet> jets_all = sorted_by_pt(clust_seq_hard.inclusive_jets(ptmin)); Selector Fiducial_cut_selector = SelectorAbsEtaMax(1.0 - jet_R); // Fiducial cut for jets jets[i_orig_smear] = Fiducial_cut_selector(jets_all); //vector<PseudoJet> jets[i_orig_smear] = sorted_by_pt(clust_seq.inclusive_jets()); // print out some info //cout << "Clustered with " << jet_def.description() << endl; // background estimation //cout << "Define JetDefinition" << endl; //JetDefinition jet_def_bkgd(kt_algorithm, 0.4); JetDefinition jet_def_bkgd(kt_algorithm, jet_R_background); // <-- //JetDefinition jet_def_bkgd(antikt_algorithm, jet_R); // test //cout << "Define AreaDefinition" << endl; AreaDefinition area_def_bkgd(active_area_explicit_ghosts,GhostedAreaSpec(ghost_maxrap,1,0.01)); //AreaDefinition area_def_bkgd(active_area,GhostedAreaSpec(ghost_maxrap,1,0.005)); //cout << "Define selector" << endl; //Selector selector = SelectorAbsRapMax(1.0) * (!SelectorNHardest(Remove_N_hardest)); // 2 Selector selector = SelectorAbsEtaMax(1.0) * (!SelectorNHardest(Remove_N_hardest)); // <-- //Selector selector = SelectorAbsEtaMax(1.0 - jet_R); // test //cout << "Define JetMedianBackgroundEstimator" << endl; JetMedianBackgroundEstimator bkgd_estimator(selector, jet_def_bkgd, area_def_bkgd); // <-- //JetMedianBackgroundEstimator bkgd_estimator(selector, jet_def, area_def); // test //cout << "Define Subtractor" << endl; Subtractor subtractor(&bkgd_estimator); //cout << "Define bkgd_estimator" << endl; bkgd_estimator.set_particles(particles[i_orig_smear]); //cout << "Calculate jet_rho and jet_sigma" << endl; Double_t jet_rho = bkgd_estimator.rho(); jet_rho_array[i_orig_smear] = jet_rho; //cout << "jet_sigma" << endl; Double_t jet_sigma = bkgd_estimator.sigma(); //cout << "jet_rho = " << jet_rho << ", jet_sigma = " << jet_sigma << endl; /* cout << "Jets above " << ptmin << " GeV in jets (" << jets.size() << " particles)" << endl; cout << "---------------------------------------\n"; printf("%5s %15s %15s %15s %15s\n","jet #", "rapidity", "phi", "pt", "area"); for (unsigned int i = 0; i < jets.size(); i++) { printf("%5u %15.8f %15.8f %15.8f %15.8f\n", i, jets[i].rap(), jets[i].phi(), jets[i].perp(), jets[i].area()); } cout << endl; */ //h_jet_per_event[0] ->Fill(jets.size()); //---------------------------------------------------------------------------------------- // Calculate Et weight (SE and ME are different due to statistical average effect) Float_t SE_ME_Et_val[2]; Float_t Et_weight_factor = 1.0; if(eRandom != -1) { for(Int_t iSE_ME_Et = 0; iSE_ME_Et < 2; iSE_ME_Et++) { //SE_ME_Et_val[iSE_ME_Et] = h_jet_Et_array_In[ez_bin][emult_bin][ePsi_bin][iSE_ME_Et] ->GetBinContent(h_jet_Et_array_In[ez_bin][emult_bin][ePsi_bin][iSE_ME_Et]->FindBin(Et_total)); //SE_ME_Et_val[iSE_ME_Et] = h_tracks_per_event_array_In[ez_bin][emult_bin][ePsi_bin][iSE_ME_Et] ->GetBinContent(h_tracks_per_event_array_In[ez_bin][emult_bin][ePsi_bin][iSE_ME_Et] ->FindBin(N_Particles)); SE_ME_Et_val[iSE_ME_Et] = h2D_jet_rho_vs_mult_array_In[ez_bin][emult_bin][ePsi_bin][iSE_ME_Et] ->GetBinContent(h2D_jet_rho_vs_mult_array_In[ez_bin][emult_bin][ePsi_bin][iSE_ME_Et]->FindBin(N_Particles,jet_rho)); } //cout << "SE_ME_Et_val[0] = " << SE_ME_Et_val[0] << ", SE_ME_Et_val[1] = " << SE_ME_Et_val[1] << endl; if(SE_ME_Et_val[0] > 0.0 && SE_ME_Et_val[1] > 0.0) { Et_weight_factor = SE_ME_Et_val[0]/SE_ME_Et_val[1]; } } if(!(eIn_Mode == 2 || eIn_Mode == 24)) Et_weight_factor = 1.0; // only relevant for mixed event //Et_weight_factor = 1.0; Et_weight_factor *= reweight; //cout << "Et_weight_factor = " << Et_weight_factor << endl; //---------------------------------------------------------------------------------------- h_jet_rho[0][i_orig_smear] ->Fill(jet_rho); if(i_orig_smear == 0) { h2D_jet_rho_vs_mult_array[ez_bin][emult_bin][ePsi_bin] ->Fill(N_Particles,jet_rho,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_rho_array[ez_bin][emult_bin][ePsi_bin] ->Fill(jet_rho,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_Et_array[ez_bin][emult_bin][ePsi_bin] ->Fill(Et_total,PYTHIA_hard_bin_index_weight); h_jet_Et_array_weight[ez_bin][emult_bin][ePsi_bin] ->Fill(Et_total,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_rho_vs_Et ->Fill(Et_total,jet_rho,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_per_event_array[ez_bin][emult_bin][ePsi_bin] ->Fill(jets[i_orig_smear].size(),Et_weight_factor*PYTHIA_hard_bin_index_weight); h_tracks_per_event_array[ez_bin][emult_bin][ePsi_bin] ->Fill(N_Particles,Et_weight_factor*PYTHIA_hard_bin_index_weight); } //cout << "jet_rho = " << jet_rho << ", N_Particles = " << N_Particles << ", i_orig_smear: " << i_orig_smear << endl; // get the subtracted jets Int_t jets_per_event[N_jet_areas]; Int_t dijets_per_event[N_jet_areas]; for(Int_t i_area = 0; i_area < N_jet_areas; i_area++) { jets_per_event[i_area] = 0; dijets_per_event[i_area] = 0; } if(jet_rho >= 0.0) { //cout << "Accepted" << endl; Int_t flag_save_to_ntuple = 0; Int_t jets_above_threshold = 0; for(Int_t i = 0; i < jets[i_orig_smear].size(); i++) { Float_t jet_pt = jets[i_orig_smear][i].perp(); Float_t jet_area = jets[i_orig_smear][i].area(); Float_t jet_pt_sub = jets[i_orig_smear][i].perp() - jet_rho*jet_area; Float_t jet_eta = jets[i_orig_smear][i].eta(); Float_t jet_phi = jets[i_orig_smear][i].phi(); //cout << "i: " << i << ", jet_pt_sub: " << jet_pt_sub << ", jet_pt: " << jet_pt << endl; if(jet_pt_sub > 9.0) jets_above_threshold++; //if(jet_pt_sub > 2500.0) flag_save_to_ntuple = 1; // at least one jet candidate with high pt in event //flag_save_to_ntuple = 1; } if(jets_above_threshold > 1) { flag_save_to_ntuple = 1; //cout << "Jet candidate with " << jets_above_threshold << " jet(s) above threshold found in event " << counter << " -> will be stored in Ntuple" << endl; } flag_save_to_ntuple = 0; //h_jet_per_event[1] ->Fill(jets[i_orig_smear].size()); //---------------------------------------------------------------------------------------- // Jet A loop vec_jet_array[i_orig_smear].resize(jets[i_orig_smear].size()); vec_jet_const_array[i_orig_smear].resize(jets[i_orig_smear].size()); for(Int_t i = 0; i < jets[i_orig_smear].size(); i++) { Float_t jet_pt = jets[i_orig_smear][i].perp(); Float_t jet_area = jets[i_orig_smear][i].area(); Float_t jet_pt_sub = jets[i_orig_smear][i].perp() - jet_rho*jet_area; Float_t jet_eta = jets[i_orig_smear][i].eta(); Float_t jet_phi = jets[i_orig_smear][i].phi(); vec_jet_array[i_orig_smear][i].push_back(jet_pt); // save the jet information in the array for later PYTHIA matching studies vec_jet_array[i_orig_smear][i].push_back(jet_area); // save the jet information in the array for later PYTHIA matching studies vec_jet_array[i_orig_smear][i].push_back(jet_pt_sub); // save the jet information in the array for later PYTHIA matching studies vec_jet_array[i_orig_smear][i].push_back(jet_eta); // save the jet information in the array for later PYTHIA matching studies vec_jet_array[i_orig_smear][i].push_back(jet_phi); // save the jet information in the array for later PYTHIA matching studies h_area_vs_jet_pt ->Fill(jet_pt_sub,jet_area,PYTHIA_hard_bin_index_weight); h_area ->Fill(jet_area,PYTHIA_hard_bin_index_weight); vector<PseudoJet> jet_constituents = jets[i_orig_smear][i].constituents(); //cout << "jet " << i << ", jet_pt = " << jet_pt << ", number of constituents = " << jet_constituents.size() << endl; Float_t leading_pt = 0.0; Float_t sub_leading_pt = 0.0; Float_t leading_phi = 0.0; Float_t leading_eta = 0.0; Int_t N_tracks_above_pT_assoc_threshold = 0; // Determine leading and sub_leading pt values vec_jet_const_array[i_orig_smear][i].resize(jet_constituents.size()); for(Int_t j = 0; j < jet_constituents.size(); j++) { Float_t jet_const_pt = jet_constituents[j].perp(); Float_t jet_const_phi = jet_constituents[j].phi(); Float_t jet_const_eta = jet_constituents[j].eta(); Int_t user_index = jet_constituents[j].user_index(); vec_jet_const_array[i_orig_smear][i][j].push_back(jet_const_pt); vec_jet_const_array[i_orig_smear][i][j].push_back(jet_const_phi); vec_jet_const_array[i_orig_smear][i][j].push_back(jet_const_eta); vec_jet_const_array[i_orig_smear][i][j].push_back((Float_t)user_index); Double_t Psi2_use = EP_eta_pos_corr; if(jet_const_eta > 0.0) Psi2_use = EP_eta_neg_corr; Double_t phi_use = jet_const_phi; // -pi/2..pi/2 -> 0..pi if(Psi2_use < 0.0) Psi2_use += TMath::Pi(); // -pi..pi -> 0..pi if(phi_use < 0.0) phi_use = phi_use + TMath::Pi(); // -pi..pi, delta_phi_angle: 0..pi Double_t delta_phi_angle = phi_use - Psi2_use; if(phi_use >= 0.0 && delta_phi_angle >= 0.0) delta_phi_angle = delta_phi_angle; if(phi_use >= 0.0 && delta_phi_angle < 0.0) delta_phi_angle += TMath::Pi(); if(phi_use < 0.0 && delta_phi_angle >= -TMath::Pi()) delta_phi_angle += TMath::Pi(); if(phi_use < 0.0 && delta_phi_angle < -TMath::Pi()) delta_phi_angle += 2.0*TMath::Pi(); Double_t v2_val = TMath::Cos(2.0*delta_phi_angle); //-------------------------------------------------------- if(eMode == 42) { if(i_orig_smear == 0 && jet_const_pt > 0.15) { if(i == 0 && j == 0) { h_Psi_Full ->Fill(Psi2_use); h_Psi_etapos ->Fill(EP_eta_pos_corr); h_Psi_etaneg ->Fill(EP_eta_neg_corr); } p_v2_vs_pt_jet ->Fill(jet_const_pt,v2_val); h_phi ->Fill(jet_const_phi); } // check if embedded particle is in the jet if(user_index == Embed_user_index) { //cout << "Embedded particle: pt = " << jet_const_pt << ", phi = " << jet_const_phi << ", eta = " << jet_const_eta << endl; Double_t Delta_pt = jet_pt_sub - jet_const_pt; for(Int_t i_area = 0; i_area < N_jet_areas; i_area++) { if(jet_area > array_areas[i_area]) { // Define weighting based on elliptic flow Double_t v2_max = 0.1; // maximum v2 for 200 GeV 0-10% if(eCentrality == 1) v2_max = 0.25; Double_t EP_res = 0.465; // ~eta sub EP resolution for 0-10% and 60-80% Double_t v2_high_pt = 0.04; // estimate of v2 at high pT if(eCentrality == 1) v2_high_pt = 0.08; Double_t v2_use = v2_max*(1.0/EP_res)*jet_const_pt/3.0; // linear increase of v2 with pT up to 3.0 GeV if(jet_const_pt > 3.0 && jet_const_pt <= 7.0) // dropping v2 from max value to v2 at high pT value { Double_t slope_val = (v2_high_pt*(1.0/EP_res) - v2_max*(1.0/EP_res))/(7.0 - 3.0); Double_t t_val = v2_max*(1.0/EP_res) - slope_val * 3.0; v2_use = slope_val*jet_const_pt + t_val; } if(jet_const_pt > 7.0) // constant v2 at high pT { v2_use = v2_high_pt*(1.0/EP_res); } Double_t dNdDeltaphi = 1.0 + 2.0*0.1*TMath::Cos(2.0*jet_const_phi-2.0*Psi2_use); // weighting factor for embedded tracks with assumed v2 of 0.05 (EP resolution ~0.5 -> v2 factor here is 0.1) //if(i_area == 0) cout << "pt: " << jet_const_pt << ", v2_use: " << v2_use << ", weight: " << dNdDeltaphi << endl; h_Delta_pt_vs_embed_pt[i_area][i_orig_smear][ePsi_bin] ->Fill(jet_const_pt,Delta_pt,PYTHIA_hard_bin_index_weight); h_Delta_pt_vs_embed_pt_weight[i_area][i_orig_smear][ePsi_bin] ->Fill(jet_const_pt,Delta_pt,PYTHIA_hard_bin_index_weight*dNdDeltaphi); //cout << "i_area = " << i_area << ", epT_bin = " << epT_bin << ", i_orig_smear = " << i_orig_smear << ", ePsi_bin = " << ePsi_bin << ", Delta_pt = " << Delta_pt << endl; } } } } //-------------------------------------------------------- //cout << "jet counter = " << i << ", track counter = " << j << ", track pt = " << jet_const_pt << endl; Float_t qp_val = 1.0; Int_t part_info_size = particles_info.size(); if(user_index >= 0 && user_index < part_info_size) { qp_val = particles_info[user_index]; if(qp_val > 0.0) { qp_val = 1.0; } else { qp_val = -1.0; } } //cout << "user_index = " << user_index << ", qp_val = " << qp_val << ", part_info_size = " << part_info_size << endl; if(flag_save_to_ntuple && i_orig_smear == 0) { // EventId:JetId:rho:area:Jetphi:Jeteta:Jetpt:TrackId:eta:phi:pt ReCoil_Jet_NTDataArray[0] = (Float_t)counter; ReCoil_Jet_NTDataArray[1] = (Float_t)i; ReCoil_Jet_NTDataArray[2] = (Float_t)jet_rho; ReCoil_Jet_NTDataArray[3] = (Float_t)jet_area; ReCoil_Jet_NTDataArray[4] = (Float_t)jet_phi; ReCoil_Jet_NTDataArray[5] = (Float_t)jet_eta; ReCoil_Jet_NTDataArray[6] = (Float_t)jet_pt_sub; ReCoil_Jet_NTDataArray[7] = (Float_t)j; ReCoil_Jet_NTDataArray[8] = (Float_t)jet_const_eta; ReCoil_Jet_NTDataArray[9] = (Float_t)jet_const_phi; ReCoil_Jet_NTDataArray[10] = (Float_t)qp_val*jet_const_pt; ReCoil_Jet_NTDataArray[11] = (Float_t)prim_vertex_x; ReCoil_Jet_NTDataArray[12] = (Float_t)prim_vertex_y; ReCoil_Jet_NTDataArray[13] = (Float_t)prim_vertex_z; NT_ReCoil_Jet->Fill(ReCoil_Jet_NTDataArray); } if(jet_const_pt > leading_pt) { sub_leading_pt = leading_pt; leading_pt = jet_const_pt; leading_phi = jet_const_phi; leading_eta = jet_const_eta; } //cout << "track " << j << ", track pt = " << jet_const_pt << ", phi = " << jet_const_phi << ", eta = " << jet_const_eta << endl; if(jet_const_pt > track_pT_assoc_threshold) { N_tracks_above_pT_assoc_threshold++; } } if(eMode == 32 || eMode == 312) // for eMode == 32 the high pT tracks are downscaled. Make sure all trigger pT bins are filled. { leading_pt *= ran_gen.Rndm()*max_pt_threshold; // Not used anymore } //cout << "leading_pt = " << leading_pt << ", sub_leading_pt = " << sub_leading_pt << endl; if(sub_leading_pt > 0.0 && leading_pt > 0.0 && i_orig_smear == 0) { h_ratio_sub_lead_to_lead_pt_vs_lead_pt ->Fill(leading_pt,sub_leading_pt/leading_pt,PYTHIA_hard_bin_index_weight); h_sub_lead_vs_lead_pt ->Fill(leading_pt,sub_leading_pt,PYTHIA_hard_bin_index_weight); } //---------------------------------------------------------------- if(eMode == 31 || eMode == 32 || eMode == 312 || eMode == 311 || eMode == 3) { if(i == 0) { #if 0 for(Int_t i_val = 0; i_val < vec_trigger_tracks.size(); i_val++) cout << "i before: " << i_val << ", eta: " << vec_trigger_tracks[i_val][0] << ", phi: " << vec_trigger_tracks[i_val][1] << ", pT: " << vec_trigger_tracks[i_val][2] << endl; #endif // sort the pT values std::sort (vec_trigger_tracks.begin(), vec_trigger_tracks.end(), sortFunc); #if 0 for(Int_t i_val = 0; i_val < vec_trigger_tracks.size(); i_val++) cout << "i after: " << i_val << ", eta: " << vec_trigger_tracks[i_val][0] << ", phi: " << vec_trigger_tracks[i_val][1] << ", pT: " << vec_trigger_tracks[i_val][2] << endl; #endif // loop over all defined trigger pt intervals for(Int_t lead_pt_bin = 0; lead_pt_bin < N_leading_pt_bins; lead_pt_bin++) { if(lead_pt_bin >= 0) { h_N_tracks_dijet[lead_pt_bin][i_orig_smear] ->Fill(N_Particles,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_N_tracks_dijet[N_leading_pt_bins][i_orig_smear] ->Fill(N_Particles,Et_weight_factor*PYTHIA_hard_bin_index_weight); } if(global_bin >= 0 && global_bin < N_global_bin && lead_pt_bin >= 0) { h2D_mult_vs_global_bin[lead_pt_bin][i_orig_smear] ->Fill(global_bin,N_Particles,Et_weight_factor*PYTHIA_hard_bin_index_weight); h2D_mult_vs_global_bin[N_leading_pt_bins][i_orig_smear] ->Fill(global_bin,N_Particles,Et_weight_factor*PYTHIA_hard_bin_index_weight); } // Find first index of sorted pT vector which fits into trigger pT range Int_t trigger_index_min = -1; for(Int_t i_trigger = 0; i_trigger < vec_trigger_tracks.size(); i_trigger++) { if(vec_trigger_tracks[i_trigger][2] >= Array_leading_pt_bins[0][lead_pt_bin]) { trigger_index_min = i_trigger; break; } } if(trigger_index_min == -1 && !(eMode == 32)) continue; // Skip event if it doesn't fit into trigger range // Choose a random track within trigger pT range as trigger Int_t random_trigger_index; Int_t trigger_index_range = vec_trigger_tracks.size()-trigger_index_min; if(eMode == 32) // for eMode == 32 the high pT tracks are downscaled. Make sure all trigger pT bins are filled. { random_trigger_index = ran_gen.Integer(vec_trigger_tracks.size()); trigger_index_range = 1; trigger_index_min = 0; } else { random_trigger_index = ran_gen.Integer(trigger_index_range); // [0,trigger_index_range-1] random_trigger_index += trigger_index_min; } #if 0 cout << "jetA: " << i << ", lead_pt_bin: " << lead_pt_bin << ", low val: " << Array_leading_pt_bins[0][lead_pt_bin] << ", trigger_index_min: " << trigger_index_min << ", pt val: " << vec_trigger_tracks[trigger_index_min][2] << ", trigger index range: " << vec_trigger_tracks.size()-trigger_index_min << ", random_trigger_index: " << random_trigger_index << endl; #endif if(random_trigger_index >= vec_trigger_tracks.size()) { cout << "ERROR: random_trigger_index out of range!" << endl; continue; } // Loop over ALL possible triggers in event, for i_trigger_use == 0 use the random trigger defined above for(Int_t i_trigger_use = 0; i_trigger_use < trigger_index_range+1; i_trigger_use++) { if(i_trigger_use > 0 && lead_pt_bin < 4) break; // Do not fill the histograms for the low pT bins -> not needed, takes too much time Int_t trigger_orig_smear = 0; if(i_trigger_use > 0) // not the random trigger, loop overa ALL triggers in event { trigger_orig_smear = 2; // That is for all triggers, index = 0 and index 1 (i_orig_smear) is for random single trigger random_trigger_index = trigger_index_min + i_trigger_use - 1; // loop over all good triggers } h_trigger_track[i_orig_smear+trigger_orig_smear] ->Fill(N_leading_pt_bins,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_trigger_track[i_orig_smear+trigger_orig_smear] ->Fill(lead_pt_bin,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_trigger_track_vs_global_bin[i_orig_smear+trigger_orig_smear]->Fill(global_bin,N_leading_pt_bins,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_trigger_track_vs_global_bin[i_orig_smear+trigger_orig_smear]->Fill(global_bin,lead_pt_bin,Et_weight_factor*PYTHIA_hard_bin_index_weight); // Jet B loop Int_t N_accepted_jets[N_jet_areas]; for(Int_t i_area_acc = 0; i_area_acc < N_jet_areas; i_area_acc++) { N_accepted_jets[i_area_acc] = 0; } for(Int_t iB = 0; iB < jets[i_orig_smear].size(); iB++) { //if(iB == i) continue; // Don't use the same jet candidate twice Float_t jet_ptB = jets[i_orig_smear][iB].perp(); Float_t jet_areaB = jets[i_orig_smear][iB].area(); Float_t jet_pt_subB = jets[i_orig_smear][iB].perp() - jet_rho*jet_areaB; Float_t jet_etaB = jets[i_orig_smear][iB].eta(); Float_t jet_phiB = jets[i_orig_smear][iB].phi(); Float_t jet_delta_eta = fabs(jet_etaB + vec_trigger_tracks[random_trigger_index][0]); Float_t jet_delta_phi = fabs(jet_phiB - vec_trigger_tracks[random_trigger_index][1]); if(jet_delta_phi > 2.0*Pi) jet_delta_phi -= 2.0*Pi; Float_t dijet_delta_phi = jet_phiB-vec_trigger_tracks[random_trigger_index][1]; // -2*Pi..2*Pi if(dijet_delta_phi < 0.0) dijet_delta_phi += 2.0*Pi; // 0..2*Pi if(dijet_delta_phi > 1.5*Pi) { dijet_delta_phi = -0.5*Pi + (dijet_delta_phi-1.5*Pi); // -0.5*Pi..1.5*Pi } //cout << "leading_phi = " << leading_phi << ", jet_phiB = " << jet_phiB << ", dijet_delta_phi = " << dijet_delta_phi << endl; //cout << "phiA = " << jet_phi << ", phiB =" << jet_phiB << ", jet_delta_phi = " << jet_delta_phi // << ", etaA = " << jet_eta << ", etaB = " << jet_etaB << ", jet_delta_eta = " << jet_delta_eta << endl; //-------------------------------------------------- // Di-jet histograms if( jet_delta_eta < jet_delta_eta_cut ) { for(Int_t i_area = 0; i_area < N_jet_areas; i_area++) { // Fill spectra if(jet_areaB > array_areas[i_area]) { h2D_dijet_pt_sub[i_area][N_leading_pt_bins][i_orig_smear+trigger_orig_smear] ->Fill(dijet_delta_phi,jet_pt_subB,Et_weight_factor*PYTHIA_hard_bin_index_weight); h2D_dijet_pt[i_area][N_leading_pt_bins][i_orig_smear+trigger_orig_smear] ->Fill(dijet_delta_phi,jet_ptB,Et_weight_factor*PYTHIA_hard_bin_index_weight); if(lead_pt_bin != -1) { h2D_dijet_pt_sub[i_area][lead_pt_bin][i_orig_smear+trigger_orig_smear] ->Fill(dijet_delta_phi,jet_pt_subB,Et_weight_factor*PYTHIA_hard_bin_index_weight); h2D_dijet_pt[i_area][lead_pt_bin][i_orig_smear+trigger_orig_smear] ->Fill(dijet_delta_phi,jet_ptB,Et_weight_factor*PYTHIA_hard_bin_index_weight); } dijets_per_event[i_area]++; } } } //-------------------------------------------------- //-------------------------------------------------- // Recoil jet histograms if( jet_delta_eta < jet_delta_eta_cut && fabs(Pi-jet_delta_phi) < jet_delta_phi_cut // && iB != i // Don't use the same jet candidate twice ) { //cout << "Et_weight_factor: " << Et_weight_factor << endl; h_jet_area_array[ez_bin][emult_bin][ePsi_bin] ->Fill(jet_areaB,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_rhoarea_array[ez_bin][emult_bin][ePsi_bin] ->Fill(jet_areaB*jet_rho,Et_weight_factor*PYTHIA_hard_bin_index_weight); if(i_orig_smear == 0 && trigger_orig_smear == 0) { //if(jet_rho > 0.001) cout << "iB: " << iB << ", rho: " << jet_rho << ", jet_areaB: " << jet_areaB << ", jet_pt_subB: " << jet_pt_subB << endl; h_area_vs_recoil_jet_pt[N_leading_pt_bins] ->Fill(jet_pt_subB,jet_areaB,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_rho[N_leading_pt_bins] ->Fill(jet_rho,Et_weight_factor*PYTHIA_hard_bin_index_weight); if(lead_pt_bin != -1) { h_area_vs_recoil_jet_pt[lead_pt_bin] ->Fill(jet_pt_subB,jet_areaB,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_rho[lead_pt_bin] ->Fill(jet_rho,Et_weight_factor*PYTHIA_hard_bin_index_weight); } } for(Int_t i_area = 0; i_area < N_jet_areas; i_area++) { // Fill spectra if(jet_areaB > array_areas[i_area]) { //cout << "jet_ptB = " << jet_ptB << endl; N_accepted_jets[i_area]++; //cout << "Weight factor: " << Et_weight_factor*PYTHIA_hard_bin_index_weight << ", Et_weight_factor: " << Et_weight_factor << ", PYTHIA_hard_bin_index_weight: " << PYTHIA_hard_bin_index_weight << endl; h_jet_pt_sub[i_area][N_leading_pt_bins][i_orig_smear+trigger_orig_smear] ->Fill(jet_pt_subB,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_pt[i_area][N_leading_pt_bins][i_orig_smear+trigger_orig_smear] ->Fill(jet_ptB,Et_weight_factor*PYTHIA_hard_bin_index_weight); if(lead_pt_bin != -1) { //cout << "Fill spectra, PYTHIA_hard_bin_index_weight: " << PYTHIA_hard_bin_index_weight << endl; h_jet_pt_sub[i_area][lead_pt_bin][i_orig_smear+trigger_orig_smear] ->Fill(jet_pt_subB,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_pt[i_area][lead_pt_bin][i_orig_smear+trigger_orig_smear] ->Fill(jet_ptB,Et_weight_factor*PYTHIA_hard_bin_index_weight); } h_jet_area[i_area][i_orig_smear+trigger_orig_smear] ->Fill(jet_areaB,Et_weight_factor*PYTHIA_hard_bin_index_weight); //if(i_area == 4) cout << "i_orig_smear: " << i_orig_smear << ", i_area: " << i_area << ", lead_pt_bin: " << lead_pt_bin << ", jet_pt_subB: " << jet_pt_subB << ", jets_per_event: " << jets_per_event[i_area] << endl; jets_per_event[i_area]++; } } } //-------------------------------------------------- } // end of jet B loop if(i_trigger_use == 0) { for(Int_t i_area_acc = 0; i_area_acc < N_jet_areas; i_area_acc++) { h_N_accepted_recoil_jets[i_area_acc][lead_pt_bin] ->Fill(N_accepted_jets[i_area_acc]); h_N_accepted_recoil_jets[i_area_acc][N_leading_pt_bins] ->Fill(N_accepted_jets[i_area_acc]); #if 0 if(i_area_acc == 4) cout << "event: " << counter << ", i_area_acc: " << i_area_acc << ", N_recoil_jets: " << N_accepted_jets[i_area_acc] << ", jetA: " << i << ", lead_pt_bin: " << lead_pt_bin << ", i_orig_smear: " << i_orig_smear << endl; #endif } } } // end of trigger loop //---------------------------------------------------------------- if(eMode == 3) { //cout << "leading_pt = " << leading_pt << ", lead_pt_bin = " << lead_pt_bin << endl; h_jet_area_array[ez_bin][emult_bin][ePsi_bin] ->Fill(jet_area,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_rhoarea_array[ez_bin][emult_bin][ePsi_bin] ->Fill(jet_area*jet_rho,Et_weight_factor*PYTHIA_hard_bin_index_weight); for(Int_t i_area = 0; i_area < N_jet_areas; i_area++) { if(jet_area > array_areas[i_area]) { h_jet_pt_sub[i_area][N_leading_pt_bins][i_orig_smear] ->Fill(jet_pt_sub,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_pt[i_area][N_leading_pt_bins][i_orig_smear] ->Fill(jet_pt,Et_weight_factor*PYTHIA_hard_bin_index_weight); if(lead_pt_bin != -1) { h_jet_pt_sub[i_area][lead_pt_bin][i_orig_smear] ->Fill(jet_pt_sub,Et_weight_factor*PYTHIA_hard_bin_index_weight); h_jet_pt[i_area][lead_pt_bin][i_orig_smear] ->Fill(jet_pt,Et_weight_factor*PYTHIA_hard_bin_index_weight); } h_jet_area[i_area][i_orig_smear] ->Fill(jet_area,Et_weight_factor*PYTHIA_hard_bin_index_weight); jets_per_event[i_area]++; } } } // end eMode = 3 //---------------------------------------------------------------- } // end of trigger track loop } } //---------------------------------------------------------------- } // End jet A loop //---------------------------------------------------------------------------------------- } for(Int_t k = 0; k < N_jet_areas; k++) { h_jet_per_event[k][i_orig_smear] ->Fill(jets_per_event[k],Et_weight_factor*PYTHIA_hard_bin_index_weight); h_dijet_per_event[k][i_orig_smear] ->Fill(dijets_per_event[k],Et_weight_factor*PYTHIA_hard_bin_index_weight); //cout << "area: " << k << ", i_orig_smear: " << i_orig_smear << ", jet_per_event[area]: " << jets_per_event[k] << endl; } } // end i_orig_smear //---------------------------------- // Calculate the jet matching/reconstrution efficiencies - only for mode 311 -> PYTHIA if(eMode == 311 || eMode == 312) { //cout << "rho[0]: " << jet_rho_array[0] << ", rho[1]: " << jet_rho_array[1] << endl; if(jet_rho_array[0] > 0.0 && jet_rho_array[1] > 0.0) { Int_t N_jets_PYTHIA[2] = {vec_jet_array[0].size(),vec_jet_array[1].size()}; #if 0 cout << "" << endl; cout << "----------------------------------" << endl; cout << "PYTHIA jets: " << N_jets_PYTHIA[0] << ", PYTHIA jets (smeared+eff): " << N_jets_PYTHIA[1] << ", rho: " << jet_rho_array[0] << ", rho(smeared+eff): " << jet_rho_array[1] << endl; #endif // Loop over the original PYTHIA jets for(Int_t i_jet = 0; i_jet < N_jets_PYTHIA[0]; i_jet++) { Float_t jet_pt = vec_jet_array[0][i_jet][0]; Float_t jet_area = vec_jet_array[0][i_jet][1]; Float_t jet_pt_sub = vec_jet_array[0][i_jet][2]; Float_t jet_eta = vec_jet_array[0][i_jet][3]; Float_t jet_phi = vec_jet_array[0][i_jet][4]; // Loop over the original PYTHIA jet constituent tracks Float_t jet_sum_track_pt = 0.0; vector<Int_t> vec_user_index; for(Int_t j_track = 0; j_track < vec_jet_const_array[0][i_jet].size(); j_track++) { Float_t jet_const_pt = vec_jet_const_array[0][i_jet][j_track][0]; if(jet_const_pt < 0.15) continue; // remove ghost tracks jet_sum_track_pt += jet_const_pt; // jet pt based only on the tracks which are later on matched Float_t jet_const_phi = vec_jet_const_array[0][i_jet][j_track][1]; Float_t jet_const_eta = vec_jet_const_array[0][i_jet][j_track][2]; Int_t user_index = (Int_t)vec_jet_const_array[0][i_jet][j_track][3]; vec_user_index.push_back(user_index); } #if 0 cout << "PYTHIA jet: " << i_jet << ", jet_pT: " << jet_pt << ", tracks: " << vec_user_index.size() << endl; #endif // Loop over the smeared+eff PYTHIA jets vector<Int_t> vec_index_counter; // stores the number of matched tracks for every smeared+eff PYTHIA jet //std::vector< std::vector<Double_t> > vec_match_jet_info; //vec_match_jet_info.resize(N_jets_PYTHIA[1]); Double_t best_fraction_of_matched_tracks = 0.0; // keeps always the best fraction of matched tracks Double_t best_jet_pt_smeared = 0.0; // keeps always the highest matched jet pT Double_t best_jet_area_smeared = 0.0; Double_t best_jet_pt_sub_smeared = 0.0; for(Int_t i_jet_smeared = 0; i_jet_smeared < N_jets_PYTHIA[1]; i_jet_smeared++) { Float_t jet_pt_smeared = vec_jet_array[1][i_jet_smeared][0]; Float_t jet_area_smeared = vec_jet_array[1][i_jet_smeared][1]; Float_t jet_pt_sub_smeared = vec_jet_array[1][i_jet_smeared][2]; Float_t jet_eta_smeared = vec_jet_array[1][i_jet_smeared][3]; Float_t jet_phi_smeared = vec_jet_array[1][i_jet_smeared][4]; #if 0 cout << "i_jet_smeared: " << i_jet_smeared << ", rho: " << jet_rho_array[1] << ", area: " << jet_area_smeared << ", rho*area: " << jet_rho_array[1]*jet_area_smeared << ", jet_pt_smeared: " << jet_pt_smeared << ", jet_pt_sub_smeared: " << jet_pt_sub_smeared << endl; #endif // Loop over the smeared+eff PYTHIA jet constituent tracks Int_t Index_counter = 0; // counts for this particular original PYTHIA jet - smeared+eff PYTHIA jet combination how many tracks are matched Float_t jet_sum_track_pt_smeared = 0.0; for(Int_t j_track_smeared = 0; j_track_smeared < vec_jet_const_array[1][i_jet_smeared].size(); j_track_smeared++) { Float_t jet_const_pt_smeared = vec_jet_const_array[1][i_jet_smeared][j_track_smeared][0]; if(jet_const_pt_smeared < 0.15) continue; // remove ghost tracks Float_t jet_const_phi_smeared = vec_jet_const_array[1][i_jet_smeared][j_track_smeared][1]; Float_t jet_const_eta_smeared = vec_jet_const_array[1][i_jet_smeared][j_track_smeared][2]; Int_t user_index_smeared = (Int_t)vec_jet_const_array[1][i_jet_smeared][j_track_smeared][3]; // check if that user_index is in original PYTHIA jet for(Int_t i_index = 0; i_index < vec_user_index.size(); i_index++) { if(user_index_smeared == vec_user_index[i_index]) // same track was found { Index_counter++; jet_sum_track_pt_smeared += jet_const_pt_smeared; // use only matched tracks for the matched pt comparison //cout << "user_index_smeared: " << user_index_smeared << endl; } } } vec_index_counter.push_back(Index_counter); Double_t fraction_of_matched_tracks = 0.0; if(vec_user_index.size() > 0) { fraction_of_matched_tracks = ((Double_t)Index_counter)/((Double_t)vec_user_index.size()); #if 0 cout << "PYTHIA jet (smeared+eff): " << i_jet_smeared << ", fraction of matched tracks: " << fraction_of_matched_tracks << ", matched tracks: " << Index_counter << ", tracks in original jet: " << vec_user_index.size() << ", pt-rho*A (smeared+eff): " << jet_pt_sub_smeared << ", original jet pT: " << jet_sum_track_pt << ", matched tracks jet pT: " << jet_sum_track_pt_smeared << endl; #endif } // Find the reconstructed jet with most matched tracks and highest matched energy if( fraction_of_matched_tracks >= best_fraction_of_matched_tracks && jet_sum_track_pt_smeared >= best_jet_pt_smeared ) { best_fraction_of_matched_tracks = fraction_of_matched_tracks; best_jet_pt_smeared = jet_sum_track_pt_smeared; best_jet_area_smeared = jet_area_smeared; best_jet_pt_sub_smeared = jet_pt_sub_smeared; } //vec_match_jet_info[i_jet_smeared].push_back(jet_pt_sub,jet_pt_sub_smeared,fraction_of_matched_tracks); } Double_t Delta_pt = best_jet_pt_sub_smeared - jet_pt; // reconstructed jet pT - embedded jet pT for(Int_t i_area = 0; i_area < N_jet_areas; i_area++) { if(best_jet_area_smeared > array_areas[i_area]) { // Fill histogram for matched pT h2D_Sim_matched_pT_vs_original_pT[i_area] ->Fill(jet_sum_track_pt,best_jet_pt_smeared); h2D_Sim_original_pT_vs_matched_pT[i_area] ->Fill(best_jet_pt_smeared,jet_sum_track_pt); h_matched_tracks_fraction[i_area] ->Fill(best_fraction_of_matched_tracks); h2D_matched_tracks_fraction_vs_original_pT[i_area] ->Fill(jet_sum_track_pt,best_fraction_of_matched_tracks); if(eMode == 312) { h_Delta_pt_vs_embed_pt[i_area][0][ePsi_bin] ->Fill(jet_pt,Delta_pt,PYTHIA_hard_bin_index_weight); #if 0 if(i_area == 0) cout << "jet_pt (embed): " << jet_pt << ", rec jet_pt (matched): " << best_jet_pt_smeared << ", Delta_pt: " << Delta_pt << ", best_jet_pt_sub_smeared: " << best_jet_pt_sub_smeared << endl; #endif } } } #if 0 cout << "i_jet: " << i_jet << ", N_tracks: " << vec_user_index.size() << ", best fraction of matched track: " << best_fraction_of_matched_tracks << ", matched pT: " << best_jet_pt_smeared << ", out of: " << jet_sum_track_pt << endl; #endif } #if 0 cout << "----------------------------------" << endl; cout << "" << endl; #endif } } // End of PYTHIA jet reconstruction efficiency calculation //---------------------------------- } //----------------------------------------------------------------------------- } } } } if(eMode == 2) // eMode 2 is mixed event { cout << "Mixed event mode started" << endl; Int_t vertex_pos_counter = 0; Int_t i_SE_ME = 0; Long64_t stop_event_use_loop = stop_event_use; if(stop_event_use_loop > file_entries_SE_ME[i_SE_ME]) stop_event_use_loop = file_entries_SE_ME[i_SE_ME]; Int_t ME_event_counter = 0; Two_dim_Int_vector ME_track_number_vector; // stores the track ids for every event which is mixed ME_track_number_vector.resize(N_max_events); for(Long64_t counter = start_event_use; counter < stop_event_use_loop; counter++) { if (counter != 0 && counter % 100 == 0) cout << "." << flush; if (counter != 0 && counter % 1000 == 0) { if((stop_event_use_loop-start_event_use) > 0) { Double_t event_percent = 100.0*((Double_t)(counter-start_event_use))/((Double_t)(stop_event_use_loop-start_event_use)); cout << " " << counter << " (" << event_percent << "%) " << "\n" << "==> Processing data " << flush; } } if (!input_SE_ME[i_SE_ME]->GetEntry( counter )) // take the event -> information is stored in event break; // end of data chunk //----------------------------------------------------------------------------- // Event information Float_t prim_vertex_x = JetTrackEvent->getx(); Float_t prim_vertex_y = JetTrackEvent->gety(); Float_t prim_vertex_z = JetTrackEvent->getz(); Int_t RunId = JetTrackEvent->getid(); Float_t refMult = JetTrackEvent->getmult(); Float_t n_prim = JetTrackEvent->getn_prim(); Float_t n_non_prim = JetTrackEvent->getn_non_prim(); Int_t n_tofmatch_prim = JetTrackEvent->getn_tof_prim(); Int_t SE_ME_flag = JetTrackEvent->getSE_ME_flag(); Float_t ZDCx = JetTrackEvent->getZDCx(); Float_t BBCx = JetTrackEvent->getBBCx(); Float_t vzVPD = JetTrackEvent->getvzVpd(); Int_t N_Particles = JetTrackEvent->getNumParticle(); TVector2 QvecEtaPos = JetTrackEvent->getQvecEtaPos(); TVector2 QvecEtaNeg = JetTrackEvent->getQvecEtaNeg(); Int_t cent9 = JetTrackEvent->getcent9(); ME_track_number_vector[ME_event_counter].resize(N_Particles); for(Int_t i_track = 0; i_track < N_Particles; i_track++) { ME_track_number_vector[ME_event_counter][i_track] = i_track; } if(fabs(prim_vertex_z) > z_acceptance[eBeamTimeNum]) continue; Double_t reweight = 1.0; if(eMode != 311) // not PYTHIA { refmultCorrUtil->init(RunId); refmultCorrUtil->initEvent(refMult, prim_vertex_z, ZDCx); // Get centrality bins // see StRefMultCorr.h for the definition of centrality bins //erefMult_bin16 = refmultCorrUtil->getCentralityBin16(); //erefMult_bin = refmultCorrUtil->getCentralityBin9(); reweight = refmultCorrUtil->getWeight(); } //cout << "ME_event_counter = " << ME_event_counter << ", array size = " << ME_track_number_vector[ME_event_counter].size() << endl; //----------------------------------------------------------------------------- //--------------------------------------------------------------------------- // Good/Bad run selection Int_t flag_good_run = 1; for(Int_t bad_run = 0; bad_run < n_bad_run_numbers[eBeamTimeNum]; bad_run++) { if(bad_run_numbers[bad_run] == (Int_t)RunId) { flag_good_run = 0; break; } } if(flag_good_run == 0) continue; //--------------------------------------------------------------------------- // Fill event information for jet JetTrackEvent_ME[ME_event_counter]->clearParticleList(); JetTrackEvent_ME[ME_event_counter]->setx(prim_vertex_x); JetTrackEvent_ME[ME_event_counter]->sety(prim_vertex_y); JetTrackEvent_ME[ME_event_counter]->setz(prim_vertex_z); JetTrackEvent_ME[ME_event_counter]->setid(RunId); JetTrackEvent_ME[ME_event_counter]->setmult(refMult); JetTrackEvent_ME[ME_event_counter]->setn_prim(n_prim); JetTrackEvent_ME[ME_event_counter]->setn_non_prim(n_non_prim); JetTrackEvent_ME[ME_event_counter]->setn_tof_prim(n_tofmatch_prim); JetTrackEvent_ME[ME_event_counter]->setSE_ME_flag(SE_ME_flag); JetTrackEvent_ME[ME_event_counter]->setZDCx(ZDCx); JetTrackEvent_ME[ME_event_counter]->setBBCx(BBCx); JetTrackEvent_ME[ME_event_counter]->setvzVpd(vzVPD); JetTrackEvent_ME[ME_event_counter]->setQvecEtaPos(QvecEtaPos); JetTrackEvent_ME[ME_event_counter]->setQvecEtaNeg(QvecEtaNeg); JetTrackEvent_ME[ME_event_counter]->setcent9(cent9); Double_t Psi2 = 0.0; for(Int_t i_track = 0; i_track < N_Particles; i_track++) { // Particle information JetTrackParticle = JetTrackEvent->getParticle(i_track); Float_t dca = JetTrackParticle->get_dca_to_prim(); Float_t m2 = JetTrackParticle->get_Particle_m2 (); Float_t nSPi = JetTrackParticle->get_Particle_nSigmaPi(); Float_t nSK = JetTrackParticle->get_Particle_nSigmaK(); Float_t nSP = JetTrackParticle->get_Particle_nSigmaP(); Float_t qp = JetTrackParticle->get_Particle_qp(); Float_t nhitsfit = JetTrackParticle->get_Particle_hits_fit(); TLorentzVector TLV_Particle_prim = JetTrackParticle->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob = JetTrackParticle->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use = TLV_Particle_prim; if(eflab_prim_glob == 1) TLV_Particle_use = TLV_Particle_glob; JetTrackParticle_ME = JetTrackEvent_ME[ME_event_counter]->createParticle(); JetTrackParticle_ME ->set_dca_to_prim(dca); JetTrackParticle_ME ->set_Particle_m2(m2); JetTrackParticle_ME ->set_Particle_nSigmaPi(nSPi); JetTrackParticle_ME ->set_Particle_nSigmaK(nSK); JetTrackParticle_ME ->set_Particle_nSigmaP(nSP); JetTrackParticle_ME ->set_Particle_qp(qp); JetTrackParticle_ME ->set_TLV_Particle_prim(TLV_Particle_prim); JetTrackParticle_ME ->set_TLV_Particle_glob(TLV_Particle_glob); JetTrackParticle_ME ->set_Particle_hits_fit(nhitsfit); } //cout << "ME_event_counter (A) = " << ME_event_counter << ", N_Particles = " << N_Particles << endl; ME_event_counter++; if(ME_event_counter == N_max_events) // event buffer is full, start to create mixed events { for(Int_t mix_loop = 0; mix_loop < N_max_events; mix_loop++) { if (mix_loop != 0 && mix_loop % 10 == 0) cout << "-" << flush; // Sample track number and z-vertex value Double_t N_tracks_sample_d, N_z_vertex_sample, N_Psi_sample; h_tracks_vs_z_vertex_array[ez_bin][emult_bin] ->GetRandom2(N_z_vertex_sample,N_tracks_sample_d); h_Psi_vs_z_vertex_array[ez_bin][ePsi_bin] ->GetRandom2(N_z_vertex_sample,N_Psi_sample); //h_tracks_vs_z_vertex_sample->GetRandom2(N_z_vertex_sample,N_tracks_sample_d); Int_t N_tracks_sample = (Int_t)N_tracks_sample_d; //cout << "global event = " << counter << ", mix_loop = " << mix_loop << ", N_z_vertex_sample = " << N_z_vertex_sample << ", N_tracks_sample = " << N_tracks_sample << endl; if(N_tracks_sample > N_max_events) { cout << "Error: N_tracks_sample > N_max_events" << endl; break; } Int_t z_bin = -1; if(N_z_vertex_sample > vertex_z_start_stop_delta[eBeamTimeNum][0] && N_z_vertex_sample < vertex_z_start_stop_delta[eBeamTimeNum][1]) { z_bin = (Int_t)((N_z_vertex_sample-vertex_z_start_stop_delta[eBeamTimeNum][0])/vertex_z_start_stop_delta[eBeamTimeNum][2]); } Int_t mult_bin = -1; if(N_tracks_sample_d > mult_start_stop_delta[eBeamTimeNum][0] && N_tracks_sample_d < mult_start_stop_delta[eBeamTimeNum][1]) { mult_bin = (Int_t)((N_tracks_sample_d-mult_start_stop_delta[eBeamTimeNum][0])/mult_start_stop_delta[eBeamTimeNum][2]); } Int_t Psi_bin = -1; if(Psi2 > Psi_start_stop_delta[eBeamTimeNum][0] && N_Psi_sample < Psi_start_stop_delta[eBeamTimeNum][1]) { Psi_bin = (Int_t)((N_Psi_sample-Psi_start_stop_delta[eBeamTimeNum][0])/Psi_start_stop_delta[eBeamTimeNum][2]); } //cout << "z_bin = " << z_bin << ", mult_bin = " << mult_bin << ", Psi_bin = " << Psi_bin << ", N_tracks_sample_d = " << N_tracks_sample_d << endl; //if(z_bin == ez_bin && mult_bin == emult_bin && Psi_bin == ePsi_bin) { F_mixed_event[ez_bin][emult_bin][ePsi_bin] ->cd(); Int_t Fill_flag = 1; // if all events in the loop have some entries left over then fill the event later Double_t Et_total = 0.0; for(Int_t ME_loop_counter = 0; ME_loop_counter < N_tracks_sample; ME_loop_counter++) { //input_SE_ME[i_SE_ME]->GetEntry( counter - N_max_events + ME_loop_counter + 1 ); //JetTrackEvent_ME = *JetTrackEvent; //----------------------------------------------------------------------------- // Event information Float_t prim_vertex_x = JetTrackEvent_ME[ME_loop_counter]->getx(); Float_t prim_vertex_y = JetTrackEvent_ME[ME_loop_counter]->gety(); Float_t prim_vertex_z = JetTrackEvent_ME[ME_loop_counter]->getz(); Int_t RunId = JetTrackEvent_ME[ME_loop_counter]->getid(); Float_t refMult = JetTrackEvent_ME[ME_loop_counter]->getmult(); Float_t n_prim = JetTrackEvent_ME[ME_loop_counter]->getn_prim(); Float_t n_non_prim = JetTrackEvent_ME[ME_loop_counter]->getn_non_prim(); Int_t n_tofmatch_prim = JetTrackEvent_ME[ME_loop_counter]->getn_tof_prim(); Int_t SE_ME_flag = JetTrackEvent_ME[ME_loop_counter]->getSE_ME_flag(); Float_t ZDCx = JetTrackEvent_ME[ME_loop_counter]->getZDCx(); Float_t BBCx = JetTrackEvent_ME[ME_loop_counter]->getBBCx(); Float_t vzVPD = JetTrackEvent_ME[ME_loop_counter]->getvzVpd(); Int_t N_Particles = JetTrackEvent_ME[ME_loop_counter]->getNumParticle(); TVector2 QvecEtaPos = JetTrackEvent_ME[ME_loop_counter]->getQvecEtaPos(); TVector2 QvecEtaNeg = JetTrackEvent_ME[ME_loop_counter]->getQvecEtaNeg(); Int_t cent9 = JetTrackEvent_ME[ME_loop_counter]->getcent9(); if((N_Particles-mix_loop) < 0) // at least one event in the loop is out of tracks, stop and don't fill the tree { Fill_flag = 0; break; } if(ME_loop_counter == 0) { // Fill event information for jet JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].clearParticleList(); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setx(prim_vertex_x); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].sety(prim_vertex_y); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setz(prim_vertex_z); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setid(RunId); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setmult(refMult); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setn_prim(n_prim); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setn_non_prim(n_non_prim); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setn_tof_prim(n_tofmatch_prim); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setSE_ME_flag(SE_ME_flag); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setZDCx(ZDCx); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setBBCx(BBCx); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setvzVpd(vzVPD); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setQvecEtaPos(QvecEtaPos); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setQvecEtaNeg(QvecEtaNeg); JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].setcent9(cent9); h_tracks_vs_z_vertex[ez_bin][emult_bin][ePsi_bin] ->Fill(N_z_vertex_sample,N_tracks_sample_d); h_Psi2[ez_bin][emult_bin][ePsi_bin] ->Fill(Psi2); } //----------------------------------------------------------------------------- // select random track from this event //cout << "ME_loop_counter = " << ME_loop_counter << ", N_Particles = " << N_Particles << ", mix_loop = " << mix_loop << endl; Int_t track_num_random = (Int_t)ran.Integer(N_Particles-mix_loop); //if(ME_loop_counter == 0) cout << "track_num_random = " << track_num_random << ", array size = " << ME_track_number_vector[ME_loop_counter].size() << endl; Int_t track_id_num_random = ME_track_number_vector[ME_loop_counter][track_num_random]; ME_track_number_vector[ME_loop_counter][track_num_random] = ME_track_number_vector[ME_loop_counter][N_Particles-mix_loop-1]; //cout << "Test C, N_Particles = " << N_Particles << ", track_id_num_random = " << track_id_num_random << endl; //JetTrackEvent_ME.resize(N_max_events); //mult_start_stop_delta[eBeamTimeNum][1] //file_entries_SE_ME[0] // Particle information JetTrackParticle_ME = JetTrackEvent_ME[ME_loop_counter]->getParticle(track_id_num_random); Float_t dca = JetTrackParticle_ME->get_dca_to_prim(); Float_t m2 = JetTrackParticle_ME->get_Particle_m2 (); Float_t nSPi = JetTrackParticle_ME->get_Particle_nSigmaPi(); Float_t nSK = JetTrackParticle_ME->get_Particle_nSigmaK(); Float_t nSP = JetTrackParticle_ME->get_Particle_nSigmaP(); Float_t qp = JetTrackParticle_ME->get_Particle_qp(); Float_t nhitsfit = JetTrackParticle_ME->get_Particle_hits_fit(); TLorentzVector TLV_Particle_prim = JetTrackParticle_ME->get_TLV_Particle_prim(); TLorentzVector TLV_Particle_glob = JetTrackParticle_ME->get_TLV_Particle_glob(); TLorentzVector TLV_Particle_use = TLV_Particle_prim; if(eflab_prim_glob == 1) TLV_Particle_use = TLV_Particle_glob; Et_total += TLV_Particle_use.Et(); JetTrackParticle_Fill = JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin].createParticle(); JetTrackParticle_Fill ->set_dca_to_prim(dca); JetTrackParticle_Fill ->set_Particle_m2(m2); JetTrackParticle_Fill ->set_Particle_nSigmaPi(nSPi); JetTrackParticle_Fill ->set_Particle_nSigmaK(nSK); JetTrackParticle_Fill ->set_Particle_nSigmaP(nSP); JetTrackParticle_Fill ->set_Particle_qp(qp); JetTrackParticle_Fill ->set_TLV_Particle_prim(TLV_Particle_prim); JetTrackParticle_Fill ->set_TLV_Particle_glob(TLV_Particle_glob); JetTrackParticle_Fill ->set_Particle_hits_fit(nhitsfit); Double_t track_pT = TLV_Particle_use.Pt(); if(track_pT != track_pT) continue; // that is a NaN test. It always fails if track_pT = nan. Float_t Phi = TLV_Particle_use.Phi(); Float_t Eta = TLV_Particle_use.PseudoRapidity(); h_Phi_vs_eta[ez_bin][emult_bin][ePsi_bin] ->Fill(Eta,Phi); if(0) { cout << "mix_loop = " << mix_loop << ", ME_loop_counter = " << ME_loop_counter << ", track_id_num_random = " << track_id_num_random << ", track_num_random = " << track_num_random << ", Phi = " << Phi << ", Eta = " << Eta << ", refMult = " << refMult << endl; } } h_Et[ez_bin][emult_bin][ePsi_bin] ->Fill(Et_total); if(Fill_flag == 1) { Tree_JetTrackEvent_Fill[ez_bin][emult_bin][ePsi_bin] ->Fill(); } } } ME_event_counter = 0; } } } return 1; } //------------------------------------------------------------------------------------------------------------------ //------------------------------------------------------------------------------------------------------------------ Int_t StJetAnalysis::Finish() { cout << "Finish started" << endl; if(eMode == 0) { Outputfile->cd(); p_parameters ->Write(); p_jet_area_values ->Write(); //h_tracks_vs_z_vertex ->Write(); //h_Psi2 ->Write(); if(eMode == 0 || eMode == 1) { for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { //h_Phi_vs_eta[i_z] ->Write(); h_Phi_vs_eta_random_phi[i_z] ->Write(); } } Outputfile->Close(); } if(eMode == 42) { p_parameters ->Write(); p_jet_area_values ->Write(); p_v2_vs_pt_jet ->Write(); p_v2_vs_pt ->Write(); h_Psi_Full ->Write(); h_Psi_etapos ->Write(); h_Psi_etaneg ->Write(); h_phi ->Write(); Outputfile->cd(); Outputfile->mkdir("Delta_pt"); Outputfile->cd("Delta_pt"); for(Int_t i_orig_smear = 0; i_orig_smear < N_orig_smear; i_orig_smear++) { for(Int_t i = 0; i < N_jet_areas; i++) { for(Int_t i_Psi = ePsi_bin; i_Psi < ePsi_bin+1; i_Psi++) { h_Delta_pt_vs_embed_pt[i][i_orig_smear][i_Psi] ->Write(); h_Delta_pt_vs_embed_pt_weight[i][i_orig_smear][i_Psi] ->Write(); } } } Outputfile->cd(); Outputfile->Close(); } if(eMode == 3 || eMode == 31 || eMode == 32 || eMode == 312 || eMode == 311) { Outputfile->cd(); for(Int_t i_charge = 0; i_charge < 2; i_charge++) { HistName = "p_pt_Ach_"; HistName += i_charge; p_pt_Ach[i_charge] -> Write(); } h_Ach -> Write(); if(eMode == 312) { h_PYTHIA_hard_bin_weigh_factors ->Write(); h_PYTHIA_hard_bin_high_pT_N_events ->Write(); Outputfile->cd(); Outputfile->mkdir("Delta_pt"); Outputfile->cd("Delta_pt"); for(Int_t i_orig_smear = 0; i_orig_smear < N_orig_smear; i_orig_smear++) { for(Int_t i = 0; i < N_jet_areas; i++) { for(Int_t i_Psi = ePsi_bin; i_Psi < ePsi_bin+1; i_Psi++) { h_Delta_pt_vs_embed_pt[i][i_orig_smear][i_Psi] ->Write(); } } } Outputfile->cd(); } NT_ReCoil_Jet ->Write(); h_area_vs_jet_pt ->Write(); h_area ->Write(); h_track_pT ->Write(); h_track_pT_cut ->Write(); h_tracks_above_threshold_per_event ->Write(); for(Int_t i_hist = 0; i_hist < N2D_tracks_above_threshold; i_hist++) { h2D_tracks_above_threshold[i_hist] ->Write(); } //c_3D ->Write(); p_parameters ->Write(); p_jet_area_values ->Write(); h_ratio_sub_lead_to_lead_pt_vs_lead_pt ->Write(); h_sub_lead_vs_lead_pt ->Write(); h_jet_rho_vs_Et ->Write(); if(eMode == 311 || eMode == 312) { for(Int_t i = 0; i < N_jet_areas; i++) { h2D_Sim_matched_pT_vs_original_pT[i] ->Write(); h2D_Sim_original_pT_vs_matched_pT[i] ->Write(); h_matched_tracks_fraction[i] ->Write(); h2D_matched_tracks_fraction_vs_original_pT[i] ->Write(); } } for(Int_t i = 0; i < 2; i++) { p_Array_leading_pt_bins[i] ->Write(); } for(Int_t i_orig_smear = 0; i_orig_smear < 4; i_orig_smear++) { h_trigger_track[i_orig_smear] ->Write(); h_trigger_track_vs_global_bin[i_orig_smear] ->Write(); } Outputfile->cd(); Outputfile->mkdir("Jet_vs_area"); Outputfile->cd("Jet_vs_area"); for(Int_t ipt_lead = 0; ipt_lead < (N_leading_pt_bins+1); ipt_lead++) { h_area_vs_recoil_jet_pt[ipt_lead] ->Write(); h_rho[ipt_lead] ->Write(); } Outputfile->cd(); Outputfile->mkdir("Track_distributions"); Outputfile->cd("Track_distributions"); for(Int_t i_orig_smear = 0; i_orig_smear < N_orig_smear; i_orig_smear++) { for(Int_t ipt_lead = 0; ipt_lead < (N_leading_pt_bins+1); ipt_lead++) { h_N_tracks_dijet[ipt_lead][i_orig_smear] ->Write(); h2D_mult_vs_global_bin[ipt_lead][i_orig_smear] ->Write(); } } Outputfile->cd(); Outputfile->mkdir("Jet_QA"); Outputfile->cd("Jet_QA"); for(Int_t i_orig_smear = 0; i_orig_smear < N_orig_smear; i_orig_smear++) { for(Int_t i = 0; i < N_jet_areas; i++) { h_jet_area[i][i_orig_smear] ->Write(); h_jet_rho[i][i_orig_smear] ->Write(); h_jet_per_event[i][i_orig_smear] ->Write(); h_dijet_per_event[i][i_orig_smear] ->Write(); } } Outputfile->cd(); Outputfile->mkdir("Jet_spectra"); Outputfile->cd("Jet_spectra"); for(Int_t i_orig_smear = 0; i_orig_smear < 4; i_orig_smear++) { for(Int_t i = 0; i < N_jet_areas; i++) { for(Int_t ipt_lead = 0; ipt_lead < (N_leading_pt_bins+1); ipt_lead++) { h_jet_pt[i][ipt_lead][i_orig_smear] ->Write(); h_jet_pt_sub[i][ipt_lead][i_orig_smear] ->Write(); h2D_dijet_pt[i][ipt_lead][i_orig_smear] ->Write(); h2D_dijet_pt_sub[i][ipt_lead][i_orig_smear] ->Write(); } } } Outputfile->cd(); Outputfile->mkdir("QA_hist_arrays"); Outputfile->cd("QA_hist_arrays"); for(Int_t i_z = ez_bin; i_z < ez_bin+1; i_z++) { for(Int_t i_mult = emult_bin; i_mult < emult_bin+1; i_mult++) { for(Int_t i_Psi = ePsi_bin; i_Psi < ePsi_bin+1; i_Psi++) { //h_jet_area_array[i_z][i_mult][i_Psi] ->Write(); //h_jet_rhoarea_array[i_z][i_mult][i_Psi] ->Write(); //h_jet_rho_array[i_z][i_mult][i_Psi] ->Write(); //h_jet_Et_array[i_z][i_mult][i_Psi] ->Write(); //h_jet_Et_array_weight[i_z][i_mult][i_Psi] ->Write(); h_jet_per_event_array[i_z][i_mult][i_Psi] ->Write(); //h_tracks_per_event_array[i_z][i_mult][i_Psi] ->Write(); h2D_jet_rho_vs_mult_array[i_z][i_mult][i_Psi] ->Write(); } } } Outputfile->cd(); Outputfile->mkdir("Acc_Recoil"); Outputfile->cd("Acc_Recoil"); for(Int_t i_area_acc = 0; i_area_acc < N_jet_areas; i_area_acc++) { for(Int_t ipt_lead = 0; ipt_lead < (N_leading_pt_bins+1); ipt_lead++) { h_N_accepted_recoil_jets[i_area_acc][ipt_lead] ->Write(); } } Outputfile->cd(); Outputfile->Close(); } if(eMode == 1 || eMode == 2 || eMode == 4) { /* cout << "destruct StJetTrackEvent" << endl; for(Int_t mix_loop = 0; mix_loop < N_max_events; mix_loop++) { JetTrackEvent_ME[mix_loop].~StJetTrackEvent(); } cout << "destruct vector" << endl; JetTrackEvent_ME.~vector(); cout << "done" << endl; */ Int_t start_z = 0; Int_t start_mult = 0; Int_t start_Psi = 0; //Int_t start_Psi = ePsi_bin; Int_t stop_z = N_z_vertex_bins; Int_t stop_mult = N_mult_bins; Int_t stop_Psi = N_Psi_bins; //Int_t stop_Psi = ePsi_bin+1; if(eMode == 2 || eMode == 1 ) { start_z = ez_bin; start_mult = emult_bin; start_Psi = ePsi_bin; stop_z = ez_bin+1; stop_mult = emult_bin+1; stop_Psi = ePsi_bin+1; } for(Int_t i_z = start_z; i_z < stop_z; i_z++) { for(Int_t i_mult = start_mult; i_mult < stop_mult; i_mult++) { for(Int_t i_Psi = start_Psi; i_Psi < stop_Psi; i_Psi++) { F_mixed_event[i_z][i_mult][i_Psi] ->cd(); p_parameters ->Write(); p_jet_area_values ->Write(); h_PsiA_vs_PsiB ->Write(); h_PsiA ->Write(); h_PsiB ->Write(); h_Psi_Full ->Write(); h_tracks_vs_z_vertex[i_z][i_mult][i_Psi] ->Write(); h_Psi2[i_z][i_mult][i_Psi] ->Write(); h_Et[i_z][i_mult][i_Psi] ->Write(); h_Momentum[i_z][i_mult][i_Psi] ->Write(); h_Phi_vs_eta[i_z][i_mult][i_Psi] ->Write(); Tree_JetTrackEvent_Fill[i_z][i_mult][i_Psi] ->Write("",TObject::kOverwrite); if(eMode == 2) Inputfile ->Close(); F_mixed_event[i_z][i_mult][i_Psi] ->Close(); } } } } if(eMode == 11) { cout << "Save data to output file" << endl; Outputfile->cd(); p_parameters ->Write(); p_jet_area_values ->Write(); h_tracks_above_threshold_per_event ->Write(); for(Int_t i_hist = 0; i_hist < N2D_tracks_above_threshold; i_hist++) { h2D_tracks_above_threshold[i_hist] ->Write(); } for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { for(Int_t i_mult = 0; i_mult < N_mult_bins; i_mult++) { h_tracks_vs_z_vertex_array[i_z][i_mult] ->Write(); for(Int_t i_Psi = 0; i_Psi < N_Psi_bins; i_Psi++) { for(Int_t i_pT = 0; i_pT < N_track_pt_bins_eta_phi; i_pT++) { h2D_track_eta_vs_phi[i_z][i_mult][i_Psi][i_pT] ->Write(); } } } } for(Int_t i_z = 0; i_z < N_z_vertex_bins; i_z++) { for(Int_t i_Psi = 0; i_Psi < N_Psi_bins; i_Psi++) { h_Psi_vs_z_vertex_array[i_z][i_Psi] ->Write(); } } Outputfile->Close(); } return 1; } //------------------------------------------------------------------------------------------------------------------
[ "bsmckinzie@lbl.gov" ]
bsmckinzie@lbl.gov
ca80201319fc676ff5a464c2dc55bc37b67de3ea
7045bb4f95ada6e1669a3cd9520681b7e548c319
/Meijer/Popup/Popup.h
a9b3d3a749c3282739dada71b92b2981b137f78f
[]
no_license
co185057/MeijerTESTSVN
0ffe207db43c8e881fdbad66c1c058e25fe451f5
3a3df97b2decc1a04e6efe7c8ab74eff5409f39f
refs/heads/master
2023-05-30T00:19:36.524059
2021-06-10T08:41:31
2021-06-10T08:41:31
375,576,064
0
0
null
null
null
null
UTF-8
C++
false
false
1,332
h
// Popup.h : main header file for the POPUP application // #if !defined(AFX_POPUP_H__0B33DE7A_F2E9_11D4_8943_00A0C9EDD46B__INCLUDED_) #define AFX_POPUP_H__0B33DE7A_F2E9_11D4_8943_00A0C9EDD46B__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols ///////////////////////////////////////////////////////////////////////////// // CPopupApp: // See Popup.cpp for the implementation of this class // class CPopupApp : public CWinApp { public: CPopupApp(); long m_lTimerID; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPopupApp) public: virtual BOOL InitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CPopupApp) // NOTE - the ClassWizard will add and remove member functions here. // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_POPUP_H__0B33DE7A_F2E9_11D4_8943_00A0C9EDD46B__INCLUDED_)
[ "co185057@ncr.com" ]
co185057@ncr.com
d235873c2b8c0e7c341e8e7736622b14f44b269f
065fe62aa6f9004fc91b07e6c676e8d500a47048
/ANPR-Demo-master/ANPR/Recognise.cpp
84e3b356a47b18f16288cea45a91935787c60f11
[]
no_license
huyleonis/Capstone
ee8f185348e6637f0711bf01921e1f1df1f8dab4
bebe728619453fd1097e373b87828f8c843d9677
refs/heads/master
2021-05-16T17:49:32.261190
2017-12-12T09:56:59
2017-12-12T09:56:59
103,046,379
0
0
null
null
null
null
UTF-8
C++
false
false
2,639
cpp
#include "Recognise.h" const CvScalar RED = CV_RGB(255,0,0); const CvScalar GREEN = CV_RGB(0,255,0); const CvScalar BLUE = CV_RGB(0,0,255); Recognise::Recognise() { } vector<IplImage *> Recognise::FindCharacter (IplImage *plate) { vector<IplImage *> charImgVector; vector<CvRect> rect; IplImage *resizeImg, *binaryImg, *cloneImg; resizeImg = cvCreateImage (cvSize(408, 70), IPL_DEPTH_8U, 3); binaryImg = cvCreateImage (cvSize(408, 70), IPL_DEPTH_8U, 1); cvResize(plate, resizeImg); cvCvtColor(resizeImg, binaryImg, CV_RGB2GRAY); cvAdaptiveThreshold(binaryImg, binaryImg, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, 13, 2); cloneImg = cvCloneImage(resizeImg); CvMemStorage *storage = cvCreateMemStorage(0); CvSeq *contours = cvCreateSeq(CV_SEQ_ELTYPE_POINT, sizeof(CvSeq), sizeof(CvPoint), storage); cvFindContours(binaryImg, storage, &contours); double ratio, ratioWhite; int s, white; while (contours) { CvRect r = cvBoundingRect(contours, 0); ratio = (double)r.width/r.height; s = r.width * r.height; cvSetImageROI(binaryImg, r); white = cvCountNonZero(binaryImg); cvResetImageROI(binaryImg); ratioWhite = (double) white / s; if (ratio > 0.3 && ratio < 1.1 && s > 375 && r.width > 15 && r.width < 50 && r.height > 30 && r.height < 65 && ratioWhite > 0.3 && ratioWhite < 0.75 && r.x > 2) { cvRectangle(cloneImg, cvPoint(r.x, r.y), cvPoint(r.x + r.width, r.y + r.height), BLUE, 2); rect.push_back(r); } contours = contours->h_next; } // sap xep for (int i = 0; i < rect.size() - 1; i++) { for (int j = i + 1; j < rect.size(); j++) { if (rect[i].x > rect[j].x) { CvRect sw; sw = rect[i]; rect[i] = rect[j]; rect[j] = sw; } } } // cat ky tu IplImage *charImg; IplImage *saveImg; for (int i = 0; i < rect.size(); i++) { charImg = cvCreateImage(cvSize(rect[i].width, rect[i].height), IPL_DEPTH_8U, 3); cvSetImageROI(resizeImg, rect[i]); cvCopy(resizeImg, charImg, NULL); cvResetImageROI(resizeImg); // add anh vao vector ki tu charImgVector.push_back(charImg); // show char name[8]; sprintf(name, "Anh %d", i + 1); cvShowImage(name, charImg); // Luu anh lam mau de training saveImg = cvCreateImage(cvSize(rect[i].width, rect[i].height), IPL_DEPTH_8U, 1); cvCvtColor(charImgVector[i], saveImg, CV_RGB2GRAY); cvAdaptiveThreshold(saveImg, saveImg, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, 13, 2); char sname[8]; sprintf(sname, "Data/%d.jpg", i + 1); //cvShowImage(sname, saveImg); cvSaveImage(sname, saveImg); } cvShowImage("character", cloneImg); return charImgVector; }
[ "tin.bambo1112@gmail.com" ]
tin.bambo1112@gmail.com
22d09f7ff2f12855b205ed12b4777cace6c20a1e
aaadfc7a2715df2047d76be8dc0732bc0921e0cd
/Tut03OpenGLsMovingTriangle/vertPositionOffset.cpp
c89fd4784c151b7cbc93d1c1cb706bfd0e4818c7
[ "MIT", "LicenseRef-scancode-public-domain", "CC-BY-3.0" ]
permissive
Zaela24/gltut
51d72c9ed3b632dd448f371827dbfab600b8d708
10d6f571db9c13d7ff173f52be8e25720dbfe71b
refs/heads/master
2022-09-07T17:57:23.080661
2020-05-27T04:57:14
2020-05-27T04:57:14
266,958,080
0
0
NOASSERTION
2020-05-26T06:03:31
2020-05-26T06:03:30
null
UTF-8
C++
false
false
3,181
cpp
#include <string> #include <vector> #include <math.h> #include <stdio.h> #include <string.h> #include <glload/gl_3_3.h> #include <GL/freeglut.h> #include "../framework/framework.h" GLuint theProgram; GLuint offsetLocation; void InitializeProgram() { std::vector<GLuint> shaderList; shaderList.push_back(Framework::LoadShader(GL_VERTEX_SHADER, "positionOffset.vert")); shaderList.push_back(Framework::LoadShader(GL_FRAGMENT_SHADER, "standard.frag")); theProgram = Framework::CreateProgram(shaderList); offsetLocation = glGetUniformLocation(theProgram, "offset"); } const float vertexPositions[] = { 0.25f, 0.25f, 0.0f, 1.0f, 0.25f, -0.25f, 0.0f, 1.0f, -0.25f, -0.25f, 0.0f, 1.0f, }; GLuint positionBufferObject; GLuint vao; void InitializeVertexBuffer() { glGenBuffers(1, &positionBufferObject); glBindBuffer(GL_ARRAY_BUFFER, positionBufferObject); glBufferData(GL_ARRAY_BUFFER, sizeof(vertexPositions), vertexPositions, GL_STATIC_DRAW); glBindBuffer(GL_ARRAY_BUFFER, 0); } //Called after the window and OpenGL are initialized. Called exactly once, before the main loop. void init() { InitializeProgram(); InitializeVertexBuffer(); glGenVertexArrays(1, &vao); glBindVertexArray(vao); } void ComputePositionOffsets(float &fXOffset, float &fYOffset) { const float fLoopDuration = 5.0f; const float fScale = 3.14159f * 2.0f / fLoopDuration; float fElapsedTime = glutGet(GLUT_ELAPSED_TIME) / 1000.0f; float fCurrTimeThroughLoop = fmodf(fElapsedTime, fLoopDuration); fXOffset = cosf(fCurrTimeThroughLoop * fScale) * 0.5f; fYOffset = sinf(fCurrTimeThroughLoop * fScale) * 0.5f; } //Called to update the display. //You should call glutSwapBuffers after all of your rendering to display what you rendered. //If you need continuous updates of the screen, call glutPostRedisplay() at the end of the function. void display() { float fXOffset = 0.0f, fYOffset = 0.0f; ComputePositionOffsets(fXOffset, fYOffset); glClearColor(0.0f, 0.0f, 0.0f, 0.0f); glClear(GL_COLOR_BUFFER_BIT); glUseProgram(theProgram); glUniform2f(offsetLocation, fXOffset, fYOffset); glBindBuffer(GL_ARRAY_BUFFER, positionBufferObject); glEnableVertexAttribArray(0); glVertexAttribPointer(0, 4, GL_FLOAT, GL_FALSE, 0, 0); glDrawArrays(GL_TRIANGLES, 0, 3); glDisableVertexAttribArray(0); glUseProgram(0); glutSwapBuffers(); glutPostRedisplay(); } //Called whenever the window is resized. The new window size is given, in pixels. //This is an opportunity to call glViewport or glScissor to keep up with the change in size. void reshape (int w, int h) { glViewport(0, 0, (GLsizei) w, (GLsizei) h); } //Called whenever a key on the keyboard was pressed. //The key is given by the ''key'' parameter, which is in ASCII. //It's often a good idea to have the escape key (ASCII value 27) call glutLeaveMainLoop() to //exit the program. void keyboard(unsigned char key, int x, int y) { switch (key) { case 27: glutLeaveMainLoop(); return; } } unsigned int defaults(unsigned int displayMode, int &width, int &height) {return displayMode;}
[ "unknown" ]
unknown
0d3f04a927512a3c2341611e356525e6b0291157
34983bc6829614602be7c366864926568762c5f5
/zubax_chibios/util/helpers.hpp
34683bcac2a989fca23297555f7351dac770cde8
[ "MIT" ]
permissive
zwx230741/zubax_chibios
72e3810280cbf2ee8c2f8f0eb4fefb53be12ee46
2d96b0cb3d30e4108c0dce721e272e6ae5de5095
refs/heads/master
2020-03-19T11:37:01.585973
2018-06-02T17:59:13
2018-06-02T17:59:13
110,653,512
0
0
null
2017-11-14T07:05:57
2017-11-14T07:05:57
null
UTF-8
C++
false
false
1,186
hpp
/* * Copyright (c) 2016 Zubax, zubax.com * Distributed under the MIT License, available in the file LICENSE. * Author: Pavel Kirienko <pavel.kirienko@zubax.com> */ /* * Various small helpers. */ #pragma once #include <cassert> #include <cstdint> #include <utility> #include <algorithm> #include <iterator> #define EXECUTE_ONCE_CAT1_(a, b) EXECUTE_ONCE_CAT2_(a, b) #define EXECUTE_ONCE_CAT2_(a, b) a##b /** * This macro can be used in function and method bodies to execute a certain block of code only once. * Every instantiation creates one static variable. * This macro is not thread safe. * * Usage: * puts("Regular code"); * EXECUTE_ONCE_NON_THREAD_SAFE * { * puts("This block will be executed only once"); * } * puts("Regular code again"); */ #define EXECUTE_ONCE_NON_THREAD_SAFE \ static bool EXECUTE_ONCE_CAT1_(_executed_once_, __LINE__) = false; \ for (; EXECUTE_ONCE_CAT1_(_executed_once_, __LINE__) == false; EXECUTE_ONCE_CAT1_(_executed_once_, __LINE__) = true) /** * Branching hints; these are compiler-dependent. */ #define LIKELY(x) (__builtin_expect((x), true)) #define UNLIKELY(x) (__builtin_expect((x), false))
[ "pavel.kirienko@gmail.com" ]
pavel.kirienko@gmail.com
c7d983fcd69a2a217ab8fb14d7f4fd1026ed5d8e
48e9625fcc35e6bf790aa5d881151906280a3554
/Sources/Elastos/LibCore/inc/org/apache/http/client/utils/CloneUtils.h
585f640316dad172c3d9acfb0e4b3f10857f659d
[ "Apache-2.0" ]
permissive
suchto/ElastosRT
f3d7e163d61fe25517846add777690891aa5da2f
8a542a1d70aebee3dbc31341b7e36d8526258849
refs/heads/master
2021-01-22T20:07:56.627811
2017-03-17T02:37:51
2017-03-17T02:37:51
85,281,630
4
2
null
2017-03-17T07:08:49
2017-03-17T07:08:49
null
UTF-8
C++
false
false
1,499
h
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. //========================================================================= #ifndef __ORG_APACHE_HTTP_CLIENT_UTILS_CLONEUTILS_H__ #define __ORG_APACHE_HTTP_CLIENT_UTILS_CLONEUTILS_H__ #include "Elastos.CoreLibrary.h" #include <elastos/coredef.h> namespace Org { namespace Apache { namespace Http { namespace Client { namespace Utils { /** * A collection of utilities to workaround limitations of Java clone framework. */ class CloneUtils { private: /** * This class should not be instantiated. */ CloneUtils() {} public: static CARAPI Clone( /* [in] */ IObject* obj, /* [out] */ IObject** cloneObj); }; } // namespace Utils } // namespace Client } // namespace Http } // namespace Apache } // namespace Org #endif // __ORG_APACHE_HTTP_CLIENT_UTILS_CLONEUTILS_H__
[ "cao.jing@kortide.com" ]
cao.jing@kortide.com
04c0baa870d94406d0d9ecf51b4278a870b6df43
08b8cf38e1936e8cec27f84af0d3727321cec9c4
/data/crawl/collectd/new_hunk_1.cpp
609aa7d9688914d2b704c9e2409527114cf412ad
[]
no_license
ccdxc/logSurvey
eaf28e9c2d6307140b17986d5c05106d1fd8e943
6b80226e1667c1e0760ab39160893ee19b0e9fb1
refs/heads/master
2022-01-07T21:31:55.446839
2018-04-21T14:12:43
2018-04-21T14:12:43
null
0
0
null
null
null
null
UTF-8
C++
false
false
173
cpp
} | block_begin block_end { if (strcmp($1.key, $2) != 0) { printf("block_begin = %s; block_end = %s;\n", $1.key, $2); yyerror("block not closed"); YYERROR; }
[ "993273596@qq.com" ]
993273596@qq.com
72eb9bd5332d4492e2996d8939d7d8e8556e2e7c
aa0be8e15198d3302580470c73cb49513203c13b
/WindSim/src/3D/objectManager.cpp
766bf032db7f0c16dca193378e2188751784de82
[]
no_license
gudajan/Windsim
0bf6c57d975c110ccdd7c822274923009dc7df9c
5cc75deb9ea0b00739682dc48c0f4bb322e03276
refs/heads/master
2021-01-21T04:47:59.560952
2016-06-15T20:51:08
2016-06-15T20:51:08
45,236,132
0
0
null
null
null
null
UTF-8
C++
false
false
14,252
cpp
#include "objectManager.h" #include "mesh3D.h" #include "MeshActor.h" #include "sky.h" #include "skyActor.h" #include "axes.h" #include "axesActor.h" #include "voxelGrid.h" #include "voxelGridActor.h" #include "dx11Renderer.h" #include <d3d11.h> #include <DirectXMath.h> #include <DirectXPackedVector.h> #include <limits> using namespace DirectX; ObjectManager::ObjectManager(DX11Renderer* renderer) : m_hoveredId(0), m_selectedIds(), m_objects(), m_actors(), m_accessoryObjects(), m_accessoryActors(), m_renderer(renderer) { } void ObjectManager::add(ID3D11Device* device, const QJsonObject& data) { int id = data["id"].toInt(); ObjectType type = stringToObjectType(data["type"].toString().toStdString()); const std::string& name = data["name"].toString().toStdString(); if (m_objects.find(id) == m_objects.end() && m_actors.find(id) == m_actors.end()) { if (type == ObjectType::Mesh) { auto objIt = data.find("obj-file"); if (objIt == data.end()) { throw std::invalid_argument("Failed to create Mesh object '" + name + "' because no OBJ-Path was given in 'data' variable!"); } Mesh3D* obj = new Mesh3D(objIt->toString().toStdString(), m_renderer); m_objects.emplace(id, std::shared_ptr<Object3D>(obj)); MeshActor* act = new MeshActor(*obj, id, name); m_actors.emplace(id, std::shared_ptr<Actor>(act)); obj->create(device, false); act->create(device); } else if (type == ObjectType::Sky) { Sky* obj = new Sky(m_renderer); m_objects.emplace(id, std::shared_ptr<Object3D>(obj)); SkyActor* act = new SkyActor(*obj, id, name); m_actors.emplace(id, std::shared_ptr<Actor>(act)); obj->create(device, true); } else if (type == ObjectType::CoordinateAxes) { Axes* obj = new Axes(m_renderer); m_objects.emplace(id, std::shared_ptr<Object3D>(obj)); AxesActor* act = new AxesActor(*obj, id, name); m_actors.emplace(id, std::shared_ptr<Actor>(act)); obj->create(device, true); } else if (type == ObjectType::VoxelGrid) { if (!data.contains("resolution") || !data.contains("gridSize")) throw std::invalid_argument("Failed to create VoxelGrid object '" + name + "' because no resolution or gridSize was given in 'data' variable!"); QJsonObject resolution = data["resolution"].toObject(); XMUINT3 res(resolution["x"].toInt(), resolution["y"].toInt(), resolution["z"].toInt()); QJsonObject gridSize = data["gridSize"].toObject(); XMFLOAT3 vs(gridSize["x"].toDouble() / res.x, gridSize["y"].toDouble() / res.y, gridSize["z"].toDouble() / res.z); VoxelGrid* obj = new VoxelGrid(this, data["windTunnelSettings"].toString(), res, vs, m_renderer); m_objects.emplace(id, std::shared_ptr<Object3D>(obj)); VoxelGridActor* act = new VoxelGridActor(*obj, id, name); m_actors.emplace(id, std::shared_ptr<Actor>(act)); obj->create(device, false); } else { throw std::runtime_error("Object '" + name + "' has type Invalid!"); } modify(data); // Set initial values from the data } else { throw std::runtime_error("Failed to add object '" + name + "' with id " + std::to_string(id) + " as object with identical id already exists!"); } } void ObjectManager::remove(int id) { const auto object = m_objects.find(id); if (object == m_objects.end()) throw std::runtime_error("Failed to remove object with id '" + std::to_string(id) + "' as the id was not found!"); object->second->release(); m_objects.erase(id); m_actors.erase(id); } void ObjectManager::removeAll() { release(false); m_objects.clear(); m_actors.clear(); } void ObjectManager::triggerObjectFunction(const QJsonObject& data) { int id = data["id"].toInt(); auto it = m_actors.find(id); if (it == m_actors.end()) { throw std::runtime_error("Failed to trigger function of object with id '" + std::to_string(id) + "' as the id was not found!"); } auto fIt = data.find("function"); if (fIt == data.end()) { throw std::runtime_error("Failed to trigger function of object with id '" + std::to_string(id) + "' as the data did not contain 'function' key!"); } if (fIt->toString() == "restartSimulation") std::dynamic_pointer_cast<VoxelGridActor>(it->second)->getObject()->restartSimulation(); } void ObjectManager::modify(const QJsonObject& data) { int id = data["id"].toInt(); ObjectType type = stringToObjectType(data["type"].toString().toStdString()); std::string name = data["name"].toString().toStdString(); auto it = m_actors.find(id); if (it == m_actors.end()) { throw std::runtime_error("Failed to modify object with id '" + std::to_string(id) + "' as the id was not found!"); } Modifications mod = All; if (data.contains("modifications")) mod = Modifications(data["modifications"].toInt()); // Modify general data bool render = data["enabled"].toBool(); bool oldRender = it->second->getRender(); it->second->setRender(render); // Modify object specific data if (type == ObjectType::Mesh) { QJsonObject jPos = data["position"].toObject(); XMFLOAT3 pos(jPos["x"].toDouble(), jPos["y"].toDouble(), jPos["z"].toDouble()); QJsonObject jScale = data["scaling"].toObject(); XMFLOAT3 scale(jScale["x"].toDouble(), jScale["y"].toDouble(), jScale["z"].toDouble()); QJsonObject jRot = data["rotation"].toObject(); XMFLOAT4 rot; XMVECTOR axis = XMVectorSet(jRot["ax"].toDouble(), jRot["ay"].toDouble(), jRot["az"].toDouble(), 0.0); if (XMVector3Equal(axis, XMVectorZero())) XMStoreFloat4(&rot, XMQuaternionIdentity()); else XMStoreFloat4(&rot, XMQuaternionRotationAxis(axis, degToRad(jRot["angle"].toDouble()))); bool flatShading = data["shading"].toString() == "Smooth" ? false : true; QJsonObject jCol = data["color"].toObject(); PackedVector::XMCOLOR col(jCol["r"].toInt() / 255.0f, jCol["g"].toInt() / 255.0f, jCol["b"].toInt() / 255.0f, 1.0f); QJsonObject jAxis = data["localRotAxis"].toObject(); XMFLOAT3 localRotationAxis; if (jAxis["enabled"].toBool()) localRotationAxis = XMFLOAT3(jAxis["x"].toDouble(), jAxis["y"].toDouble(), jAxis["z"].toDouble()); else localRotationAxis = XMFLOAT3(0.0f, 0.0f, 0.0f); std::shared_ptr<MeshActor> act = std::dynamic_pointer_cast<MeshActor>(it->second); act->setPos(pos); act->setScale(scale); act->setRot(rot); act->computeWorld(); act->setFlatShading(flatShading); act->setColor(col); act->setVoxelize(data["voxelize"].toBool()); if (mod.testFlag(DynamicsSettings)) { act->setDynamics(data["dynamics"].toBool()); act->setDensity(data["density"].toDouble()); act->setLocalRotationAxis(localRotationAxis); } if (mod.testFlag(Scaling) || mod.testFlag(DynamicsSettings)) act->updateInertiaTensor(); if (mod.testFlag(ShowAccelArrow)) act->setShowAccelArrow(data["showAccelArrow"].toBool()); if (render != oldRender && !render) { m_selectedIds.erase(act->getId()); act->setSelected(false); } } else if (type == ObjectType::VoxelGrid) { std::shared_ptr<VoxelGridActor> act = std::dynamic_pointer_cast<VoxelGridActor>(it->second); QJsonObject jPos = data["position"].toObject(); XMFLOAT3 pos(jPos["x"].toDouble(), jPos["y"].toDouble(), jPos["z"].toDouble()); QJsonObject jRes = data["resolution"].toObject(); XMUINT3 res(jRes["x"].toInt(), jRes["y"].toInt(), jRes["z"].toInt()); QJsonObject jS = data["gridSize"].toObject(); XMFLOAT3 vs(jS["x"].toDouble() / res.x, jS["y"].toDouble() / res.y, jS["z"].toDouble() / res.z); // Calc voxel size from resolution and grid size act->setPos(pos); act->computeWorld(); act->getObject()->resize(res, vs); if (mod.testFlag(VoxelSettings)) act->getObject()->setVoxelSettings(data["voxel"].toObject()); if (mod.testFlag(GlyphSettings)) act->getObject()->setGlyphSettings(data["glyphs"].toObject()); if (mod.testFlag(VolumeSettings)) act->getObject()->changeVolumeSettings(data["volume"].toObject()); if (mod.testFlag(WindTunnelSettings)) act->getObject()->changeSimSettings(data["windTunnelSettings"].toString()); if (mod.testFlag(SmokeSettings)) act->getObject()->changeSmokeSettings(data["smoke"].toObject()); if (mod.testFlag(LineSettings)) act->getObject()->changeLineSettings(data["lines"].toObject()); if (mod.testFlag(RunSimulation)) act->getObject()->runSimulation(data["runSimulation"].toBool()); } } void ObjectManager::render(ID3D11Device* device, ID3D11DeviceContext* context, const DirectX::XMFLOAT4X4& view, const DirectX::XMFLOAT4X4& projection, double elapsedTime) { for (const auto& actor : m_actors) { actor.second->render(device, context, view, projection, elapsedTime); } for (const auto& actor : m_accessoryActors) { actor.second->render(device, context, view, projection, elapsedTime); } for (const auto& actor : m_actors) { if (actor.second->getType() == ObjectType::VoxelGrid) std::dynamic_pointer_cast<VoxelGridActor>(actor.second)->renderVolume(device, context, view, projection, elapsedTime); } } void ObjectManager::initOpenCL() { for (const auto& actor : m_actors) { if (actor.second->getType() == ObjectType::VoxelGrid) std::dynamic_pointer_cast<VoxelGridActor>(actor.second)->getObject()->reinitWindTunnel(); if (actor.second->getType() == ObjectType::Mesh) std::dynamic_pointer_cast<MeshActor>(actor.second)->resetDynamics(); } } void ObjectManager::runSimulation(bool enabled) { for (const auto& actor : m_actors) { if (actor.second->getType() == ObjectType::VoxelGrid) std::dynamic_pointer_cast<VoxelGridActor>(actor.second)->getObject()->runSimulationSync(enabled); } } void ObjectManager::release(bool withAccessories) { for (const auto& object : m_objects) { object.second->release(); } for (const auto& actor : m_actors) { if (actor.second->getType() == ObjectType::Mesh) { std::dynamic_pointer_cast<MeshActor>(actor.second)->release(); } } if (withAccessories) { for (const auto& object : m_accessoryObjects) { object.second->release(); } } } void ObjectManager::voxelizeNextFrame() { for (const auto& act : m_actors) { if (act.second->getType() == ObjectType::VoxelGrid) std::dynamic_pointer_cast<VoxelGridActor>(act.second)->getObject()->setVoxelize(true); } } void ObjectManager::updateCursor(const XMFLOAT3& origin, const XMFLOAT3& direction, bool containsCursor) { float distance = std::numeric_limits<float>::infinity(); if (containsCursor) // Only check for intersection if cursor within 3D view m_hoveredId = computeIntersection(origin, direction, distance); else m_hoveredId = 0; } bool ObjectManager::updateSelection(Selection op) { if (m_hoveredId) // Only change selection if clicked onto an object { std::unordered_set<int> ids = m_selectedIds; if (op == Selection::Replace) // No modifier { m_selectedIds.clear(); m_selectedIds.insert(m_hoveredId); } else if (op == Selection::Switch) // Ctrl key is pressed { // If hovered id not removed from selection: insert it; otherwise: id removed as necessary if (!m_selectedIds.erase(m_hoveredId)) m_selectedIds.insert(m_hoveredId); } else if (op == Selection::Clear) { m_selectedIds.clear(); } bool changed = ids != m_selectedIds; if (changed) setSelected(); return changed; } return false; } void ObjectManager::setHovered() { // Set all Meshes to not hovered for (auto& act : m_actors) { if (act.second->getType() == ObjectType::Mesh) { std::dynamic_pointer_cast<MeshActor>(act.second)->setHovered(false); } } // If intersection found and its at a mesh -> set to be hovered auto& act = m_actors.find(m_hoveredId); if (act != m_actors.end() && act->second->getType() == ObjectType::Mesh) std::dynamic_pointer_cast<MeshActor>(act->second)->setHovered(true); } void ObjectManager::addAccessoryObject(const std::string& name, std::shared_ptr<Object3D> obj, std::shared_ptr<Actor> act) { bool inserted = m_accessoryObjects.emplace(name, obj).second; if (!inserted) throw std::runtime_error("Failed to add accessory object '" + name + "' as identically named object already exists!"); m_accessoryActors.emplace(name, act); } int ObjectManager::computeIntersection(const DirectX::XMFLOAT3& origin, const DirectX::XMFLOAT3& direction, float& distance) const { float closestDist = std::numeric_limits<float>::infinity(); // The distance to the intersection, closest to the camera int closestID = 0; // Search for intersection, closes to the camera for (auto& act : m_actors) { // Only enabled meshes are searched for intersections if (act.second->getType() == ObjectType::Mesh && act.second->getRender()) { float dist = std::numeric_limits<float>::infinity(); if (std::dynamic_pointer_cast<MeshActor>(act.second)->intersect(origin, direction, dist)) // If intersected -> maybe hovered { if (dist < closestDist) // If new intersection is closer than closest intersection up to now { closestDist = dist; closestID = act.first; } } } } distance = closestDist; return closestID; } void ObjectManager::setSelected() { // Set made selection for (auto& act : m_actors) { if (act.second->getType() == ObjectType::Mesh) { std::dynamic_pointer_cast<MeshActor>(act.second)->setSelected(false); } } for (int id : m_selectedIds) { std::dynamic_pointer_cast<MeshActor>(m_actors.find(id)->second)->setSelected(true); // All ids belong to meshes } } const void ObjectManager::setSelection(const std::unordered_set<int>& selection) { m_selectedIds.clear(); // Check which ids belong to meshes and add them if so for (int id : selection) { std::shared_ptr<Actor> a = m_actors.find(id)->second; if (a->getType() == ObjectType::Mesh && a->getRender()) m_selectedIds.insert(id); } } void ObjectManager::log(const std::string& msg) { m_renderer->getLogger()->logit(QString::fromStdString(msg)); }
[ "krohn@in.tum.de" ]
krohn@in.tum.de
b6f09eb4a59298834ce124bad180de596bba4ef8
58549238c8c814aa6b201365b4644ab9595055f0
/Lab5/Lab5_Figures/figures.hpp
f84a54eb06b5db9dc92a3d20bea5af69cc3e8acf
[]
no_license
enigma424242/C-
27e50fc994dfe8bb97f9082d752ea595f48f7b4d
1a56083c2c6cc2d0f44ba5f780e3b0b5d2125ff1
refs/heads/main
2023-08-20T14:54:05.869195
2021-10-27T02:12:18
2021-10-27T02:12:18
409,648,746
0
0
null
null
null
null
UTF-8
C++
false
false
257
hpp
#ifndef figures_hpp #define figures_hpp #endif figures_hpp void filledSquare(int size, char paint); void hollowSquare(int size, char paint); void slash(int size, char paint); void backSlash(int size, char paint); void diamond(int size, char paint);
[ "noreply@github.com" ]
enigma424242.noreply@github.com
d99f517575a4b66be85411e4d61a1a0d7a726017
cb052ee1c43f00849811db2509d07826afb9a9bf
/xenum/test/src/xenums/FruitsNoNsNoCls.cpp
10be555565cb5381ddc21dbfd1445ea6e01bea1c
[]
no_license
rodrigobmg/xenum
7407731bae3eba9e7a2f1edc30fe86283425f830
0436738af5165e41f560b92f88bb11a92a6ed2f5
refs/heads/master
2020-06-08T16:39:41.674891
2018-07-17T00:07:04
2018-07-17T00:07:04
null
0
0
null
null
null
null
UTF-8
C++
false
false
210
cpp
/** * @file * @author Simon Lodal * @copyright 2017-2018 Simon Lodal <simonl@parknet.dk> * @license GNU GPL version 3 */ #include <test/xenum/xenums/FruitsNoNsNoCls.hpp> XENUM5_DEFINE(Fruits_NoNsNoCls)
[ "simon.lodal@gmail.com" ]
simon.lodal@gmail.com
c6c7cd0b580a2d068f44f756fbf445080885306c
d7a6eebfcfbe25734889fe7b0ec597386800160b
/NovodeXWrapper/NwRagdoll.cpp
abe340756861d6f1aab3ac2b3631fd6d0b55ca17
[]
no_license
naturalleo/coh-score
09f3a9137ab845739f3cc4be026c014af99ed81e
ccb216f07c25457991b86d3b41ec98ff858ed187
refs/heads/master
2020-11-24T19:45:13.700022
2019-07-28T14:36:02
2019-07-28T14:36:02
null
0
0
null
null
null
null
UTF-8
C++
false
false
38,280
cpp
#include "NwWrapper.h" #if NOVODEX //#include "NxMath.h" // needs to be included before mathutil.h or there's a define conflict #define NO_TEXT_PARSER 1 #include "NwRagdoll.h" #include "NxActor.h" #include "NxPhysicsSDK.h" #include "NxMaterial.h" #include "NxScene.h" #include "NxJoint.h" #include "NxFixedJoint.h" #include "NxFixedJointDesc.h" #include "NxSphericalJointDesc.h" #include "NxRevoluteJointDesc.h" extern "C" { #include "anim.h" #include "ragdoll.h" #include "gfxtree.h" #include "seq.h" #include "mathutil.h" #include "queue.h" #include "entity.h" #include "renderprim.h" #include "motion.h" #include "groupnovodex.h" #include "costume.h" #include "error.h" #include "timing.h" #include "earray.h" #include "Quat.h" } typedef enum ragGeom { RAG_GEOM_CAPSULE, RAG_GEOM_BOX, RAG_GEOM_SPHERE } ragGeom; typedef struct RagdollGeometry { Mat4 mOffsetMat; F32 fHeight; F32 fRadius; Vec3 vSize; bool bCCD; ragGeom geom; bool bOffset; } RagdollGeometry; extern NxState nx_state; // NovodeX-specific parameters. extern NxPhysicsSDK* nxSDK; extern NxScene* nxScene[]; static struct { float swing_spring;// = 0.2f; float swing_damper;// = 0.1f; float twist_spring;// = 0.2f; float twist_damper;// = 0.1f; float swing_hardness;// = 0.9f; float twist_hardness;// = 0.9f; float hinge_hardness;// = 0.9f; float projection_distance;// = 0.15f; float linearDamping; // novodex default - 0.0f float angularDamping; // novodex default 0.05f float linearSleepVelocity; // novodex default - 0.15f float angularSleepVelocity; // novodex default - 0.14f bool doCCD; // true bool bInited; } ragdollConstants; static Queue ragdollCreationQueue; static Queue ragdollDeletionWithFreeQueue; #define DEFAULT_SWING_SPRING ragdollConstants.swing_spring #define DEFAULT_SWING_DAMPER ragdollConstants.swing_damper #define DEFAULT_TWIST_SPRING ragdollConstants.twist_spring #define DEFAULT_TWIST_DAMPER ragdollConstants.twist_damper #define DEFAULT_SWING_HARDNESS ragdollConstants.swing_hardness #define DEFAULT_TWIST_HARDNESS ragdollConstants.twist_hardness #define DEFAULT_HINGE_HARDNESS ragdollConstants.hinge_hardness #define DEFAULT_PROJECTON_DIST ragdollConstants.projection_distance #define DEFAULT_PROJECTION_METHOD NX_JPM_POINT_MINDIST //#define DEFAULT_PROJECTION_METHOD NX_JPM_NONE NxJoint* jointRagdoll( NxActor* parentActor, NxActor* childActor, U8 boneId, Vec3 vGlobalAnchor, int iScene ) { NxJoint* jointToReturn = NULL; NxVec3 nxvGlobalAnchor; U8 uiBoneId = boneId; copyVec3(vGlobalAnchor, nxvGlobalAnchor); switch (uiBoneId) { xcase BONEID_CHEST: { NxSphericalJointDesc jointDesc; jointDesc.actor[0] = parentActor; jointDesc.actor[1] = childActor; NxMat33 mChildOrientation = childActor->getGlobalOrientation(); NxMat33 mParentOrientation = parentActor->getGlobalOrientation(); NxMat33 mUnitMat; mUnitMat.id(); parentActor->setGlobalOrientation(mUnitMat); childActor->setGlobalOrientation(mUnitMat); NxVec3 vGlobalAxis = mUnitMat.getColumn(1); //vGlobalAxis = mParentOrientation * vGlobalAxis; jointDesc.setGlobalAxis(vGlobalAxis); childActor->setGlobalOrientation(mChildOrientation); parentActor->setGlobalOrientation(mParentOrientation); jointDesc.flags |= NX_SJF_SWING_LIMIT_ENABLED; jointDesc.swingLimit.value = RAD(25.0f); jointDesc.swingLimit.hardness = DEFAULT_SWING_HARDNESS; jointDesc.swingLimit.restitution = 0.5; jointDesc.flags |= NX_SJF_SWING_SPRING_ENABLED; jointDesc.swingSpring.spring = 0.5; jointDesc.swingSpring.damper = 0.2; jointDesc.flags |= NX_SJF_TWIST_LIMIT_ENABLED; jointDesc.twistLimit.low.value = -RAD(60.0f); jointDesc.twistLimit.low.hardness = DEFAULT_TWIST_HARDNESS; jointDesc.twistLimit.low.restitution = 0.5; jointDesc.twistLimit.high.value = RAD(60.0f); jointDesc.twistLimit.high.hardness = DEFAULT_TWIST_HARDNESS; jointDesc.twistLimit.high.restitution = 0.5; jointDesc.flags |= NX_SJF_TWIST_SPRING_ENABLED; jointDesc.twistSpring.spring = 0.5; jointDesc.twistSpring.damper = 0.2; jointDesc.jointFlags &= ~NX_JF_COLLISION_ENABLED; jointDesc.projectionDistance = DEFAULT_PROJECTON_DIST; jointDesc.projectionMode = DEFAULT_PROJECTION_METHOD; jointDesc.setGlobalAnchor(nxvGlobalAnchor); jointToReturn = nxScene[iScene]->createJoint(jointDesc); } xcase BONEID_HEAD: { NxSphericalJointDesc jointDesc; jointDesc.actor[0] = parentActor; jointDesc.actor[1] = childActor; NxMat33 mChildOrientation = childActor->getGlobalOrientation(); NxMat33 mParentOrientation = parentActor->getGlobalOrientation(); NxMat33 mUnitMat; mUnitMat.id(); parentActor->setGlobalOrientation(mUnitMat); childActor->setGlobalOrientation(mUnitMat); NxVec3 vGlobalAxis = mUnitMat.getColumn(1); //vGlobalAxis = mParentOrientation * vGlobalAxis; jointDesc.setGlobalAxis(vGlobalAxis); childActor->setGlobalOrientation(mChildOrientation); parentActor->setGlobalOrientation(mParentOrientation); jointDesc.flags |= NX_SJF_SWING_LIMIT_ENABLED; jointDesc.swingLimit.value = RAD(35.0f); jointDesc.swingLimit.hardness = DEFAULT_SWING_HARDNESS; jointDesc.swingLimit.restitution = 0.5; jointDesc.flags |= NX_SJF_SWING_SPRING_ENABLED; jointDesc.swingSpring.spring = 0.5; jointDesc.swingSpring.damper = 0.2; jointDesc.flags |= NX_SJF_TWIST_LIMIT_ENABLED; jointDesc.twistLimit.low.value = -RAD(80.0f); jointDesc.twistLimit.low.hardness = DEFAULT_TWIST_HARDNESS; jointDesc.twistLimit.low.restitution = 0.5; jointDesc.twistLimit.high.value = RAD(80.0f); jointDesc.twistLimit.high.hardness = DEFAULT_TWIST_HARDNESS; jointDesc.twistLimit.high.restitution = 0.5; #ifdef DEFAULT_TWIST_SPRING jointDesc.flags |= NX_SJF_TWIST_SPRING_ENABLED; jointDesc.twistSpring.spring = DEFAULT_TWIST_SPRING; jointDesc.twistSpring.damper = DEFAULT_TWIST_DAMPER; #endif jointDesc.jointFlags &= ~NX_JF_COLLISION_ENABLED; jointDesc.projectionDistance = DEFAULT_PROJECTON_DIST; jointDesc.projectionMode = DEFAULT_PROJECTION_METHOD; jointDesc.setGlobalAnchor(nxvGlobalAnchor); jointToReturn = nxScene[iScene]->createJoint(jointDesc); } xcase BONEID_UARMR: case BONEID_UARML: { NxSphericalJointDesc jointDesc; jointDesc.actor[0] = parentActor; jointDesc.actor[1] = childActor; // Ok, first we need to rotate the child actor so that it is in the identity matrix wrt the parent NxMat33 mChildOrientation = childActor->getGlobalOrientation(); NxMat33 mParentOrientation = parentActor->getGlobalOrientation(); NxMat33 mUnitMat; mUnitMat.id(); parentActor->setGlobalOrientation(mUnitMat); // Orient the child into the right position. bool bApplyOffset = false; NxMat33 mFixOrientation; F32 fFlipSign = 1.0f; if ( boneId == 8) { fFlipSign = -1.0f; bApplyOffset = true; mFixOrientation.rotX(RAD(180.0f)); mUnitMat *= mFixOrientation; // mFixOrientation.rotY(RAD(180.0f)); // mUnitMat *= mFixOrientation; } mFixOrientation.rotY(-RAD(60.0f)); mUnitMat *= mFixOrientation; mFixOrientation.rotZ(RAD(90.0f) * fFlipSign); mUnitMat *= mFixOrientation; childActor->setGlobalOrientation(mUnitMat); NxVec3 vGlobalAxis = -mUnitMat.getColumn(1); //vGlobalAxis = mParentOrientation * vGlobalAxis; jointDesc.setGlobalAxis(vGlobalAxis); childActor->setGlobalOrientation(mChildOrientation); parentActor->setGlobalOrientation(mParentOrientation); jointDesc.flags |= NX_SJF_SWING_LIMIT_ENABLED; jointDesc.swingLimit.value = RAD(70.0f); jointDesc.swingLimit.hardness = DEFAULT_SWING_HARDNESS; jointDesc.swingLimit.restitution = 0.5; #ifdef DEFAULT_SWING_SPRING jointDesc.flags |= NX_SJF_SWING_SPRING_ENABLED; jointDesc.swingSpring.spring = DEFAULT_SWING_SPRING; jointDesc.swingSpring.damper = DEFAULT_SWING_DAMPER; #endif F32 fOffsetAngle = 0.0f; if ( bApplyOffset ) fOffsetAngle = RAD(180.0f); jointDesc.flags |= NX_SJF_TWIST_LIMIT_ENABLED; jointDesc.twistLimit.low.value = -RAD(70.0f) + fOffsetAngle; jointDesc.twistLimit.low.hardness = DEFAULT_TWIST_HARDNESS; jointDesc.twistLimit.low.restitution = 0.5; jointDesc.twistLimit.high.value = RAD(70.0f) + fOffsetAngle; jointDesc.twistLimit.high.hardness = DEFAULT_TWIST_HARDNESS; jointDesc.twistLimit.high.restitution = 0.5; #ifdef DEFAULT_TWIST_SPRING jointDesc.flags |= NX_SJF_TWIST_SPRING_ENABLED; jointDesc.twistSpring.spring = DEFAULT_TWIST_SPRING; jointDesc.twistSpring.damper = DEFAULT_TWIST_DAMPER; //jointDesc.twistSpring.targetValue = -RAD(70.0f) + fOffsetAngle; #endif jointDesc.jointFlags &= ~NX_JF_COLLISION_ENABLED; jointDesc.projectionDistance = DEFAULT_PROJECTON_DIST; jointDesc.projectionMode = DEFAULT_PROJECTION_METHOD; jointDesc.setGlobalAnchor(nxvGlobalAnchor); jointToReturn = nxScene[iScene]->createJoint(jointDesc); } xcase BONEID_LARMR: case BONEID_LARML: { NxRevoluteJointDesc jointDesc; jointDesc.actor[0] = parentActor; jointDesc.actor[1] = childActor; // Ok, first we need to rotate the child actor so that it is in the identity matrix wrt the parent NxMat33 mChildOrientation = childActor->getGlobalOrientation(); NxMat33 mParentOrientation = parentActor->getGlobalOrientation(); NxMat33 mUnitMat; mUnitMat.id(); parentActor->setGlobalOrientation(mUnitMat); NxMat33 mFixOrientation; F32 fOffsetAngle = 0.0f; F32 fFlipSign = 1.0f; if ( boneId == 10) { fFlipSign = -1.0f; } /* fOffsetAngle = 0.0f; mFixOrientation.rotY(RAD(260.0f)); mUnitMat *= mFixOrientation; } else { mFixOrientation.rotX(RAD(180.0f)); mUnitMat *= mFixOrientation; } */ //mFixOrientation.rotZ(RAD(90.0f) * fFlipSign); //mUnitMat *= mFixOrientation; //fOffsetAngle = RAD(90.0f); childActor->setGlobalOrientation(mUnitMat); NxVec3 vGlobalAxis = mUnitMat.getColumn(0); //vGlobalAxis = mParentOrientation * vGlobalAxis; jointDesc.setGlobalAxis(vGlobalAxis); childActor->setGlobalOrientation(mChildOrientation); parentActor->setGlobalOrientation(mParentOrientation); jointDesc.flags |= NX_RJF_LIMIT_ENABLED; jointDesc.limit.high.value = RAD(135.0f) + fOffsetAngle; jointDesc.limit.high.hardness = DEFAULT_HINGE_HARDNESS; jointDesc.limit.high.restitution = 0.5; jointDesc.limit.low.value = RAD(5.0f) + fOffsetAngle; jointDesc.limit.low.hardness = DEFAULT_HINGE_HARDNESS; jointDesc.limit.low.restitution = 0.5; #ifdef DEFAULT_SWING_SPRING jointDesc.flags |= NX_RJF_SPRING_ENABLED; jointDesc.spring.spring = 0.1f; jointDesc.spring.damper = DEFAULT_SWING_DAMPER; jointDesc.spring.targetValue = RAD(10.0f); #endif jointDesc.jointFlags &= ~NX_JF_COLLISION_ENABLED; jointDesc.projectionDistance = DEFAULT_PROJECTON_DIST; jointDesc.projectionMode = DEFAULT_PROJECTION_METHOD; jointDesc.setGlobalAnchor(nxvGlobalAnchor); jointToReturn = nxScene[iScene]->createJoint(jointDesc); } xcase BONEID_ULEGR: case BONEID_ULEGL: { NxSphericalJointDesc jointDesc; jointDesc.actor[0] = parentActor; jointDesc.actor[1] = childActor; // Ok, first we need to rotate the child actor so that it is in the identity matrix wrt the parent NxMat33 mChildOrientation = childActor->getGlobalOrientation(); NxMat33 mParentOrientation = parentActor->getGlobalOrientation(); NxMat33 mFixOrientation; mFixOrientation.rotX(RAD(-15.0f)); mParentOrientation *= mFixOrientation; if ( boneId == 23) mFixOrientation.rotZ(RAD(15.0f)); else mFixOrientation.rotZ(RAD(-15.0f)); mParentOrientation *= mFixOrientation; childActor->setGlobalOrientation(mParentOrientation); NxVec3 vGlobalAxis(0.0f,-1.0f,0.0f); vGlobalAxis = mParentOrientation * vGlobalAxis; jointDesc.setGlobalAxis(vGlobalAxis); childActor->setGlobalOrientation(mChildOrientation); jointDesc.flags |= NX_SJF_SWING_LIMIT_ENABLED; jointDesc.swingLimit.value = RAD(35.0f); jointDesc.swingLimit.hardness = DEFAULT_SWING_HARDNESS; jointDesc.swingLimit.restitution = 0.5; #ifdef DEFAULT_SWING_SPRING jointDesc.flags |= NX_SJF_SWING_SPRING_ENABLED; jointDesc.swingSpring.spring = DEFAULT_SWING_SPRING; jointDesc.swingSpring.damper = DEFAULT_SWING_DAMPER; #endif jointDesc.flags |= NX_SJF_TWIST_LIMIT_ENABLED; jointDesc.twistLimit.low.value = -RAD(45.0f); jointDesc.twistLimit.low.hardness = DEFAULT_TWIST_HARDNESS; jointDesc.twistLimit.low.restitution = 0.5; jointDesc.twistLimit.high.value = RAD(45.0f); jointDesc.twistLimit.high.hardness = DEFAULT_TWIST_HARDNESS; jointDesc.twistLimit.high.restitution = 0.5; #ifdef DEFAULT_TWIST_SPRING jointDesc.flags |= NX_SJF_TWIST_SPRING_ENABLED; jointDesc.twistSpring.spring = DEFAULT_TWIST_SPRING; jointDesc.twistSpring.damper = DEFAULT_TWIST_DAMPER; #endif jointDesc.jointFlags &= ~NX_JF_COLLISION_ENABLED; jointDesc.projectionDistance = DEFAULT_PROJECTON_DIST; jointDesc.projectionMode = DEFAULT_PROJECTION_METHOD; jointDesc.setGlobalAnchor(nxvGlobalAnchor); jointToReturn = nxScene[iScene]->createJoint(jointDesc); } xcase BONEID_LLEGR: case BONEID_LLEGL: { NxRevoluteJointDesc jointDesc; jointDesc.actor[0] = parentActor; jointDesc.actor[1] = childActor; // Ok, first we need to rotate the child actor so that it is in the identity matrix wrt the parent NxMat33 mChildOrientation = childActor->getGlobalOrientation(); NxMat33 mParentOrientation = parentActor->getGlobalOrientation(); // NxMat33 mFixOrientation; // mFixOrientation.rotX(RAD(80.0f)); // mParentOrientation *= mFixOrientation; childActor->setGlobalOrientation(mParentOrientation); NxVec3 vGlobalAxis(1.0f,0.0f,0.0f); vGlobalAxis = mParentOrientation * vGlobalAxis; jointDesc.setGlobalAxis(vGlobalAxis); childActor->setGlobalOrientation(mChildOrientation); jointDesc.flags |= NX_RJF_LIMIT_ENABLED; jointDesc.limit.high.value = RAD(0.0f); jointDesc.limit.high.hardness = DEFAULT_HINGE_HARDNESS; jointDesc.limit.high.restitution = 0.5; jointDesc.limit.low.value = -RAD(120.0f); jointDesc.limit.low.hardness = DEFAULT_HINGE_HARDNESS; jointDesc.limit.low.restitution = 0.5; #ifdef DEFAULT_SWING_SPRING jointDesc.flags |= NX_RJF_SPRING_ENABLED; jointDesc.spring.spring = DEFAULT_SWING_SPRING; jointDesc.spring.damper = DEFAULT_SWING_DAMPER; #endif jointDesc.projectionDistance = DEFAULT_PROJECTON_DIST; jointDesc.projectionMode = DEFAULT_PROJECTION_METHOD; jointDesc.jointFlags &= ~NX_JF_COLLISION_ENABLED; jointDesc.setGlobalAnchor(nxvGlobalAnchor); jointToReturn = nxScene[iScene]->createJoint(jointDesc); } xdefault: { NxFixedJointDesc jointDesc; jointDesc.actor[0] = parentActor; jointDesc.actor[1] = childActor; jointDesc.setGlobalAnchor(nxvGlobalAnchor); /* NxVec3 vGlobalAxis = childActor->getGlobalPosition() - parentActor->getGlobalPosition(); vGlobalAxis.normalize(); jointDesc.setGlobalAxis(vGlobalAxis); */ jointDesc.jointFlags &= ~NX_JF_COLLISION_ENABLED; jointToReturn = nxScene[iScene]->createJoint(jointDesc); // assert( jointToReturn ); } } // assert( jointToReturn ); return jointToReturn; } static void* createNovodexGeometry(RagdollGeometry* rg, NxGroupType group, F32 fDensity, int iSceneNum) { if ( rg->geom == RAG_GEOM_CAPSULE) return nwCreateCapsuleActor(rg->mOffsetMat, rg->fRadius, rg->fHeight, group, fDensity, iSceneNum); else if ( rg->geom == RAG_GEOM_SPHERE ) return nwCreateSphereActor(rg->mOffsetMat, rg->fRadius, group, fDensity, iSceneNum ); else // iGeom == RAG_GEOM_BOX return nwCreateBoxActor(rg->mOffsetMat, rg->vSize, group, fDensity, iSceneNum); } static bool findChildRelativePositionFromBoneId(GfxNode* parentNode, BoneId boneId, const Mat4 mParentMat, Vec3 vResult) { // Recurse through tree GfxNode* childNode = parentNode->child; if(boneId == parentNode->anim_id) { copyVec3(mParentMat[3], vResult); return true; } while (childNode) { Mat4 mXform; mulMat4(mParentMat, childNode->mat, mXform); if(findChildRelativePositionFromBoneId(childNode, boneId, mXform, vResult)) return true; childNode = childNode->next; } return false; } static GfxNode* findChildNodeFromBoneID(GfxNode* parentNode, BoneId boneId ) { // Recurse through tree GfxNode* childNode = parentNode->child; if(boneId == parentNode->anim_id) return parentNode; while (childNode) { GfxNode* childSearch = findChildNodeFromBoneID(childNode, boneId); if (childSearch) return childSearch; childNode = childNode->next; } return NULL; } static void calcGeomParamsFromBoneID(BoneId boneId, RagdollGeometry* rg, const Vec3 geomScale, GfxNode* node, SeqInst* seq, int iSceneNum) { rg->fHeight = 1.0f * geomScale[1]; rg->fRadius = 0.3f * geomScale[0]; copyVec3(onevec3, rg->vSize); Vec3 vResult; rg->bCCD = false; switch(boneId) { xcase BONEID_HIPS: rg->bOffset = false; rg->geom = RAG_GEOM_BOX; rg->bCCD = true; { Vec3 vResultA, vResultB; bool bFoundA, bFoundB; // Width bFoundA = findChildRelativePositionFromBoneId(node, BONEID_ULEGR, unitmat, vResultA); bFoundB = findChildRelativePositionFromBoneId(node, BONEID_ULEGL, unitmat, vResultB); if ( bFoundA && bFoundB ) { Vec3 vDiff; subVec3(vResultA, vResultB, vDiff); rg->vSize[0] = fabsf(vDiff[0] * geomScale[0]); } else { rg->vSize[0] = 0.5f * geomScale[0]; } // Height bFoundA = findChildRelativePositionFromBoneId(node, BONEID_WAIST, unitmat, vResultA); if ( bFoundA ) { rg->vSize[1] = fabsf(vResultA[1] * 0.5f * geomScale[1]); } else { rg->vSize[1] = 0.7f * geomScale[1]; } } if ( geomScale[0] > 0) rg->vSize[2] = (0.4f * rg->vSize[0] / geomScale[0]) * geomScale[2]; xcase BONEID_ULEGR: case BONEID_ULEGL: if(findChildRelativePositionFromBoneId(node, BoneId(boneId+2), unitmat, vResult)) // lower legs rg->fHeight = lengthVec3(vResult) * geomScale[1]; else rg->fHeight = 1.2f * geomScale[1]; // default xcase BONEID_LLEGR: case BONEID_LLEGL: rg->bCCD = true; if(findChildRelativePositionFromBoneId(node, BoneId(boneId+4), unitmat, vResult)) // toes rg->fHeight = lengthVec3(vResult) * geomScale[1]; else rg->fHeight = 1.6f * geomScale[1]; // default xcase BONEID_CHEST: rg->bOffset = false; rg->geom = RAG_GEOM_BOX; rg->bCCD = true; { Vec3 vResultA, vResultB; bool bFoundA, bFoundB; // Width bFoundA = findChildRelativePositionFromBoneId(node, BONEID_UARMR, unitmat, vResultA); bFoundB = findChildRelativePositionFromBoneId(node, BONEID_UARML, unitmat, vResultB); if ( bFoundA && bFoundB ) { Vec3 vDiff; subVec3(vResultA, vResultB, vDiff); rg->vSize[0] = fabsf(vDiff[0] * 0.5f * geomScale[0]); } else { rg->vSize[0] = 0.5f * geomScale[0]; } // Height bFoundA = findChildRelativePositionFromBoneId(seq->gfx_root->child, BONEID_NECK, unitmat, vResultA); if ( bFoundA ) { rg->vSize[1] = fabsf(vResultA[1] * 0.5f * geomScale[1]); } else { rg->vSize[1] = 0.7f * geomScale[1]; } } if ( geomScale[0] > 0) rg->vSize[2] = (0.4f * rg->vSize[0] / geomScale[0]) * geomScale[2]; xcase BONEID_UARMR: case BONEID_UARML: if(boneId == BONEID_UARMR) rollMat3(RAD(-90.0f), rg->mOffsetMat); else rollMat3(RAD(90.0f), rg->mOffsetMat); rg->fRadius = 0.3f * geomScale[2]; if(findChildRelativePositionFromBoneId(node, BoneId(boneId+2), unitmat, vResult)) // lower arm rg->fHeight = lengthVec3(vResult) * geomScale[1]; else rg->fHeight = 0.9f * geomScale[0]; xcase BONEID_LARMR: case BONEID_LARML: rg->bCCD = true; if(boneId == BONEID_LARMR) rollMat3(RAD(-90.0f), rg->mOffsetMat); else rollMat3(RAD(90.0f), rg->mOffsetMat); rg->fRadius = 0.3f * geomScale[2]; if(findChildRelativePositionFromBoneId(node, BoneId(boneId+4), unitmat, vResult)) // fingers rg->fHeight = lengthVec3(vResult) * geomScale[1]; else rg->fHeight = 0.6f * geomScale[0]; xcase BONEID_HEAD: rg->fHeight = 0.5f * geomScale[1]; rg->bOffset = false; xcase BONEID_WAIST: /* Snakeman case 89: //Fore_FootL uiSubBoneId = 92; bSnakeTail = true; break; case 92: //Fore_LlegL uiSubBoneId = 87; bSnakeTail = true; break; case 87: //Fore_ULegL uiSubBoneId = 79; bSnakeTail = true; break; case 79: //Hind_ULegL uiSubBoneId = 80; bSnakeTail = true; break; case 80: //Hind_LlegL uiSubBoneId = 81; bSnakeTail = true; break; case 81: //Hind_FootL uiSubBoneId = 82; bSnakeTail = true; break; case 82: //Hind_ToeL uiSubBoneId = 91; bSnakeTail = true; break; case 91: //Hind_ULegR uiSubBoneId = 85; bSnakeTail = true; break; */ xdefault: ; } } void* createRagdollGeometry(Mat4 mWorldSpaceMat, BoneId boneId, Vec3 geomScale, GfxNode * node, SeqInst* seq, int iSceneNum) { RagdollGeometry rg; rg.geom = RAG_GEOM_CAPSULE; rg.bOffset = true; Vec3 vOffset; copyMat4(mWorldSpaceMat, rg.mOffsetMat); /* if ( bSnakeTail ) { GfxNode* pChildNode = findChildNodeFromBoneID(node, uiSubBoneId); if ( pChildNode ) { Vec3 vDiff; subVec3(pChildNode->mat[3], node->mat[3], vDiff); fHeight = lengthVec3(vDiff) * geomScale[1] * 2.0f; } else { fHeight = 0.3f * geomScale[1]; // default } } */ calcGeomParamsFromBoneID(boneId, &rg, geomScale, node, seq, iSceneNum ); if ( rg.bOffset ) { scaleVec3(rg.mOffsetMat[1],rg.fHeight * 0.5f, vOffset); subVec3(rg.mOffsetMat[3], vOffset, rg.mOffsetMat[3]); } F32 fDensity = 1.f; void* actor = createNovodexGeometry(&rg, nxGroupRagdoll, fDensity, iSceneNum); if ( actor ) { nwSetActorSleepVelocities(actor, ragdollConstants.angularSleepVelocity, ragdollConstants.linearSleepVelocity); nwSetActorDamping(actor, ragdollConstants.angularDamping, ragdollConstants.linearDamping); nwSetActorMass(actor, fDensity*geomScale[0]*geomScale[1]*geomScale[2]); if ( rg.bCCD && ragdollConstants.doCCD ) { nwAddCCDSkeletonForActor(actor); } } return actor; } #ifdef CLIENT static void drawRagdollBone( Mat4 mWorldSpaceMat, BoneId boneId, const Vec3 geomScale, GfxNode * node, SeqInst* seq ) { RagdollGeometry rg; Vec3 vOffset; rg.geom = RAG_GEOM_CAPSULE; rg.bOffset = true; copyMat4(mWorldSpaceMat, rg.mOffsetMat); calcGeomParamsFromBoneID(boneId, &rg, geomScale, node, seq, NX_CLIENT_SCENE); if(boneId == BONEID_UARMR) { int asijck = 0; } if ( rg.bOffset ) { scaleVec3(rg.mOffsetMat[1],rg.fHeight * 1.0f, vOffset); subVec3(rg.mOffsetMat[3], vOffset, rg.mOffsetMat[3]); } Vec3 vStart, vEnd, vEndXformed; copyVec3( rg.mOffsetMat[3], vStart); zeroVec3(vEnd); vEnd[1] = rg.fHeight; mulVecMat3(vEnd, rg.mOffsetMat, vEndXformed); addVec3(vStart, vEndXformed, vEnd); //if(uiBoneId == BONEID_ULEGR) drawLine3D(vStart, vEnd, 0xffffffff); } void drawRagdollSkeleton( GfxNode* rootNode, Mat4 parentMat, SeqInst* seq ) { GfxNode * node; for(node = rootNode ; node ; node = node->next) { Mat4 mChildMat; Vec3 vDiff; if ( seq->handle != node->seqHandle ) continue; mulMat4(parentMat, node->mat, mChildMat); //if(node->anim_id == BONEID_LLEGR) drawLine3D(parentMat[3], mChildMat[3], 0x790000ff); subVec3(parentMat[3], mChildMat[3], vDiff); if (!isRagdollBone(node->anim_id)) { if ( node->child ) drawRagdollSkeleton(node->child, mChildMat, seq ); continue; } drawRagdollBone(mChildMat, node->anim_id, onevec3, node, seq); drawRagdollSkeleton(node->child, mChildMat, seq ); } } #endif static Ragdoll* pLastHips = NULL; int walkSkeletonAndCreateRagdoll( GfxNode* rootNode, const Mat4 parentMat, Ragdoll* parentRagdoll, SeqInst* seq, Ragdoll** rootRagdoll, Vec3 vInitialVel, bool bCreateNovodexPresence, Vec3 vScale, int iSceneNum ) { GfxNode * node; int iBoneCount = 0; // we are a bone, necessarily for(node = rootNode ; node ; node = node->next) { // Only deal with nodes attached to this seqinst if ( seq->handle != node->seqHandle ) continue; if (!isRagdollBone(node->anim_id)) { // This bone is excluded, but it might have included children if ( node->child ) { Mat4 mWorldSpaceMat; Mat4 mNodeMat; copyMat4(node->mat, mNodeMat); mulVecVec3(mNodeMat[3], vScale, mNodeMat[3]); mulMat4(parentMat, mNodeMat, mWorldSpaceMat); iBoneCount += walkSkeletonAndCreateRagdoll(node->child, mWorldSpaceMat, parentRagdoll, seq, NULL, vInitialVel, bCreateNovodexPresence, vScale, iSceneNum); } continue; } // One last test, we must know that there is geometry for this before it can be a ragdoll bone /* char buf[100]; sprintf( buf, "GEO_%s", getBoneNameFromNumber( node->anim_id ) ); char* cFileName = "player_library/G_steve_blockman.anm"; Model* pModel = modelFind( buf, cFileName, LOAD_NOW, GEO_INIT_FOR_DRAWING | GEO_USED_BY_GFXTREE); if (!pModel) continue; */ // Ok, this node counts as a ragdoll bone ++iBoneCount; // Allocate it Ragdoll* newRagdoll = (Ragdoll*)malloc(sizeof(Ragdoll)); // Set defaults newRagdoll->boneId = node->anim_id; newRagdoll->iSceneNum = iSceneNum; newRagdoll->child = NULL; newRagdoll->next = NULL; // Snakeman hack! /* if ( node->anim_id == 89 ) { parentRagdoll = pLastHips; } */ newRagdoll->parent = parentRagdoll; newRagdoll->hist_latest = 0; memset(newRagdoll->absTimeHist, 0, sizeof(newRagdoll->absTimeHist)); if ( node->anim_id == 0) pLastHips = newRagdoll; // Calculate quaternion from initial node orientation mat3ToQuat(node->mat, newRagdoll->qCurrentRot); quatNormalize(newRagdoll->qCurrentRot); // copyVec3(node->mat[3], newRagdoll->vCurrentPos); // Calculate world space position, and create actor there Mat4 mWorldSpaceMat; Mat4 mNodeMat; copyMat4(node->mat, mNodeMat); mulVecVec3(mNodeMat[3], vScale, mNodeMat[3]); mulMat4(parentMat, mNodeMat, mWorldSpaceMat); //copyMat3(unitmat, node->mat); if (bCreateNovodexPresence) { // Vec3 vNewInitialVel; newRagdoll->pActor = createRagdollGeometry(mWorldSpaceMat, newRagdoll->boneId, vScale, node, seq, iSceneNum); assert( newRagdoll->pActor ); if ( newRagdoll->pActor ) { F32 omega, rho; Vec3 vRandAxis; Vec3 vResult; getRandomPointOnSphereSurface(&omega, &rho ); sphericalCoordsToVec3(vRandAxis, omega, rho, 1.0f); if ( lengthVec3Squared(vInitialVel) > 0.1f ) { scaleVec3(vRandAxis, lengthVec3(vInitialVel) * 0.6f, vRandAxis ); } else { scaleVec3(vRandAxis, 0.5f, vRandAxis); } addVec3(vRandAxis, vInitialVel, vResult); nwSetActorLinearVelocity(newRagdoll->pActor, vResult ); } // Create novodex actor and joint for this ragdoll bone /* int iVert=0; Vec3* verts = (Vec3*)_alloca(pModel->vert_count * sizeof(*verts)); geoUnpackDeltas(&pModel->pack.verts, verts, 3, pModel->vert_count, PACK_F32); newRagdoll->pActor = nwCreateConvexActor(pModel->name, mWorldSpaceMat, (float*)verts, pModel->vert_count, nxGroupDebris, NULL, 1.0f ); */ if ( parentRagdoll && parentRagdoll->pActor ) newRagdoll->pJointToParent = jointRagdoll( (NxActor*)parentRagdoll->pActor, (NxActor*)newRagdoll->pActor, newRagdoll->boneId, mWorldSpaceMat[3], iSceneNum ); else newRagdoll->pJointToParent = NULL; } else { newRagdoll->pActor = newRagdoll->pJointToParent = NULL; } // Ok, now we have our new ragdoll, insert it into our ragdoll tree // assuming we're not the root if ( parentRagdoll ) { if ( !parentRagdoll->child ) parentRagdoll->child = newRagdoll; else { Ragdoll* spotForNewRagdoll = parentRagdoll->child; while (spotForNewRagdoll->next) spotForNewRagdoll = spotForNewRagdoll->next; spotForNewRagdoll->next = newRagdoll; } } else { assert(rootRagdoll); *rootRagdoll = newRagdoll; } // Now, continue with our child, if it exists if ( node->child ) iBoneCount += walkSkeletonAndCreateRagdoll(node->child, mWorldSpaceMat, newRagdoll, seq, NULL, vInitialVel, bCreateNovodexPresence, vScale, iSceneNum); } if ( parentRagdoll ) parentRagdoll->numBones = iBoneCount+1; return iBoneCount; } // ------------------------------------------------------------------------------------------------------------------- static void nwFreeRagdoll(Ragdoll* parentRagdoll, int iScene) { if (!parentRagdoll) return; Ragdoll* pChildRagdoll = parentRagdoll->child; while (pChildRagdoll != NULL ) { nwFreeRagdoll( pChildRagdoll, iScene); Ragdoll* pNextRagdoll = pChildRagdoll->next; free( pChildRagdoll ); pChildRagdoll = pNextRagdoll; } if ( nwEnabled() ) { if (parentRagdoll->pJointToParent) { assert( iScene >= 0 && iScene < MAX_NX_SCENES); if ( nxScene[iScene] ) nxScene[iScene]->releaseJoint( *((NxJoint*)parentRagdoll->pJointToParent) ); parentRagdoll->pJointToParent = NULL; } if (parentRagdoll->pActor) { assert( iScene >= 0 && iScene < MAX_NX_SCENES); //nwDeleteActor(parentRagdoll->pActor); if ( nxScene[iScene] ) { NxActor* actor = (NxActor*)parentRagdoll->pActor; nwRemoveCCDSkeletonForActor(actor); nxScene[iScene]->releaseActor( *actor ); } nx_state.dynamicActorCount--; parentRagdoll->pActor = NULL; } } else { parentRagdoll->pJointToParent = NULL; parentRagdoll->pActor = NULL; } parentRagdoll->iSceneNum = -1; // we've removed it from the scene } static void nwDeleteRagdollImmediately(Ragdoll* parentRagdoll); // QUEUED STUFF #ifdef SERVER #if !BEACONIZER void nwCreateRagdollQueues() { if ( ragdollCreationQueue ) { assert( ragdollDeletionWithFreeQueue ); return; } const int iMaxQueueSize = 128; ragdollCreationQueue = createQueue(); ragdollDeletionWithFreeQueue = createQueue(); qSetMaxSizeLimit( ragdollCreationQueue, iMaxQueueSize ); qSetMaxSizeLimit( ragdollDeletionWithFreeQueue, iMaxQueueSize ); initQueue( ragdollCreationQueue, 16 ); initQueue( ragdollDeletionWithFreeQueue, 16 ); } // ------------------------------------------------------------------------------------------------------------------- void nwDeleteRagdollQueues() { // flush deletion queues processRagdollDeletionQueues(); assert( qGetSize(ragdollDeletionWithFreeQueue) == 0); // ignore creation queues, just destroy the queue //nwProcessRagdollQueue(); destroyQueue(ragdollCreationQueue); destroyQueue(ragdollDeletionWithFreeQueue); ragdollCreationQueue = NULL; ragdollDeletionWithFreeQueue = NULL; } // ------------------------------------------------------------------------------------------------------------------- void processRagdollDeletionQueues() { assert( ragdollDeletionWithFreeQueue ); Ragdoll* pRagdoll; pRagdoll = (Ragdoll*)qDequeue(ragdollDeletionWithFreeQueue); while ( pRagdoll ) { nwDeleteRagdollImmediately(pRagdoll); pRagdoll = (Ragdoll*)qDequeue(ragdollDeletionWithFreeQueue); } } #endif #endif // ------------------------------------------------------------------------------------------------------------------- static void nwDeleteRagdollImmediately(Ragdoll* parentRagdoll) { if (!parentRagdoll) return; int iScene = parentRagdoll->iSceneNum; if ( iScene >= 0 ) { nwEndThread(iScene); } nwFreeRagdoll(parentRagdoll, iScene ); if ( nwEnabled() && iScene >= 0 ) { removeInfluenceSphere(iScene); nwDeleteScene(iScene); } free(parentRagdoll); } // ------------------------------------------------------------------------------------------------------------------- void nwDeleteRagdoll(Ragdoll* parentRagdoll) { if (!parentRagdoll) return; #ifdef CLIENT nwDeleteRagdollImmediately(parentRagdoll); return; #elif SERVER if ( nwEnabled() ) { assert( ragdollDeletionWithFreeQueue ); int iSuccess; if(qIsFull(ragdollDeletionWithFreeQueue)) qSetMaxSizeLimit(ragdollDeletionWithFreeQueue, 2*qGetMaxSize(ragdollDeletionWithFreeQueue)); iSuccess = qEnqueue( ragdollDeletionWithFreeQueue, (void*) parentRagdoll ); assert( iSuccess ); } else { nwDeleteRagdollImmediately(parentRagdoll); } #endif } // ------------------------------------------------------------------------------------------------------------------- #ifdef CLIENT Ragdoll* nwCreateRagdollNoPhysics( Entity* e ) { assert(e); if ( !e || !e->seq || !e->seq->gfx_root || !e->seq->gfx_root->child) return NULL; PERFINFO_AUTO_START("nwCreateRagdollNoPhysics", 1); int iRagdollScene = -1; GfxNode* rootNode = e->seq->gfx_root->child; //printf("Animation = %s\n", e->seq->animation.move->name); //printf("RootNode up = %.2f\n", rootNode->mat[2][1]); Ragdoll* rootRagdoll = NULL; Vec3 vInitialVel; copyVec3(e->motion->vel, vInitialVel); #ifdef RAGDOLL // Calculate first frame ragdoll offset, since we switch from mat corresponding // from root to hips { Vec3 vOffsetPos; Vec3 vCombatBias; zeroVec3(vCombatBias); vCombatBias[2] = -0.8f; addVec3(vCombatBias, e->seq->gfx_root->child->mat[3], vOffsetPos); mulVecMat3(vOffsetPos, ENTMAT(e), e->ragdoll_offset_pos); //mat3ToQuat(e->seq->gfx_root->child->mat, e->ragdoll_offset_qrot); } #endif Vec3 vScale; F32 fCostumeScale = e->costume ? (100.0f + e->costume->appearance.fScale) * 0.01f : 1.0f; scaleVec3(e->seq->currgeomscale, fCostumeScale, vScale); walkSkeletonAndCreateRagdoll( rootNode, ENTMAT(e), NULL, e->seq, &rootRagdoll, vInitialVel, false, vScale, iRagdollScene); //rootRagdoll->numBones++; //assert (rootRagdoll->next == NULL); PERFINFO_AUTO_STOP(); return rootRagdoll; } #endif // ------------------------------------------------------------------------------------------------------------------- static void initRagdollConstants() { ragdollConstants.swing_spring = 0.2f; ragdollConstants.swing_damper = 0.1; ragdollConstants.twist_spring = 0.2f; ragdollConstants.twist_damper = 0.1f; ragdollConstants.swing_hardness = 0.9f; ragdollConstants.twist_hardness = 0.9f; ragdollConstants.hinge_hardness = 0.9f; ragdollConstants.projection_distance = 0.15f; ragdollConstants.linearDamping = 0.15f; ragdollConstants.angularDamping = 0.20f; ragdollConstants.linearSleepVelocity = 0.35f; ragdollConstants.angularSleepVelocity = 0.34f; ragdollConstants.doCCD = true; ragdollConstants.bInited = true; } #ifdef SERVER void nwPushRagdoll( Entity* e ) { assert(e && ragdollCreationQueue ); if ( !ragdollConstants.bInited ) { initRagdollConstants(); } if (qFind(ragdollCreationQueue, (void*)e )) return; // already enqueued int iSuccess = qEnqueue( ragdollCreationQueue, (void*) e ); // ARM NOTE: This devassert seems to be causing false positive crashes internally. // I used I Win Button to kill 720 dudes at the same instant, and the server stood through it. // Feel free to re-add it if you know that I did something wrong here. //devassert( iSuccess ); } // ------------------------------------------------------------------------------------------------------------------- static void nwCreateDelayedRagdoll( Entity* e ) { assert(e); if ( !nwEnabled()) return; e->firstRagdollFrame = 1; if ( !e || !e->seq || !e->seq->gfx_root || !e->seq->gfx_root->child) return; PERFINFO_AUTO_START("nwCreateRagdoll", 1); int iRagdollScene = nwCreateScene(); if ( iRagdollScene < 0 ) { PERFINFO_AUTO_STOP(); return; } addInfluenceSphere(iRagdollScene, e); if ( !ragdollConstants.bInited ) { initRagdollConstants(); } GfxNode* rootNode = e->seq->gfx_root->child; Ragdoll* rootRagdoll = NULL; Vec3 vInitialVel; copyVec3(e->motion->vel, vInitialVel); Vec3 vScale; F32 fCostumeScale = (100.0f + e->costume->appearance.fScale) * 0.01f; scaleVec3(e->seq->currgeomscale, fCostumeScale, vScale); walkSkeletonAndCreateRagdoll( rootNode, ENTMAT(e), NULL, e->seq, &rootRagdoll, vInitialVel, true, vScale, iRagdollScene); //rootRagdoll->numBones++; //assert (rootRagdoll->next == NULL); PERFINFO_AUTO_STOP(); e->ragdoll = rootRagdoll; } // ------------------------------------------------------------------------------------------------------------------- void nwProcessRagdollQueue( ) { Entity* e; assert( ragdollCreationQueue ); e = (Entity*)qDequeue(ragdollCreationQueue); while ( e ) { nwCreateDelayedRagdoll(e); e = (Entity*)qDequeue(ragdollCreationQueue); } } #endif SERVER // ------------------------------------------------------------------------------------------------------------------- void nwSetRagdollFromQuaternions( Ragdoll* ragdoll, Quat qRoot ) { Ragdoll* pRagdoll; for( pRagdoll = ragdoll; pRagdoll; pRagdoll = pRagdoll->next ) { // Set quat from actor NxActor* pActor = (NxActor*)pRagdoll->pActor; if ( pActor ) { NxQuat nxqWorldQuat = pActor->getGlobalOrientationQuat(); Quat qWorldQuat; copyQuat((float*)&nxqWorldQuat, qWorldQuat); Quat qLocal; Quat qInverseRoot; float fFixAngle = 0.0f; //Quat qActorSpaceQuat; quatInverse(qRoot, qInverseRoot); switch (pRagdoll->boneId) { case 7: case 9: fFixAngle = RAD(90.0f); break; case 8: case 10: fFixAngle = RAD(-90.0f); break; default: break; }; if ( fFixAngle != 0.0f) { Mat3 mFix; quatToMat(qWorldQuat, mFix); rollMat3World(fFixAngle, mFix); mat3ToQuat(mFix, qWorldQuat); //assert(validateMat3(mFix)); } // Snakeman hack! /* if ( pRagdoll->boneId == 89) { unitquat(qInverseRoot); } */ quatMultiply(qInverseRoot, qWorldQuat, qLocal); quatInverse(qLocal,qLocal); copyQuat(qLocal, pRagdoll->qCurrentRot); //assert(quatIsValid(qWorldQuat)); nwSetRagdollFromQuaternions(pRagdoll->child, qWorldQuat); } else { // we're not updating this quat, so multiply it through Quat qNewRoot; if (0 && quatIsValid(pRagdoll->qCurrentRot)) quatMultiply(qRoot, pRagdoll->qCurrentRot, qNewRoot); else copyQuat(qRoot, qNewRoot); //assert(quatIsValid(qNewRoot)); nwSetRagdollFromQuaternions(pRagdoll->child, qNewRoot); } } } #endif
[ "omegablast2002@yahoo.com" ]
omegablast2002@yahoo.com
a25ad70b277cd84239db7472a656883c3d04c505
20b2af5e275469261d95d4441303d567b5c03bba
/src/brain/Behavior/DucksBehaviour/States/Initial.hpp
f72a110a4246b14091894721cd18f8bc4d8f5e20
[ "BSD-2-Clause" ]
permissive
humanoid-robotics-htl-leonding/robo-ducks-core
efd513dedf58377dadc6a3094dd5c01f13c32eb1
1644b8180214b95ad9ce8fa97318a51748b5fe3f
refs/heads/master
2022-04-26T17:19:00.073468
2020-04-23T07:05:25
2020-04-23T07:05:25
181,146,731
7
0
NOASSERTION
2022-04-08T13:25:14
2019-04-13T09:07:29
C++
UTF-8
C++
false
false
243
hpp
#pragma once DucksActionCommand initial(const DucksDataSet &d) { auto command = DucksActionCommand::stand(); if (d.thoughts.handleNewState()) { command.combineThoughtCommand(ThoughtCommand::RESET_COMPASS_DIRECTION); } return command; }
[ "erik.mayrhofer@liwest.at" ]
erik.mayrhofer@liwest.at
2547cbb4abcba3a2a8d52efe4e798c355d372e6d
91a882547e393d4c4946a6c2c99186b5f72122dd
/Source/XPSP1/NT/inetsrv/query/web/dll/errormsg.cxx
20e51a42cfe65747ca31513267324a632e94065a
[]
no_license
IAmAnubhavSaini/cryptoAlgorithm-nt5src
94f9b46f101b983954ac6e453d0cf8d02aa76fc7
d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2
refs/heads/master
2023-09-02T10:14:14.795579
2021-11-20T13:47:06
2021-11-20T13:47:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
25,942
cxx
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1996 - 2000. // // File: errormsg.cxx // // Contents: Error messages for output/running queries // // History: 96/Mar/3 DwightKr Created // //---------------------------------------------------------------------------- #include <pch.cxx> #pragma hdrstop #define ERROR_MESSAGE_SIZE 512 //+--------------------------------------------------------------------------- // // Function: GetErrorPageNoThrow - public // // Synposis: Generates an error page based on the error parameters passed. // // Arguments: [eErrorClass] - class of error (IDQ, HTX, restirction, etc) // [status] - error code generated // [ulErrorLine] - line on which the error occured // [wcsErrorFileName] - name of file which generated the error // [pVariableSet] - replaceable parameters which generated the error // [pOutputFormat] - format of dates & numbers // [locale] - locale of the browser // [webServer] - the web server // [vString] - virtual string to contain error code // // History: 96/Feb/29 DwightKr Created // //---------------------------------------------------------------------------- void GetErrorPageNoThrow( int eErrorClass, NTSTATUS status, ULONG ulErrorLine, WCHAR const * wcsErrorFileName, CVariableSet * pVariableSet, COutputFormat * pOutputFormat, LCID locale, CWebServer & webServer, CVirtualString & vString ) { // // If the error was caused by a failure to WRITE to the web server, // then don't bother trying to report an error, there is no one to // receive it. // if ( eWebServerWriteError == eErrorClass ) { ciGibDebugOut(( DEB_IWARN, "Failed to write to the web server" )); return; } // // If the error was the result of an access denied problem, then simply // return a 401 error to the browser // WCHAR awcsErrorMessage[ERROR_MESSAGE_SIZE]; WCHAR * pwszErrorMessage = awcsErrorMessage; ULONG cchAvailMessage = ERROR_MESSAGE_SIZE; // // Generate the Win32 error code by removing the facility code (7) and // the error bit. // ULONG Win32status = status; if ( (Win32status & (FACILITY_WIN32 << 16)) == (FACILITY_WIN32 << 16) ) { Win32status &= ~( 0x80000000 | (FACILITY_WIN32 << 16) ); } if ( (STATUS_ACCESS_DENIED == status) || (STATUS_NETWORK_ACCESS_DENIED == status) || (ERROR_ACCESS_DENIED == Win32status) || (ERROR_INVALID_ACCESS == Win32status) || (ERROR_NETWORK_ACCESS_DENIED == Win32status) ) { ciGibDebugOut(( DEB_WARN, "mapping 0x%x to 401 access denied\n", status )); ReturnServerError( HTTP_STATUS_DENIED, webServer ); return; } // // Map special error codes to their message equivalents. // if ( QUERY_E_DUPLICATE_OUTPUT_COLUMN == status ) { status = MSG_CI_IDQ_DUPLICATE_COLUMN; } else if ( QUERY_E_INVALID_OUTPUT_COLUMN == status ) { status = MSG_CI_IDQ_NO_SUCH_COLUMN_PROPERTY; } if ( 0 != wcsErrorFileName ) { WCHAR *p = wcsrchr( wcsErrorFileName, L'\\' ); if ( 0 == p ) p = wcsrchr( wcsErrorFileName, L'/' ); if ( 0 == p ) p = wcsrchr( wcsErrorFileName, L':' ); if ( 0 != p ) wcsErrorFileName = p + 1; } // // Don't pass a specific lang id to FormatMessage since it will // fail if there's no message in that language. Instead set // the thread locale, which will get FormatMessage to use a search // algorithm to find a message of the appropriate language or // use a reasonable fallback msg if there's none. // LCID SaveLCID = GetThreadLocale(); SetThreadLocale(locale); switch (eErrorClass) { case eIDQParseError: { // // These are errors encountered while parsing the IDQ file // DWORD_PTR args [] = { (DWORD_PTR) ulErrorLine, (DWORD_PTR) wcsErrorFileName }; if ( ! FormatMessage( FORMAT_MESSAGE_FROM_HMODULE | FORMAT_MESSAGE_ARGUMENT_ARRAY, GetModuleHandle(L"idq.dll"), status, 0, pwszErrorMessage, cchAvailMessage, (va_list *) args ) ) { ciGibDebugOut(( DEB_ERROR, "Format message failed with error 0x%x\n", GetLastError() )); swprintf( pwszErrorMessage, L"Processing of IDQ file %ls failed with error 0x%x\n", wcsErrorFileName, status ); } } break; case eIDQPlistError: { // // These are errors encountered while parsing the [names] section // if (wcsErrorFileName != 0) { DWORD_PTR args [] = { (DWORD_PTR) wcsErrorFileName, (DWORD_PTR) ulErrorLine, }; NTSTATUS MsgNum = MSG_IDQ_FILE_MESSAGE; if (ulErrorLine != 0) { MsgNum = MSG_IDQ_FILE_LINE_MESSAGE; } ULONG cchMsg = FormatMessage( FORMAT_MESSAGE_FROM_HMODULE | FORMAT_MESSAGE_ARGUMENT_ARRAY, GetModuleHandle(L"idq.dll"), MsgNum, 0, pwszErrorMessage, cchAvailMessage, (va_list *) args ); pwszErrorMessage += cchMsg; cchAvailMessage -= cchMsg; } if ( ! FormatMessage( FORMAT_MESSAGE_FROM_HMODULE, GetModuleHandle(L"query.dll"), status, 0, pwszErrorMessage, cchAvailMessage, 0 ) ) { ciGibDebugOut(( DEB_ERROR, "Format message failed with error 0x%x\n", GetLastError() )); swprintf( pwszErrorMessage, L"Processing of IDQ file [names] failed with error 0x%x\n", status ); } } break; case eHTXParseError: { // // These are errors encountered while parsing the IDQ file // DWORD_PTR args [] = { (DWORD_PTR) ulErrorLine, (DWORD_PTR) wcsErrorFileName }; if ( ! FormatMessage( FORMAT_MESSAGE_FROM_HMODULE | FORMAT_MESSAGE_ARGUMENT_ARRAY, GetModuleHandle(L"idq.dll"), status, 0, pwszErrorMessage, cchAvailMessage, (va_list *) args ) ) { ciGibDebugOut(( DEB_ERROR, "Format message failed with error 0x%x\n", GetLastError() )); swprintf( pwszErrorMessage, L"Error 0x%x occured while parsing in HTX file %ls\n", status, wcsErrorFileName ); } } break; case eRestrictionParseError: { // // These are errors encountered while parsing the restriction // if ( ! FormatMessage( FORMAT_MESSAGE_FROM_HMODULE, GetModuleHandle(L"query.dll"), status, 0, pwszErrorMessage, cchAvailMessage, 0 ) ) { ciGibDebugOut(( DEB_ERROR, "Format message failed with error 0x%x\n", GetLastError() )); swprintf( pwszErrorMessage, L"Restriction parsing failed with error 0x%x\n", status ); } } break; default: { // // All other errors; other major classes of errors are caught above. // DWORD_PTR args [] = { (DWORD_PTR) ulErrorLine, (DWORD_PTR) wcsErrorFileName }; if ( ! FormatMessage( FORMAT_MESSAGE_FROM_HMODULE | FORMAT_MESSAGE_ARGUMENT_ARRAY, GetModuleHandle(L"idq.dll"), status, 0, pwszErrorMessage, cchAvailMessage, (va_list *) args ) ) { if (wcsErrorFileName != 0) { NTSTATUS MsgNum = MSG_IDQ_FILE_MESSAGE; args[0] = (DWORD_PTR)wcsErrorFileName; if (ulErrorLine != 0) { args[1] = ulErrorLine; MsgNum = MSG_IDQ_FILE_LINE_MESSAGE; } ULONG cchMsg = FormatMessage( FORMAT_MESSAGE_FROM_HMODULE | FORMAT_MESSAGE_ARGUMENT_ARRAY, GetModuleHandle(L"idq.dll"), MsgNum, 0, pwszErrorMessage, cchAvailMessage, (va_list *) args ); pwszErrorMessage += cchMsg; cchAvailMessage -= cchMsg; } if ( ! FormatMessage( FORMAT_MESSAGE_FROM_HMODULE, GetModuleHandle(L"query.dll"), status, 0, pwszErrorMessage, cchAvailMessage, 0 ) ) { // // Try looking up the error in the Win32 list of error codes // if ( ! FormatMessage( FORMAT_MESSAGE_FROM_HMODULE, GetModuleHandle(L"kernel32.dll"), Win32status, 0, pwszErrorMessage, cchAvailMessage, 0 ) ) { ciGibDebugOut(( DEB_ERROR, "Format message failed with error 0x%x\n", GetLastError() )); swprintf( pwszErrorMessage, L"Error 0x%x caught while processing query\n", status ); } } } } break; } SetThreadLocale(SaveLCID); BOOL fCaughtException = FALSE; // // Try to bind to language object by looking up registry and get // the error message HTX file associated with this class of error. // TRY { CWebLangLocator langreg( locale ); WCHAR * wcsErrorFile = 0; if ( langreg.LocaleFound() ) { // // If the locale was found in the registry, get the error message // file associated with this language. // switch (eErrorClass) { case eIDQParseError: case eIDQPlistError: wcsErrorFile = langreg.GetIDQErrorFile(); break; case eHTXParseError: wcsErrorFile = langreg.GetHTXErrorFile(); break; case eRestrictionParseError: wcsErrorFile = langreg.GetRestrictionErrorFile(); break; default: wcsErrorFile = langreg.GetDefaultErrorFile(); break; } } if ( ( 0 != pVariableSet ) && ( 0 != pOutputFormat ) && ( 0 != wcsErrorFile ) && ( wcslen(wcsErrorFile) > 0 ) ) { // // Set CiErrorMessage and CiErrorNumber. // // The variables won't own the memory for the strings; // the pointers will be reset later. // PROPVARIANT propVariant; propVariant.vt = VT_LPWSTR; propVariant.pwszVal = awcsErrorMessage; pVariableSet->SetVariable( ISAPI_CI_ERROR_MESSAGE, &propVariant, 0 ); WCHAR achErrorNumber[11]; swprintf( achErrorNumber, L"0x%8x", status ); propVariant.pwszVal = achErrorNumber; pVariableSet->SetVariable( ISAPI_CI_ERROR_NUMBER, &propVariant, 0 ); WCHAR wcsPhysicalPath[_MAX_PATH]; ULONG cwcVirtualPath = wcslen(wcsErrorFile) + 1; XPtrST<WCHAR> wcsVirtualPath( new WCHAR[cwcVirtualPath] ); // // We could have a virtual root or a physical root // All virtual roots begin with a "/". // if (wcsErrorFile[0] == L'/') { // // Ask the web server to convert the virtual path to our error // message file to a physical path. // webServer.GetPhysicalPath( wcsErrorFile, wcsPhysicalPath, _MAX_PATH ); RtlCopyMemory( wcsVirtualPath.GetPointer(), wcsErrorFile, cwcVirtualPath*sizeof(WCHAR) ); } else { // simply copy the path to physical path. It has to be a physical // path. If not, it will result in an error later. wcscpy(wcsPhysicalPath, wcsErrorFile); } CSecurityIdentity securityStub; CHTXFile htxFile( wcsVirtualPath, pOutputFormat->CodePage(), securityStub, pOutputFormat->GetServerInstance() ); ciGibDebugOut((DEB_ITRACE, "File is: %ws\n", wcsPhysicalPath)); htxFile.ParseFile( wcsPhysicalPath, *pVariableSet, webServer ); htxFile.GetHeader( vString, *pVariableSet, *pOutputFormat ); } else { vString.StrCat( L"<HTML>" ); HTMLEscapeW( awcsErrorMessage, vString, pOutputFormat->CodePage() ); } } CATCH ( CException, e ) { fCaughtException = TRUE; } END_CATCH TRY { // Extending the vstring can fail if ( fCaughtException ) { vString.StrCat( L"<HTML>" ); HTMLEscapeW( awcsErrorMessage, vString, pOutputFormat->CodePage() ); } // These can fail if the variable wasn't set above if ( pVariableSet ) { PROPVARIANT propVariant; propVariant.vt = VT_EMPTY; pVariableSet->SetVariable( ISAPI_CI_ERROR_MESSAGE, &propVariant, 0 ); pVariableSet->SetVariable( ISAPI_CI_ERROR_NUMBER, &propVariant, 0 ); } } CATCH ( CException, e ) { // give up } END_CATCH } //GetErrorPageNoThrow //+--------------------------------------------------------------------------- // // Function: GetErrorPageNoThrow - public // // Synposis: Generates an error page based on the error parameters passed. // The error description is already available. // // Arguments: [scError] - error SCODE generated // [pwszErrorMessage] - description provided by ole-db error mechanism // [pVariableSet] - replaceable parameters which generated the error // [pOutputFormat] - format of dates & numbers // [locale] - locale of the browser // [webServer] - the web server // [vString] - virtual string to contain error code // // History: 08-May-97 KrishnaN Created // //---------------------------------------------------------------------------- void GetErrorPageNoThrow( int eErrorClass, SCODE scError, WCHAR const * pwszErrorMessage, CVariableSet * pVariableSet, COutputFormat * pOutputFormat, LCID locale, CWebServer & webServer, CVirtualString & vString ) { BOOL fCaughtException = FALSE; // // Try to bind to language object by looking up registry and get // the error message HTX file associated with this class of error. // TRY { // // If the error was the result of an access denied problem, then simply // return a 401 error to the browser // // // Generate the Win32 error code by removing the facility code (7) and // the error bit. // ULONG Win32status = scError; if ( (Win32status & (FACILITY_WIN32 << 16)) == (FACILITY_WIN32 << 16) ) { Win32status &= ~( 0x80000000 | (FACILITY_WIN32 << 16) ); } if ( (STATUS_ACCESS_DENIED == scError) || (STATUS_NETWORK_ACCESS_DENIED == scError) || (ERROR_ACCESS_DENIED == Win32status) || (ERROR_INVALID_ACCESS == Win32status) || (ERROR_NETWORK_ACCESS_DENIED == Win32status) ) { ciGibDebugOut(( DEB_WARN, "mapping 0x%x to 401 access denied\n", scError )); ReturnServerError( HTTP_STATUS_DENIED, webServer ); return; } CWebLangLocator langreg( locale ); WCHAR * wcsErrorFile = 0; if ( langreg.LocaleFound() ) { // // If the locale was found in the registry, get the error message // file associated with this language. // switch (eErrorClass) { case eIDQParseError: case eIDQPlistError: wcsErrorFile = langreg.GetIDQErrorFile(); break; case eHTXParseError: wcsErrorFile = langreg.GetHTXErrorFile(); break; case eRestrictionParseError: wcsErrorFile = langreg.GetRestrictionErrorFile(); break; default: wcsErrorFile = langreg.GetDefaultErrorFile(); break; } } if ( ( 0 != pVariableSet ) && ( 0 != pOutputFormat ) && ( 0 != wcsErrorFile ) && ( wcslen(wcsErrorFile) > 0 ) ) { // // Set CiErrorMessage and CiErrorNumber. // // The variables won't own the memory for the strings; // the pointers will be reset later. // PROPVARIANT propVariant; propVariant.vt = VT_LPWSTR; propVariant.pwszVal = (LPWSTR)pwszErrorMessage; pVariableSet->SetVariable( ISAPI_CI_ERROR_MESSAGE, &propVariant, 0 ); WCHAR achErrorNumber[11]; swprintf( achErrorNumber, L"0x%8x", scError ); propVariant.pwszVal = achErrorNumber; pVariableSet->SetVariable( ISAPI_CI_ERROR_NUMBER, &propVariant, 0 ); WCHAR wcsPhysicalPath[_MAX_PATH]; ULONG cwcVirtualPath = wcslen(wcsErrorFile) + 1; XPtrST<WCHAR> wcsVirtualPath( new WCHAR[cwcVirtualPath] ); // // We could have a virtual root or a physical root // All virtual roots begin with a "/". // if (wcsErrorFile[0] == L'/') { // // Ask the web server to convert the virtual path to our error // message file to a physical path. // webServer.GetPhysicalPath( wcsErrorFile, wcsPhysicalPath, _MAX_PATH ); RtlCopyMemory( wcsVirtualPath.GetPointer(), wcsErrorFile, cwcVirtualPath*sizeof(WCHAR) ); } else { // simply copy the path to physical path. It has to be a physical // path. If not, it will result in an error later. wcscpy(wcsPhysicalPath, wcsErrorFile); } CSecurityIdentity securityStub; CHTXFile htxFile( wcsVirtualPath, pOutputFormat->CodePage(), securityStub, pOutputFormat->GetServerInstance() ); ciGibDebugOut((DEB_ITRACE, "File is: %ws\n", wcsPhysicalPath)); htxFile.ParseFile( wcsPhysicalPath, *pVariableSet, webServer ); htxFile.GetHeader( vString, *pVariableSet, *pOutputFormat ); } else { vString.StrCat( L"<HTML>" ); vString.StrCat( pwszErrorMessage ); } } CATCH ( CException, e ) { fCaughtException = TRUE; } END_CATCH TRY { // Extending the vstring can fail if ( fCaughtException ) { vString.StrCat( L"<HTML>" ); vString.StrCat( pwszErrorMessage ); } // These can fail if the variable wasn't set above if ( pVariableSet ) { PROPVARIANT propVariant; propVariant.vt = VT_EMPTY; pVariableSet->SetVariable( ISAPI_CI_ERROR_MESSAGE, &propVariant, 0 ); pVariableSet->SetVariable( ISAPI_CI_ERROR_NUMBER, &propVariant, 0 ); } } CATCH ( CException, e ) { // give up } END_CATCH } //GetErrorPageNoThrow enum { eAccessDeniedMsg = 0, eServerBusyMsg, eServerErrorMsg, }; #define MAX_SERVER_ERROR_MSGSIZE 100 WCHAR g_awszServerErrorMsgs [3] [MAX_SERVER_ERROR_MSGSIZE] = { L"Access denied.\r\n", L"Server too busy.\r\n", L"Unexpected server error.\r\n", }; //+--------------------------------------------------------------------------- // // Function: ReturnServerError - public // // Synposis: Generates an error page for an HTTP error code. // // Arguments: [httpError] - the HTTP status code // [webServer] - the web server // // Notes: This is used when the server is too busy; it should be a // very low-overhead path. // // History: 12 Aug 1997 AlanW Created // //---------------------------------------------------------------------------- void ReturnServerError( ULONG httpError, CWebServer & webServer ) { char const * pszHeader = ""; int iMessage = 0; switch (httpError) { case HTTP_STATUS_DENIED: pszHeader = "401 Access denied"; iMessage = eAccessDeniedMsg; break; case HTTP_STATUS_SERVICE_UNAVAIL: pszHeader = "503 Server busy"; iMessage = eServerBusyMsg; break; default: ciGibDebugOut(( DEB_ERROR, "unexpected server error status %d\n", httpError )); httpError = HTTP_STATUS_SERVER_ERROR; iMessage = eServerErrorMsg; break; } webServer.WriteHeader( 0, pszHeader ); WCHAR * pwszMessage = g_awszServerErrorMsgs[iMessage]; webServer.WriteClient( pwszMessage ); webServer.SetHttpStatus( httpError ); } //+--------------------------------------------------------------------------- // // Function: LoadServerErrors - public // // Synposis: Load messages for server errors. // // Arguments: -NONE- // // Notes: // // History: 29 Sep 1997 AlanW Created // //---------------------------------------------------------------------------- void LoadServerErrors( ) { unsigned iMessage = eAccessDeniedMsg; SCODE scMessage = MSG_CI_ACCESS_DENIED; const unsigned cMessages = sizeof g_awszServerErrorMsgs / sizeof g_awszServerErrorMsgs[0]; while (iMessage < cMessages) { FormatMessage( FORMAT_MESSAGE_FROM_HMODULE, GetModuleHandle(L"idq.dll"), scMessage, GetSystemDefaultLangID(), &g_awszServerErrorMsgs [iMessage][0], MAX_SERVER_ERROR_MSGSIZE, 0 ); scMessage++; iMessage++; } }
[ "support@cryptoalgo.cf" ]
support@cryptoalgo.cf
729d513cefa270e2b1852ab097253a4179a9220f
0c361c1dd7eb844cc26bfb683232bbde750388dc
/2tha/C.cpp
e786ce919572e3b9f3447f1ff4a1cbdf3afa91bd
[]
no_license
rizaust/sdust-cs-assignment
831f3279ef7187b6d1e685f3790fbfc3a0228b6d
afd7ebbf8b3965eb1e704b4a2088197057477085
refs/heads/master
2022-05-11T09:46:23.311682
2022-03-29T03:02:35
2022-03-29T03:02:35
253,204,488
0
0
null
null
null
null
UTF-8
C++
false
false
1,030
cpp
#include <bits/stdc++.h> using namespace std; class Date { public: Date(int a, int b, int c) { year = a; month = b; day = c; } void showDate() { cout << setfill('0') << setw(4) << year << "-" << setw(2) << month << "-" << setw(2) << day; } int year, month, day; }; class Time { public: Time(int a, int b, int c) { hour = a; minute = b; sec = c; } void showTime() { cout << setfill('0') << setw(2) << hour << ":" << setw(2) << minute << ":" << setw(2) << sec; } int hour, minute, sec; }; int main() { int cases; cin >> cases; for (int ca = 0; ca < cases; ca++) { int year, month, day; cin >> year >> month >> day; Date date(year, month, day); date.showDate(); cout << " "; int hour, minute, second; cin >> hour >> minute >> second; Time time(hour, minute, second); time.showTime(); cout << endl; } }
[ "540040135@qq.com" ]
540040135@qq.com
a37d248ff5e866483dccc7c19254a0daddc5b92b
a538a6605cdecbd3089445400a8ef7ef22296438
/Code/PROJECT XYZ/Code/src/Engine/Graphics/Shapes/Triangle.cpp
c1edece85ae00b87813b77fe057af281978c97ad
[ "Unlicense" ]
permissive
Yavuz1234567890/Project-XYZ
c00c2ca6d323531d0969c51ee2461a172ed56dd2
fa656c53b562e6cc4aceae1f3f51e205949b3e21
refs/heads/master
2023-04-06T17:35:56.050743
2021-04-14T19:46:26
2021-04-14T19:46:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,128
cpp
#include "Graphics/Shapes/Triangle.hpp" namespace Sonar { Triangle::Triangle( GameDataRef data ) : Drawable( data ) { _object = &_shape; _texture = new Texture( ); _shape.setPointCount( 3 ); SetInsideColor( Color::Black ); SetPosition( 0, 0 ); _globalBounds = _shape.getGlobalBounds( ); } Triangle::Triangle( GameDataRef data, const glm::vec2 &point1, const glm::vec2 &point2, const glm::vec2 &point3 ) : Drawable( data ) { _object = &_shape; _texture = new Texture( ); _shape.setPointCount( 3 ); SetPoints( point1, point2, point3 ); SetInsideColor( Color::Black ); SetPosition( 0, 0 ); _globalBounds = _shape.getGlobalBounds( ); } Triangle::~Triangle( ) { } void Triangle::SetPosition( const glm::vec2 &position ) { Drawable::SetPosition( position ); _shape.setPosition( position.x, position.y ); _globalBounds = _shape.getGlobalBounds( ); } void Triangle::SetPosition( const float &x, const float &y ) { SetPosition( glm::vec2( x, y ) ); } void Triangle::SetPositionX( const float &x ) { SetPosition( glm::vec2( x, GetPositionY( ) ) ); } void Triangle::SetPositionY( const float &y ) { SetPosition( glm::vec2( GetPositionX( ), y ) ); } void Triangle::SetSize( const glm::vec2 &point1, const glm::vec2 &point2, const glm::vec2 &point3 ) { float xMin = point1.x, xMax = point1.x; float yMin = point1.y, yMax = point1.y; if ( point2.x < xMin ) { xMin = point2.x; } else if ( point2.x > xMax ) { xMax = point2.x; } if ( point3.x < xMin ) { xMin = point3.x; } else if ( point3.x > xMax ) { xMax = point3.x; } if ( point2.y < yMin ) { yMin = point2.y; } else if ( point2.y > yMax ) { yMax = point2.y; } if ( point3.y < yMin ) { yMin = point3.y; } else if ( point3.y > yMax ) { yMax = point3.y; } float width = xMax - xMin; float height = yMax - yMin; Drawable::SetSize( width, height ); _globalBounds = _shape.getGlobalBounds( ); } void Triangle::SetInsideColor( const Color &color ) { Drawable::SetInsideColor( color ); _shape.setFillColor( color.GetColor( ) ); } void Triangle::SetBorderColor( const Color &color ) { Drawable::SetBorderColor( color ); _shape.setOutlineColor( color.GetColor( ) ); } void Triangle::SetBorderThickness( const float &thickness ) { Drawable::SetBorderThickness( thickness ); _shape.setOutlineThickness( thickness ); } Color Triangle::GetInsideColor( ) const { return Color( _shape.getFillColor( ).r, _shape.getFillColor( ).g, _shape.getFillColor( ).b, _shape.getFillColor( ).a ); } Color Triangle::GetBorderColor( ) const { return Color( _shape.getOutlineColor( ).r, _shape.getOutlineColor( ).g, _shape.getOutlineColor( ).b, _shape.getOutlineColor( ).a ); } float Triangle::GetBorderThickness( ) const { return _shape.getOutlineThickness( ); } void Triangle::Move( const glm::vec2 &offset ) { Drawable::Move( offset ); _shape.move( offset.x, offset.y ); _globalBounds = _shape.getGlobalBounds( ); } void Triangle::Move( const float &x, const float &y ) { Move( glm::vec2( x, y ) ); } void Triangle::MoveX( const float &x ) { Move( glm::vec2( x, 0 ) ); } void Triangle::MoveY( const float &y ) { Move( glm::vec2( 0, y ) ); } void Triangle::SetRotation( const float &angle ) { Drawable::SetRotation( angle ); _shape.setRotation( angle ); _globalBounds = _shape.getGlobalBounds( ); } void Triangle::Rotate( const float &angle ) { SetRotation( GetRotation( ) + angle ); } float Triangle::GetRotation( ) const { return _shape.getRotation( ); } void Triangle::SetScale( const glm::vec2 &scale ) { Drawable::SetScale( scale[0], scale[1] ); _shape.setScale( scale[0], scale[1] ); _globalBounds = _shape.getGlobalBounds( ); } void Triangle::SetScale( const float &xScale, const float &yScale ) { SetScale( glm::vec2( xScale, yScale ) ); } void Triangle::SetScaleX( const float &xScale ) { SetScale( glm::vec2( xScale, GetScaleY( ) ) ); } void Triangle::SetScaleY( const float &yScale ) { SetScale( glm::vec2( GetScaleX( ), yScale ) ); } void Triangle::Scale( const glm::vec2 & scale ) { SetScale( GetScaleX( ) * scale ); } void Triangle::Scale( const float &xScale, const float &yScale ) { SetScale( glm::vec2( GetScaleX( ) * xScale, GetScaleY( ) * yScale ) ); } void Triangle::ScaleX( const float &xScale ) { SetScale( glm::vec2( GetScaleX( ) * xScale, GetScaleY( ) ) ); } void Triangle::ScaleY( const float &yScale ) { SetScale( glm::vec2( GetScaleX( ), GetScaleY( ) * yScale ) ); } void Triangle::SetPivot( const glm::vec2 &pivot ) { Drawable::SetPivot( pivot ); _shape.setOrigin( pivot[0], pivot[1] ); _globalBounds = _shape.getGlobalBounds( ); } void Triangle::SetPivot( const float &xPoint, const float &yPoint ) { SetPivot( glm::vec2( xPoint, yPoint ) ); } void Triangle::SetPivot( const OBJECT_POINTS &pivot ) { switch ( pivot ) { case OBJECT_POINTS::CENTER: Drawable::SetPivot( OBJECT_POINTS::CENTER ); _shape.setOrigin( _shape.getLocalBounds( ).width * 0.5f, _shape.getLocalBounds( ).height * 0.5f ); break; case OBJECT_POINTS::TOP_LEFT: Drawable::SetPivot( OBJECT_POINTS::TOP_LEFT ); _shape.setOrigin( 0, 0 ); break; case OBJECT_POINTS::TOP_RIGHT: Drawable::SetPivot( OBJECT_POINTS::TOP_RIGHT ); _shape.setOrigin( _shape.getLocalBounds( ).width, 0 ); break; case OBJECT_POINTS::BOTTOM_LEFT: Drawable::SetPivot( OBJECT_POINTS::BOTTOM_LEFT ); _shape.setOrigin( 0, _shape.getLocalBounds( ).height ); break; case OBJECT_POINTS::BOTTOM_RIGHT: Drawable::SetPivot( OBJECT_POINTS::BOTTOM_RIGHT ); _shape.setOrigin( _shape.getLocalBounds( ).width, _shape.getLocalBounds( ).height ); break; } _globalBounds = _shape.getGlobalBounds( ); } void Triangle::SetPivotX( const float &xPoint ) { SetPivot( glm::vec2( xPoint, GetPivotY( ) ) ); } void Triangle::SetPivotY( const float &yPoint ) { SetPivot( glm::vec2( GetPivotX( ), yPoint ) ); } void Triangle::Update( const float &dt ) { Drawable::Update( dt ); SetScale( Drawable::GetScale( ) ); } void Triangle::SetPoints( const glm::vec2 &point1, const glm::vec2 &point2, const glm::vec2 &point3 ) { _shape.setPoint( 0, sf::Vector2f( point1.x, point1.y ) ); _shape.setPoint( 1, sf::Vector2f( point2.x, point2.y ) ); _shape.setPoint( 2, sf::Vector2f( point3.x, point3.y ) ); _points.push_back( point1 ); _points.push_back( point2 ); _points.push_back( point3 ); SetSize( point1, point2, point3 ); _globalBounds = _shape.getGlobalBounds( ); } std::vector<glm::vec2> Triangle::GetPoints( ) { return _points; } void Triangle::SetTexture( const std::string &filepath, const bool &resetRect ) { _texture->SetTexture( filepath ); _shape.setTexture( _texture->GetTexture( ), resetRect ); SetPosition( _shape.getPosition( ).x, _shape.getPosition( ).y ); } void Triangle::SetTexture( Texture *texture, const bool &resetRect ) { _texture = texture; _shape.setTexture( _texture->GetTexture( ), resetRect ); SetPosition( _shape.getPosition( ).x, _shape.getPosition( ).y ); } void Triangle::SetTextureRect( const glm::ivec4 &rectangle ) { _shape.setTextureRect( sf::IntRect( rectangle.x, rectangle.y, rectangle.z, rectangle.w ) ); } void Triangle::SetTextureRect( const int &left, const int &top, const int &width, const int &height ) { SetTextureRect( glm::ivec4( left, top, width, height ) ); } Texture *Triangle::GetTexture( ) const { return _texture; } glm::ivec4 Triangle::GetTextureRect( ) const { return glm::ivec4( _shape.getTextureRect( ).left, _shape.getTextureRect( ).top, _shape.getTextureRect( ).width, _shape.getTextureRect( ).height ); } glm::vec4 Triangle::GetLocalBounds( ) const { return glm::vec4( _shape.getLocalBounds( ).left, _shape.getLocalBounds( ).top, _shape.getLocalBounds( ).width, _shape.getLocalBounds( ).height ); } glm::vec4 Triangle::GetGlobalBounds( ) const { return glm::vec4( _shape.getGlobalBounds( ).left, _shape.getGlobalBounds( ).top, _shape.getGlobalBounds( ).width, _shape.getGlobalBounds( ).height ); } }
[ "SonarSystems@users.noreply.github.com" ]
SonarSystems@users.noreply.github.com
d9856f577a1547d1d8a21178392ad5939752b856
408718e6d8645fdbf4706104abbcd45739902a59
/Engine/SystemManagers/Events/EventManager.h
c18a78fba46dc1d701dfc8c8342354240467ff10
[]
no_license
worldwebbull/ZCEngine
5776f1272bff479a639f741a77fc9107bb78e9e3
68f7c93c2bf933f8742d79a47154632d6a463f52
refs/heads/master
2021-12-04T09:49:03.724993
2015-03-06T09:56:24
2015-03-06T09:56:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
958
h
// // EventManager.h // ZenCoderEngine // // Created by Srinavin Nair on 10/18/13. // Copyright (c) 2013 Srinavin Nair. All rights reserved. // #ifndef ZenCoderEngine_EventManager_h #define ZenCoderEngine_EventManager_h #include <SDL2/SDL.h> #include <functional> #include "SystemManager.h" typedef std::function<void()> EventCallbackDelegate; typedef std::function<void(SDL_Keycode keyCode)> KeyboardEventCallbackDelegate; class EventManager:public SystemManager { private: static int ID; SDL_Event *evt; EventCallbackDelegate onSDLQuit; KeyboardEventCallbackDelegate onSDLKeyboardPress, onSDLKeyboardRelease; void OnEvent(SDL_Event *event); public: EventManager(); ~EventManager(); void RegisterSDLQuit(EventCallbackDelegate func); void RegisterSDLKeyboardInputs(KeyboardEventCallbackDelegate keyPressFunc, KeyboardEventCallbackDelegate keyReleaseFunc); void Update(); }; #endif
[ "zencoder1985@gmail.com" ]
zencoder1985@gmail.com
66f8f07aeed297550702a3825f0144715706f1e6
e5e657b26c2e61d2401ba3c027b2787e3ba60493
/lib/websocket/WebSocketStatelessHandler.hpp
bbaf1ad5e307c2117ad1f4b115cb3811c9a491b0
[ "Apache-2.0" ]
permissive
severnt/pravala-toolkit
db18cb1e6d4bb8a88b72b8ce9f4733b5f1ac4a68
77dac4a910dc0692b7515a8e3b77d34eb2888256
refs/heads/master
2021-01-02T20:39:43.640078
2020-02-01T16:03:28
2020-02-01T16:03:28
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,574
hpp
/* * Copyright 2019 Carnegie Technologies * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #pragma once #include "basic/MemHandle.hpp" #include "basic/HashSet.hpp" #include "basic/String.hpp" #include "object/SimpleObject.hpp" #include "WebSocketHandler.hpp" #include "WebSocketConnection.hpp" namespace Pravala { /// @brief Base for a simple server handler that requires no state. /// The inheriting class must implement functions that this class inherits that aren't implemented. /// For example: wsRead class WebSocketStatelessHandler: public WebSocketHandler, public WebSocketConnectionOwner { protected: /// @brief All sockets managed by this WebSocketHandler /// Objects must be ref/unref'ed when they are added/removed from this set! HashSet<WebSocketConnection *> _allSocks; virtual ~WebSocketStatelessHandler(); virtual void addConnection ( WebSocketListener * listener, WebSocketConnection * conn ); virtual void wsClosed ( WebSocketConnection * sock ); /// @brief Broadcast some data to all sockets /// @param [in] data Data to broadcast /// @param [in] isText True if the data being broadcast is text, false if it is binary void broadcast ( const MemHandle & data, bool isText ); /// @brief Broadcast some data to all sockets /// @param [in] data Data to broadcast /// @param [in] len Length of data to broadcast /// @param [in] isText True if the data being broadcast is text, false if it is binary void broadcast ( const char * data, size_t len, bool isText ); /// @brief Broadcast a null terminated text string to all sockets /// @param [in] data Null terminated text string to broadcast void broadcast ( const char * data ); /// @brief Broadcast a string to all sockets /// @param [in] data String to broadcast inline void broadcast ( const String & data ) { broadcast ( data.c_str(), data.length(), true ); } }; }
[ "narmstrong@carnegietechnologies.com" ]
narmstrong@carnegietechnologies.com
5e260fb72c851f131a5f259c14e16f29151b64f4
9424f16b1f70e2b009872d70c32fe6ac7df563b0
/2_Data_Structures/Fundamentals/Sparse_Table/Codeforces-Maximum_of_Maximums_of_Minimums.cpp
dbb3be0d26a2352152fb8c528c9f38cafc7d02e5
[]
no_license
prajapati-sumit/CP-Algorithms
196d46b8c9bad911b7120bfc33e4e1f8ad46ef9c
b4c99fa832d3ea9d9ae43a8ea1a6e33dfa678677
refs/heads/master
2023-08-18T04:46:11.620709
2021-10-11T05:57:49
2021-10-11T05:57:49
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,812
cpp
// AUTHOR: SUMIT PRAJAPATI #include "bits/stdc++.h" using namespace std; typedef unsigned long long ull; typedef long long ll; typedef pair<int, int> pii; typedef pair<ll, ll> pl; #define PI 3.1415926535897932384626 #define pb push_back #define mk make_pair #define ff first #define ss second #define trav(v) for(auto &el:v) #define watch(x) cerr<<#x<<" = "<<x<<'\n' #define rep(i,n) for(ll i=0;i<n;i++) #define repe(i,n) for(ll i=1;i<=n;i++) #define FOR(i,a,b) for(ll i=a;i<=b;i++) #define printar(a,s,e) FOR(i,s,e)cout<<a[i]<<" ";cout<<'\n' #define curtime chrono::high_resolution_clock::now() #define timedif(start,end) chrono::duration_cast<chrono::nanoseconds>(end - start).count() #define TESTCASES 0 const int INF=1e9; const int MX=1e5+5; const int MD=1e9+7; const int MDL=998244353; auto time0 = curtime; void solve(){ int n,k; cin>>n>>k; vector<int>v(n,0); rep(i,n) cin>>v[i]; if(k==1){ int ans=*min_element(v.begin(),v.end()); cout<<ans; } else if(k==2){ int best=v[0]; int pref[n],suf[n]; rep(i,n) pref[i]=(i==0)?v[0]:min(v[i],pref[i-1]); for(int i=n-1;i>=0;i--) suf[i]=(i==n-1)?v[n-1]:min(v[i],suf[i+1]); rep(i,n-1){ int t=max(pref[i],suf[i+1]); if(t>best) best=t; } cout<<best; } else{ int ans=*max_element(v.begin(),v.end()); cout<<ans; } } int main() { ios_base::sync_with_stdio(false); cin.tie(NULL); srand(time(0)); time0 = curtime; ll t=1; if(TESTCASES)cin>>t; repe(tt,t){ //cout<<"Case #"<<tt<<": "; solve(); } //cerr<<"Execution Time: "<<timedif(time0,curtime)*1e-9<<" sec\n"; return 0; }
[ "sumitprajapati821@gmail.com" ]
sumitprajapati821@gmail.com
06f484f37048eb2b0071631e4c5861990c532849
fbd1f6f25f42a807f2032a74782434cf082df621
/cpp/SAIDA/DeepLearning/SharedMemoryMessageHandler.cpp
c3806b2cbf82bd090aa2be32494c6cbb8abb30d0
[ "MIT", "LicenseRef-scancode-protobuf" ]
permissive
rickyHong/StarCraft-RL-repl
0fb1423ec83663767a21b487253a228e4a9675e3
6039dbeab185f39a19901b70916192f4915efea8
refs/heads/master
2022-12-12T08:57:11.700222
2019-05-29T03:07:15
2019-05-29T03:07:15
189,161,056
1
1
MIT
2022-12-08T05:10:54
2019-05-29T06:09:05
C++
UTF-8
C++
false
false
381
cpp
/* * Copyright (C) 2019 SAMSUNG SDS <Team.SAIDA@gmail.com> * * This code is distribued under the terms and conditions from the MIT License (MIT). * * Authors : Iljoo Yoon, Daehun Jun, Hyunjae Lee, Uk Jo */ #include "SharedMemoryMessageHandler.h" SharedMemoryMessageHandler::SharedMemoryMessageHandler() { } SharedMemoryMessageHandler::~SharedMemoryMessageHandler() { }
[ "vpds@naver.com" ]
vpds@naver.com
f944acf6e9c632fad77b358cc87851021a33b0f6
bc39ecd1bcd53522dae37385843d8bbe949a4c9d
/practising_for_contest.cpp
f7cf41fb1eb7e5382223e472c3d7c52c246ff0f3
[]
no_license
joydip10/Code-Practise-with-C-
e34f513e82cf1fdecf3ad4f3c40ed94430b25e71
fdbc0c81a1db4d9a5ae47209704f0c7e0de1e926
refs/heads/main
2023-06-21T14:25:34.053465
2021-07-12T03:44:54
2021-07-12T03:44:54
385,116,630
0
0
null
null
null
null
UTF-8
C++
false
false
113
cpp
#include<bits//stdc++.h> using namespace std; int main() { char c[10]; scanf("%[^\n]",c); cout<<c; }
[ "joydipdasNSTU@gmail.com" ]
joydipdasNSTU@gmail.com
35e9dd56ce0021fabd04ce954b61b48f45a3082f
a96cbdb9aa0d96bc420f0847a8753a6d3f36bc3a
/Lesson_9/Sample9.cpp
d83e2e647198f3898b4fa5da0a3b579801d513fd
[]
no_license
KamonohashiPerry/cplusplus
e1901842e8a9b711a39c86557d81e9cc42e8b2ab
970a73df4526c011b9098fcfeb67beab345d71b4
refs/heads/master
2023-02-06T16:48:21.376905
2020-12-27T06:37:22
2020-12-27T06:37:22
291,221,882
0
0
null
null
null
null
UTF-8
C++
false
false
128
cpp
#include <iostream> using namespace std; int main() { const char* str = "Hello"; cout << str << '\n'; return 0; }
[ "economics.teru@gmail.com" ]
economics.teru@gmail.com
89517b917238ec017a23e226616ca8e4061a336d
868e8628acaa0bf276134f9cc3ced379679eab10
/firstCrude2D/we123/h10_refined/0.175/phi
c66a1adedd1f29b6742390d4f958bd95762f73e6
[]
no_license
stigmn/droplet
921af6851f88c0acf8b1cd84f5e2903f1d0cb87a
1649ceb0a9ce5abb243fb77569211558c2f0dc96
refs/heads/master
2020-04-04T20:08:37.912624
2015-11-25T11:20:32
2015-11-25T11:20:32
45,102,907
0
0
null
2015-10-28T09:46:30
2015-10-28T09:46:29
null
UTF-8
C++
false
false
358,362
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class surfaceScalarField; location "0.175"; object phi; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 3 -1 0 0 0 0]; internalField nonuniform List<scalar> 28560 ( 7.81996e-09 -1.87612e-08 1.09412e-08 -1.46331e-08 2.13363e-08 -6.70325e-09 -2.53538e-08 3.00504e-08 -4.69653e-09 -3.54712e-08 3.80051e-08 -2.53398e-09 -3.94773e-08 3.73325e-08 2.14473e-09 -3.39464e-08 2.71487e-08 6.79768e-09 -1.92487e-08 1.07814e-08 8.46732e-09 -1.02145e-09 -7.33767e-09 8.35912e-09 1.54349e-08 -2.10528e-08 5.61789e-09 2.51341e-08 -2.70387e-08 1.9046e-09 2.71374e-08 -2.56338e-08 -1.50361e-09 2.30915e-08 -2.01453e-08 -2.9462e-09 1.68974e-08 -1.38797e-08 -3.01765e-09 1.08879e-08 -8.35651e-09 -2.5314e-09 5.99418e-09 -4.07835e-09 -1.91583e-09 2.35228e-09 -9.70372e-10 -1.38191e-09 -2.36886e-10 1.20646e-09 -9.69575e-10 -2.04063e-09 2.67751e-09 -6.36874e-10 -3.20477e-09 3.58664e-09 -3.81867e-10 -3.87934e-09 4.06683e-09 -1.87481e-10 -4.18108e-09 4.22489e-09 -4.38103e-11 -4.21372e-09 4.15459e-09 5.91336e-11 -4.0496e-09 3.91622e-09 1.33375e-10 -3.74707e-09 3.56251e-09 1.84558e-10 -3.34874e-09 3.13146e-09 2.17277e-10 -2.89152e-09 2.65644e-09 2.35088e-10 -2.40488e-09 2.16437e-09 2.40507e-10 -1.91319e-09 1.67762e-09 2.3557e-10 -1.4364e-09 1.21367e-09 2.22735e-10 -9.87365e-10 7.81082e-10 2.06283e-10 2.8603e-08 -3.66892e-08 8.08618e-09 -2.15248e-08 3.89265e-08 2.13594e-08 -3.87612e-08 -5.16756e-08 6.29649e-08 1.42296e-08 -2.55189e-08 -7.86094e-08 8.67423e-08 8.77251e-09 -1.69054e-08 -9.43937e-08 9.63192e-08 -2.45224e-09 5.26754e-10 -9.56585e-08 8.99618e-08 -1.45341e-08 2.02309e-08 -8.14198e-08 7.08305e-08 -2.04152e-08 3.10045e-08 -5.61989e-08 4.24076e-08 -2.24937e-08 3.62851e-08 -2.59311e-08 1.13497e-08 -1.88816e-08 3.3463e-08 2.67641e-09 -1.44206e-08 -1.05894e-08 2.23336e-08 2.39512e-08 -2.97364e-08 -7.43549e-10 6.5288e-09 3.3028e-08 -3.40159e-08 4.68225e-09 -3.69443e-09 3.36083e-08 -3.22972e-08 6.11878e-09 -7.42983e-09 3.0326e-08 -2.82377e-08 5.68488e-09 -7.77311e-09 2.5871e-08 -2.36306e-08 4.67654e-09 -6.91695e-09 2.12633e-08 -1.90605e-08 3.71537e-09 -5.91813e-09 1.68172e-08 -1.47856e-08 2.89476e-09 -4.92638e-09 1.27709e-08 -1.09895e-08 2.19263e-09 -3.974e-09 9.26311e-09 -7.76836e-09 1.60196e-09 -3.09671e-09 6.34694e-09 -5.13705e-09 1.11427e-09 -2.32416e-09 4.00419e-09 -3.05207e-09 7.24429e-10 -1.67655e-09 2.1729e-09 -1.44617e-09 4.19054e-10 -1.14579e-09 7.8914e-10 -2.59781e-10 1.80787e-10 -7.10146e-10 -2.04985e-10 5.68496e-10 -7.25133e-12 -3.5626e-10 -8.72647e-10 1.09439e-09 -1.45677e-10 -7.6071e-11 -1.26677e-09 1.37866e-09 -2.42072e-10 1.30182e-10 -1.4511e-09 1.48445e-09 -2.99983e-10 2.66631e-10 -1.49014e-09 1.47322e-09 -3.24522e-10 3.41441e-10 -1.43837e-09 1.39454e-09 -3.25215e-10 3.69048e-10 -1.34113e-09 1.28687e-09 -3.09978e-10 3.64241e-10 4.34516e-08 -4.94133e-08 5.96165e-09 -1.70144e-08 3.49774e-08 5.67175e-08 -7.46805e-08 -4.83608e-08 6.02318e-08 3.7278e-08 -4.9149e-08 -7.80245e-08 8.70633e-08 2.57571e-08 -3.47959e-08 -9.65061e-08 1.00423e-07 2.76662e-09 -6.68313e-09 -1.0178e-07 9.86187e-08 -2.42407e-08 2.7402e-08 -9.24957e-08 8.4749e-08 -3.98223e-08 4.7569e-08 -7.3062e-08 6.24245e-08 -4.8298e-08 5.89355e-08 -4.91991e-08 3.73169e-08 -4.6829e-08 5.87111e-08 -2.5629e-08 1.55697e-08 -3.37279e-08 4.37872e-08 -6.17281e-09 -9.1431e-10 -1.37333e-08 2.08205e-08 6.45182e-09 -9.88172e-09 9.35439e-10 2.49445e-09 1.19668e-08 -1.28254e-08 7.28761e-09 -6.42897e-09 1.28319e-08 -1.23297e-08 8.84013e-09 -9.34241e-09 1.13534e-08 -1.02223e-08 8.49033e-09 -9.62143e-09 8.85355e-09 -7.47878e-09 7.69181e-09 -9.06658e-09 6.00833e-09 -4.64403e-09 6.67132e-09 -8.03561e-09 3.28282e-09 -2.08272e-09 5.54322e-09 -6.74332e-09 9.34756e-10 3.46802e-11 4.4209e-09 -5.39034e-09 -9.34538e-10 1.67438e-09 3.38837e-09 -4.12821e-09 -2.34683e-09 2.88048e-09 2.50049e-09 -3.03413e-09 -3.34189e-09 3.69127e-09 1.75518e-09 -2.10456e-09 -3.97571e-09 4.16733e-09 1.13455e-09 -1.32617e-09 -4.29373e-09 4.345e-09 6.15577e-10 -6.6685e-10 -4.33225e-09 4.2595e-09 1.94423e-10 -1.21676e-10 -4.12498e-09 3.94865e-09 -1.2657e-10 3.029e-10 -3.71904e-09 3.46681e-09 -3.4544e-10 5.97666e-10 -3.1734e-09 2.87605e-09 -4.71441e-10 7.68796e-10 -2.55185e-09 2.23947e-09 -5.23308e-10 8.35688e-10 -1.91206e-09 1.60828e-09 -5.21734e-10 8.2551e-10 5.49259e-08 -6.01749e-08 5.24906e-09 -1.53705e-08 3.3336e-08 9.26207e-08 -1.10586e-07 -4.65246e-08 5.8465e-08 6.10678e-08 -7.30082e-08 -7.65678e-08 8.56639e-08 4.38654e-08 -5.29614e-08 -9.53608e-08 9.96327e-08 1.0842e-08 -1.51139e-08 -1.01359e-07 9.85728e-08 -3.02571e-08 3.30437e-08 -9.29071e-08 8.57539e-08 -5.48576e-08 6.20107e-08 -7.46963e-08 6.50439e-08 -6.88591e-08 7.85116e-08 -5.30689e-08 4.26069e-08 -6.96221e-08 8.00841e-08 -3.28417e-08 2.48906e-08 -5.25652e-08 6.05163e-08 -1.74602e-08 1.16508e-08 -2.72758e-08 3.30852e-08 -6.79415e-09 3.5355e-09 -5.97183e-09 9.23048e-09 -1.35977e-09 2.41606e-10 5.34062e-09 -4.22246e-09 6.04251e-11 1.24274e-10 9.60747e-09 -9.79217e-09 -7.13811e-10 1.46262e-09 1.05027e-08 -1.12516e-08 -2.33873e-09 3.18151e-09 1.01293e-08 -1.09721e-08 -4.03594e-09 4.77369e-09 9.03906e-09 -9.77682e-09 -5.45944e-09 6.00921e-09 7.58451e-09 -8.13427e-09 -6.49012e-09 6.84337e-09 6.02091e-09 -6.37416e-09 -7.12346e-09 7.30307e-09 4.55626e-09 -4.73587e-09 -7.41358e-09 7.44823e-09 3.28286e-09 -3.31751e-09 -7.42419e-09 7.34975e-09 2.20971e-09 -2.13527e-09 -7.22324e-09 7.06006e-09 1.31006e-09 -1.14688e-09 -6.84802e-09 6.60968e-09 5.42682e-10 -3.04342e-10 -6.32147e-09 6.01431e-09 -1.01119e-10 4.0828e-10 -5.65695e-09 5.28794e-09 -6.10939e-10 9.79944e-10 -4.87215e-09 4.45612e-09 -9.7034e-10 1.38637e-09 -4.00164e-09 3.56027e-09 -1.1775e-09 1.61886e-09 -3.09199e-09 2.64973e-09 -1.25231e-09 1.69458e-09 -2.19185e-09 1.76929e-09 -1.22534e-09 1.64789e-09 6.52423e-08 -7.01534e-08 4.91108e-09 -1.49264e-08 3.30102e-08 1.28604e-07 -1.46688e-07 -4.624e-08 5.81262e-08 8.49362e-08 -9.68224e-08 -7.64266e-08 8.56657e-08 6.21154e-08 -7.13544e-08 -9.53792e-08 9.98496e-08 1.94785e-08 -2.39488e-08 -1.01668e-07 9.88395e-08 -3.58406e-08 3.86692e-08 -9.32392e-08 8.6068e-08 -6.91537e-08 7.63249e-08 -7.48983e-08 6.52853e-08 -8.8104e-08 9.7717e-08 -5.32133e-08 4.28317e-08 -9.04238e-08 1.00805e-07 -3.34086e-08 2.59805e-08 -6.80665e-08 7.54946e-08 -1.92753e-08 1.41841e-08 -3.84351e-08 4.35263e-08 -9.97139e-09 7.15683e-09 -1.22443e-08 1.50588e-08 -5.33834e-09 4.40737e-09 3.1908e-09 -2.25984e-09 -4.19884e-09 4.39135e-09 9.96984e-09 -1.01623e-08 -4.91784e-09 5.52736e-09 1.19117e-08 -1.25213e-08 -6.19431e-09 6.78342e-09 1.16532e-08 -1.22423e-08 -7.32526e-09 7.75683e-09 1.03217e-08 -1.07532e-08 -8.10925e-09 8.35289e-09 8.49369e-09 -8.73733e-09 -8.51498e-09 8.58842e-09 6.54712e-09 -6.62056e-09 -8.58287e-09 8.50497e-09 4.75432e-09 -4.67643e-09 -8.35914e-09 8.16933e-09 3.21351e-09 -3.0237e-09 -7.92089e-09 7.65032e-09 1.94108e-09 -1.67051e-09 -7.33443e-09 7.01143e-09 8.88521e-10 -5.65522e-10 -6.65399e-09 6.30126e-09 -2.91141e-12 3.55637e-10 -5.91872e-09 5.54766e-09 -7.57434e-10 1.12849e-09 -5.15063e-09 4.76941e-09 -1.36402e-09 1.74523e-09 -4.36501e-09 3.98014e-09 -1.79663e-09 2.1815e-09 -3.5762e-09 3.19599e-09 -2.03975e-09 2.41996e-09 -2.80234e-09 2.43648e-09 -2.10939e-09 2.47525e-09 -2.06229e-09 1.71953e-09 -2.04075e-09 2.38351e-09 7.49074e-08 -7.94926e-08 4.5852e-09 -1.46453e-08 3.28758e-08 1.64843e-07 -1.83073e-07 -4.62671e-08 5.8e-08 1.08642e-07 -1.20375e-07 -7.65963e-08 8.60389e-08 8.06924e-08 -9.0135e-08 -9.57384e-08 1.00475e-07 2.85433e-08 -3.32804e-08 -1.02378e-07 9.94699e-08 -4.15357e-08 4.4444e-08 -9.39174e-08 8.66707e-08 -8.35327e-08 9.07793e-08 -7.529e-08 6.55814e-08 -1.07374e-07 1.17083e-07 -5.31238e-08 4.24843e-08 -1.113e-07 1.21939e-07 -3.29655e-08 2.54263e-08 -8.29459e-08 9.04851e-08 -1.8715e-08 1.37603e-08 -4.85051e-08 5.34598e-08 -9.77826e-09 7.20676e-09 -1.77299e-08 2.03014e-08 -5.64305e-09 4.90312e-09 1.42724e-09 -6.87314e-10 -4.87473e-09 5.15543e-09 1.03899e-08 -1.06706e-08 -5.74174e-09 6.35256e-09 1.31165e-08 -1.37273e-08 -6.98648e-09 7.5218e-09 1.27882e-08 -1.33235e-08 -7.99313e-09 8.34975e-09 1.11244e-08 -1.1481e-08 -8.62431e-09 8.79277e-09 8.92453e-09 -9.09299e-09 -8.883e-09 8.88308e-09 6.64045e-09 -6.64053e-09 -8.7998e-09 8.64797e-09 4.5487e-09 -4.39688e-09 -8.42251e-09 8.15052e-09 2.78076e-09 -2.50877e-09 -7.81735e-09 7.46308e-09 1.34884e-09 -9.94571e-10 -7.06149e-09 6.66116e-09 1.97848e-10 2.02482e-10 -6.22831e-09 5.81518e-09 -7.4263e-10 1.15576e-09 -5.38267e-09 4.98024e-09 -1.5164e-09 1.91884e-09 -4.56886e-09 4.19285e-09 -2.1218e-09 2.49782e-09 -3.81349e-09 3.46914e-09 -2.54172e-09 2.88607e-09 -3.1238e-09 2.81177e-09 -2.7605e-09 3.07253e-09 -2.49907e-09 2.2161e-09 -2.79348e-09 3.07645e-09 -1.93186e-09 1.67449e-09 -2.67738e-09 2.93475e-09 8.38914e-08 -8.80839e-08 4.19251e-09 -1.4313e-08 3.27167e-08 2.01387e-07 -2.19791e-07 -4.63547e-08 5.78621e-08 1.32005e-07 -1.43512e-07 -7.68633e-08 8.65213e-08 9.96858e-08 -1.09344e-07 -9.62125e-08 1.01294e-07 3.81799e-08 -4.32616e-08 -1.03297e-07 1.0029e-07 -4.73993e-08 5.04067e-08 -9.47951e-08 8.74608e-08 -9.80684e-08 1.05403e-07 -7.58347e-08 6.60097e-08 -1.26848e-07 1.36673e-07 -5.30632e-08 4.20726e-08 -1.32746e-07 1.43736e-07 -3.24133e-08 2.46352e-08 -9.81387e-08 1.05917e-07 -1.77218e-08 1.26987e-08 -5.84374e-08 6.34605e-08 -8.75703e-09 6.31281e-09 -2.28018e-08 2.5246e-08 -4.93349e-09 4.37127e-09 3.64769e-11 5.25744e-10 -4.55328e-09 4.9694e-09 1.10131e-08 -1.14292e-08 -5.68871e-09 6.37963e-09 1.43686e-08 -1.50596e-08 -7.07382e-09 7.64206e-09 1.38671e-08 -1.44353e-08 -8.1454e-09 8.5241e-09 1.18413e-08 -1.222e-08 -8.82006e-09 9.01189e-09 9.26703e-09 -9.45885e-09 -9.11592e-09 9.1248e-09 6.63928e-09 -6.64816e-09 -9.04373e-09 8.88519e-09 4.23944e-09 -4.08091e-09 -8.64586e-09 8.35251e-09 2.22346e-09 -1.93012e-09 -7.98948e-09 7.60138e-09 6.19923e-10 -2.31826e-10 -7.16151e-09 6.72294e-09 -6.25493e-10 1.06406e-09 -6.25013e-09 5.80011e-09 -1.59037e-09 2.04039e-09 -5.33348e-09 4.90504e-09 -2.33519e-09 2.76363e-09 -4.47395e-09 4.08636e-09 -2.87801e-09 3.2656e-09 -3.70328e-09 3.36393e-09 -3.2239e-09 3.56326e-09 -3.03138e-09 2.73732e-09 -3.37002e-09 3.66407e-09 -2.44868e-09 2.19169e-09 -3.33972e-09 3.59671e-09 -1.93692e-09 1.70759e-09 -3.17107e-09 3.4004e-09 9.20498e-08 -9.57675e-08 3.71768e-09 -1.38891e-08 3.25202e-08 2.38297e-07 -2.56928e-07 -4.64703e-08 5.76662e-08 1.54876e-07 -1.66072e-07 -7.71872e-08 8.70532e-08 1.19106e-07 -1.28972e-07 -9.67503e-08 1.02258e-07 4.85459e-08 -5.40539e-08 -1.04384e-07 1.01254e-07 -5.34719e-08 5.66013e-08 -9.58287e-08 8.8392e-08 -1.12786e-07 1.20222e-07 -7.6498e-08 6.65364e-08 -1.46562e-07 1.56524e-07 -5.29901e-08 4.15779e-08 -1.54928e-07 1.6634e-07 -3.17966e-08 2.37514e-08 -1.13825e-07 1.2187e-07 -1.65869e-08 1.14449e-08 -6.85396e-08 7.36816e-08 -7.48764e-09 5.13969e-09 -2.76411e-08 2.99891e-08 -3.93249e-09 3.56031e-09 -9.96012e-10 1.36818e-09 -3.98622e-09 4.57157e-09 1.19297e-08 -1.2515e-08 -5.4702e-09 6.2791e-09 1.58068e-08 -1.66157e-08 -7.06692e-09 7.71405e-09 1.50415e-08 -1.56886e-08 -8.27954e-09 8.70842e-09 1.26229e-08 -1.30518e-08 -9.05914e-09 9.29395e-09 9.66855e-09 -9.90336e-09 -9.44252e-09 9.48423e-09 6.67352e-09 -6.71523e-09 -9.43397e-09 9.2943e-09 3.93238e-09 -3.79271e-09 -9.0638e-09 8.77371e-09 1.6377e-09 -1.34761e-09 -8.40489e-09 8.00711e-09 -1.62438e-10 5.60218e-10 -7.55079e-09 7.09297e-09 -1.51332e-09 1.97114e-09 -6.599e-09 6.12836e-09 -2.50168e-09 2.97232e-09 -5.6396e-09 5.18864e-09 -3.20356e-09 3.65452e-09 -4.73451e-09 4.32562e-09 -3.66313e-09 4.07202e-09 -3.92109e-09 3.56199e-09 -3.9105e-09 4.2696e-09 -3.21013e-09 2.89859e-09 -3.96379e-09 4.27534e-09 -2.59218e-09 2.31908e-09 -3.85776e-09 4.13086e-09 -2.04807e-09 1.80435e-09 -3.63307e-09 3.87679e-09 9.92148e-08 -1.0237e-07 3.15483e-09 -1.3362e-08 3.23137e-08 2.75706e-07 -2.94658e-07 -4.66213e-08 5.73944e-08 1.77071e-07 -1.87844e-07 -7.75637e-08 8.76235e-08 1.38938e-07 -1.48998e-07 -9.73426e-08 1.0336e-07 5.9806e-08 -6.58233e-08 -1.05641e-07 1.02365e-07 -5.9801e-08 6.30773e-08 -9.7017e-08 8.94627e-08 -1.27716e-07 1.35271e-07 -7.72947e-08 6.71705e-08 -1.66564e-07 1.76688e-07 -5.28865e-08 4.09805e-08 -1.77991e-07 1.89897e-07 -3.11151e-08 2.27743e-08 -1.30059e-07 1.384e-07 -1.53151e-08 1.00337e-08 -7.8891e-08 8.41723e-08 -6.03858e-09 3.78775e-09 -3.22894e-08 3.45403e-08 -2.76665e-09 2.61456e-09 -1.63589e-09 1.78798e-09 -3.32266e-09 4.10763e-09 1.31969e-08 -1.39819e-08 -5.22246e-09 6.17404e-09 1.74941e-08 -1.84457e-08 -7.07897e-09 7.81279e-09 1.63791e-08 -1.71129e-08 -8.45462e-09 8.94158e-09 1.35127e-08 -1.39996e-08 -9.35026e-09 9.64857e-09 1.01688e-08 -1.04671e-08 -9.85256e-09 9.94285e-09 6.78438e-09 -6.87467e-09 -9.93393e-09 9.8225e-09 3.66744e-09 -3.55601e-09 -9.61257e-09 9.33253e-09 1.06073e-09 -7.80685e-10 -8.96562e-09 8.5632e-09 -9.61063e-10 1.36348e-09 -8.09875e-09 7.62925e-09 -2.43449e-09 2.904e-09 -7.12043e-09 6.63266e-09 -3.45087e-09 3.93864e-09 -6.12283e-09 5.65088e-09 -4.11591e-09 4.58786e-09 -5.17159e-09 4.73616e-09 -4.49344e-09 4.92888e-09 -4.30106e-09 3.911e-09 -4.64314e-09 5.0332e-09 -3.52407e-09 3.1779e-09 -4.60305e-09 4.94922e-09 -2.83417e-09 2.52534e-09 -4.42039e-09 4.72922e-09 -2.21727e-09 1.93884e-09 -4.13635e-09 4.41478e-09 1.05209e-07 -1.07709e-07 2.49975e-09 -1.27219e-08 3.21192e-08 3.13817e-07 -3.33214e-07 -4.68311e-08 5.70505e-08 1.98359e-07 -2.08579e-07 -7.80027e-08 8.82384e-08 1.59148e-07 -1.69384e-07 -9.79982e-08 1.04614e-07 7.21286e-08 -7.87448e-08 -1.07095e-07 1.03645e-07 -6.64371e-08 6.98862e-08 -9.8375e-08 9.06904e-08 -1.42889e-07 1.50574e-07 -7.82635e-08 6.79427e-08 -1.86906e-07 1.97227e-07 -5.27455e-08 4.02733e-08 -2.02078e-07 2.1455e-07 -3.03879e-08 2.17094e-08 -1.46904e-07 1.55582e-07 -1.38908e-08 8.44866e-09 -8.95314e-08 9.49736e-08 -4.38905e-09 2.24448e-09 -3.67394e-08 3.88839e-08 -1.43515e-09 1.5404e-09 -1.81564e-09 1.71039e-09 -2.58426e-09 3.60176e-09 1.48771e-08 -1.58946e-08 -4.97597e-09 6.09082e-09 1.94766e-08 -2.05914e-08 -7.12435e-09 7.946e-09 1.78882e-08 -1.87098e-08 -8.66982e-09 9.22066e-09 1.45211e-08 -1.5072e-08 -9.69962e-09 1.00636e-08 1.07966e-08 -1.11606e-08 -1.03367e-08 1.04844e-08 6.99379e-09 -7.14147e-09 -1.05259e-08 1.04541e-08 3.46341e-09 -3.39162e-09 -1.02664e-08 9.99964e-09 5.06004e-10 -2.39293e-10 -9.63657e-09 9.23117e-09 -1.76653e-09 2.17192e-09 -8.75541e-09 8.27149e-09 -3.37797e-09 3.86189e-09 -7.74397e-09 7.23494e-09 -4.43565e-09 4.94468e-09 -6.70071e-09 6.20185e-09 -5.07242e-09 5.57128e-09 -5.69122e-09 5.22365e-09 -5.38001e-09 5.84758e-09 -4.75174e-09 4.32377e-09 -5.4415e-09 5.86947e-09 -3.89516e-09 3.50722e-09 -5.3155e-09 5.70344e-09 -3.11921e-09 2.7683e-09 -5.05885e-09 5.40976e-09 -2.41605e-09 2.09759e-09 -4.71335e-09 5.0318e-09 1.09845e-07 -1.11594e-07 1.74887e-09 -1.19511e-08 3.19254e-08 3.52882e-07 -3.72856e-07 -4.71184e-08 5.66197e-08 2.18462e-07 -2.27963e-07 -7.84831e-08 8.88729e-08 1.79698e-07 -1.90088e-07 -9.86917e-08 1.06006e-07 8.56962e-08 -9.30101e-08 -1.08732e-07 1.05091e-07 -7.34298e-08 7.70715e-08 -9.98741e-08 9.20594e-08 -1.58324e-07 1.66139e-07 -7.94297e-08 6.88634e-08 -2.07661e-07 2.18228e-07 -5.25326e-08 3.94336e-08 -2.27328e-07 2.40427e-07 -2.96374e-08 2.05617e-08 -1.6445e-07 1.73525e-07 -1.22941e-08 6.6662e-09 -1.00505e-07 1.06133e-07 -2.50604e-09 4.69888e-10 -4.09717e-08 4.30079e-08 5.13079e-11 3.33595e-10 -1.45912e-09 1.07422e-09 -1.773e-09 3.05759e-09 1.70415e-08 -1.83261e-08 -4.73827e-09 6.04463e-09 2.1798e-08 -2.31043e-08 -7.20642e-09 8.13497e-09 1.95861e-08 -2.05146e-08 -8.92813e-09 9.53787e-09 1.5653e-08 -1.62627e-08 -1.00908e-08 1.05345e-08 1.15626e-08 -1.20063e-08 -1.08888e-08 1.11118e-08 7.32944e-09 -7.55238e-09 -1.12166e-08 1.11893e-08 3.34173e-09 -3.31446e-09 -1.10319e-08 1.07774e-08 -2.31574e-11 2.77692e-10 -1.04135e-08 9.99589e-09 -2.58162e-09 2.99926e-09 -9.50296e-09 8.9985e-09 -4.35427e-09 4.85874e-09 -8.44404e-09 7.90703e-09 -5.46664e-09 6.00365e-09 -7.34015e-09 6.80867e-09 -6.0865e-09 6.61798e-09 -6.25994e-09 5.75474e-09 -6.33357e-09 6.83877e-09 -5.24033e-09 4.77033e-09 -6.31797e-09 6.78797e-09 -4.29614e-09 3.86445e-09 -6.11291e-09 6.5446e-09 -3.4296e-09 3.03475e-09 -5.78253e-09 6.17738e-09 -2.63686e-09 2.27532e-09 -5.37109e-09 5.73264e-09 1.12933e-07 -1.13855e-07 9.22511e-10 -1.10284e-08 3.17184e-08 3.93171e-07 -4.13861e-07 -4.74893e-08 5.60936e-08 2.37036e-07 -2.4564e-07 -7.89855e-08 8.95145e-08 2.00549e-07 -2.11078e-07 -9.94138e-08 1.0754e-07 1.00715e-07 -1.08841e-07 -1.1056e-07 1.06728e-07 -8.08112e-08 8.46428e-08 -1.01479e-07 9.3566e-08 -1.74011e-07 1.81924e-07 -8.08627e-08 6.99511e-08 -2.28948e-07 2.3986e-07 -5.22057e-08 3.84445e-08 -2.53856e-07 2.67617e-07 -2.89153e-08 1.93478e-08 -1.82832e-07 1.924e-07 -1.05054e-08 4.65402e-09 -1.11866e-07 1.17717e-07 -3.5109e-10 -1.44497e-09 -4.49336e-08 4.67297e-08 1.69683e-09 -9.68546e-10 -5.21341e-10 -2.06938e-10 -8.77765e-10 2.49402e-09 1.97683e-08 -2.13846e-08 -4.52663e-09 6.04297e-09 2.4511e-08 -2.60273e-08 -7.33554e-09 8.37241e-09 2.14904e-08 -2.25273e-08 -9.2325e-09 9.88935e-09 1.68973e-08 -1.75541e-08 -1.05259e-08 1.10589e-08 1.24956e-08 -1.30286e-08 -1.15067e-08 1.18283e-08 7.81855e-09 -8.14013e-09 -1.2017e-08 1.20438e-08 3.31065e-09 -3.33744e-09 -1.19199e-08 1.16755e-08 -5.26078e-10 7.70432e-10 -1.13046e-08 1.08713e-08 -3.42399e-09 3.85738e-09 -1.03487e-08 9.81241e-09 -5.37795e-09 5.91428e-09 -9.22044e-09 8.64509e-09 -6.5577e-09 7.13305e-09 -8.03722e-09 7.46366e-09 -7.1697e-09 7.74326e-09 -6.87081e-09 6.32181e-09 -7.36499e-09 7.91399e-09 -5.76059e-09 5.24582e-09 -7.2798e-09 7.79458e-09 -4.72356e-09 4.24635e-09 -6.9989e-09 7.47612e-09 -3.76402e-09 3.32379e-09 -6.59504e-09 7.03527e-09 -2.87917e-09 2.47492e-09 -6.11551e-09 6.51977e-09 1.14334e-07 -1.14344e-07 1.04443e-11 -9.92659e-09 3.14881e-08 4.34967e-07 -4.56528e-07 -4.79232e-08 5.54683e-08 2.53736e-07 -2.61282e-07 -7.94862e-08 9.01651e-08 2.21679e-07 -2.32357e-07 -1.00173e-07 1.09248e-07 1.17423e-07 -1.26498e-07 -1.12597e-07 1.08633e-07 -8.85526e-08 9.25169e-08 -1.0311e-07 9.52352e-08 -1.89849e-07 1.97724e-07 -8.27177e-08 7.11973e-08 -2.51025e-07 2.62546e-07 -5.16957e-08 3.72955e-08 -2.81707e-07 2.96108e-07 -2.8334e-08 1.80989e-08 -2.02275e-07 2.1251e-07 -8.50132e-09 2.34851e-09 -1.23709e-07 1.29862e-07 2.03871e-09 -3.62079e-09 -4.84192e-08 5.00013e-08 3.56796e-09 -2.43371e-09 1.13006e-09 -2.26431e-09 5.32725e-11 1.90967e-09 2.31904e-08 -2.51533e-08 -4.36263e-09 6.11479e-09 2.7657e-08 -2.94092e-08 -7.5278e-09 8.68136e-09 2.36179e-08 -2.47715e-08 -9.58667e-09 1.0271e-08 1.82325e-08 -1.89168e-08 -1.10022e-08 1.16337e-08 1.36084e-08 -1.424e-08 -1.21976e-08 1.2643e-08 8.51731e-09 -8.96278e-09 -1.29433e-08 1.30373e-08 3.3932e-09 -3.48722e-09 -1.29494e-08 1.27115e-08 -1.01037e-09 1.24832e-09 -1.23267e-08 1.1863e-08 -4.30351e-09 4.76723e-09 -1.13023e-08 1.07214e-08 -6.4708e-09 7.05166e-09 -1.0081e-08 9.45782e-09 -7.73055e-09 8.35372e-09 -8.79743e-09 8.17395e-09 -8.34048e-09 8.96396e-09 -7.52836e-09 6.92826e-09 -8.48786e-09 9.08796e-09 -6.3142e-09 5.74792e-09 -8.33428e-09 8.90056e-09 -5.17223e-09 4.64559e-09 -7.97739e-09 8.50403e-09 -4.11284e-09 3.62694e-09 -7.49798e-09 7.98388e-09 -3.1371e-09 2.6922e-09 -6.94449e-09 7.38939e-09 1.13902e-07 -1.12959e-07 -9.43202e-10 -8.60439e-09 3.12115e-08 4.78588e-07 -5.01195e-07 -4.84109e-08 5.46993e-08 2.68226e-07 -2.74514e-07 -7.99036e-08 9.07897e-08 2.43128e-07 -2.54014e-07 -1.00953e-07 1.11124e-07 1.36103e-07 -1.46274e-07 -1.1484e-07 1.10849e-07 -9.65061e-08 1.00498e-07 -1.04534e-07 9.71712e-08 -2.05436e-07 2.12799e-07 -8.52163e-08 7.24114e-08 -2.74585e-07 2.8739e-07 -5.08356e-08 3.59709e-08 -3.10777e-07 3.25642e-07 -2.79724e-08 1.68552e-08 -2.23186e-07 2.34303e-07 -6.2473e-09 -3.34753e-10 -1.3623e-07 1.42812e-07 4.76214e-09 -6.08944e-09 -5.14444e-08 5.27717e-08 5.66974e-09 -4.04871e-09 3.63865e-09 -5.25968e-09 1.02714e-09 1.32739e-09 2.73007e-08 -2.96553e-08 -4.27243e-09 6.2791e-09 3.12881e-08 -3.32948e-08 -7.7966e-09 9.07853e-09 2.59841e-08 -2.7266e-08 -9.98679e-09 1.0671e-08 1.96156e-08 -2.02998e-08 -1.15035e-08 1.22507e-08 1.49295e-08 -1.56767e-08 -1.29554e-08 1.35797e-08 9.48882e-09 -1.01132e-08 -1.40317e-08 1.42013e-08 3.61886e-09 -3.78843e-09 -1.41464e-08 1.39065e-08 -1.48514e-09 1.72496e-09 -1.34945e-08 1.29907e-08 -5.25018e-09 5.75392e-09 -1.23747e-08 1.17374e-08 -7.65971e-09 8.29697e-09 -1.10331e-08 1.03518e-08 -9.00519e-09 9.68646e-09 -9.62943e-09 8.94819e-09 -9.61472e-09 1.0296e-08 -8.24278e-09 7.58764e-09 -9.7147e-09 1.03698e-08 -6.91677e-09 6.29813e-09 -9.49318e-09 1.01118e-08 -5.66804e-09 5.08998e-09 -9.05685e-09 9.63492e-09 -4.50402e-09 3.96925e-09 -8.49356e-09 9.02833e-09 -3.42935e-09 2.93853e-09 -7.85592e-09 8.34675e-09 1.11486e-07 -1.09457e-07 -2.02885e-09 -7.00328e-09 3.0865e-08 5.24401e-07 -5.48262e-07 -4.89677e-08 5.3726e-08 2.80079e-07 -2.84838e-07 -8.01297e-08 9.13671e-08 2.6505e-07 -2.76288e-07 -1.0178e-07 1.13171e-07 1.5704e-07 -1.68431e-07 -1.17364e-07 1.13316e-07 -1.04494e-07 1.08542e-07 -1.05557e-07 9.97806e-08 -2.19538e-07 2.25314e-07 -8.84446e-08 7.30875e-08 -3.01288e-07 3.16645e-07 -4.93618e-08 3.45135e-08 -3.40589e-07 3.55437e-07 -2.78878e-08 1.56715e-08 -2.45978e-07 2.58194e-07 -3.72089e-09 -3.14775e-09 -1.49629e-07 1.56498e-07 7.90476e-09 -8.9175e-09 -5.38772e-08 5.48899e-08 8.01526e-09 -5.8476e-09 7.20129e-09 -9.36895e-09 2.10228e-09 8.08114e-10 3.22449e-08 -3.51553e-08 -4.29933e-09 6.56885e-09 3.54495e-08 -3.77191e-08 -8.17108e-09 9.59618e-09 2.8623e-08 -3.00481e-08 -1.04278e-08 1.10685e-08 2.09784e-08 -2.16191e-08 -1.20379e-08 1.29044e-08 1.64804e-08 -1.7347e-08 -1.3768e-08 1.46675e-08 1.08605e-08 -1.176e-08 -1.53317e-08 1.55834e-08 3.99755e-09 -4.24931e-09 -1.55452e-08 1.52867e-08 -1.97093e-09 2.22943e-09 -1.48287e-08 1.42666e-08 -6.28411e-09 6.84617e-09 -1.35767e-08 1.28654e-08 -8.96914e-09 9.68041e-09 -1.2084e-08 1.13275e-08 -1.04045e-08 1.1161e-08 -1.05301e-08 9.78142e-09 -1.10097e-08 1.17584e-08 -9.00873e-09 8.29278e-09 -1.10537e-08 1.17696e-08 -7.56143e-09 6.88884e-09 -1.07565e-08 1.14291e-08 -6.20439e-09 5.57592e-09 -1.02377e-08 1.08661e-08 -4.93707e-09 4.35161e-09 -9.58851e-09 1.0174e-08 -3.75726e-09 3.21526e-09 -8.86331e-09 9.40531e-09 1.06845e-07 -1.03623e-07 -3.22238e-09 -5.02943e-09 3.0417e-08 5.72849e-07 -5.98237e-07 -4.96418e-08 5.24406e-08 2.88684e-07 -2.91483e-07 -8.00034e-08 9.18897e-08 2.878e-07 -2.99686e-07 -1.02687e-07 1.15421e-07 1.80478e-07 -1.93212e-07 -1.20304e-07 1.15822e-07 -1.12741e-07 1.17224e-07 -1.06515e-07 1.03481e-07 -2.29812e-07 2.32846e-07 -9.17686e-08 7.27135e-08 -3.33781e-07 3.52836e-07 -4.71676e-08 3.31794e-08 -3.69984e-07 3.83972e-07 -2.84047e-08 1.46531e-08 -2.71186e-07 2.84938e-07 -9.05529e-10 -6.35671e-09 -1.63761e-07 1.71023e-07 1.1502e-08 -1.2144e-08 -5.5546e-08 5.61881e-08 1.07286e-08 -7.85309e-09 1.20335e-08 -1.49091e-08 3.36553e-09 2.55629e-10 3.82649e-08 -4.18861e-08 -4.41214e-09 6.98248e-09 4.0171e-08 -4.27413e-08 -8.69711e-09 1.02642e-08 3.15609e-08 -3.3128e-08 -1.08795e-08 1.1455e-08 2.22264e-08 -2.28019e-08 -1.26378e-08 1.36042e-08 1.82734e-08 -1.92398e-08 -1.46423e-08 1.59937e-08 1.28549e-08 -1.42063e-08 -1.70016e-08 1.73084e-08 4.53811e-09 -4.84493e-09 -1.72177e-08 1.68913e-08 -2.50958e-09 2.83605e-09 -1.63622e-08 1.5719e-08 -7.4458e-09 8.08894e-09 -1.49343e-08 1.41266e-08 -1.04391e-08 1.12469e-08 -1.32503e-08 1.24075e-08 -1.19588e-08 1.28016e-08 -1.15224e-08 1.06948e-08 -1.25452e-08 1.33728e-08 -9.84263e-09 9.05391e-09 -1.25199e-08 1.33086e-08 -8.24698e-09 7.50397e-09 -1.21346e-08 1.28776e-08 -6.74882e-09 6.05766e-09 -1.15238e-08 1.2215e-08 -5.35867e-09 4.72206e-09 -1.07852e-08 1.14219e-08 -4.08086e-09 3.49966e-09 -9.96913e-09 1.05503e-08 9.97627e-08 -9.52404e-08 -4.52235e-09 -2.50151e-09 2.97992e-08 6.24517e-07 -6.51815e-07 -5.04903e-08 5.05945e-08 2.93056e-07 -2.9316e-07 -7.91977e-08 9.23184e-08 3.12087e-07 -3.25208e-07 -1.03662e-07 1.1789e-07 2.06672e-07 -2.209e-07 -1.23659e-07 1.1831e-07 -1.22106e-07 1.27455e-07 -1.07976e-07 1.07586e-07 -2.34447e-07 2.34837e-07 -9.43963e-08 7.21649e-08 -3.73677e-07 3.95908e-07 -4.51453e-08 3.28665e-08 -3.97199e-07 4.09478e-07 -2.98326e-08 1.37873e-08 -2.99908e-07 3.15953e-07 2.61039e-09 -1.04158e-08 -1.78568e-07 1.86373e-07 1.52317e-08 -1.54263e-08 -5.61481e-08 5.63427e-08 1.39674e-08 -9.93447e-09 1.82481e-08 -2.2281e-08 4.39069e-09 -2.01222e-10 4.56487e-08 -4.98382e-08 -4.64455e-09 7.53923e-09 4.5487e-08 -4.83817e-08 -9.35753e-09 1.10639e-08 3.47602e-08 -3.64666e-08 -1.13233e-08 1.1915e-08 2.33603e-08 -2.3952e-08 -1.34621e-08 1.43774e-08 2.02118e-08 -2.11271e-08 -1.56479e-08 1.79264e-08 1.59348e-08 -1.82132e-08 -1.95327e-08 1.97137e-08 5.13247e-09 -5.31345e-09 -1.93278e-08 1.87957e-08 -3.23794e-09 3.77002e-09 -1.81174e-08 1.73556e-08 -8.78761e-09 9.54946e-09 -1.64457e-08 1.55098e-08 -1.21112e-08 1.30472e-08 -1.45083e-08 1.35525e-08 -1.36982e-08 1.46539e-08 -1.25644e-08 1.16538e-08 -1.42417e-08 1.51524e-08 -1.07258e-08 9.86925e-09 -1.41329e-08 1.49894e-08 -8.99108e-09 8.179e-09 -1.36573e-08 1.44694e-08 -7.35123e-09 6.59318e-09 -1.29406e-08 1.36987e-08 -5.82891e-09 5.13597e-09 -1.20846e-08 1.27776e-08 -4.44118e-09 3.81382e-09 -1.11507e-08 1.1778e-08 9.00313e-08 -8.41111e-08 -5.92019e-09 6.33453e-10 2.88988e-08 6.80319e-07 -7.09851e-07 -5.16187e-08 4.75839e-08 2.9145e-07 -2.87415e-07 -7.70045e-08 9.26625e-08 3.39355e-07 -3.55013e-07 -1.0473e-07 1.20586e-07 2.35932e-07 -2.51789e-07 -1.27395e-07 1.2108e-07 -1.33281e-07 1.39597e-07 -1.09415e-07 1.109e-07 -2.34263e-07 2.32778e-07 -9.76713e-08 7.39412e-08 -4.19043e-07 4.42773e-07 -4.52774e-08 3.46666e-08 -4.20835e-07 4.31446e-07 -3.21305e-08 1.28096e-08 -3.33475e-07 3.52796e-07 7.0582e-09 -1.54426e-08 -1.94523e-07 2.02907e-07 2.01097e-08 -1.88456e-08 -5.57993e-08 5.45352e-08 1.6979e-08 -1.22644e-08 2.64207e-08 -3.11353e-08 5.68795e-09 -6.83335e-10 5.44846e-08 -5.94892e-08 -5.09685e-09 8.43232e-09 5.15237e-08 -5.48592e-08 -1.03166e-08 1.19842e-08 3.81657e-08 -3.98334e-08 -1.18053e-08 1.28212e-08 2.46906e-08 -2.57065e-08 -1.47975e-08 1.5232e-08 2.18806e-08 -2.23152e-08 -1.69941e-08 2.09623e-08 2.12588e-08 -2.5227e-08 -2.33958e-08 2.30222e-08 5.26722e-09 -4.89369e-09 -2.19747e-08 2.10552e-08 -4.48528e-09 5.40481e-09 -2.01256e-08 1.92229e-08 -1.03799e-08 1.12825e-08 -1.81652e-08 1.70596e-08 -1.40655e-08 1.51711e-08 -1.59066e-08 1.48257e-08 -1.56757e-08 1.67565e-08 -1.373e-08 1.27306e-08 -1.61036e-08 1.71029e-08 -1.1715e-08 1.07852e-08 -1.58788e-08 1.68087e-08 -9.84129e-09 8.97489e-09 -1.53082e-08 1.61746e-08 -8.09201e-09 7.27867e-09 -1.44854e-08 1.52987e-08 -6.44784e-09 5.68379e-09 -1.35052e-08 1.42692e-08 -4.9064e-09 4.1981e-09 -1.24422e-08 1.31505e-08 7.74562e-08 -7.00423e-08 -7.41384e-09 4.21187e-09 2.74997e-08 7.40361e-07 -7.72073e-07 -5.32176e-08 4.18168e-08 2.80281e-07 -2.6888e-07 -7.16612e-08 9.31008e-08 3.72955e-07 -3.94395e-07 -1.05992e-07 1.23407e-07 2.68459e-07 -2.85874e-07 -1.31666e-07 1.24e-07 -1.46485e-07 1.54151e-07 -1.09771e-07 1.14208e-07 -2.30097e-07 2.25661e-07 -1.03637e-07 7.78771e-08 -4.67219e-07 4.92979e-07 -4.75439e-08 3.74097e-08 -4.41576e-07 4.5171e-07 -3.26517e-08 1.18845e-08 -3.7367e-07 3.94437e-07 1.05619e-08 -1.94898e-08 -2.1102e-07 2.19948e-07 2.51441e-08 -2.36677e-08 -5.34196e-08 5.19432e-08 2.07151e-08 -1.47973e-08 3.67762e-08 -4.2694e-08 7.17182e-09 -7.2605e-10 6.49602e-08 -7.1406e-08 -5.73097e-09 9.16113e-09 5.83107e-08 -6.17409e-08 -1.122e-08 1.30323e-08 4.15322e-08 -4.33445e-08 -1.29101e-08 1.48465e-08 2.71059e-08 -2.90423e-08 -1.6658e-08 1.57377e-08 2.22314e-08 -2.13111e-08 -1.75493e-08 2.28997e-08 3.00517e-08 -3.5402e-08 -2.62381e-08 2.56145e-08 4.25716e-09 -3.6335e-09 -2.45637e-08 2.35469e-08 -6.4789e-09 7.49566e-09 -2.22983e-08 2.12017e-08 -1.22749e-08 1.33714e-08 -2.00132e-08 1.87124e-08 -1.63646e-08 1.76654e-08 -1.73906e-08 1.61602e-08 -1.79065e-08 1.91369e-08 -1.49358e-08 1.38356e-08 -1.81575e-08 1.92577e-08 -1.27229e-08 1.17099e-08 -1.77813e-08 1.87942e-08 -1.06813e-08 9.7382e-09 -1.70737e-08 1.80168e-08 -8.78049e-09 7.89874e-09 -1.61424e-08 1.70242e-08 -6.99982e-09 6.17266e-09 -1.50674e-08 1.58946e-08 -5.33135e-09 4.56456e-09 -1.38958e-08 1.46626e-08 6.18409e-08 -5.28212e-08 -9.01971e-09 9.59078e-09 2.5247e-08 8.05212e-07 -8.4005e-07 -5.54683e-08 2.9858e-08 2.51521e-07 -2.25911e-07 -5.94133e-08 9.41021e-08 4.21164e-07 -4.55853e-07 -1.07793e-07 1.26105e-07 3.03875e-07 -3.22187e-07 -1.36521e-07 1.26108e-07 -1.62942e-07 1.73355e-07 -1.08278e-07 1.17392e-07 -2.18927e-07 2.09813e-07 -1.09094e-07 7.88158e-08 -5.20902e-07 5.5118e-07 -4.83522e-08 3.71105e-08 -4.62087e-07 4.73328e-07 -2.73489e-08 5.81214e-09 -4.16356e-07 4.37893e-07 1.9732e-08 -2.66036e-08 -2.28535e-07 2.35406e-07 3.05744e-08 -2.7432e-08 -4.86628e-08 4.55204e-08 2.46708e-08 -1.81683e-08 4.85591e-08 -5.50617e-08 9.31672e-09 -5.98387e-10 7.9139e-08 -8.78573e-08 -6.50091e-09 1.02832e-08 6.51791e-08 -6.89614e-08 -1.29307e-08 1.44759e-08 4.50596e-08 -4.66049e-08 -1.5007e-08 1.77879e-08 3.15734e-08 -3.43543e-08 -1.79077e-08 1.46367e-08 1.92086e-08 -1.59375e-08 -1.56211e-08 2.0783e-08 4.08322e-08 -4.59941e-08 -2.42417e-08 2.42266e-08 3.35097e-09 -3.33582e-09 -2.55735e-08 2.62688e-08 -8.0023e-09 7.30692e-09 -2.50727e-08 2.362e-08 -1.46167e-08 1.60694e-08 -2.21989e-08 2.05119e-08 -1.91237e-08 2.08107e-08 -1.88762e-08 1.74624e-08 -2.04605e-08 2.18743e-08 -1.61574e-08 1.50316e-08 -2.03811e-08 2.15068e-08 -1.38797e-08 1.27989e-08 -1.9844e-08 2.09248e-08 -1.16657e-08 1.06039e-08 -1.90142e-08 2.0076e-08 -9.51506e-09 8.51794e-09 -1.79564e-08 1.89535e-08 -7.5146e-09 6.60949e-09 -1.67537e-08 1.76588e-08 -5.70709e-09 4.89838e-09 -1.54439e-08 1.62526e-08 4.29481e-08 -3.21888e-08 -1.07594e-08 1.69719e-08 2.20171e-08 8.76873e-07 -9.15862e-07 -5.78052e-08 7.6365e-09 1.89281e-07 -1.39112e-07 -3.133e-08 9.31091e-08 5.0176e-07 -5.6354e-07 -1.11063e-07 1.28736e-07 3.40411e-07 -3.58084e-07 -1.4141e-07 1.25349e-07 -1.8608e-07 2.0214e-07 -1.00255e-07 1.10707e-07 -1.99162e-07 1.88709e-07 -1.02408e-07 7.09487e-08 -5.84596e-07 6.16055e-07 -4.37628e-08 2.85712e-08 -4.8485e-07 5.00041e-07 -1.49542e-08 2.48009e-10 -4.56307e-07 4.71013e-07 2.65023e-08 -3.26229e-08 -2.42381e-07 2.48501e-07 3.73158e-08 -3.42896e-08 -4.21733e-08 3.91471e-08 3.01013e-08 -2.17375e-08 6.26795e-08 -7.10432e-08 1.09513e-08 -8.95238e-10 9.71152e-08 -1.07171e-07 -6.27858e-09 1.17733e-08 7.34817e-08 -7.89764e-08 -1.49631e-08 1.72418e-08 4.82707e-08 -5.05493e-08 -1.93474e-08 2.11464e-08 3.6847e-08 -3.8646e-08 -1.87445e-08 1.54782e-08 1.2076e-08 -8.80962e-09 -1.83572e-08 2.14359e-08 5.05211e-08 -5.35998e-08 -2.0098e-08 1.8176e-08 2.88986e-09 -9.67928e-10 -2.38234e-08 2.95031e-08 -4.53666e-09 -1.14302e-09 -2.914e-08 2.69771e-08 -1.78206e-08 1.99836e-08 -2.51049e-08 2.28503e-08 -2.27732e-08 2.50278e-08 -2.07976e-08 1.92299e-08 -2.33697e-08 2.49373e-08 -1.79056e-08 1.68157e-08 -2.26224e-08 2.37123e-08 -1.56722e-08 1.45621e-08 -2.20298e-08 2.31398e-08 -1.33558e-08 1.21875e-08 -2.11961e-08 2.23644e-08 -1.09524e-08 9.791e-09 -2.0028e-08 2.11894e-08 -8.59535e-09 7.49643e-09 -1.8641e-08 1.97399e-08 -6.38979e-09 5.39269e-09 -1.71288e-08 1.81259e-08 2.05161e-08 -7.96562e-09 -1.25505e-08 2.40999e-08 1.7422e-08 9.56766e-07 -9.98288e-07 -5.74555e-08 -3.93023e-10 7.64602e-08 -1.86117e-08 5.34398e-10 8.48857e-08 6.46667e-07 -7.32087e-07 -1.16116e-07 1.30675e-07 3.74694e-07 -3.89254e-07 -1.43142e-07 1.15671e-07 -2.23072e-07 2.50543e-07 -7.79462e-08 8.48466e-08 -1.80494e-07 1.73594e-07 -8.20555e-08 5.11193e-08 -6.50015e-07 6.80952e-07 -2.33185e-08 7.57991e-09 -5.1082e-07 5.26558e-07 7.80867e-09 -1.98143e-08 -4.85641e-07 4.97647e-07 4.26111e-08 -4.32418e-08 -2.53001e-07 2.53632e-07 4.46626e-08 -3.90601e-08 -3.39008e-08 2.82983e-08 3.42004e-08 -2.73141e-08 7.83921e-08 -8.52785e-08 1.60813e-08 -4.88103e-09 1.18179e-07 -1.2938e-07 -5.3622e-09 1.45523e-08 8.58659e-08 -9.5056e-08 -1.79924e-08 2.25758e-08 5.39521e-08 -5.85354e-08 -2.56939e-08 2.54608e-08 3.9505e-08 -3.92719e-08 -2.37123e-08 2.61807e-08 7.69408e-09 -1.01625e-08 -3.12325e-08 2.90532e-08 5.43226e-08 -5.21433e-08 -1.97237e-08 1.30467e-08 -3.26515e-09 9.94215e-09 -2.17264e-08 3.36416e-08 1.01507e-08 -2.20659e-08 -3.43762e-08 3.10417e-08 -2.26682e-08 2.60028e-08 -2.84398e-08 2.56327e-08 -2.7577e-08 3.03841e-08 -2.31244e-08 2.15479e-08 -2.65454e-08 2.81219e-08 -2.03694e-08 1.94342e-08 -2.47431e-08 2.56782e-08 -1.83802e-08 1.72596e-08 -2.42393e-08 2.53598e-08 -1.59602e-08 1.46409e-08 -2.35839e-08 2.49033e-08 -1.31909e-08 1.17757e-08 -2.24596e-08 2.38749e-08 -1.02678e-08 8.84147e-09 -2.09903e-08 2.24166e-08 -7.36891e-09 6.02411e-09 -1.92911e-08 2.06359e-08 -5.47616e-09 1.95878e-08 -1.41116e-08 2.64084e-08 5.98519e-09 1.03749e-06 -1.06989e-06 -4.98861e-08 2.42554e-08 -2.87134e-08 5.43441e-08 -2.22527e-08 8.34157e-08 8.02291e-07 -8.63454e-07 -1.16663e-07 1.21467e-07 4.00116e-07 -4.04921e-07 -1.28679e-07 9.05488e-08 -2.85118e-07 3.23248e-07 -5.80135e-08 1.00479e-07 -1.82895e-07 1.4043e-07 -7.6723e-08 5.72548e-09 -6.88842e-07 7.5984e-07 4.0088e-09 -9.59028e-09 -5.48746e-07 5.54328e-07 2.37106e-08 -3.04915e-08 -5.05864e-07 5.12645e-07 5.35907e-08 -5.18992e-08 -2.52033e-07 2.50341e-07 5.13917e-08 -4.64652e-08 -2.31308e-08 1.82042e-08 4.06526e-08 -3.16759e-08 9.28319e-08 -1.01809e-07 1.91826e-08 -8.8133e-09 1.40188e-07 -1.50557e-07 -6.06428e-09 2.11562e-08 1.07031e-07 -1.22123e-07 -2.56545e-08 3.18498e-08 6.42299e-08 -7.04251e-08 -3.20579e-08 3.07052e-08 3.80732e-08 -3.67206e-08 -3.61644e-08 4.5508e-08 1.66018e-08 -2.59455e-08 -4.73564e-08 3.99922e-08 4.69414e-08 -3.95772e-08 -2.71123e-08 1.88071e-08 -1.82699e-08 2.65751e-08 -2.81205e-08 4.15699e-08 3.55936e-08 -4.9043e-08 -4.1569e-08 3.61585e-08 -3.02171e-08 3.56276e-08 -3.25078e-08 2.97239e-08 -3.33289e-08 3.61128e-08 -2.71208e-08 2.58149e-08 -2.9575e-08 3.08809e-08 -2.49369e-08 2.40264e-08 -2.6539e-08 2.74494e-08 -2.27092e-08 2.11246e-08 -2.66145e-08 2.8199e-08 -1.92292e-08 1.73343e-08 -2.64323e-08 2.83272e-08 -1.53233e-08 1.34385e-08 -2.54906e-08 2.73754e-08 -1.1505e-08 9.73205e-09 -2.40229e-08 2.57959e-08 -7.9473e-09 6.34528e-09 -2.21385e-08 2.37405e-08 -3.43962e-08 4.89779e-08 -1.45817e-08 2.3972e-08 -2.24615e-08 1.08936e-06 -1.09087e-06 -1.17333e-08 4.7505e-08 -4.81956e-08 1.24239e-08 -5.68104e-08 7.65522e-08 9.08699e-07 -9.28441e-07 -8.22278e-08 6.16092e-08 4.00056e-07 -3.79437e-07 2.40081e-09 -5.54391e-09 -3.44074e-07 3.47217e-07 -6.7366e-09 -1.27173e-07 -1.81417e-07 3.15327e-07 1.2441e-07 -9.75014e-09 -7.89625e-07 6.74965e-07 3.90971e-08 -7.46417e-08 -5.36214e-07 5.71758e-07 6.40829e-08 -6.26373e-08 -5.1819e-07 5.16744e-07 7.32127e-08 -6.34324e-08 -2.45529e-07 2.35748e-07 6.11145e-08 -5.4052e-08 -1.21937e-08 5.13116e-09 4.5475e-08 -3.79549e-08 1.10359e-07 -1.17879e-07 2.78218e-08 -1.55224e-08 1.62046e-07 -1.74345e-07 -9.75358e-09 2.90619e-08 1.39528e-07 -1.58836e-07 -3.13907e-08 3.68957e-08 7.65609e-08 -8.20659e-08 -3.52689e-08 3.73181e-08 3.65846e-08 -3.86338e-08 -5.36153e-08 6.73594e-08 3.79188e-08 -5.1663e-08 -5.97092e-08 4.96633e-08 3.0661e-08 -2.06151e-08 -3.99721e-08 3.73484e-08 -3.28049e-08 3.54285e-08 -4.06306e-08 4.91476e-08 6.07361e-08 -6.92531e-08 -4.94519e-08 4.25179e-08 -4.22208e-08 4.91548e-08 -3.84458e-08 3.75918e-08 -3.82327e-08 3.90867e-08 -3.6133e-08 3.4715e-08 -3.21582e-08 3.35763e-08 -3.32527e-08 3.15308e-08 -2.86325e-08 3.03543e-08 -2.90848e-08 2.62356e-08 -3.03309e-08 3.31802e-08 -2.2963e-08 1.98626e-08 -3.07543e-08 3.38547e-08 -1.67899e-08 1.41359e-08 -2.96057e-08 3.22597e-08 -1.1646e-08 9.55537e-09 -2.77247e-08 2.98153e-08 -7.61251e-09 5.97885e-09 -2.53774e-08 2.70111e-08 -6.24252e-08 7.61864e-08 -1.37612e-08 2.38877e-08 -7.9839e-08 1.06033e-06 -1.00438e-06 3.59924e-08 7.30755e-08 6.19681e-08 -1.71036e-07 -4.92495e-08 1.93165e-08 9.20528e-07 -8.90595e-07 2.62098e-08 -9.01025e-08 3.40136e-07 -2.76244e-07 2.85794e-08 4.17369e-09 -3.63416e-07 3.30663e-07 3.63089e-07 -5.07615e-07 -4.5575e-07 6.00276e-07 3.40058e-07 -1.78406e-07 -5.16648e-07 3.54997e-07 7.53798e-08 -5.92865e-08 -5.88964e-07 5.72871e-07 7.66405e-08 -7.52171e-08 -5.12181e-07 5.10757e-07 9.40811e-08 -7.59227e-08 -2.184e-07 2.00242e-07 6.80325e-08 -5.85248e-08 2.00261e-09 -1.15103e-08 5.17425e-08 -4.39893e-08 1.24682e-07 -1.32435e-07 3.27232e-08 -2.45702e-08 1.86223e-07 -1.94376e-07 -5.38705e-09 3.21871e-08 1.81065e-07 -2.07865e-07 -2.99802e-08 3.27033e-08 8.61897e-08 -8.89128e-08 -3.65292e-08 3.68671e-08 4.19734e-08 -4.23113e-08 -5.05934e-08 7.27082e-08 6.81314e-08 -9.02463e-08 -6.58037e-08 5.51775e-08 9.79746e-09 8.28728e-10 -5.22684e-08 4.69313e-08 -3.87374e-08 4.40745e-08 -3.8545e-08 4.10623e-08 7.4049e-08 -7.65663e-08 -4.85264e-08 4.72088e-08 -5.43732e-08 5.56908e-08 -4.57564e-08 4.81482e-08 -3.82477e-08 3.58559e-08 -4.92522e-08 4.76521e-08 -3.51638e-08 3.67639e-08 -4.4591e-08 4.13427e-08 -3.28349e-08 3.60832e-08 -3.74392e-08 3.30982e-08 -3.68083e-08 4.11494e-08 -2.81085e-08 2.34131e-08 -3.77284e-08 4.24239e-08 -1.88576e-08 1.50695e-08 -3.54328e-08 3.92209e-08 -1.17099e-08 9.08418e-09 -3.21295e-08 3.47553e-08 -6.83124e-09 5.07781e-09 -2.86596e-08 3.04131e-08 -9.22077e-08 1.07625e-07 -1.54173e-08 1.87424e-08 -8.89239e-08 9.37739e-07 -8.67558e-07 7.1052e-08 6.38494e-08 2.92902e-07 -4.27803e-07 -6.11712e-08 -6.13526e-08 8.07548e-07 -6.85025e-07 9.88942e-08 1.1265e-07 2.8395e-07 -4.95494e-07 1.59422e-07 -6.09654e-07 -3.51281e-07 8.01512e-07 2.1186e-07 -2.36865e-07 -7.8222e-07 8.07225e-07 3.98262e-07 -3.20465e-07 -2.10603e-07 1.32806e-07 1.89808e-07 -1.13703e-07 -5.33387e-07 4.57283e-07 1.34902e-07 -1.40928e-07 -5.1468e-07 5.20706e-07 1.01101e-07 -8.34393e-08 -1.86038e-07 1.68376e-07 7.44211e-08 -6.87605e-08 2.14267e-08 -2.70873e-08 5.94863e-08 -5.01099e-08 1.4209e-07 -1.51467e-07 4.71972e-08 -5.72948e-08 1.94832e-07 -1.84735e-07 7.41016e-09 3.81913e-08 2.42502e-07 -2.88103e-07 -2.65793e-08 2.77689e-08 9.06727e-08 -9.18623e-08 -3.328e-08 1.52925e-08 3.45012e-08 -1.65137e-08 -4.57133e-09 4.26945e-08 1.21512e-07 -1.59635e-07 -5.93252e-08 5.44152e-08 -1.16587e-08 1.65687e-08 -5.9922e-08 6.16402e-08 -4.45802e-08 4.2862e-08 -4.92151e-08 4.2518e-08 7.47388e-08 -6.80416e-08 -5.0061e-08 5.52016e-08 -5.38905e-08 4.87499e-08 -5.82163e-08 6.05392e-08 -3.28625e-08 3.05396e-08 -6.1156e-08 5.88528e-08 -3.84121e-08 4.07153e-08 -5.50495e-08 5.16814e-08 -3.97198e-08 4.30878e-08 -4.80498e-08 4.31866e-08 -4.58899e-08 5.07531e-08 -3.6704e-08 3.02368e-08 -4.80519e-08 5.45191e-08 -2.37418e-08 1.82269e-08 -4.38511e-08 4.9366e-08 -1.33018e-08 9.50022e-09 -3.79231e-08 4.17247e-08 -6.31629e-09 3.89063e-09 -3.24156e-08 3.48413e-08 -1.2472e-07 1.37733e-07 -1.30128e-08 1.22552e-08 -1.04204e-07 7.79568e-07 -6.87619e-07 4.56922e-08 7.3884e-08 5.5263e-07 -6.72207e-07 3.65533e-08 -7.08397e-08 5.67694e-07 -5.33407e-07 -2.0446e-07 1.26607e-07 5.76635e-07 -4.98782e-07 5.0208e-07 -5.95589e-07 -1.324e-06 1.41751e-06 4.71501e-07 -4.96934e-07 -8.58771e-07 8.84203e-07 4.57354e-07 -3.64276e-07 -6.17531e-08 -3.13245e-08 3.17856e-07 -2.20427e-07 -3.72734e-07 2.75305e-07 1.34174e-07 -1.2255e-07 -5.23625e-07 5.12001e-07 1.27644e-07 -1.01112e-07 -1.40608e-07 1.14076e-07 8.08754e-08 -6.97029e-08 3.01139e-08 -4.12864e-08 6.20966e-08 -6.26015e-08 1.58286e-07 -1.57782e-07 7.85763e-08 -9.10251e-08 1.67089e-07 -1.5464e-07 3.40116e-08 2.18715e-08 3.43318e-07 -3.99201e-07 -1.99667e-08 2.27098e-08 9.34676e-08 -9.62107e-08 -3.33777e-08 2.58898e-08 -2.46314e-09 9.95107e-09 -2.30248e-08 3.34994e-08 1.90828e-07 -2.01302e-07 -5.24953e-08 5.80425e-08 -1.678e-08 1.12328e-08 -7.02285e-08 7.79396e-08 -4.0165e-08 3.24539e-08 -7.84492e-08 6.39987e-08 5.81758e-08 -4.37253e-08 -6.09636e-08 7.18581e-08 -3.96373e-08 2.87428e-08 -7.74057e-08 7.58343e-08 -2.98722e-08 3.14436e-08 -6.93293e-08 6.21188e-08 -4.50092e-08 5.22197e-08 -5.76015e-08 5.70312e-08 -4.52659e-08 4.58363e-08 -5.89735e-08 5.85441e-08 -5.45312e-08 5.49606e-08 -5.27253e-08 4.295e-08 -6.23481e-08 7.21233e-08 -3.10665e-08 2.06512e-08 -5.61964e-08 6.66117e-08 -1.18272e-08 6.1184e-09 -4.6416e-08 5.21248e-08 -2.70385e-09 9.02105e-10 -3.80637e-08 3.98655e-08 -1.55554e-07 1.69284e-07 -1.37302e-08 -2.46941e-08 7.44173e-09 6.24952e-07 -6.077e-07 1.7888e-08 -8.08566e-08 6.94683e-07 -6.31714e-07 2.41048e-08 2.83035e-07 8.4659e-07 -1.15373e-06 -7.34615e-07 6.38497e-07 2.71957e-08 6.8923e-08 5.41704e-07 -1.9397e-06 -2.29331e-06 3.69131e-06 2.85158e-06 -9.60038e-07 -4.40161e-07 -1.45138e-06 5.2912e-07 -3.92304e-07 1.01195e-07 -2.38011e-07 3.38415e-07 -3.13588e-07 -1.95345e-07 1.70518e-07 1.95017e-07 -1.35633e-07 -4.74506e-07 4.15122e-07 1.32039e-07 -1.03216e-07 -9.48706e-08 6.60472e-08 1.12343e-07 -8.95344e-08 6.46169e-08 -8.74256e-08 6.8786e-08 -8.21464e-08 1.48676e-07 -1.35316e-07 9.5707e-08 -5.77676e-08 1.62738e-07 -2.00677e-07 2.15882e-08 4.6443e-09 4.44898e-07 -4.7113e-07 -2.60988e-08 2.98539e-08 9.9033e-08 -1.02788e-07 -5.25719e-08 7.18324e-08 -1.54242e-09 -1.77181e-08 -8.1203e-08 4.95984e-08 1.9012e-07 -1.58516e-07 -4.76937e-08 6.91179e-08 3.31859e-09 -2.47428e-08 -8.28226e-08 1.1194e-07 -8.73847e-09 -2.03794e-08 -1.22576e-07 1.08355e-07 2.56118e-08 -1.13902e-08 -9.13085e-08 8.80696e-08 -2.2747e-08 2.59858e-08 -8.00113e-08 6.35874e-08 -3.74481e-08 5.3872e-08 -5.12183e-08 4.7376e-08 -6.23862e-08 6.62285e-08 -5.02574e-08 5.61862e-08 -4.73613e-08 4.14325e-08 -6.18401e-08 6.50387e-08 -5.54014e-08 5.22028e-08 -6.10586e-08 5.36189e-08 -7.75951e-08 8.50348e-08 -4.29707e-08 3.19479e-08 -7.49705e-08 8.59933e-08 -2.06174e-08 1.07127e-08 -6.03122e-08 7.02169e-08 -3.32218e-09 -2.07076e-09 -4.47752e-08 5.01681e-08 -1.99676e-07 2.34591e-07 -3.49152e-08 -5.21832e-08 -1.36597e-07 6.48752e-07 -4.59972e-07 2.64635e-07 5.3413e-08 3.73638e-07 -6.91686e-07 -6.30699e-07 8.89503e-07 2.26376e-06 -2.52257e-06 -9.63933e-07 6.28519e-07 -6.29878e-07 9.65292e-07 1.01793e-06 -2.06561e-06 -5.23318e-06 6.28086e-06 2.22867e-06 -1.31548e-06 2.26115e-06 -3.17434e-06 1.21178e-06 -5.03651e-07 5.36313e-07 -1.24444e-06 2.93937e-07 -3.35361e-07 -1.51639e-07 1.93063e-07 2.88909e-07 -2.06381e-07 -3.44419e-07 2.61891e-07 1.95936e-07 -1.09823e-07 -9.16824e-09 -7.69448e-08 6.11893e-08 -8.82977e-08 8.86404e-08 -6.15319e-08 7.78623e-08 -8.77525e-08 1.22333e-07 -1.12443e-07 7.102e-08 -9.60776e-09 2.6234e-07 -3.23752e-07 -2.3688e-09 -8.08187e-09 4.75553e-07 -4.65102e-07 -2.76739e-08 5.42717e-08 1.14865e-07 -1.41463e-07 -7.80362e-08 1.03899e-07 4.23644e-08 -6.82269e-08 -1.27813e-07 1.15437e-07 1.23009e-07 -1.10633e-07 -1.14018e-07 1.23515e-07 4.32468e-08 -5.27432e-08 -1.38608e-07 1.71682e-07 4.8318e-08 -8.13917e-08 -1.95024e-07 2.05129e-07 -3.74286e-09 -6.362e-09 -1.97212e-07 1.75623e-07 -2.60007e-08 4.75898e-08 -1.31072e-07 9.72666e-08 -7.21696e-08 1.05975e-07 -8.78256e-08 8.52616e-08 -7.26529e-08 7.52169e-08 -7.81429e-08 6.81422e-08 -3.99411e-08 4.99418e-08 -5.56436e-08 4.80609e-08 -5.0434e-08 5.80167e-08 -4.78582e-08 4.57053e-08 -1.0015e-07 1.02303e-07 -3.70903e-08 2.75067e-08 -9.92931e-08 1.08877e-07 -1.67772e-08 7.07883e-09 -7.99298e-08 8.96282e-08 4.13073e-09 -1.37282e-08 -5.6218e-08 6.58155e-08 -3.02801e-07 3.24323e-07 -2.15215e-08 -7.65812e-08 9.61104e-07 4.32803e-07 -1.31733e-06 -8.44798e-07 2.76287e-07 1.03355e-06 -4.65036e-07 -6.79006e-07 7.08641e-07 2.64609e-06 -2.67573e-06 -4.79445e-07 4.45971e-07 -1.14771e-06 1.18119e-06 -1.02231e-07 -8.80634e-07 -7.28257e-06 8.26543e-06 1.25148e-06 -1.58466e-06 3.20034e-06 -2.86716e-06 1.29367e-06 -1.02546e-06 1.19568e-06 -1.46389e-06 3.77903e-07 -2.87059e-07 -1.93453e-07 1.02609e-07 2.90712e-07 -1.86463e-07 -1.73454e-07 6.92048e-08 1.57579e-07 -1.64038e-07 1.43293e-07 -1.36834e-07 1.01354e-07 -6.02395e-08 4.95032e-08 -9.06173e-08 4.84005e-08 -3.90674e-08 1.09156e-07 -1.18489e-07 -1.35039e-08 4.33508e-08 3.66691e-07 -3.96538e-07 -5.98284e-09 -3.42253e-08 4.39537e-07 -3.99329e-07 -1.52587e-08 4.31265e-08 1.76686e-07 -2.04554e-07 -8.18888e-08 1.32695e-07 1.02525e-07 -1.53331e-07 -1.65587e-07 3.36062e-07 1.25972e-07 -2.96447e-07 -2.63553e-07 2.80076e-07 1.36396e-07 -1.52918e-07 -3.32133e-07 3.65455e-07 -1.12567e-08 -2.20656e-08 -3.46533e-07 3.28531e-07 1.01327e-08 7.86946e-09 -3.12737e-07 2.81307e-07 -7.00164e-08 1.01446e-07 -2.44346e-07 2.13689e-07 -1.25652e-07 1.56308e-07 -1.8165e-07 1.54621e-07 -8.87217e-08 1.15751e-07 -1.26466e-07 9.72366e-08 -7.43664e-08 1.03595e-07 -6.54329e-08 3.82774e-08 -7.79145e-08 1.0507e-07 -1.49665e-08 -6.03939e-09 -1.09908e-07 1.30914e-07 3.32422e-08 -6.87769e-08 -1.30288e-07 1.65823e-07 1.16079e-07 -1.65331e-07 -1.18974e-07 1.68226e-07 2.14218e-07 -2.52926e-07 -8.49811e-08 1.23689e-07 -5.72906e-10 3.64001e-10 2.08905e-10 -1.55117e-10 -7.65669e-11 2.31684e-10 3.06333e-10 -5.58418e-10 2.52085e-10 8.06586e-10 -1.07521e-09 2.68625e-10 1.33619e-09 -1.61446e-09 2.7827e-10 1.8797e-09 -2.15682e-09 2.77117e-10 2.4152e-09 -2.67844e-09 2.63243e-10 2.91674e-09 -3.15121e-09 2.34474e-10 3.35409e-09 -3.53999e-09 1.85895e-10 3.68392e-09 -3.79406e-09 1.10141e-10 3.85018e-09 -3.84508e-09 -5.10582e-12 3.76891e-09 -3.5971e-09 -1.71812e-10 3.33444e-09 -2.93547e-09 -3.98967e-10 2.42227e-09 -1.72159e-09 -7.00679e-10 8.84348e-10 1.85347e-10 -1.06969e-09 -1.41871e-09 2.97455e-09 -1.55584e-09 -4.71415e-09 6.88411e-09 -2.16996e-09 -9.23237e-09 1.20316e-08 -2.79927e-09 -1.48913e-08 1.79814e-08 -3.09009e-09 -2.08327e-08 2.33139e-08 -2.48122e-09 -2.48393e-08 2.4854e-08 -1.472e-11 -2.31598e-08 1.93623e-08 3.79757e-09 -1.40458e-08 6.52674e-09 7.51906e-09 1.42272e-09 -1.06371e-08 9.21439e-09 1.87827e-08 -2.67944e-08 8.01173e-09 3.22656e-08 -3.60166e-08 3.751e-09 3.66758e-08 -3.56757e-08 -1.00008e-09 3.2099e-08 -2.87233e-08 -3.37565e-09 2.2993e-08 -1.90227e-08 -3.97029e-09 1.46447e-08 -7.65222e-09 -6.99243e-09 -1.22871e-09 1.16856e-09 -3.17479e-10 3.77632e-10 -1.10856e-09 1.04482e-09 -3.50818e-10 4.14561e-10 -9.8608e-10 9.29658e-10 -3.75171e-10 4.31593e-10 -8.85736e-10 8.54926e-10 -3.83115e-10 4.13925e-10 -8.4601e-10 8.64694e-10 -3.66492e-10 3.47808e-10 -9.16316e-10 1.0133e-09 -3.15833e-10 2.18851e-10 -1.15335e-09 1.35848e-09 -2.27275e-10 2.21449e-11 -1.61408e-09 1.95432e-09 -9.77383e-11 -2.42504e-10 -2.3522e-09 2.85419e-09 8.12555e-11 -5.83246e-10 -3.4186e-09 4.11409e-09 3.22e-10 -1.01749e-09 -4.87928e-09 5.80455e-09 6.48152e-10 -1.57342e-09 -6.80871e-09 8.00825e-09 1.08508e-09 -2.28462e-09 -9.28761e-09 1.07896e-08 1.64028e-09 -3.14229e-09 -1.23607e-08 1.41624e-08 2.31871e-09 -4.12034e-09 -1.59966e-08 1.80383e-08 3.09622e-09 -5.13783e-09 -2.00529e-08 2.2221e-08 4.01413e-09 -6.18222e-09 -2.426e-08 2.64116e-08 5.09079e-09 -7.24243e-09 -2.82953e-08 3.00404e-08 5.98544e-09 -7.73054e-09 -3.11536e-08 3.13176e-08 5.61603e-09 -5.78002e-09 -3.01235e-08 2.65913e-08 2.38828e-09 1.14387e-09 -2.05975e-08 1.08849e-08 -5.82853e-09 1.55411e-08 9.33661e-10 -1.51606e-08 -1.56356e-08 2.98625e-08 2.9757e-08 -4.58578e-08 -2.26284e-08 3.87292e-08 5.96432e-08 -7.36356e-08 -2.39501e-08 3.79424e-08 8.35835e-08 -9.13508e-08 -1.77443e-08 2.55115e-08 9.42484e-08 -9.35997e-08 -5.66455e-09 5.01587e-09 8.85057e-08 -8.06308e-08 6.19598e-09 -1.40708e-08 6.9893e-08 -5.8745e-08 1.19036e-08 -2.30516e-08 4.50793e-08 -3.48455e-08 1.23917e-08 -2.26255e-08 2.30229e-08 -1.03562e-08 1.89796e-08 -3.16462e-08 -1.29875e-09 9.86866e-10 -5.41701e-10 8.53588e-10 -6.76633e-10 3.3784e-10 -5.91735e-10 9.30528e-10 -9.43853e-12 -3.37988e-10 -6.06191e-10 9.53618e-10 6.63634e-10 -9.94625e-10 -5.64442e-10 8.95433e-10 1.29106e-09 -1.57604e-09 -4.45631e-10 7.30617e-10 1.81428e-09 -2.0243e-09 -2.33685e-10 4.43711e-10 2.18049e-09 -2.29371e-09 7.48405e-11 3.83797e-11 2.34732e-09 -2.34482e-09 4.73521e-10 -4.76029e-10 2.28306e-09 -2.15219e-09 9.71318e-10 -1.10219e-09 1.95961e-09 -1.67603e-09 1.58836e-09 -1.87193e-09 1.32411e-09 -8.51785e-10 2.35897e-09 -2.8313e-09 3.0734e-10 3.78247e-10 3.32468e-09 -4.01027e-09 -1.15066e-09 2.09401e-09 4.45372e-09 -5.39707e-09 -3.10783e-09 4.28599e-09 5.67847e-09 -6.85664e-09 -5.48443e-09 6.79575e-09 6.83759e-09 -8.14891e-09 -8.0271e-09 9.2511e-09 7.8233e-09 -9.0473e-09 -1.02381e-08 1.10558e-08 8.56291e-09 -9.38065e-09 -1.13987e-08 1.12038e-08 8.20744e-09 -8.01251e-09 -1.01561e-08 7.83034e-09 4.22514e-09 -1.8994e-09 -4.16453e-09 -1.67358e-09 -6.52923e-09 1.23673e-08 9.0778e-09 -1.88673e-08 -2.60078e-08 3.57972e-08 2.93345e-08 -4.14095e-08 -4.34649e-08 5.55399e-08 5.34352e-08 -6.64505e-08 -5.33025e-08 6.63178e-08 7.71586e-08 -8.81058e-08 -5.01258e-08 6.10731e-08 9.52118e-08 -1.00241e-07 -3.14856e-08 3.65144e-08 1.00736e-07 -9.78952e-08 -2.83888e-09 -1.97378e-12 9.09756e-08 -8.13929e-08 2.31845e-08 -3.27672e-08 6.93152e-08 -5.68224e-08 3.52226e-08 -4.77154e-08 4.21839e-08 -3.139e-08 3.33529e-08 -4.41468e-08 1.93361e-08 -7.77792e-09 4.37583e-08 -5.53165e-08 -1.34105e-09 9.11001e-10 -1.26166e-09 1.69171e-09 -4.82253e-10 1.21947e-11 -1.37494e-09 1.845e-09 4.47604e-10 -9.4092e-10 -1.41557e-09 1.90889e-09 1.41312e-09 -1.90834e-09 -1.3497e-09 1.84492e-09 2.37146e-09 -2.84624e-09 -1.14954e-09 1.62432e-09 3.28073e-09 -3.71787e-09 -8.03564e-10 1.2407e-09 4.11186e-09 -4.50372e-09 -3.23633e-10 7.1549e-10 4.85152e-09 -5.19374e-09 2.73681e-10 6.85337e-11 5.49303e-09 -5.77626e-09 9.92691e-10 -7.09467e-10 6.01323e-09 -6.21875e-09 1.87682e-09 -1.6713e-09 6.36171e-09 -6.44918e-09 2.98105e-09 -2.89359e-09 6.45956e-09 -6.38075e-09 4.35864e-09 -4.43745e-09 6.2039e-09 -5.90883e-09 5.98558e-09 -6.28064e-09 5.51011e-09 -4.97815e-09 7.67201e-09 -8.20398e-09 4.37816e-09 -3.65742e-09 9.1092e-09 -9.82994e-09 2.93671e-09 -2.19417e-09 9.98144e-09 -1.0724e-08 1.58239e-09 -1.16314e-09 9.94154e-09 -1.03608e-08 1.15312e-09 -1.69219e-09 7.5532e-09 -7.01413e-09 3.04447e-09 -5.49798e-09 -5.97159e-10 3.05066e-09 9.02839e-09 -1.42382e-08 -1.79906e-08 2.32004e-08 2.04029e-08 -2.82926e-08 -4.45304e-08 5.24201e-08 3.66991e-08 -4.68538e-08 -6.63869e-08 7.65417e-08 5.7398e-08 -6.91256e-08 -7.84126e-08 9.01402e-08 7.88171e-08 -8.90607e-08 -7.14654e-08 8.1709e-08 9.56072e-08 -1.00184e-07 -4.11858e-08 4.57625e-08 1.00337e-07 -9.7172e-08 3.07896e-09 -6.24429e-09 8.99796e-08 -8.01416e-08 4.25186e-08 -5.23565e-08 6.78868e-08 -5.52451e-08 6.03055e-08 -7.29472e-08 4.05035e-08 -2.97075e-08 5.49358e-08 -6.57317e-08 1.7911e-08 -6.77377e-09 6.65714e-08 -7.77087e-08 -1.37293e-09 1.02411e-09 -2.0921e-09 2.44092e-09 -6.75213e-10 2.89005e-10 -2.28419e-09 2.67039e-09 9.37605e-11 -5.12266e-10 -2.37597e-09 2.79447e-09 9.2316e-10 -1.36741e-09 -2.32551e-09 2.76976e-09 1.79948e-09 -2.26312e-09 -2.10331e-09 2.56695e-09 2.71111e-09 -3.1897e-09 -1.70838e-09 2.18697e-09 3.65024e-09 -4.14042e-09 -1.16708e-09 1.65726e-09 4.60872e-09 -5.10261e-09 -5.00173e-10 9.94064e-10 5.56795e-09 -6.04816e-09 3.07441e-10 1.72767e-10 6.48898e-09 -6.92744e-09 1.32568e-09 -8.87227e-10 7.30574e-09 -7.65557e-09 2.64597e-09 -2.29614e-09 7.92331e-09 -8.12769e-09 4.33802e-09 -4.13364e-09 8.22948e-09 -8.23141e-09 6.3893e-09 -6.38737e-09 8.12851e-09 -7.89962e-09 8.5427e-09 -8.7716e-09 7.5811e-09 -7.14447e-09 1.03725e-08 -1.08092e-08 6.66575e-09 -6.13183e-09 1.13341e-08 -1.18681e-08 5.66911e-09 -5.33228e-09 1.07215e-08 -1.10583e-08 5.36121e-09 -5.82065e-09 6.49674e-09 -6.0373e-09 7.02036e-09 -9.15193e-09 -5.34035e-09 7.47192e-09 1.22597e-08 -1.68408e-08 -2.80391e-08 3.26202e-08 2.22933e-08 -2.94613e-08 -5.98086e-08 6.69766e-08 3.73375e-08 -4.71531e-08 -8.64116e-08 9.62273e-08 5.7586e-08 -6.93579e-08 -1.01817e-07 1.13589e-07 7.90149e-08 -8.93724e-08 -9.19787e-08 1.02336e-07 9.59893e-08 -1.0055e-07 -5.03245e-08 5.48849e-08 1.00686e-07 -9.74031e-08 9.46661e-09 -1.27494e-08 9.00676e-08 -8.00674e-08 6.22709e-08 -7.22711e-08 6.76991e-08 -5.4942e-08 8.56416e-08 -9.83987e-08 4.01148e-08 -2.92755e-08 7.65469e-08 -8.73862e-08 1.76028e-08 -6.48262e-09 8.88185e-08 -9.99387e-08 -1.4151e-09 1.15374e-09 -2.73922e-09 3.00057e-09 -8.90234e-10 5.94949e-10 -3.00473e-09 3.30001e-09 -2.95786e-10 -4.04862e-11 -3.16548e-09 3.50175e-09 3.82169e-10 -7.66859e-10 -3.17879e-09 3.56348e-09 1.15733e-09 -1.59637e-09 -3.01465e-09 3.45369e-09 2.0404e-09 -2.53583e-09 -2.67311e-09 3.16854e-09 3.0313e-09 -3.5765e-09 -2.1772e-09 2.7224e-09 4.11295e-09 -4.6903e-09 -1.53476e-09 2.11211e-09 5.24426e-09 -5.82263e-09 -7.10196e-10 1.28856e-09 6.35848e-09 -6.8978e-09 3.89424e-10 1.49891e-10 7.36958e-09 -7.81418e-09 1.89056e-09 -1.44596e-09 8.16904e-09 -8.45511e-09 3.87574e-09 -3.58968e-09 8.632e-09 -8.7087e-09 6.33126e-09 -6.25456e-09 8.66634e-09 -8.50383e-09 8.94762e-09 -9.11014e-09 8.23712e-09 -7.85539e-09 1.12037e-08 -1.15855e-08 7.4193e-09 -6.90431e-09 1.23725e-08 -1.28875e-08 6.44887e-09 -6.06008e-09 1.14094e-08 -1.17982e-08 6.01773e-09 -6.31411e-09 5.65368e-09 -5.3573e-09 7.33781e-09 -9.22511e-09 -9.46963e-09 1.13569e-08 1.20964e-08 -1.64461e-08 -3.70488e-08 4.13984e-08 2.17611e-08 -2.8932e-08 -7.40996e-08 8.12705e-08 3.69271e-08 -4.68794e-08 -1.06092e-07 1.16044e-07 5.75638e-08 -6.96698e-08 -1.25514e-07 1.3762e-07 7.9437e-08 -9.00176e-08 -1.12801e-07 1.23381e-07 9.67758e-08 -1.01318e-07 -5.94393e-08 6.39814e-08 1.01432e-07 -9.80003e-08 1.61019e-08 -1.95333e-08 9.04833e-08 -8.02789e-08 8.23677e-08 -9.25722e-08 6.77766e-08 -5.48704e-08 1.11227e-07 -1.24133e-07 3.99476e-08 -2.90648e-08 9.82485e-08 -1.09131e-07 1.74914e-08 -6.32154e-09 1.11082e-07 -1.22251e-07 -1.47749e-09 1.24561e-09 -3.24049e-09 3.47238e-09 -1.01051e-09 7.43853e-10 -3.57303e-09 3.83969e-09 -4.70468e-10 1.5791e-10 -3.81919e-09 4.13175e-09 1.66261e-10 -5.39478e-10 -3.93667e-09 4.30989e-09 9.26975e-10 -1.37181e-09 -3.89256e-09 4.3374e-09 1.83053e-09 -2.35074e-09 -3.67554e-09 4.19574e-09 2.8794e-09 -3.46732e-09 -3.28974e-09 3.87765e-09 4.04859e-09 -4.67912e-09 -2.71982e-09 3.35035e-09 5.2838e-09 -5.91865e-09 -1.89889e-09 2.53375e-09 6.50434e-09 -7.08955e-09 -7.15955e-10 1.30116e-09 7.60488e-09 -8.08115e-09 9.82443e-10 -5.06172e-10 8.45437e-09 -8.75222e-09 3.29273e-09 -2.99489e-09 8.93318e-09 -8.99098e-09 6.18261e-09 -6.1248e-09 8.9234e-09 -8.71987e-09 9.28551e-09 -9.48904e-09 8.417e-09 -7.98073e-09 1.19858e-08 -1.2422e-08 7.48846e-09 -6.91097e-09 1.34244e-08 -1.40019e-08 6.37413e-09 -5.85491e-09 1.22455e-08 -1.27647e-08 5.68654e-09 -5.78079e-09 5.15747e-09 -5.06323e-09 6.63257e-09 -8.33946e-09 -1.31499e-08 1.48567e-08 1.1085e-08 -1.53893e-08 -4.57138e-08 5.00181e-08 2.07767e-08 -2.81523e-08 -8.85338e-08 9.59094e-08 3.64108e-08 -4.65697e-08 -1.26098e-07 1.36257e-07 5.76012e-08 -7.01305e-08 -1.49928e-07 1.62458e-07 8.00274e-08 -9.08672e-08 -1.34088e-07 1.44928e-07 9.78017e-08 -1.02307e-07 -6.8507e-08 7.3012e-08 1.02385e-07 -9.87687e-08 2.3053e-08 -2.66691e-08 9.10277e-08 -8.05679e-08 1.02898e-07 -1.13358e-07 6.79055e-08 -5.48153e-08 1.37127e-07 -1.50217e-07 3.9777e-08 -2.88577e-08 1.20034e-07 -1.30953e-07 1.73806e-08 -6.14791e-09 1.33452e-07 -1.44685e-07 -1.55974e-09 1.31282e-09 -3.70811e-09 3.95503e-09 -1.06241e-09 7.78946e-10 -4.11059e-09 4.39406e-09 -4.88253e-10 1.55914e-10 -4.4503e-09 4.78264e-09 1.88092e-10 -5.83981e-10 -4.69123e-09 5.08712e-09 9.95148e-10 -1.46702e-09 -4.79367e-09 5.26554e-09 1.95274e-09 -2.50396e-09 -4.73138e-09 5.2826e-09 3.06292e-09 -3.6844e-09 -4.48275e-09 5.10423e-09 4.30001e-09 -4.96602e-09 -3.99965e-09 4.66565e-09 5.60657e-09 -6.27524e-09 -3.18569e-09 3.85437e-09 6.89372e-09 -7.50884e-09 -1.90212e-09 2.51724e-09 8.0424e-09 -8.53279e-09 2.19976e-11 4.68398e-10 8.91113e-09 -9.19678e-09 2.70181e-09 -2.41616e-09 9.34852e-09 -9.36535e-09 6.08443e-09 -6.0676e-09 9.24021e-09 -8.96571e-09 9.72635e-09 -1.00008e-08 8.58089e-09 -8.05048e-09 1.29004e-08 -1.34308e-08 7.4714e-09 -6.78268e-09 1.46312e-08 -1.53199e-08 6.12902e-09 -5.43639e-09 1.33635e-08 -1.40561e-08 5.10916e-09 -4.96612e-09 5.08414e-09 -5.22719e-09 5.63185e-09 -7.17052e-09 -1.64803e-08 1.8019e-08 9.81967e-09 -1.41311e-08 -5.43226e-08 5.8634e-08 1.96451e-08 -2.72763e-08 -1.03408e-07 1.11039e-07 3.58362e-08 -4.62065e-08 -1.46521e-07 1.56892e-07 5.76553e-08 -7.06955e-08 -1.7523e-07 1.8827e-07 8.07378e-08 -9.18663e-08 -1.55908e-07 1.67036e-07 9.90227e-08 -1.03474e-07 -7.74919e-08 8.19427e-08 1.03505e-07 -9.96699e-08 3.03899e-08 -3.42245e-08 9.16635e-08 -8.08958e-08 1.23964e-07 -1.34732e-07 6.80495e-08 -5.47411e-08 1.63411e-07 -1.7672e-07 3.95658e-08 -2.86176e-08 1.41887e-07 -1.52835e-07 1.7236e-08 -5.93344e-09 1.55951e-07 -1.67253e-07 -1.65888e-09 1.3767e-09 -4.21812e-09 4.5003e-09 -1.09126e-09 7.69496e-10 -4.69525e-09 5.01702e-09 -4.41304e-10 6.91743e-11 -5.13338e-09 5.50551e-09 3.12986e-10 -7.48191e-10 -5.50128e-09 5.93648e-09 1.19577e-09 -1.70498e-09 -5.75484e-09 6.26405e-09 2.22551e-09 -2.81214e-09 -5.85092e-09 6.43755e-09 3.40395e-09 -4.05945e-09 -5.742e-09 6.3975e-09 4.70623e-09 -5.40643e-09 -5.34922e-09 6.04941e-09 6.07845e-09 -6.78091e-09 -4.53995e-09 5.24241e-09 7.42716e-09 -8.06837e-09 -3.14619e-09 3.78741e-09 8.62116e-09 -9.11853e-09 -9.65501e-10 1.46287e-09 9.49528e-09 -9.76562e-09 2.13824e-09 -1.86791e-09 9.88016e-09 -9.83748e-09 6.08142e-09 -6.1241e-09 9.63414e-09 -9.26732e-09 1.03171e-08 -1.06839e-08 8.7861e-09 -8.15488e-09 1.40075e-08 -1.46387e-08 7.46425e-09 -6.63797e-09 1.6076e-08 -1.69022e-08 5.85112e-09 -4.93735e-09 1.48541e-08 -1.57679e-08 4.4342e-09 -4.01429e-09 5.50376e-09 -5.92367e-09 4.4677e-09 -5.82487e-09 -1.94691e-08 2.08263e-08 8.37215e-09 -1.27085e-08 -6.29559e-08 6.72923e-08 1.83742e-08 -2.63011e-08 -1.18813e-07 1.26739e-07 3.51972e-08 -4.5772e-08 -1.67366e-07 1.77941e-07 5.77124e-08 -7.13702e-08 -2.01604e-07 2.15262e-07 8.15739e-08 -9.30103e-08 -1.78317e-07 1.89754e-07 1.00444e-07 -1.04823e-07 -8.63599e-08 9.07392e-08 1.04792e-07 -1.00705e-07 3.81814e-08 -4.22687e-08 9.23905e-08 -8.12575e-08 1.45675e-07 -1.56808e-07 6.82045e-08 -5.4644e-08 1.9015e-07 -2.0371e-07 3.93098e-08 -2.83392e-08 1.63796e-07 -1.74766e-07 1.70519e-08 -5.67292e-09 1.78594e-07 -1.89973e-07 -1.77624e-09 1.452e-09 -4.80308e-09 5.12731e-09 -1.12532e-09 7.58573e-10 -5.36137e-09 5.72811e-09 -3.85966e-10 -3.35388e-11 -5.90072e-09 6.32023e-09 4.6084e-10 -9.43187e-10 -6.39468e-09 6.87703e-09 1.43477e-09 -1.98878e-09 -6.79516e-09 7.34917e-09 2.55069e-09 -3.17939e-09 -7.04377e-09 7.67247e-09 3.81033e-09 -4.50618e-09 -7.07317e-09 7.76902e-09 5.1929e-09 -5.93394e-09 -6.76821e-09 7.50924e-09 6.64447e-09 -7.38718e-09 -5.96303e-09 6.70573e-09 8.06912e-09 -8.74269e-09 -4.44262e-09 5.11619e-09 9.31858e-09 -9.83134e-09 -1.97034e-09 2.4831e-09 1.02071e-08 -1.04529e-08 1.60808e-09 -1.36233e-09 1.05244e-08 -1.04094e-08 6.20214e-09 -6.31717e-09 1.01115e-08 -9.62985e-09 1.11066e-08 -1.15882e-08 9.03817e-09 -8.28199e-09 1.53369e-08 -1.60931e-08 7.47185e-09 -6.50015e-09 1.78016e-08 -1.87733e-08 5.55725e-09 -4.38351e-09 1.68062e-08 -1.79799e-08 3.68075e-09 -2.93997e-09 6.49704e-09 -7.23783e-09 3.14104e-09 -4.29521e-09 -2.20853e-08 2.32395e-08 6.72448e-09 -1.11051e-08 -7.1648e-08 7.60286e-08 1.69493e-08 -2.52275e-08 -1.34834e-07 1.43112e-07 3.45049e-08 -4.52637e-08 -1.88612e-07 1.99371e-07 5.77748e-08 -7.21843e-08 -2.29278e-07 2.43687e-07 8.25653e-08 -9.43136e-08 -2.01348e-07 2.13096e-07 1.02089e-07 -1.06383e-07 -9.50776e-08 9.93715e-08 1.0627e-07 -1.01896e-07 4.64952e-08 -5.08693e-08 9.32284e-08 -8.16652e-08 1.68148e-07 -1.79712e-07 6.83815e-08 -5.45324e-08 2.17411e-07 -2.31261e-07 3.90143e-08 -2.80232e-08 1.85748e-07 -1.96739e-07 1.68276e-08 -5.36464e-09 2.01393e-07 -2.12856e-07 -1.91153e-09 1.54494e-09 -5.47267e-09 5.83926e-09 -1.17507e-09 7.60416e-10 -6.11809e-09 6.53275e-09 -3.41674e-10 -1.27788e-10 -6.76469e-09 7.23415e-09 6.03241e-10 -1.13639e-09 -7.38464e-09 7.9178e-09 1.67667e-09 -2.28114e-09 -7.9279e-09 8.53237e-09 2.89035e-09 -3.56915e-09 -8.32512e-09 9.00391e-09 4.2481e-09 -4.99527e-09 -8.48993e-09 9.23709e-09 5.73042e-09 -6.52415e-09 -8.27609e-09 9.06982e-09 7.28577e-09 -8.07883e-09 -7.47155e-09 8.26461e-09 8.80996e-09 -9.52809e-09 -5.81004e-09 6.52817e-09 1.01372e-08 -1.06689e-08 -3.00481e-09 3.53656e-09 1.1046e-08 -1.12636e-08 1.12759e-09 -9.09945e-10 1.12874e-08 -1.10819e-08 6.47715e-09 -6.68268e-09 1.06707e-08 -1.00489e-08 1.21327e-08 -1.27544e-08 9.33716e-09 -8.44474e-09 1.69147e-08 -1.78072e-08 7.50122e-09 -6.37017e-09 1.98258e-08 -2.09569e-08 5.26043e-09 -3.78916e-09 1.9299e-08 -2.07703e-08 2.85158e-09 -1.73123e-09 8.16281e-09 -9.28317e-09 1.63723e-09 -2.55757e-09 -2.4281e-08 2.52014e-08 4.84613e-09 -9.29646e-09 -8.04401e-08 8.48904e-08 1.53508e-08 -2.40529e-08 -1.51591e-07 1.60294e-07 3.37667e-08 -4.46637e-08 -2.10205e-07 2.21102e-07 5.78207e-08 -7.31488e-08 -2.58531e-07 2.7386e-07 8.37189e-08 -9.57547e-08 -2.24992e-07 2.37028e-07 1.03945e-07 -1.08148e-07 -1.03619e-07 1.07822e-07 1.07921e-07 -1.03227e-07 5.53992e-08 -6.00934e-08 9.4162e-08 -8.20991e-08 1.91515e-07 -2.03578e-07 6.85666e-08 -5.43939e-08 2.45266e-07 -2.59439e-07 3.86699e-08 -2.76608e-08 2.07738e-07 -2.18747e-07 1.65559e-08 -5.0035e-09 2.24362e-07 -2.35915e-07 -2.06689e-09 1.65585e-09 -6.22859e-09 6.63963e-09 -1.24184e-09 7.78989e-10 -6.9716e-09 7.43445e-09 -3.12729e-10 -2.07881e-10 -7.72887e-09 8.24948e-09 7.32589e-10 -1.31917e-09 -8.47759e-09 9.06417e-09 1.91084e-09 -2.571e-09 -9.16407e-09 9.82422e-09 3.23439e-09 -3.97167e-09 -9.71005e-09 1.04473e-08 4.70715e-09 -5.51626e-09 -1.00136e-08 1.08227e-08 6.3125e-09 -7.17301e-09 -9.89519e-09 1.07557e-08 8.00059e-09 -8.86415e-09 -9.0923e-09 9.95586e-09 9.65802e-09 -1.04354e-08 -7.2744e-09 8.05181e-09 1.10914e-08 -1.16506e-08 -4.08011e-09 4.63931e-09 1.20315e-08 -1.2226e-08 7.00895e-10 -5.06352e-10 1.21882e-08 -1.18793e-08 6.93583e-09 -7.24471e-09 1.13162e-08 -1.05213e-08 1.34541e-08 -1.4249e-08 9.6663e-09 -8.63715e-09 1.87691e-08 -1.97982e-08 7.55303e-09 -6.25928e-09 2.21708e-08 -2.34645e-08 4.97299e-09 -3.15518e-09 2.24077e-08 -2.42255e-08 1.94469e-09 -3.89759e-10 1.06143e-08 -1.21692e-08 -3.32805e-11 -5.75767e-10 -2.59871e-08 2.65962e-08 2.70737e-09 -7.26116e-09 -8.93874e-08 9.39412e-08 1.35599e-08 -2.27842e-08 -1.69242e-07 1.78466e-07 3.30064e-08 -4.39609e-08 -2.32041e-07 2.42996e-07 5.78292e-08 -7.42918e-08 -2.89725e-07 3.06187e-07 8.507e-08 -9.73221e-08 -2.49186e-07 2.61438e-07 1.06008e-07 -1.10138e-07 -1.11983e-07 1.16114e-07 1.09747e-07 -1.04705e-07 6.49585e-08 -7.00005e-08 9.51949e-08 -8.25547e-08 2.15919e-07 -2.28559e-07 6.87571e-08 -5.42259e-08 2.73787e-07 -2.88318e-07 3.82763e-08 -2.72476e-08 2.29766e-07 -2.40794e-07 1.62327e-08 -4.58541e-09 2.47514e-07 -2.59161e-07 -2.24356e-09 1.79179e-09 -7.07166e-09 7.52343e-09 -1.33663e-09 8.27477e-10 -7.92069e-09 8.42984e-09 -3.14014e-10 -2.59727e-10 -8.79602e-09 9.36976e-09 8.37968e-10 -1.48336e-09 -9.67934e-09 1.03247e-08 2.13258e-09 -2.85549e-09 -1.05149e-08 1.12378e-08 3.57993e-09 -4.38426e-09 -1.1217e-08 1.20213e-08 5.18696e-09 -6.07001e-09 -1.16674e-08 1.25505e-08 6.94068e-09 -7.88414e-09 -1.16559e-08 1.25993e-08 8.79422e-09 -9.74741e-09 -1.08613e-08 1.18145e-08 1.06244e-08 -1.14824e-08 -8.86832e-09 9.72631e-09 1.22011e-08 -1.28043e-08 -5.21754e-09 5.82074e-09 1.31999e-08 -1.33593e-08 3.28529e-10 -1.69149e-10 1.32522e-08 -1.28155e-08 7.61661e-09 -8.05334e-09 1.20609e-08 -1.10423e-08 1.51475e-08 -1.61661e-08 1.00292e-08 -8.86393e-09 2.08993e-08 -2.20646e-08 7.63316e-09 -6.17971e-09 2.48392e-08 -2.62927e-08 4.71591e-09 -2.5045e-09 2.62292e-08 -2.84406e-08 9.64984e-10 1.03811e-09 1.39349e-08 -1.5938e-08 -1.87128e-09 1.55339e-09 -2.70542e-08 2.73721e-08 2.58374e-10 -4.96483e-09 -9.85605e-08 1.03267e-07 1.15536e-08 -2.14389e-08 -1.87999e-07 1.97885e-07 3.22741e-08 -4.31521e-08 -2.53933e-07 2.64811e-07 5.77718e-08 -7.56491e-08 -3.23319e-07 3.41196e-07 8.67031e-08 -9.90106e-08 -2.73747e-07 2.86054e-07 1.08268e-07 -1.12416e-07 -1.20235e-07 1.24383e-07 1.11761e-07 -1.06353e-07 7.5224e-08 -8.06314e-08 9.63472e-08 -8.30409e-08 2.41522e-07 -2.54828e-07 6.89628e-08 -5.40361e-08 3.03043e-07 -3.1797e-07 3.7842e-08 -2.6783e-08 2.51837e-07 -2.62896e-07 1.58543e-08 -4.10462e-09 2.7086e-07 -2.82609e-07 -2.44361e-09 1.94515e-09 -7.99692e-09 8.49538e-09 -1.44356e-09 8.83051e-10 -8.96358e-09 9.52409e-09 -3.19292e-10 -3.103e-10 -9.97113e-09 1.06007e-08 9.43199e-10 -1.64781e-09 -1.10002e-08 1.17048e-08 2.35634e-09 -3.14361e-09 -1.19933e-08 1.27806e-08 3.93351e-09 -4.81121e-09 -1.28613e-08 1.3739e-08 5.68874e-09 -6.65822e-09 -1.34759e-08 1.44454e-08 7.61627e-09 -8.65962e-09 -1.35902e-08 1.46335e-08 9.66994e-09 -1.07357e-08 -1.28207e-08 1.38864e-08 1.17221e-08 -1.2686e-08 -1.06361e-08 1.16e-08 1.34934e-08 -1.41555e-08 -6.4511e-09 7.11317e-09 1.45773e-08 -1.47081e-08 2.49901e-11 1.05847e-10 1.4508e-08 -1.39219e-08 8.56348e-09 -9.1496e-09 1.29163e-08 -1.15977e-08 1.7321e-08 -1.86396e-08 1.04068e-08 -9.13406e-09 2.32867e-08 -2.45595e-08 7.74952e-09 -6.14729e-09 2.78228e-08 -2.9425e-08 4.52081e-09 -1.86031e-09 3.0868e-08 -3.35285e-08 -4.11133e-11 2.62614e-09 1.81895e-08 -2.07745e-08 -3.95503e-09 3.96611e-09 -2.7521e-08 2.75099e-08 -2.39732e-09 -2.32427e-09 -1.07982e-07 1.12704e-07 9.2959e-09 -2.00372e-08 -2.08163e-07 2.18905e-07 3.16596e-08 -4.22219e-08 -2.75569e-07 2.86131e-07 5.75593e-08 -7.71836e-08 -3.59902e-07 3.79527e-07 8.87528e-08 -1.00802e-07 -2.98281e-07 3.1033e-07 1.10609e-07 -1.15029e-07 -1.2862e-07 1.3304e-07 1.13942e-07 -1.08156e-07 8.62248e-08 -9.20107e-08 9.76063e-08 -8.35346e-08 2.68503e-07 -2.82575e-07 6.91683e-08 -5.38124e-08 3.33106e-07 -3.48462e-07 3.73542e-08 -2.62558e-08 2.73973e-07 -2.85071e-07 1.5411e-08 -3.55229e-09 2.94412e-07 -3.0627e-07 -2.66791e-09 2.11654e-09 -9.02105e-09 9.57242e-09 -1.56295e-09 9.47102e-10 -1.01125e-08 1.07284e-08 -3.29931e-10 -3.54025e-10 -1.12569e-08 1.19408e-08 1.03928e-09 -1.80112e-09 -1.24378e-08 1.31996e-08 2.5669e-09 -3.42157e-09 -1.36008e-08 1.44554e-08 4.28097e-09 -5.23884e-09 -1.46553e-08 1.56131e-08 6.20106e-09 -7.26848e-09 -1.54625e-08 1.653e-08 8.32994e-09 -9.49583e-09 -1.5735e-08 1.69009e-08 1.06295e-08 -1.18358e-08 -1.50179e-08 1.62241e-08 1.29601e-08 -1.40638e-08 -1.26288e-08 1.37324e-08 1.49961e-08 -1.57489e-08 -7.8162e-09 8.56898e-09 1.62238e-08 -1.63104e-08 -2.15789e-10 3.02429e-10 1.60126e-08 -1.52585e-08 9.82417e-09 -1.05783e-08 1.39066e-08 -1.21601e-08 2.01477e-08 -2.18943e-08 1.07625e-08 -9.4692e-09 2.58562e-08 -2.71494e-08 7.92285e-09 -6.1884e-09 3.11004e-08 -3.28348e-08 4.44342e-09 -1.30906e-09 3.64446e-08 -3.95789e-08 -1.02474e-09 4.36621e-09 2.36619e-08 -2.70034e-08 -6.28067e-09 6.68844e-09 -2.72892e-08 2.68815e-08 -5.46521e-09 7.57134e-10 -1.17429e-07 1.22137e-07 6.73386e-09 -1.86213e-08 -2.30148e-07 2.42036e-07 3.12964e-08 -4.11879e-08 -2.96382e-07 3.06273e-07 5.70401e-08 -7.87155e-08 -4.00147e-07 4.21822e-07 9.14251e-08 -1.02857e-07 -3.22103e-07 3.33535e-07 1.12859e-07 -1.18008e-07 -1.37762e-07 1.42912e-07 1.16334e-07 -1.10102e-07 9.80043e-08 -1.04237e-07 9.89795e-08 -8.40259e-08 2.97072e-07 -3.12025e-07 6.93696e-08 -5.35532e-08 3.64045e-07 -3.79861e-07 3.67935e-08 -2.56586e-08 2.9619e-07 -3.07325e-07 1.48935e-08 -2.917e-09 3.18187e-07 -3.30163e-07 -2.91463e-09 2.32578e-09 -1.01453e-08 1.07341e-08 -1.73356e-09 1.07201e-09 -1.13688e-08 1.20303e-08 -4.06535e-10 -3.35989e-10 -1.26531e-08 1.33956e-08 1.08343e-09 -1.91644e-09 -1.39951e-08 1.48281e-08 2.75514e-09 -3.689e-09 -1.53478e-08 1.62817e-08 4.62915e-09 -5.67911e-09 -1.66163e-08 1.76662e-08 6.73472e-09 -7.9151e-09 -1.76512e-08 1.88315e-08 9.09243e-09 -1.03987e-08 -1.81342e-08 1.94405e-08 1.16814e-08 -1.30601e-08 -1.75111e-08 1.88899e-08 1.43632e-08 -1.56458e-08 -1.4917e-08 1.61996e-08 1.67662e-08 -1.76691e-08 -9.38379e-09 1.02867e-08 1.82475e-08 -1.82664e-08 -3.64278e-10 3.83201e-10 1.7826e-08 -1.69505e-08 1.14055e-08 -1.2281e-08 1.51555e-08 -1.2711e-08 2.39477e-08 -2.63922e-08 1.10503e-08 -9.88663e-09 2.84151e-08 -2.95788e-08 8.22695e-09 -6.37624e-09 3.46518e-08 -3.65025e-08 4.60304e-09 -8.50716e-10 4.30503e-08 -4.68026e-08 -2.13961e-09 6.19397e-09 3.06145e-08 -3.46689e-08 -8.76343e-09 9.76452e-09 -2.63198e-08 2.53187e-08 -9.01233e-09 4.16507e-09 -1.2692e-07 1.31767e-07 3.76272e-09 -1.72567e-08 -2.54525e-07 2.68019e-07 3.12455e-08 -4.01905e-08 -3.15714e-07 3.24659e-07 5.60465e-08 -7.98578e-08 -4.44575e-07 4.68386e-07 9.4645e-08 -1.05574e-07 -3.44647e-07 3.55576e-07 1.15047e-07 -1.2124e-07 -1.48578e-07 1.54772e-07 1.19064e-07 -1.12193e-07 1.10757e-07 -1.17628e-07 1.00492e-07 -8.4518e-08 3.27472e-07 -3.43445e-07 6.95743e-08 -5.32667e-08 3.9592e-07 -4.12228e-07 3.61396e-08 -2.49865e-08 3.18472e-07 -3.29625e-07 1.42924e-08 -2.18161e-09 3.42205e-07 -3.54316e-07 -3.18485e-09 2.55313e-09 -1.13399e-08 1.19716e-08 -1.91831e-09 1.20697e-09 -1.2713e-08 1.34244e-08 -4.89231e-10 -3.14478e-10 -1.41684e-08 1.49722e-08 1.12489e-09 -2.02809e-09 -1.5699e-08 1.66022e-08 2.93485e-09 -3.94218e-09 -1.72555e-08 1.82628e-08 4.95421e-09 -6.08786e-09 -1.876e-08 1.98937e-08 7.23838e-09 -8.54408e-09 -2.00736e-08 2.13793e-08 9.86068e-09 -1.13409e-08 -2.08279e-08 2.23081e-08 1.28011e-08 -1.43983e-08 -2.03711e-08 2.19683e-08 1.59368e-08 -1.74805e-08 -1.75986e-08 1.91423e-08 1.89398e-08 -2.02002e-08 -1.1328e-08 1.25884e-08 2.10143e-08 -2.08347e-08 -3.27871e-10 1.48242e-10 2.00667e-08 -1.91952e-08 1.31681e-08 -1.40396e-08 1.69664e-08 -1.33743e-08 2.93448e-08 -3.29369e-08 1.12015e-08 -1.0352e-08 3.0598e-08 -3.14474e-08 8.62426e-09 -6.64058e-09 3.84545e-08 -4.04382e-08 5.0291e-09 -7.18566e-10 5.0862e-08 -5.51725e-08 -2.9923e-09 8.04898e-09 3.92512e-08 -4.43079e-08 -1.17291e-08 1.31883e-08 -2.44603e-08 2.30012e-08 -1.27605e-08 8.01839e-09 -1.36647e-07 1.41389e-07 2.18239e-10 -1.60826e-08 -2.82153e-07 2.98018e-07 3.1951e-08 -3.97168e-08 -3.33056e-07 3.40821e-07 5.47672e-08 -8.05178e-08 -4.93192e-07 5.18943e-07 9.77396e-08 -1.08944e-07 -3.66545e-07 3.7775e-07 1.17602e-07 -1.24531e-07 -1.61402e-07 1.68332e-07 1.22166e-07 -1.14407e-07 1.24913e-07 -1.32671e-07 1.02122e-07 -8.49824e-08 3.59982e-07 -3.77121e-07 6.97649e-08 -5.29442e-08 4.28789e-07 -4.45609e-07 3.53723e-08 -2.42234e-08 3.40778e-07 -3.51927e-07 1.35904e-08 -1.31893e-09 3.66501e-07 -3.78773e-07 -3.48409e-09 2.76737e-09 -1.26423e-08 1.3359e-08 -2.05173e-09 1.26036e-09 -1.41729e-08 1.49643e-08 -4.74255e-10 -3.90714e-10 -1.58061e-08 1.66711e-08 1.25011e-09 -2.19944e-09 -1.75308e-08 1.84801e-08 3.15113e-09 -4.21568e-09 -1.92995e-08 2.0364e-08 5.29418e-09 -6.51569e-09 -2.10676e-08 2.22891e-08 7.75983e-09 -9.19235e-09 -2.27462e-08 2.41787e-08 1.0649e-08 -1.23328e-08 -2.38904e-08 2.55741e-08 1.40052e-08 -1.58603e-08 -2.3691e-08 2.55461e-08 1.76978e-08 -1.96348e-08 -2.0865e-08 2.28021e-08 2.17299e-08 -2.38345e-08 -1.41999e-08 1.63045e-08 2.52517e-08 -2.47157e-08 1.98263e-10 -7.34214e-10 2.31003e-08 -2.21603e-08 1.49159e-08 -1.58559e-08 1.97353e-08 -1.45311e-08 3.72909e-08 -4.24951e-08 1.12452e-08 -1.0867e-08 3.20553e-08 -3.24334e-08 9.33543e-09 -7.29891e-09 4.24454e-08 -4.44819e-08 6.34135e-09 -1.13265e-09 6.00211e-08 -6.52298e-08 -4.00684e-09 1.01385e-08 4.97657e-08 -5.58974e-08 -1.49278e-08 1.66329e-08 -2.12566e-08 1.95515e-08 -1.70522e-08 1.25906e-08 -1.46697e-07 1.51158e-07 -3.62296e-09 -1.50413e-08 -3.14389e-07 3.33053e-07 3.37503e-08 -4.06516e-08 -3.48324e-07 3.55226e-07 5.42572e-08 -8.19133e-08 -5.45632e-07 5.73289e-07 1.00705e-07 -1.12153e-07 -3.89205e-07 4.00652e-07 1.20658e-07 -1.27977e-07 -1.75456e-07 1.82776e-07 1.25625e-07 -1.16757e-07 1.40957e-07 -1.49825e-07 1.03857e-07 -8.54033e-08 3.949e-07 -4.13354e-07 6.99359e-08 -5.25867e-08 4.62693e-07 -4.80043e-07 3.44884e-08 -2.33526e-08 3.63069e-07 -3.74205e-07 1.2768e-08 -2.45158e-10 3.91145e-07 -4.03667e-07 -3.79243e-09 3.01813e-09 -1.41131e-08 1.48874e-08 -2.24747e-09 1.3986e-09 -1.57915e-08 1.66403e-08 -5.59235e-10 -3.58819e-10 -1.75643e-08 1.84824e-08 1.268e-09 -2.27079e-09 -1.9452e-08 2.04548e-08 3.27713e-09 -4.40666e-09 -2.14584e-08 2.25879e-08 5.55706e-09 -6.87325e-09 -2.3562e-08 2.48781e-08 8.22285e-09 -9.80769e-09 -2.56858e-08 2.72706e-08 1.14146e-08 -1.33235e-08 -2.73602e-08 2.9269e-08 1.51995e-08 -1.73161e-08 -2.75331e-08 2.96497e-08 1.94952e-08 -2.19956e-08 -2.50069e-08 2.75074e-08 2.49669e-08 -2.80636e-08 -1.89699e-08 2.20665e-08 3.01353e-08 -2.91838e-08 1.46042e-09 -2.41182e-09 2.6655e-08 -2.55648e-08 1.69112e-08 -1.80014e-08 2.31255e-08 -1.64625e-08 4.85049e-08 -5.51679e-08 1.15367e-08 -1.13215e-08 3.2653e-08 -3.28683e-08 9.97388e-09 -7.25393e-09 4.67971e-08 -4.95171e-08 7.77789e-09 -2.47857e-09 7.04835e-08 -7.57828e-08 -4.8932e-09 1.24173e-08 6.27237e-08 -7.02478e-08 -1.84046e-08 2.12813e-08 -1.72595e-08 1.43828e-08 -2.24299e-08 1.72884e-08 -1.56051e-07 1.61192e-07 -7.83628e-09 -1.34567e-08 -3.52486e-07 3.73779e-07 3.4832e-08 -4.29906e-08 -3.62865e-07 3.71024e-07 5.53557e-08 -8.51393e-08 -6.02047e-07 6.31831e-07 1.05111e-07 -1.15205e-07 -4.11636e-07 4.2173e-07 1.23655e-07 -1.31566e-07 -1.9037e-07 1.98282e-07 1.29467e-07 -1.19318e-07 1.59326e-07 -1.69475e-07 1.05683e-07 -8.57803e-08 4.32519e-07 -4.52422e-07 7.00946e-08 -5.22082e-08 4.97661e-07 -5.15547e-07 3.34906e-08 -2.23581e-08 3.85337e-07 -3.9647e-07 1.18041e-08 5.71675e-10 4.16145e-07 -4.28521e-07 -4.09241e-09 3.29032e-09 -1.56699e-08 1.6472e-08 -2.49077e-09 1.60536e-09 -1.75027e-08 1.83881e-08 -7.18985e-10 -2.63243e-10 -1.94268e-08 2.0409e-08 1.24724e-09 -2.3371e-09 -2.14985e-08 2.25883e-08 3.42788e-09 -4.63407e-09 -2.37557e-08 2.49619e-08 5.84031e-09 -7.19455e-09 -2.62216e-08 2.75759e-08 8.5753e-09 -1.02564e-08 -2.89173e-08 3.05983e-08 1.20171e-08 -1.42666e-08 -3.13342e-08 3.35838e-08 1.6454e-08 -1.88811e-08 -3.19109e-08 3.43381e-08 2.13995e-08 -2.43257e-08 -3.02715e-08 3.31978e-08 2.75817e-08 -3.01915e-08 -2.52004e-08 2.78102e-08 3.13257e-08 -2.97045e-08 3.69068e-09 -5.3119e-09 2.81497e-08 -2.80879e-08 1.88209e-08 -1.88827e-08 2.49687e-08 -1.77036e-08 6.22374e-08 -6.95025e-08 1.22331e-08 -1.16704e-08 3.32288e-08 -3.37915e-08 1.12456e-08 -7.63891e-09 5.26146e-08 -5.62214e-08 8.71097e-09 -3.14357e-09 8.12129e-08 -8.67803e-08 -6.97941e-09 1.54783e-08 7.83663e-08 -8.68652e-08 -2.22238e-08 2.51644e-08 -1.17218e-08 8.7812e-09 -2.73774e-08 2.38833e-08 -1.65812e-07 1.69306e-07 -1.48798e-08 -8.97474e-09 -3.96793e-07 4.20648e-07 3.1806e-08 -4.37655e-08 -3.80062e-07 3.92022e-07 5.64574e-08 -8.79693e-08 -6.62518e-07 6.9403e-07 1.10708e-07 -1.19092e-07 -4.30816e-07 4.39199e-07 1.26686e-07 -1.34754e-07 -2.06404e-07 2.14472e-07 1.33371e-07 -1.22261e-07 1.80205e-07 -1.91315e-07 1.07507e-07 -8.60864e-08 4.7308e-07 -4.945e-07 7.02203e-08 -5.18044e-08 5.33699e-07 -5.52115e-07 3.23667e-08 -2.12079e-08 4.07609e-07 -4.18768e-07 1.06618e-08 1.51475e-09 4.40801e-07 -4.52977e-07 -4.40024e-09 3.41713e-09 -1.73359e-08 1.8319e-08 -2.448e-09 1.39189e-09 -1.93351e-08 2.03912e-08 -3.58005e-10 -7.56492e-10 -2.14455e-08 2.256e-08 1.83972e-09 -3.00425e-09 -2.37222e-08 2.48867e-08 4.13676e-09 -5.36307e-09 -2.61926e-08 2.74189e-08 6.56578e-09 -7.89807e-09 -2.89295e-08 3.02618e-08 9.26075e-09 -1.0965e-08 -3.22951e-08 3.39993e-08 1.28206e-08 -1.54861e-08 -3.60311e-08 3.86966e-08 1.80077e-08 -2.0773e-08 -3.69372e-08 3.97025e-08 2.36043e-08 -2.62901e-08 -3.61141e-08 3.88e-08 2.83332e-08 -2.87749e-08 -2.94223e-08 2.9864e-08 2.89668e-08 -2.87291e-08 6.82925e-09 -7.06702e-09 3.08813e-08 -3.35545e-08 1.77754e-08 -1.51022e-08 2.68012e-08 -1.69834e-08 7.72818e-08 -8.70995e-08 1.34139e-08 -1.25248e-08 3.4584e-08 -3.54731e-08 1.154e-08 -7.03933e-09 6.04109e-08 -6.49116e-08 6.53964e-09 -5.56308e-10 9.2283e-08 -9.82663e-08 -1.09655e-08 2.03985e-08 9.61407e-08 -1.05574e-07 -2.76719e-08 3.201e-08 -5.08186e-09 7.43797e-10 -3.43791e-08 3.0169e-08 -1.73264e-07 1.77474e-07 -2.16051e-08 -4.55657e-09 -4.45371e-07 4.71532e-07 2.21941e-08 -3.52569e-08 -4.06599e-07 4.19662e-07 5.19853e-08 -8.44296e-08 -7.24896e-07 7.5734e-07 1.11427e-07 -1.20728e-07 -4.47643e-07 4.56944e-07 1.28689e-07 -1.36029e-07 -2.22207e-07 2.29547e-07 1.35813e-07 -1.25315e-07 2.0243e-07 -2.12929e-07 1.0916e-07 -8.63552e-08 5.16659e-07 -5.39464e-07 7.02834e-08 -5.13768e-08 5.70786e-07 -5.89692e-07 3.11102e-08 -1.98641e-08 4.29961e-07 -4.41207e-07 9.29027e-09 2.61822e-09 4.65032e-07 -4.76941e-07 -4.67697e-09 3.34809e-09 -1.94688e-08 2.07977e-08 -2.05614e-09 6.82381e-10 -2.15993e-08 2.29731e-08 6.12786e-10 -1.94627e-09 -2.37771e-08 2.51106e-08 3.17455e-09 -4.42609e-09 -2.60828e-08 2.73344e-08 5.58891e-09 -6.8004e-09 -2.86218e-08 2.98332e-08 7.95263e-09 -9.18179e-09 -3.15408e-08 3.27699e-08 1.04579e-08 -1.20343e-08 -3.56772e-08 3.72536e-08 1.39729e-08 -1.71747e-08 -4.16219e-08 4.48237e-08 1.99062e-08 -2.32514e-08 -4.26824e-08 4.60276e-08 2.62874e-08 -2.76651e-08 -4.09874e-08 4.23651e-08 2.75145e-08 -2.65136e-08 -2.93191e-08 2.83182e-08 3.01717e-08 -3.75106e-08 4.33482e-09 3.00408e-09 4.71863e-08 -5.68082e-08 9.85293e-09 -2.31075e-10 3.99092e-08 -1.58587e-08 1.02121e-07 -1.26171e-07 1.34118e-08 -1.50534e-08 3.57033e-08 -3.40617e-08 1.41218e-08 -9.05105e-09 6.95796e-08 -7.46504e-08 5.53566e-09 4.38524e-09 1.05865e-07 -1.15786e-07 -1.82091e-08 2.60009e-08 1.14035e-07 -1.21827e-07 -3.12015e-08 3.62455e-08 4.10231e-09 -9.1463e-09 -4.03694e-08 3.96423e-08 -1.80363e-07 1.8109e-07 -3.41288e-08 1.1684e-08 -4.95434e-07 5.17879e-07 1.05547e-09 -1.97801e-08 -4.40881e-07 4.59605e-07 3.82381e-08 -6.47376e-08 -7.84002e-07 8.10501e-07 9.44108e-08 -1.08014e-07 -4.68116e-07 4.81719e-07 1.18914e-07 -1.26491e-07 -2.36795e-07 2.44372e-07 1.29747e-07 -1.24177e-07 2.21779e-07 -2.2735e-07 1.09434e-07 -8.66546e-08 5.62635e-07 -5.85415e-07 7.01361e-08 -5.0941e-08 6.08793e-07 -6.27989e-07 2.97159e-08 -1.8282e-08 4.52533e-07 -4.63967e-07 7.62285e-09 3.89611e-09 4.88673e-07 -5.00192e-07 -4.76387e-09 3.22057e-09 -2.22701e-08 2.38134e-08 -1.73186e-09 1.54609e-10 -2.44818e-08 2.60591e-08 1.3336e-09 -2.88084e-09 -2.65599e-08 2.81072e-08 4.33425e-09 -5.86479e-09 -2.86941e-08 3.02246e-08 7.34516e-09 -8.93216e-09 -3.11537e-08 3.27407e-08 1.04327e-08 -1.19364e-08 -3.40386e-08 3.55423e-08 1.32971e-08 -1.46343e-08 -3.86735e-08 4.00108e-08 1.66664e-08 -2.01034e-08 -4.82339e-08 5.16709e-08 2.28996e-08 -2.76355e-08 -4.99688e-08 5.47047e-08 3.06671e-08 -3.0099e-08 -4.2692e-08 4.21239e-08 2.90971e-08 -2.88429e-08 -2.75688e-08 2.73145e-08 3.87719e-08 -5.68985e-08 -1.58529e-08 3.39795e-08 7.50586e-08 -8.99301e-08 -1.42026e-08 2.90742e-08 5.96453e-08 -2.05429e-08 1.6055e-07 -1.99652e-07 1.42006e-08 -1.97044e-08 3.01207e-08 -2.46169e-08 1.93083e-08 -1.3423e-08 8.04539e-08 -8.63392e-08 7.53482e-09 8.59331e-09 1.28386e-07 -1.44514e-07 -2.49548e-08 3.40091e-08 1.30111e-07 -1.39166e-07 -3.97752e-08 4.5322e-08 1.47314e-08 -2.02782e-08 -4.84088e-08 4.82953e-08 -1.79532e-07 1.79645e-07 -4.59353e-08 2.30617e-08 -5.43236e-07 5.6611e-07 -1.3906e-08 -1.10685e-09 -4.73913e-07 4.88926e-07 2.80615e-08 -3.83465e-08 -8.34675e-07 8.4496e-07 5.15214e-08 -6.99927e-08 -4.95987e-07 5.14458e-07 7.79362e-08 -8.48532e-08 -2.52298e-07 2.59215e-07 9.51913e-08 -1.02328e-07 2.27484e-07 -2.20347e-07 1.01048e-07 -8.55515e-08 6.06112e-07 -6.21608e-07 6.91182e-08 -5.03735e-08 6.47102e-07 -6.65847e-07 2.81477e-08 -1.63821e-08 4.75544e-07 -4.8731e-07 5.55154e-09 5.38222e-09 5.11447e-07 -5.22381e-07 -4.44343e-09 2.99217e-09 -2.53402e-08 2.67914e-08 -1.60803e-09 1.24795e-10 -2.76204e-08 2.91036e-08 1.33631e-09 -2.97446e-09 -2.97184e-08 3.13566e-08 4.68517e-09 -6.70559e-09 -3.19856e-08 3.40061e-08 8.88257e-09 -1.14454e-08 -3.47573e-08 3.73202e-08 1.4047e-08 -1.67635e-08 -3.75353e-08 4.02519e-08 1.91125e-08 -2.13755e-08 -4.15751e-08 4.38381e-08 2.41328e-08 -2.69781e-08 -5.48859e-08 5.77313e-08 3.00951e-08 -3.64916e-08 -6.03105e-08 6.67069e-08 3.99796e-08 -4.10969e-08 -4.15869e-08 4.27042e-08 4.17936e-08 -3.81359e-08 -2.65726e-08 2.29149e-08 4.83124e-08 -7.00476e-08 -5.55236e-08 7.72587e-08 8.32206e-08 -7.07084e-08 -3.37676e-08 2.12553e-08 3.9387e-08 -2.25353e-08 2.31279e-07 -2.48131e-07 1.18992e-08 -1.9565e-08 1.81879e-08 -1.05222e-08 1.87201e-08 -1.63514e-08 9.09498e-08 -9.33184e-08 1.43052e-08 1.05681e-08 1.65133e-07 -1.90006e-07 -3.35182e-08 3.98429e-08 1.47322e-07 -1.53647e-07 -4.51439e-08 5.18127e-08 2.66584e-08 -3.33273e-08 -5.68483e-08 5.92941e-08 -1.80713e-07 1.78267e-07 -6.17549e-08 5.51427e-08 -5.79207e-07 5.85819e-07 -5.29646e-08 4.24057e-08 -5.15211e-07 5.2577e-07 -2.97885e-08 -6.87607e-09 -8.2675e-07 8.63415e-07 6.04944e-08 -5.93853e-08 -5.44924e-07 5.43815e-07 2.4865e-08 -1.62637e-08 -2.63443e-07 2.54842e-07 2.20851e-08 -3.79671e-08 2.06387e-07 -1.90505e-07 6.41481e-08 -7.30476e-08 6.27325e-07 -6.18425e-07 6.44108e-08 -4.84923e-08 6.83701e-07 -6.99619e-07 2.61379e-08 -1.37584e-08 4.99324e-07 -5.11703e-07 2.55684e-09 7.12604e-09 5.3283e-07 -5.42513e-07 -3.53966e-09 2.16784e-09 -2.81546e-08 2.95264e-08 -9.07698e-10 -4.15925e-10 -3.04811e-08 3.18047e-08 1.78735e-09 -3.46196e-09 -3.30031e-08 3.46777e-08 5.40326e-09 -7.90934e-09 -3.62691e-08 3.87752e-08 1.08189e-08 -1.44533e-08 -4.04528e-08 4.40872e-08 1.83955e-08 -2.29148e-08 -4.38765e-08 4.83957e-08 2.73481e-08 -3.20732e-08 -4.72299e-08 5.1955e-08 3.61473e-08 -3.91081e-08 -6.03773e-08 6.33382e-08 4.36121e-08 -5.08107e-08 -7.36915e-08 8.08901e-08 5.71362e-08 -6.32859e-08 -4.67681e-08 5.29178e-08 6.1286e-08 -4.52547e-08 -1.32539e-08 -2.77749e-09 4.61865e-08 -6.3198e-08 -9.7025e-08 1.14037e-07 6.52773e-08 -4.09914e-08 2.0384e-09 -2.63243e-08 2.25412e-08 -1.55911e-08 2.54997e-07 -2.61947e-07 4.77729e-09 -1.55047e-08 1.46451e-09 9.26287e-09 1.61056e-08 -1.68453e-08 9.34601e-08 -9.27204e-08 1.26938e-08 2.07384e-08 2.18618e-07 -2.52051e-07 -4.53797e-08 4.62168e-08 1.57654e-07 -1.58491e-07 -4.91604e-08 5.78698e-08 4.09306e-08 -4.964e-08 -6.4771e-08 7.31209e-08 -1.68199e-07 1.59849e-07 -8.23635e-08 6.03261e-08 -6.06141e-07 6.28178e-07 -6.21128e-08 6.91926e-08 -5.13263e-07 5.06184e-07 -3.80358e-08 4.79256e-08 -9.07831e-07 8.97941e-07 -1.4456e-07 2.3101e-07 -5.59151e-07 4.72701e-07 -2.96054e-07 3.04643e-07 -2.22326e-07 2.13737e-07 -1.52392e-07 6.23074e-08 1.76292e-07 -8.6208e-08 -1.39493e-08 -2.56124e-08 5.92568e-07 -5.53006e-07 4.41274e-08 -4.00722e-08 7.11492e-07 -7.15547e-07 2.2046e-08 -7.81831e-09 5.24721e-07 -5.38949e-07 -3.79376e-09 9.21973e-09 5.50763e-07 -5.56189e-07 -1.82002e-09 8.73179e-11 -3.09619e-08 3.26946e-08 1.41564e-09 -2.9536e-09 -3.31545e-08 3.46924e-08 4.53889e-09 -6.50818e-09 -3.63986e-08 3.83679e-08 8.75221e-09 -1.15507e-08 -4.1376e-08 4.41745e-08 1.46651e-08 -1.85838e-08 -4.79967e-08 5.19154e-08 2.31086e-08 -2.8925e-08 -5.38438e-08 5.96602e-08 3.54164e-08 -4.27e-08 -5.80493e-08 6.53329e-08 4.85522e-08 -5.27903e-08 -6.69694e-08 7.12075e-08 5.74097e-08 -6.26849e-08 -8.76575e-08 9.29327e-08 6.87332e-08 -6.87903e-08 -5.75762e-08 5.76334e-08 5.64306e-08 -4.58873e-08 1.98948e-08 -3.04381e-08 4.0332e-08 -3.94527e-08 -1.24219e-07 1.23339e-07 3.75402e-08 -1.8809e-08 4.71161e-08 -6.58473e-08 2.00069e-08 -1.90959e-08 2.67652e-07 -2.68563e-07 1.23725e-08 -1.73914e-08 -1.9223e-08 2.42419e-08 1.32762e-08 -1.17209e-08 9.29627e-08 -9.4518e-08 9.94334e-09 4.20349e-08 2.93316e-07 -3.45294e-07 -7.06916e-08 5.46986e-08 1.52388e-07 -1.36395e-07 -5.62859e-08 6.60126e-08 5.92601e-08 -6.89868e-08 -7.21274e-08 7.89022e-08 -1.57051e-07 1.50276e-07 -9.24376e-08 1.18456e-07 -6.25457e-07 5.99439e-07 -1.26959e-07 7.5583e-08 -5.34891e-07 5.86267e-07 -9.97825e-08 2.23675e-07 -8.0531e-07 6.81418e-07 -3.23921e-07 4.26414e-07 -3.98542e-07 2.96049e-07 -4.95749e-07 7.09093e-07 1.02574e-07 -3.15918e-07 -1.01425e-06 6.53282e-07 -3.21275e-07 6.8224e-07 -1.54322e-07 7.7205e-08 5.03172e-07 -4.26055e-07 -1.83422e-08 -1.04662e-08 7.06129e-07 -6.77321e-07 1.02583e-08 1.08595e-08 5.55214e-07 -5.76331e-07 -2.34873e-08 1.23466e-08 5.55391e-07 -5.4425e-07 6.61176e-10 -2.53871e-09 -3.52969e-08 3.71745e-08 4.71416e-09 -7.2772e-09 -3.63059e-08 3.88689e-08 9.79673e-09 -1.25889e-08 -3.99973e-08 4.27896e-08 1.53885e-08 -1.81862e-08 -4.72389e-08 5.00367e-08 2.03964e-08 -2.21669e-08 -5.57501e-08 5.75205e-08 2.4937e-08 -3.19575e-08 -6.5015e-08 7.20355e-08 4.24195e-08 -5.36701e-08 -7.33102e-08 8.45608e-08 5.84495e-08 -5.8917e-08 -7.53408e-08 7.58083e-08 6.12062e-08 -6.25381e-08 -9.60928e-08 9.74247e-08 6.20296e-08 -6.10775e-08 -5.38999e-08 5.29478e-08 6.21352e-08 -6.78109e-08 3.17246e-08 -2.60488e-08 5.53971e-08 -3.83733e-08 -1.14832e-07 9.78086e-08 2.64902e-08 -1.45899e-08 7.85769e-08 -9.04771e-08 3.02241e-08 -4.40076e-08 2.63496e-07 -2.49712e-07 3.57324e-08 -3.05829e-08 -2.46057e-08 1.94562e-08 1.0801e-08 1.91419e-10 9.81966e-08 -1.09189e-07 8.47603e-09 4.85837e-08 4.05776e-07 -4.62835e-07 -8.60364e-08 6.17627e-08 1.12445e-07 -8.81713e-08 -5.79039e-08 6.71494e-08 7.74629e-08 -8.67085e-08 -7.90435e-08 1.03509e-07 -1.30104e-07 1.05639e-07 -1.0738e-07 1.30276e-07 -5.70946e-07 5.48049e-07 -1.36227e-07 1.55767e-07 -6.1805e-07 5.9851e-07 -2.62299e-07 3.25144e-07 -5.72183e-07 5.09338e-07 -3.85779e-07 5.45425e-07 -1.95607e-07 3.59606e-08 -7.70899e-07 1.3531e-06 5.78519e-07 -1.16072e-06 -1.33664e-06 2.5804e-07 -1.35276e-06 2.43136e-06 1.4873e-07 -4.16945e-08 4.21325e-07 -5.28361e-07 -7.9685e-08 5.2678e-08 6.36336e-07 -6.09329e-07 -1.74805e-08 5.00883e-08 6.03197e-07 -6.35805e-07 -6.51364e-08 1.93468e-08 5.16545e-07 -4.70756e-07 6.02082e-09 -8.65433e-09 -3.87731e-08 4.14066e-08 9.80541e-09 -1.18134e-08 -3.90671e-08 4.1075e-08 1.3086e-08 -1.525e-08 -4.49947e-08 4.71587e-08 1.71105e-08 -1.9097e-08 -5.2609e-08 5.45956e-08 2.10243e-08 -1.86852e-08 -5.6657e-08 5.43179e-08 1.40641e-08 -1.17263e-08 -7.75676e-08 7.52299e-08 1.08635e-08 -1.20027e-08 -8.96933e-08 9.08325e-08 1.963e-08 -3.60882e-08 -8.26051e-08 9.90633e-08 4.6295e-08 -5.08142e-08 -1.03695e-07 1.08214e-07 6.56013e-08 -9.12934e-08 -6.02736e-08 8.59657e-08 1.20756e-07 -1.35192e-07 1.46468e-08 -2.10097e-10 1.10004e-07 -6.5651e-08 -6.91654e-08 2.48121e-08 3.06411e-08 -1.62502e-08 1.04289e-07 -1.1868e-07 4.46022e-08 -7.27666e-08 2.26972e-07 -1.98807e-07 6.70673e-08 -4.75979e-08 -8.01224e-09 -1.14571e-08 1.95431e-08 2.83631e-08 1.38967e-07 -1.86873e-07 -3.84427e-08 4.22515e-08 4.99982e-07 -5.0379e-07 -5.82461e-08 6.31686e-08 7.4444e-08 -7.93665e-08 -6.11287e-08 8.25427e-08 9.99949e-08 -1.21409e-07 -1.06663e-07 9.15854e-08 -9.76983e-08 1.12776e-07 -1.18413e-07 1.44507e-07 -5.28153e-07 5.02058e-07 -1.52037e-07 2.67606e-07 -5.20494e-07 4.04925e-07 -3.36314e-07 3.2765e-07 -4.62276e-07 4.70941e-07 -4.99101e-07 8.01172e-07 1.43958e-07 -4.4603e-07 -1.04484e-06 2.30335e-07 1.02832e-06 -2.13822e-07 1.61437e-06 -8.70643e-07 -2.69544e-06 1.95172e-06 -1.34095e-07 -3.47066e-07 4.34119e-07 4.70415e-08 8.93821e-08 7.36854e-08 6.69645e-07 -8.32713e-07 -5.34527e-08 8.0747e-08 6.69373e-07 -6.96667e-07 -9.26541e-08 3.10386e-08 4.07893e-07 -3.46278e-07 2.26567e-08 -2.8805e-08 -4.68452e-08 5.29935e-08 3.359e-08 -3.52628e-08 -4.48042e-08 4.64769e-08 3.60289e-08 -3.54186e-08 -4.54034e-08 4.47932e-08 3.92036e-08 -4.52243e-08 -5.41849e-08 6.02056e-08 6.10781e-08 -8.26391e-08 -7.6428e-08 9.7989e-08 1.06733e-07 -1.25193e-07 -9.5081e-08 1.13541e-07 1.37627e-07 -1.46053e-07 -9.91902e-08 1.07616e-07 1.43334e-07 -1.24676e-07 -9.29573e-08 7.42987e-08 1.14188e-07 -7.57162e-08 -9.04002e-08 5.19284e-08 7.00753e-08 -8.70933e-08 -8.06131e-08 9.76311e-08 9.51063e-08 -1.55272e-07 -4.56334e-08 1.05799e-07 1.54732e-07 -1.01624e-07 3.16702e-08 -8.4779e-08 4.85109e-08 -3.99385e-08 1.29213e-07 -1.37786e-07 6.23492e-08 -7.95669e-08 1.71221e-07 -1.54003e-07 8.82898e-08 -3.82463e-08 4.67135e-08 -9.6757e-08 3.39421e-08 2.61665e-09 2.38313e-07 -2.74872e-07 -5.09847e-08 -8.07264e-09 4.70394e-07 -4.11337e-07 1.69656e-09 4.00851e-08 1.05878e-07 -1.4766e-07 -4.4961e-08 7.58274e-08 1.49827e-07 -1.80694e-07 -7.4217e-08 9.68761e-08 -1.26753e-07 1.04094e-07 -1.72715e-07 1.83882e-07 -4.79127e-07 4.67961e-07 -2.42162e-07 3.35742e-07 -2.83075e-07 1.89495e-07 -3.24152e-07 4.01258e-07 -4.09593e-07 3.32488e-07 -7.8205e-07 2.40326e-06 8.94197e-07 -2.5154e-06 -9.07758e-07 -7.293e-07 -9.20315e-07 2.55737e-06 1.7883e-06 -1.40539e-06 -1.07782e-06 6.9491e-07 3.65259e-07 -9.63834e-07 -9.92961e-07 1.59154e-06 8.86287e-07 -9.04234e-07 1.52256e-06 -1.50461e-06 1.56053e-08 -9.01107e-09 7.0517e-07 -7.11765e-07 -2.22402e-08 4.10423e-08 3.04499e-07 -3.23302e-07 2.84464e-07 -3.10325e-07 -6.1051e-08 8.69116e-08 3.33256e-07 -3.58717e-07 -5.73379e-08 8.27984e-08 3.87932e-07 -4.24407e-07 -7.34085e-08 1.09883e-07 4.64662e-07 -5.10945e-07 -1.06458e-07 1.52741e-07 5.54069e-07 -5.94044e-07 -1.30342e-07 1.70318e-07 6.20305e-07 -6.28136e-07 -1.28286e-07 1.36117e-07 6.11409e-07 -5.83389e-07 -7.97883e-08 5.17684e-08 4.98476e-07 -3.52219e-07 5.89079e-09 -1.52148e-07 2.28033e-07 -8.2126e-08 5.14724e-08 -1.97379e-07 -1.07168e-08 5.08734e-08 -9.70018e-08 5.68452e-08 -4.96123e-08 -3.13951e-08 -1.72759e-07 2.53766e-07 6.66961e-08 -1.92151e-07 5.80915e-08 6.73631e-08 2.01848e-07 -2.33483e-07 3.10651e-07 -2.79017e-07 2.93192e-07 -1.23101e-07 1.54763e-07 -3.24853e-07 1.21742e-07 -4.25259e-08 1.59782e-07 -2.38998e-07 4.00653e-09 -2.69725e-08 2.77966e-07 -2.55e-07 4.65725e-09 -3.602e-08 3.58409e-07 -3.27046e-07 4.75652e-08 6.96204e-10 1.95642e-07 -2.43903e-07 -1.15228e-08 5.45081e-08 2.16707e-07 -2.59693e-07 -8.99801e-08 1.52359e-07 -4.58985e-08 -1.64804e-08 -1.52509e-07 1.74766e-07 -4.66875e-07 4.44618e-07 -3.00016e-07 3.26497e-07 -1.29241e-07 1.0276e-07 -3.07752e-07 6.36036e-07 -1.2174e-07 -2.06544e-07 -1.67158e-06 1.01352e-06 2.831e-06 -2.17293e-06 -4.67774e-07 -5.46488e-07 -4.06159e-06 5.07585e-06 1.40905e-06 -1.28267e-06 -3.31063e-07 2.04689e-07 9.43849e-07 -1.12964e-06 -1.90881e-06 2.09459e-06 1.28966e-06 -1.14163e-06 1.86744e-06 -2.01547e-06 8.49762e-07 -5.06279e-07 9.19089e-07 -1.26257e-06 9.3248e-08 8.94579e-08 3.77104e-07 -5.5981e-07 -1.98886e-07 1.12575e-07 -1.75533e-07 -3.58841e-07 7.01885e-07 2.55434e-06 -2.89739e-06 -8.44623e-07 6.45609e-07 5.80665e-08 1.40948e-07 -4.4961e-07 2.63028e-07 2.43099e-06 -2.24441e-06 -1.09428e-07 1.16316e-07 -1.16041e-06 1.15353e-06 -1.6778e-07 -9.25718e-08 -8.92235e-06 9.1827e-06 3.57002e-07 -5.06156e-07 2.6491e-06 -2.49994e-06 4.61324e-07 -8.36842e-07 1.77391e-06 -1.39839e-06 2.6751e-07 -1.27522e-07 6.38239e-08 -2.03812e-07 1.49328e-07 -9.8105e-08 5.58137e-08 -1.07036e-07 4.35212e-08 -8.29477e-08 6.77878e-08 -2.83613e-08 8.01269e-08 -4.86538e-08 1.60165e-07 -1.91638e-07 2.08214e-08 1.35491e-08 1.59006e-07 -1.93377e-07 -4.75625e-08 5.86869e-08 4.18571e-07 -4.29696e-07 -2.9878e-08 9.83817e-09 3.5514e-07 -3.351e-07 -2.90488e-08 1.58243e-07 2.27935e-07 -3.57129e-07 -3.40185e-07 3.93212e-07 2.87522e-07 -3.40548e-07 -3.25378e-07 2.87522e-07 3.72312e-07 -3.34456e-07 -2.79777e-07 2.57263e-07 1.2055e-07 -9.8036e-08 -2.3159e-07 2.26181e-07 3.23861e-08 -2.69765e-08 -2.20322e-07 2.05194e-07 -4.07804e-08 5.59083e-08 -1.9176e-07 1.79399e-07 -1.30771e-07 1.43132e-07 -1.63545e-07 1.44188e-07 -1.94102e-07 2.13459e-07 -1.20945e-07 1.00237e-07 -1.52852e-07 1.73561e-07 -8.08987e-08 6.39542e-08 -1.36054e-07 1.52999e-07 -4.69189e-08 3.14304e-08 -1.35497e-07 1.50986e-07 -1.58663e-08 1.18032e-09 -1.59182e-07 1.73868e-07 1.51686e-08 -3.29546e-08 -2.05375e-07 2.23161e-07 5.52953e-08 -8.02343e-08 -2.23855e-07 2.48794e-07 1.0887e-07 -1.35992e-07 -1.76361e-07 2.03483e-07 4.40868e-07 5.88216e-07 -1.61466e-06 -1.14122e-06 7.3016e-07 2.95823e-06 -2.54718e-06 -8.43126e-07 7.50072e-07 -3.04375e-07 3.9743e-07 -4.87741e-07 2.53518e-07 2.02225e-06 -1.78803e-06 -8.40598e-08 5.92953e-08 -1.15429e-06 1.17905e-06 -2.49879e-07 1.38498e-07 -9.3603e-06 9.47168e-06 2.10452e-07 -4.38201e-07 2.32772e-06 -2.09997e-06 5.21621e-07 -4.92416e-07 1.55677e-06 -1.58597e-06 5.18742e-07 -1.5318e-07 3.83276e-07 -7.48838e-07 1.45953e-07 -1.27256e-07 1.42438e-07 -1.61135e-07 4.97287e-08 -6.39902e-08 -3.71282e-09 1.79743e-08 7.32698e-08 -4.82946e-08 2.18528e-07 -2.43503e-07 7.42798e-09 3.70808e-08 2.31545e-07 -2.76053e-07 -6.22947e-08 7.12482e-08 4.39758e-07 -4.48711e-07 -6.90097e-08 1.26749e-07 3.36686e-07 -3.94425e-07 -6.50405e-07 5.05706e-07 8.13841e-07 -6.69142e-07 -5.19204e-07 4.30633e-07 1.78225e-07 -8.9654e-08 -3.73775e-07 3.14533e-07 2.75418e-07 -2.16175e-07 -2.89563e-07 2.62725e-07 7.19918e-08 -4.51538e-08 -2.35007e-07 2.28892e-07 2.00488e-08 -1.39334e-08 -2.26763e-07 2.13871e-07 -6.97256e-08 8.26175e-08 -2.03298e-07 1.9485e-07 -1.53336e-07 1.61784e-07 -1.82291e-07 1.63894e-07 -2.3216e-07 2.50557e-07 -1.39678e-07 1.17085e-07 -1.94792e-07 2.17385e-07 -9.56559e-08 7.73001e-08 -1.70093e-07 1.88449e-07 -5.93264e-08 4.317e-08 -1.66305e-07 1.82461e-07 -2.69791e-08 1.23736e-08 -1.88222e-07 2.02827e-07 2.26682e-09 -1.59953e-08 -2.38716e-07 2.52444e-07 3.1669e-08 -4.94732e-08 -2.70124e-07 2.87929e-07 7.2188e-08 -9.66359e-08 -2.29213e-07 2.53661e-07 3.3589e-07 -8.49226e-07 -1.99115e-07 -2.70925e-07 1.78077e-07 2.91961e-06 -2.82676e-06 -5.78188e-07 7.21737e-07 -3.73484e-07 2.29935e-07 -4.88462e-07 2.49657e-07 1.53585e-06 -1.29704e-06 -2.97605e-08 -8.33975e-09 -1.19417e-06 1.23227e-06 -3.28958e-07 3.66535e-07 -9.50782e-06 9.47024e-06 3.94495e-08 -3.51057e-07 1.83986e-06 -1.52825e-06 5.29968e-07 -6.2979e-07 1.38815e-06 -1.28833e-06 1.08302e-06 -2.36144e-07 1.03172e-06 -1.87859e-06 1.22413e-07 -1.4826e-07 1.58161e-07 -1.32314e-07 8.20775e-08 -4.60649e-08 -1.13189e-08 -2.46938e-08 3.43244e-08 -1.1864e-08 2.69191e-07 -2.91651e-07 -2.01045e-08 6.13914e-08 3.19153e-07 -3.6044e-07 -6.82724e-08 1.13973e-07 4.55655e-07 -5.01355e-07 -2.38211e-07 4.1218e-07 5.02434e-07 -6.76403e-07 -4.13539e-07 4.1819e-07 8.36656e-07 -8.41307e-07 -3.11599e-07 3.01869e-07 7.24305e-08 -6.27e-08 -2.91574e-07 2.35923e-07 1.62444e-07 -1.06793e-07 -2.20038e-07 2.09601e-07 2.52096e-08 -1.47733e-08 -1.97053e-07 1.98574e-07 1.11074e-08 -1.26288e-08 -2.03937e-07 2.0337e-07 -9.24855e-08 9.30533e-08 -1.91965e-07 1.86577e-07 -1.67839e-07 1.73227e-07 -1.80707e-07 1.68176e-07 -2.6604e-07 2.78571e-07 -1.48937e-07 1.28694e-07 -2.38606e-07 2.58849e-07 -1.08059e-07 8.99125e-08 -2.06261e-07 2.24407e-07 -7.2157e-08 5.63794e-08 -1.97969e-07 2.13747e-07 -4.09979e-08 2.80583e-08 -2.16218e-07 2.29158e-07 -1.68641e-08 8.85611e-09 -2.62901e-07 2.70909e-07 -2.30181e-09 -4.46316e-09 -2.99913e-07 3.06678e-07 1.48745e-08 -2.91773e-08 -2.73064e-07 2.87367e-07 1.21487e-06 -1.43287e-06 -8.2505e-08 -6.29128e-09 -9.3611e-08 2.75956e-06 -2.65966e-06 -3.39905e-07 6.27495e-07 -3.35687e-09 -2.84234e-07 -4.55864e-07 2.55284e-07 1.08869e-06 -8.88106e-07 -3.99747e-08 -4.99347e-08 -1.30233e-06 1.39224e-06 -4.01163e-07 5.83602e-07 -9.36387e-06 9.18143e-06 -1.66647e-07 -2.30952e-07 1.18708e-06 -7.89483e-07 4.85193e-07 -7.41181e-07 1.18223e-06 -9.26238e-07 7.64296e-07 -7.88272e-07 1.9358e-06 -1.91182e-06 5.8128e-08 -1.55113e-07 6.03507e-08 3.66343e-08 1.41685e-07 -6.6408e-09 1.06415e-07 -2.4146e-07 -4.64222e-08 2.78411e-08 2.97529e-07 -2.78948e-07 -3.91013e-08 6.5381e-08 3.95805e-07 -4.22085e-07 -3.0751e-07 6.55736e-07 6.15602e-07 -9.63829e-07 -7.60843e-07 6.22309e-07 7.79788e-07 -6.41254e-07 -4.16095e-07 3.12673e-07 7.65595e-07 -6.62173e-07 -2.18438e-07 1.86267e-07 4.23263e-08 -1.01552e-08 -1.58392e-07 1.0439e-07 5.41406e-08 -1.38946e-10 -1.04288e-07 1.27334e-07 1.85091e-08 -4.1555e-08 -1.45804e-07 1.46271e-07 1.66985e-08 -1.71651e-08 -1.57048e-07 1.65159e-07 -9.0231e-08 8.21195e-08 -1.64154e-07 1.55492e-07 -1.81258e-07 1.89919e-07 -1.47428e-07 1.49813e-07 -2.81219e-07 2.78834e-07 -1.43965e-07 1.30815e-07 -2.75132e-07 2.88282e-07 -1.14642e-07 9.91416e-08 -2.40858e-07 2.56358e-07 -8.3452e-08 6.94133e-08 -2.28229e-07 2.42268e-07 -5.60191e-08 4.5471e-08 -2.40478e-07 2.51027e-07 -3.77473e-08 3.44116e-08 -2.76125e-07 2.7946e-07 -3.49383e-08 3.75439e-08 -3.08179e-07 3.05573e-07 -3.9615e-08 3.83633e-08 -2.94743e-07 2.95995e-07 1.54494e-06 -1.58169e-06 2.6688e-08 5.98408e-08 -1.35297e-07 2.56574e-06 -2.49028e-06 -2.10813e-07 5.20072e-07 5.82369e-07 -8.91629e-07 -3.69129e-07 1.53612e-07 6.95713e-07 -4.80195e-07 -1.93128e-08 -6.04125e-08 -1.4788e-06 1.55853e-06 -4.31427e-07 7.37534e-07 -8.94453e-06 8.63842e-06 -3.86879e-07 -5.64806e-08 3.78376e-07 6.49838e-08 4.01203e-07 -6.49867e-07 6.86317e-07 -4.37652e-07 7.70605e-07 -1.35999e-06 2.09732e-06 -1.50794e-06 2.80218e-07 -1.81003e-07 -9.27535e-08 -6.46158e-09 1.36578e-07 -6.16381e-08 3.68586e-07 -4.43527e-07 -2.14186e-08 4.95365e-08 2.61313e-07 -2.89431e-07 -9.28788e-08 3.96208e-07 5.32888e-07 -8.36218e-07 -3.84856e-07 4.56235e-07 7.32932e-07 -8.04311e-07 -4.5642e-07 3.91697e-07 4.73244e-07 -4.0852e-07 -2.45845e-07 1.56165e-07 5.70271e-07 -4.80592e-07 -9.95286e-08 5.79741e-08 -2.63702e-08 6.79247e-08 -1.2275e-08 -3.51201e-08 -4.9211e-08 9.66061e-08 1.81485e-08 2.19573e-08 7.33007e-08 -1.13407e-07 -7.33397e-08 8.97421e-08 2.84981e-08 -4.49005e-08 -1.01464e-07 1.176e-07 -6.97865e-08 5.36502e-08 -1.25504e-07 1.30058e-07 -1.91032e-07 1.86479e-07 -1.34669e-07 1.34177e-07 -2.8305e-07 2.83542e-07 -1.2949e-07 1.23206e-07 -2.9757e-07 3.03853e-07 -1.13465e-07 1.02848e-07 -2.69162e-07 2.79779e-07 -9.12342e-08 8.0389e-08 -2.54412e-07 2.65257e-07 -6.99312e-08 6.20435e-08 -2.59915e-07 2.67802e-07 -5.7083e-08 5.64383e-08 -2.81154e-07 2.81798e-07 -6.02548e-08 6.72564e-08 -3.00343e-07 2.93341e-07 -7.62297e-08 8.39731e-08 -2.92107e-07 2.84363e-07 1.58755e-06 -1.57145e-06 1.30177e-07 4.19854e-08 -1.10827e-07 2.42626e-06 -2.35742e-06 -9.15991e-08 3.65059e-07 1.15265e-06 -1.42611e-06 -3.49366e-07 1.40177e-07 2.70112e-07 -6.09235e-08 -1.18245e-09 -5.35325e-08 -1.62184e-06 1.67656e-06 -3.72681e-07 7.85995e-07 -8.29327e-06 7.87996e-06 -6.21988e-07 1.31044e-07 -5.10469e-07 1.00141e-06 2.36788e-07 -4.18204e-07 2.53026e-07 -7.16101e-08 6.90556e-07 -8.78229e-07 1.45403e-06 -1.26636e-06 1.29548e-06 -8.29808e-08 2.4883e-07 -1.46133e-06 -1.04972e-07 1.237e-08 3.67606e-07 -2.75004e-07 -3.67673e-08 2.2556e-07 3.52884e-07 -5.41677e-07 -5.49714e-07 5.40562e-07 1.04082e-06 -1.03167e-06 -3.01924e-07 2.47257e-07 7.9023e-07 -7.35563e-07 -2.54913e-07 1.80859e-07 3.51076e-07 -2.77022e-07 -1.00204e-07 4.74834e-08 4.15028e-07 -3.62307e-07 4.66341e-09 -5.64113e-08 -1.12086e-07 1.63833e-07 1.10139e-07 -1.57051e-07 -1.42939e-07 1.89851e-07 1.12694e-07 -4.47464e-08 1.6487e-07 -2.32818e-07 -2.94412e-08 4.33872e-08 5.91791e-08 -7.31251e-08 -4.4812e-08 6.32144e-08 -4.00834e-08 2.1681e-08 -7.40144e-08 8.45829e-08 -1.78385e-07 1.67817e-07 -9.6007e-08 1.01677e-07 -2.81325e-07 2.75655e-07 -1.04034e-07 1.0488e-07 -3.07077e-07 3.06231e-07 -1.03294e-07 9.93522e-08 -2.86948e-07 2.9089e-07 -9.37123e-08 8.7512e-08 -2.73615e-07 2.79815e-07 -8.08224e-08 7.58227e-08 -2.74033e-07 2.79033e-07 -7.31485e-08 7.38924e-08 -2.81666e-07 2.80922e-07 -7.84152e-08 8.59032e-08 -2.86081e-07 2.78593e-07 -9.60809e-08 1.06485e-07 -2.75002e-07 2.64598e-07 1.54239e-06 -1.50621e-06 1.81664e-07 -6.92113e-09 -6.29635e-08 2.28557e-06 -2.21569e-06 -8.57734e-10 2.22999e-07 1.66809e-06 -1.89023e-06 -2.11949e-07 5.89616e-08 -1.25372e-07 2.7836e-07 3.04826e-08 -4.88396e-08 -1.71289e-06 1.73124e-06 -1.98942e-07 7.29643e-07 -7.43041e-06 6.89971e-06 -8.86202e-07 3.54828e-07 -1.48928e-06 2.02066e-06 4.9943e-08 -1.97344e-07 -9.1563e-08 2.38964e-07 2.61665e-07 -1.21649e-07 1.51715e-06 -1.65716e-06 -3.1785e-08 4.87426e-08 1.67775e-06 -1.69471e-06 -1.163e-07 1.48513e-07 3.03936e-07 -3.36149e-07 -1.4145e-07 8.67582e-08 9.66715e-07 -9.12023e-07 -1.81959e-07 8.76482e-08 9.67248e-07 -8.72937e-07 -2.20232e-08 9.71877e-08 7.8117e-07 -8.56334e-07 -1.45702e-07 6.65267e-08 2.03014e-07 -1.23838e-07 -3.82921e-08 -9.90254e-09 3.03886e-07 -2.55692e-07 7.80569e-08 -1.39545e-07 -2.19603e-07 2.81091e-07 1.97011e-07 -2.37836e-07 -2.32267e-07 2.73092e-07 1.5952e-07 -6.77248e-08 3.12028e-07 -4.03823e-07 -1.94668e-08 1.56904e-08 7.91442e-08 -7.53678e-08 -1.34755e-08 1.23409e-08 -1.20613e-08 1.31959e-08 -1.8362e-08 3.01091e-08 -1.56892e-07 1.45145e-07 -4.52426e-08 5.72212e-08 -2.66969e-07 2.54991e-07 -6.71486e-08 7.71653e-08 -3.01046e-07 2.91029e-07 -8.44834e-08 8.76066e-08 -2.91157e-07 2.88033e-07 -8.939e-08 8.93021e-08 -2.83041e-07 2.83129e-07 -8.68519e-08 8.52092e-08 -2.82313e-07 2.83956e-07 -8.50826e-08 8.70585e-08 -2.79664e-07 2.77688e-07 -9.1739e-08 9.85651e-08 -2.71724e-07 2.64898e-07 -1.07682e-07 1.17336e-07 -2.54791e-07 2.45138e-07 1.46366e-06 -1.41942e-06 2.08691e-07 -2.54517e-08 -4.48657e-08 2.15114e-06 -2.08082e-06 4.93473e-08 1.52759e-07 2.10824e-06 -2.31035e-06 -9.78287e-08 -3.28925e-08 -4.25372e-07 5.56094e-07 6.21836e-08 -5.24515e-08 -1.73175e-06 1.72202e-06 2.48944e-08 6.55918e-07 -6.3185e-06 5.63769e-06 -1.1789e-06 5.94916e-07 -2.5529e-06 3.13689e-06 -1.36436e-07 -4.25006e-08 -3.97457e-07 5.76394e-07 7.4562e-08 1.75363e-08 1.73586e-06 -1.82796e-06 -1.11938e-07 7.93356e-08 1.67827e-06 -1.64567e-06 -5.1432e-08 9.91318e-08 4.01086e-07 -4.48786e-07 -8.50176e-08 1.64223e-08 8.16743e-07 -7.48148e-07 -3.20122e-08 -5.36287e-09 8.11732e-07 -7.74357e-07 -5.21662e-09 2.70817e-08 9.1811e-07 -9.39975e-07 -3.05471e-08 3.54757e-08 1.45271e-07 -1.502e-07 -3.42698e-10 -5.23918e-08 1.99675e-07 -1.46941e-07 1.2063e-07 -1.75615e-07 -3.39596e-07 3.94581e-07 2.07945e-07 -2.08768e-07 -3.03871e-07 3.04694e-07 1.37751e-07 -1.0997e-07 4.86853e-07 -5.14634e-07 -3.25174e-10 -3.41251e-09 6.37809e-08 -6.00432e-08 2.40051e-08 -3.28378e-08 -1.47533e-08 2.3586e-08 2.82906e-08 -1.48085e-08 -1.30325e-07 1.16843e-07 -1.61045e-09 1.95334e-08 -2.41058e-07 2.23135e-07 -3.08894e-08 4.62303e-08 -2.7758e-07 2.62239e-07 -5.77208e-08 6.51343e-08 -2.82881e-07 2.75467e-07 -7.62698e-08 8.23139e-08 -2.79713e-07 2.73669e-07 -8.33105e-08 8.81376e-08 -2.83305e-07 2.78478e-07 -9.24838e-08 9.66789e-08 -2.74903e-07 2.70708e-07 -1.02458e-07 1.09596e-07 -2.58391e-07 2.51253e-07 -1.18392e-07 1.27294e-07 -2.36365e-07 2.27463e-07 1.37238e-06 -1.32636e-06 2.25653e-07 -3.85546e-08 -3.14301e-08 2.01188e-06 -1.9419e-06 7.49958e-08 5.69739e-08 2.45406e-06 -2.58603e-06 -4.93155e-08 -2.42615e-08 -6.46455e-07 7.20032e-07 6.14596e-08 -5.19893e-08 -1.71266e-06 1.70319e-06 6.78245e-08 6.35802e-07 -4.94108e-06 4.23745e-06 -1.34135e-06 7.92934e-07 -3.7045e-06 4.25291e-06 -2.94591e-07 8.84468e-08 -7.77205e-07 9.83348e-07 -2.55947e-08 6.06439e-08 1.88696e-06 -1.92201e-06 -1.52491e-07 2.011e-07 1.64071e-06 -1.68932e-06 -1.27172e-07 8.60602e-08 4.29689e-07 -3.88577e-07 -3.3976e-08 -1.08361e-07 6.52269e-07 -5.09932e-07 1.21075e-07 -1.02035e-08 8.29106e-07 -9.39977e-07 -1.64962e-08 9.99983e-09 9.59314e-07 -9.52818e-07 3.50361e-08 -1.11478e-07 1.53578e-07 -7.71362e-08 8.22319e-08 -7.73992e-08 1.15621e-07 -1.20454e-07 1.25489e-07 -1.53028e-07 -4.35219e-07 4.62757e-07 1.24655e-07 4.19746e-08 -1.94288e-07 2.76582e-08 7.43655e-08 -2.86851e-07 4.77345e-07 -2.64859e-07 7.92169e-08 -3.7402e-08 7.55745e-08 -1.17389e-07 5.23495e-08 -6.04214e-08 -3.27886e-08 4.08605e-08 5.80573e-08 -4.93846e-08 -1.06352e-07 9.76791e-08 2.95765e-08 -1.66029e-09 -2.00257e-07 1.72341e-07 -2.45002e-08 3.06995e-08 -2.59359e-07 2.5316e-07 -3.05261e-08 3.66274e-08 -2.68723e-07 2.62621e-07 -3.96046e-08 5.00744e-08 -2.66213e-07 2.55743e-07 -7.2386e-08 9.06651e-08 -2.66646e-07 2.48367e-07 -1.00685e-07 1.07296e-07 -2.65223e-07 2.58612e-07 -1.15098e-07 1.24108e-07 -2.43594e-07 2.34584e-07 -1.34417e-07 1.43839e-07 -2.18729e-07 2.09307e-07 1.27914e-06 -1.23447e-06 2.35886e-07 -6.11744e-08 -1.1154e-08 1.87312e-06 -1.80079e-06 9.31829e-08 2.42681e-08 2.69848e-06 -2.81593e-06 -2.96597e-08 -2.77912e-08 -7.81108e-07 8.38559e-07 5.8442e-08 -4.68164e-08 -1.69311e-06 1.68148e-06 -7.39115e-08 4.63384e-07 -3.67645e-06 3.28698e-06 -1.0903e-06 8.9243e-07 -4.64922e-06 4.84708e-06 -4.33238e-07 1.63707e-07 -1.21078e-06 1.48031e-06 -1.20274e-07 9.88548e-08 1.89789e-06 -1.87647e-06 -1.819e-07 3.22552e-07 1.78071e-06 -1.92136e-06 -2.77278e-07 1.85753e-07 3.22969e-07 -2.31445e-07 -1.18291e-07 1.02576e-07 4.22888e-07 -4.07173e-07 -2.25683e-07 1.64392e-07 9.92134e-07 -9.30843e-07 -6.10727e-08 2.86592e-08 9.40862e-07 -9.08448e-07 4.8048e-08 -1.78446e-07 -9.07847e-08 2.21183e-07 1.19423e-07 -1.00814e-07 1.58779e-07 -1.77388e-07 9.90717e-08 -9.81339e-08 -4.77929e-07 4.76991e-07 4.60227e-08 -4.56774e-08 1.51602e-07 -1.51947e-07 6.65147e-08 2.70025e-09 2.20524e-07 -2.89739e-07 6.08606e-08 -6.75317e-08 1.33897e-07 -1.27226e-07 6.67394e-08 -7.40747e-08 -4.6591e-08 5.39263e-08 7.63812e-08 -7.34505e-08 -9.22739e-08 8.93432e-08 6.51413e-08 -5.23298e-08 -1.57241e-07 1.4443e-07 3.22345e-08 -1.09049e-08 -2.37749e-07 2.16419e-07 -1.29409e-08 3.09665e-08 -2.48801e-07 2.30776e-07 -4.8193e-08 6.59785e-08 -2.40138e-07 2.22353e-07 -8.15561e-08 9.87565e-08 -2.36313e-07 2.19113e-07 -1.17237e-07 1.32102e-07 -2.49145e-07 2.3428e-07 -1.44367e-07 1.50889e-07 -2.25328e-07 2.18807e-07 -1.58697e-07 1.67861e-07 -2.0082e-07 1.91655e-07 1.19001e-06 -1.14891e-06 2.40698e-07 -8.28203e-08 4.03157e-09 1.7281e-06 -1.64931e-06 1.01447e-07 -3.71114e-09 2.91759e-06 -3.01533e-06 -1.1623e-08 -3.6462e-08 -8.89754e-07 9.37839e-07 5.30184e-08 -3.90801e-08 -1.66955e-06 1.65561e-06 -1.56484e-07 1.35788e-07 -3.13072e-06 3.15142e-06 -6.89113e-07 9.62158e-07 -4.79323e-06 4.52019e-06 -6.2798e-07 4.26373e-07 -1.70443e-06 1.90604e-06 -2.61748e-07 2.14293e-07 1.83692e-06 -1.78946e-06 -2.105e-07 4.06796e-07 2.09031e-06 -2.28661e-06 -4.79356e-07 3.43734e-07 1.18171e-07 1.7451e-08 -2.71537e-07 2.89029e-07 4.21186e-07 -4.38678e-07 -2.80856e-07 2.57186e-07 8.35757e-07 -8.12088e-07 -1.41958e-07 4.86525e-08 8.25937e-07 -7.32631e-07 -7.39065e-08 1.0421e-08 -2.57463e-07 3.20949e-07 -1.70527e-08 -5.77191e-08 1.38746e-07 -6.39738e-08 4.01303e-08 -2.64469e-09 -4.4234e-07 4.04854e-07 2.15469e-08 -6.11652e-08 1.20864e-07 -8.12455e-08 -4.49982e-08 1.91874e-07 4.11626e-07 -5.58502e-07 -3.86986e-08 -1.63877e-08 6.83305e-08 -1.32441e-08 5.0044e-08 -6.95632e-08 -6.73821e-08 8.69013e-08 7.66332e-08 -7.60569e-08 -8.82888e-08 8.77125e-08 6.96799e-08 -5.74494e-08 -1.32879e-07 1.20649e-07 3.73092e-08 -1.31785e-08 -1.93477e-07 1.69346e-07 -1.28027e-08 3.48962e-08 -2.11467e-07 1.89373e-07 -5.66764e-08 7.40614e-08 -2.05776e-07 1.88391e-07 -8.96017e-08 1.05905e-07 -2.06717e-07 1.90414e-07 -1.23177e-07 1.36524e-07 -2.14826e-07 2.01479e-07 -1.49753e-07 1.62036e-07 -2.09764e-07 1.97481e-07 -1.75338e-07 1.85857e-07 -1.83987e-07 1.73468e-07 1.10871e-06 -1.07251e-06 2.39997e-07 -8.34933e-08 -9.97538e-09 1.56173e-06 -1.46826e-06 7.55756e-08 7.69166e-09 3.10895e-06 -3.19222e-06 1.24643e-08 -4.85487e-08 -9.80128e-07 1.01621e-06 4.30861e-08 -2.51252e-08 -1.64038e-06 1.62242e-06 -2.1163e-07 1.10908e-07 -3.25466e-06 3.35538e-06 -6.34745e-07 1.11768e-06 -4.12029e-06 3.63735e-06 -8.39907e-07 5.90639e-07 -2.12115e-06 2.37041e-06 -4.60143e-07 4.541e-07 1.75323e-06 -1.74718e-06 -3.8102e-07 4.99876e-07 2.44093e-06 -2.55979e-06 -6.0744e-07 5.16887e-07 -1.31599e-07 2.22152e-07 -4.38403e-07 4.37796e-07 4.52933e-07 -4.52326e-07 -3.60011e-07 3.3797e-07 7.96264e-07 -7.74223e-07 -2.95068e-07 2.24167e-07 6.34349e-07 -5.63448e-07 -1.4817e-07 2.46201e-07 -3.51824e-07 2.53794e-07 -2.055e-07 8.73684e-08 -7.16033e-08 1.89735e-07 -1.00067e-07 1.19631e-07 -3.74506e-07 3.54943e-07 -5.52884e-08 -9.05312e-08 -7.62001e-11 1.45896e-07 -4.82503e-09 6.19332e-08 6.76548e-07 -7.33656e-07 1.35569e-07 -1.07501e-07 2.50216e-09 -3.05694e-08 7.40583e-08 -7.07888e-08 -9.72412e-08 9.39717e-08 6.94576e-08 -6.42263e-08 -8.58133e-08 8.0582e-08 5.38223e-08 -3.90242e-08 -1.07926e-07 9.31278e-08 1.84055e-08 4.60883e-09 -1.46605e-07 1.2359e-07 -2.97934e-08 5.26222e-08 -1.67227e-07 1.44398e-07 -7.46993e-08 9.2772e-08 -1.72309e-07 1.54236e-07 -1.10956e-07 1.26369e-07 -1.76044e-07 1.60631e-07 -1.40733e-07 1.60171e-07 -1.88337e-07 1.68898e-07 -1.82743e-07 2.02954e-07 -1.82722e-07 1.62511e-07 -2.18867e-07 2.31616e-07 -1.58826e-07 1.46077e-07 1.03802e-06 -1.00804e-06 2.34452e-07 -1.03286e-07 4.19653e-08 1.39459e-06 -1.33327e-06 4.60023e-08 1.98422e-08 3.26062e-06 -3.32646e-06 3.48973e-08 -5.85984e-08 -1.04246e-06 1.06617e-06 2.82066e-08 -6.21347e-09 -1.60331e-06 1.58132e-06 -2.97888e-07 3.58616e-07 -3.389e-06 3.32827e-06 -8.63858e-07 1.38931e-06 -3.1459e-06 2.62045e-06 -1.04394e-06 7.99647e-07 -2.62109e-06 2.86538e-06 -7.01678e-07 6.23e-07 1.74146e-06 -1.66278e-06 -4.9754e-07 5.64899e-07 2.65093e-06 -2.71829e-06 -7.14708e-07 6.68111e-07 -3.06315e-07 3.52911e-07 -6.21239e-07 5.86243e-07 4.33625e-07 -3.98629e-07 -4.99619e-07 4.73386e-07 7.48288e-07 -7.22055e-07 -4.50296e-07 4.12389e-07 5.15468e-07 -4.77561e-07 -3.42999e-07 4.23548e-07 -1.63352e-07 8.28031e-08 -3.99069e-07 4.05491e-07 -2.81008e-07 2.74586e-07 -3.16704e-07 3.47458e-07 -3.53735e-07 3.2298e-07 -3.2812e-07 1.72336e-07 -3.11922e-07 4.67706e-07 -1.17691e-07 3.28408e-08 7.77233e-07 -6.92383e-07 1.87339e-08 -6.11778e-08 -4.99962e-09 4.74435e-08 7.78651e-08 -7.2756e-08 -8.93499e-08 8.42408e-08 6.10316e-08 -4.67882e-08 -7.15868e-08 5.73434e-08 2.91515e-08 -9.96148e-09 -7.6983e-08 5.7793e-08 -1.24043e-08 3.49754e-08 -1.01887e-07 7.93161e-08 -5.89437e-08 8.09596e-08 -1.22889e-07 1.00873e-07 -1.02923e-07 1.22585e-07 -1.35881e-07 1.1622e-07 -1.42555e-07 1.60831e-07 -1.44378e-07 1.26102e-07 -1.80085e-07 1.99458e-07 -1.50045e-07 1.30673e-07 -2.19972e-07 2.37683e-07 -1.4451e-07 1.26799e-07 -2.53942e-07 2.6834e-07 -1.3279e-07 1.18392e-07 9.8037e-07 -9.56884e-07 2.24534e-07 -1.04199e-07 2.38171e-08 1.26528e-06 -1.1849e-06 2.9748e-08 1.88009e-08 3.38273e-06 -3.43128e-06 3.99124e-08 -6.31554e-08 -1.08937e-06 1.11261e-06 1.0311e-08 1.92238e-08 -1.55824e-06 1.5287e-06 -3.66292e-07 6.24265e-07 -3.17155e-06 2.91357e-06 -1.04598e-06 1.57858e-06 -2.10531e-06 1.57272e-06 -1.21357e-06 9.95114e-07 -3.09573e-06 3.31419e-06 -8.73823e-07 7.96343e-07 1.59011e-06 -1.51263e-06 -6.32154e-07 6.02111e-07 2.73272e-06 -2.70267e-06 -6.94746e-07 7.07079e-07 -3.66955e-07 3.54621e-07 -7.06407e-07 6.75756e-07 3.63266e-07 -3.32615e-07 -6.20697e-07 6.1436e-07 7.04086e-07 -6.97749e-07 -5.91744e-07 5.675e-07 4.48992e-07 -4.24748e-07 -5.31709e-07 5.9079e-07 -6.70666e-09 -5.23744e-08 -5.84206e-07 5.87137e-07 -3.05835e-07 3.02904e-07 -5.41413e-07 4.29177e-07 -3.20044e-07 4.3228e-07 -4.42676e-07 3.11779e-07 -5.39739e-07 6.70637e-07 -2.28004e-07 -2.043e-08 4.8102e-07 -2.32586e-07 7.08798e-08 -9.63588e-08 -8.60459e-08 1.11525e-07 1.00006e-07 -7.87591e-08 -7.42018e-08 5.29545e-08 5.20491e-08 -2.59876e-08 -3.81581e-08 1.20966e-08 -1.0132e-09 2.6074e-08 -3.66909e-08 1.16301e-08 -5.17962e-08 7.54348e-08 -5.72583e-08 3.36198e-08 -9.92721e-08 1.20734e-07 -7.99847e-08 5.85225e-08 -1.42096e-07 1.61383e-07 -9.72581e-08 7.79707e-08 -1.80889e-07 1.98813e-07 -1.08267e-07 9.03427e-08 -2.17201e-07 2.34288e-07 -1.12933e-07 9.58467e-08 -2.5157e-07 2.66959e-07 -1.10815e-07 9.54258e-08 -2.82032e-07 2.95487e-07 -1.04776e-07 9.13208e-08 9.3571e-07 -9.18224e-07 2.13532e-07 -1.22861e-07 3.95342e-08 1.11837e-06 -1.03505e-06 8.04226e-08 -1.59288e-08 3.49208e-06 -3.55657e-06 5.06249e-08 -6.6745e-08 -1.13257e-06 1.14869e-06 -4.95305e-09 4.90035e-08 -1.49489e-06 1.45084e-06 -3.78601e-07 7.34975e-07 -2.60191e-06 2.24554e-06 -9.08995e-07 1.38339e-06 -1.08269e-06 6.08297e-07 -1.17892e-06 1.0055e-06 -3.49787e-06 3.67129e-06 -8.8511e-07 7.74555e-07 1.41839e-06 -1.30783e-06 -6.43726e-07 5.62992e-07 2.64909e-06 -2.56835e-06 -5.91872e-07 6.4954e-07 -3.20463e-07 2.62795e-07 -6.934e-07 6.79913e-07 3.12473e-07 -2.98985e-07 -6.68716e-07 6.68779e-07 6.9916e-07 -6.99223e-07 -6.50551e-07 6.38052e-07 3.96641e-07 -3.84142e-07 -6.3387e-07 6.91603e-07 1.07205e-07 -1.64938e-07 -7.4256e-07 7.56742e-07 -3.15345e-07 3.01163e-07 -7.0368e-07 6.21111e-07 -4.98007e-07 5.80576e-07 -5.50686e-07 5.14382e-07 -7.92825e-07 8.29129e-07 -2.74975e-07 1.91536e-07 1.04615e-07 -2.11761e-08 -5.00694e-08 -3.4436e-08 -1.06981e-07 1.91486e-07 7.33248e-08 -5.7348e-08 -2.75319e-08 1.15551e-08 2.80259e-08 4.50543e-09 1.77052e-08 -5.02365e-08 -3.88086e-08 6.9105e-08 1.53634e-08 -4.56599e-08 -9.82801e-08 1.23502e-07 -1.00549e-08 -1.51665e-08 -1.47678e-07 1.68514e-07 -3.81565e-08 1.73198e-08 -1.88483e-07 2.05885e-07 -6.0215e-08 4.28128e-08 -2.22868e-07 2.37977e-07 -7.43002e-08 5.91911e-08 -2.5299e-07 2.66519e-07 -8.10364e-08 6.75069e-08 -2.80021e-07 2.92154e-07 -8.20828e-08 6.99495e-08 -3.04225e-07 3.15052e-07 -7.9495e-08 6.86683e-08 9.02145e-07 -8.87608e-07 2.04137e-07 -9.4376e-08 -7.72852e-09 9.41373e-07 -8.39269e-07 5.54841e-08 -8.70592e-09 3.61788e-06 -3.66466e-06 6.41815e-08 -7.00212e-08 -1.1579e-06 1.16374e-06 -9.92421e-09 7.20272e-08 -1.39898e-06 1.33688e-06 -3.37833e-07 6.86004e-07 -1.89734e-06 1.54917e-06 -7.19632e-07 1.0823e-06 -1.99449e-07 -1.63217e-07 -9.09412e-07 8.3088e-07 -3.80699e-06 3.88553e-06 -8.24858e-07 7.28381e-07 1.20558e-06 -1.1091e-06 -5.57419e-07 4.2568e-07 2.47016e-06 -2.33842e-06 -4.02064e-07 4.94889e-07 -1.90394e-07 9.75691e-08 -5.69503e-07 5.79024e-07 2.93971e-07 -3.03493e-07 -5.65021e-07 5.55902e-07 6.86257e-07 -6.77138e-07 -5.60774e-07 5.77044e-07 3.93084e-07 -4.09354e-07 -6.23625e-07 6.99655e-07 2.37413e-07 -3.13442e-07 -8.20874e-07 9.07331e-07 -2.59563e-07 1.73106e-07 -9.02761e-07 8.35089e-07 -6.64536e-07 7.32208e-07 -7.55237e-07 7.17455e-07 -8.36728e-07 8.7451e-07 -5.21995e-07 3.30251e-07 -2.08396e-07 4.00139e-07 -2.28767e-07 2.37939e-07 -2.23588e-07 2.14416e-07 -2.74492e-07 1.59643e-07 -2.43569e-08 1.39206e-07 -9.98488e-08 9.48235e-08 7.55759e-08 -7.05507e-08 -1.11958e-07 1.33539e-07 7.418e-08 -9.57603e-08 -1.57662e-07 1.80026e-07 3.92167e-08 -6.15808e-08 -2.01846e-07 2.20362e-07 2.05358e-09 -2.05697e-08 -2.3749e-07 2.51701e-07 -2.73689e-08 1.31574e-08 -2.64863e-07 2.76012e-07 -4.64106e-08 3.52617e-08 -2.86649e-07 2.9597e-07 -5.64345e-08 4.71132e-08 -3.05143e-07 3.13385e-07 -6.01023e-08 5.18602e-08 -3.21643e-07 3.29124e-07 -5.98389e-08 5.23577e-08 8.71934e-07 -8.55146e-07 1.97317e-07 -8.1227e-08 4.66754e-09 7.50808e-07 -6.74248e-07 3.95839e-08 -1.58227e-08 3.70092e-06 -3.72468e-06 7.02147e-08 -7.28362e-08 -1.16737e-06 1.16999e-06 -7.47022e-09 7.90738e-08 -1.27124e-06 1.19963e-06 -2.4427e-07 5.14217e-07 -1.24935e-06 9.79407e-07 -3.45462e-07 5.72342e-07 4.41949e-07 -6.68829e-07 -5.59807e-07 6.01843e-07 -3.88899e-06 3.84695e-06 -6.5789e-07 5.50259e-07 1.02525e-06 -9.17617e-07 -3.22692e-07 1.70991e-07 2.19242e-06 -2.04072e-06 -1.06391e-07 2.12897e-07 4.21716e-09 -1.10724e-07 -3.3977e-07 3.71746e-07 3.15162e-07 -3.47138e-07 -4.14235e-07 4.49152e-07 6.86742e-07 -7.21659e-07 -4.75722e-07 4.48091e-07 4.15339e-07 -3.87708e-07 -5.01581e-07 5.75142e-07 3.86455e-07 -4.60017e-07 -7.74859e-07 9.69493e-07 -3.02385e-08 -1.64396e-07 -1.07017e-06 1.05158e-06 -7.83054e-07 8.01643e-07 -9.68431e-07 8.79904e-07 -9.34598e-07 1.02312e-06 -7.46469e-07 6.13516e-07 -5.53113e-07 6.86066e-07 -5.04606e-07 4.29755e-07 -2.12832e-07 2.87683e-07 -3.7562e-07 3.90209e-07 -2.34805e-07 2.20217e-07 -3.11333e-07 2.90666e-07 1.88511e-08 1.81618e-09 -2.64107e-07 2.50987e-07 9.88344e-08 -8.57144e-08 -2.51311e-07 2.58652e-07 7.68157e-08 -8.41568e-08 -2.69066e-07 2.78891e-07 3.51602e-08 -4.4985e-08 -2.87939e-07 2.94995e-07 -2.22579e-09 -4.83027e-09 -3.00961e-07 3.05579e-07 -2.72006e-08 2.25829e-08 -3.09729e-07 3.13339e-07 -4.05999e-08 3.6989e-08 -3.17063e-07 3.20709e-07 -4.6007e-08 4.23613e-08 -3.24761e-07 3.28837e-07 -4.67997e-08 4.27235e-08 8.34648e-07 -8.11438e-07 1.91157e-07 -1.01261e-07 5.53621e-08 6.20738e-07 -5.74839e-07 3.00907e-08 -2.53839e-08 3.73649e-06 -3.7412e-06 7.20563e-08 -7.68368e-08 -1.17304e-06 1.17782e-06 5.20702e-09 6.47491e-08 -1.13149e-06 1.06154e-06 -1.34948e-07 2.89909e-07 -7.73745e-07 6.18784e-07 5.55582e-08 2.36388e-08 7.99379e-07 -8.78576e-07 -2.36122e-07 4.03021e-07 -3.75303e-06 3.58613e-06 -4.63436e-07 2.69607e-07 7.74549e-07 -5.8072e-07 2.5221e-08 -1.57925e-07 1.90906e-06 -1.77636e-06 2.53016e-07 -1.02086e-07 2.17339e-07 -3.6827e-07 -1.11504e-07 2.15407e-07 4.13285e-07 -5.17188e-07 -3.04628e-07 3.65893e-07 7.72541e-07 -8.33806e-07 -4.18435e-07 2.45444e-07 3.01111e-07 -1.2812e-07 -3.01707e-07 3.56919e-07 5.14213e-07 -5.69425e-07 -5.47996e-07 8.20707e-07 3.99313e-07 -6.72024e-07 -1.09387e-06 1.21336e-06 -7.65857e-07 6.46367e-07 -1.18012e-06 1.08103e-06 -1.11706e-06 1.21614e-06 -9.82148e-07 8.78316e-07 -8.01984e-07 9.05815e-07 -7.47443e-07 6.234e-07 -3.9507e-07 5.19113e-07 -5.31118e-07 4.85261e-07 -2.07949e-07 2.53806e-07 -4.79808e-07 4.44332e-07 -4.13578e-08 7.68341e-08 -4.14579e-07 3.96784e-07 6.54414e-08 -4.76465e-08 -3.80808e-07 3.68703e-07 8.18552e-08 -6.97503e-08 -3.58405e-07 3.49796e-07 4.68618e-08 -3.82536e-08 -3.4109e-07 3.32808e-07 5.44444e-09 2.8372e-09 -3.24092e-07 3.16085e-07 -2.32563e-08 3.12637e-08 -3.08346e-07 3.02022e-07 -3.75699e-08 4.38936e-08 -2.96793e-07 2.93414e-07 -4.17423e-08 4.51214e-08 -2.91697e-07 2.91869e-07 -4.04852e-08 4.0313e-08 7.83505e-07 -7.53492e-07 1.82576e-07 -9.06593e-08 1.6949e-08 5.31703e-07 -4.57992e-07 7.66811e-08 -5.62476e-08 3.75113e-06 -3.77156e-06 7.7093e-08 -8.43356e-08 -1.18468e-06 1.19192e-06 3.37647e-08 3.36778e-08 -9.94216e-07 9.26774e-07 -3.79631e-08 1.09111e-07 -5.15502e-07 4.44354e-07 2.2217e-07 -3.35445e-07 8.63826e-07 -7.50552e-07 -6.13455e-08 3.08121e-07 -3.39387e-06 3.14709e-06 -1.77554e-07 -3.88886e-08 3.73858e-07 -1.57416e-07 2.5405e-07 -3.92933e-07 1.63176e-06 -1.49287e-06 3.88991e-07 -1.92063e-07 5.49266e-07 -7.46195e-07 9.42056e-09 1.16616e-07 6.38009e-07 -7.64046e-07 -1.57004e-07 2.55163e-07 9.04061e-07 -1.00222e-06 -4.785e-07 3.7632e-07 -1.19072e-07 2.21252e-07 -2.59606e-07 3.56302e-07 7.32257e-07 -8.28954e-07 -3.92184e-07 5.866e-07 9.71205e-07 -1.16562e-06 -9.3401e-07 1.12644e-06 -5.15206e-07 3.2277e-07 -1.20576e-06 1.2566e-06 -1.27561e-06 1.22477e-06 -1.19286e-06 1.10967e-06 -9.82504e-07 1.0657e-06 -1.05313e-06 1.0064e-06 -6.55903e-07 7.02637e-07 -8.67232e-07 8.12181e-07 -2.92275e-07 3.47326e-07 -7.66644e-07 7.23824e-07 -1.06527e-07 1.49348e-07 -6.55819e-07 6.01174e-07 1.19354e-08 4.27099e-08 -5.4755e-07 5.01236e-07 4.29965e-08 3.31669e-09 -4.57427e-07 4.19449e-07 1.66493e-08 2.13281e-08 -3.82152e-07 3.48708e-07 -2.20112e-08 5.54552e-08 -3.15417e-07 2.85633e-07 -4.8471e-08 7.82554e-08 -2.56442e-07 2.30882e-07 -5.78343e-08 8.33946e-08 -2.06542e-07 1.85959e-07 -5.41822e-08 7.47654e-08 -1.67495e-07 1.53699e-07 -4.32262e-08 5.70216e-08 7.1972e-07 -6.86782e-07 1.73499e-07 -2.54147e-08 -5.15022e-08 3.37722e-07 -2.60805e-07 7.48951e-08 -1.47532e-07 3.80915e-06 -3.73652e-06 1.19247e-07 -9.66345e-08 -1.19283e-06 1.17021e-06 6.60982e-08 -5.18988e-09 -8.66247e-07 8.05339e-07 3.00501e-08 2.28509e-08 -3.90979e-07 3.38078e-07 2.9025e-07 -5.98623e-07 4.96933e-07 -1.88559e-07 5.69312e-08 2.08467e-07 -2.87651e-06 2.61111e-06 5.70231e-08 -2.77794e-07 -7.18794e-08 2.92651e-07 3.82722e-07 -4.50286e-07 1.39182e-06 -1.32426e-06 2.78242e-07 -1.29411e-07 9.16293e-07 -1.06512e-06 6.27355e-08 2.0848e-08 8.68541e-07 -9.52124e-07 -9.43838e-08 2.75795e-07 1.11378e-06 -1.2952e-06 -3.37975e-07 7.68986e-07 4.55563e-08 -4.76567e-07 -8.94164e-07 6.76519e-07 5.67504e-07 -3.49859e-07 -3.70293e-07 1.41413e-08 1.07909e-06 -7.22936e-07 -1.16903e-07 5.12671e-07 -6.81875e-08 -3.2758e-07 -8.02696e-07 1.02587e-06 -1.16209e-06 9.38914e-07 -1.08295e-06 1.0924e-06 -1.10704e-06 1.09759e-06 -1.10174e-06 1.07312e-06 -7.23688e-07 7.52316e-07 -9.89701e-07 9.35984e-07 -4.33356e-07 4.87072e-07 -9.36789e-07 8.5043e-07 -2.17381e-07 3.0374e-07 -7.87665e-07 7.12024e-07 -1.14361e-07 1.90003e-07 -6.34072e-07 5.64356e-07 -6.53815e-08 1.35098e-07 -4.9481e-07 4.31881e-07 -7.33132e-08 1.36243e-07 -3.68428e-07 3.10479e-07 -1.01968e-07 1.59918e-07 -2.51678e-07 1.97657e-07 -1.22371e-07 1.76392e-07 -1.42474e-07 9.11005e-08 -1.26655e-07 1.78028e-07 -3.79983e-08 -1.18552e-08 -1.16992e-07 1.66846e-07 6.29215e-08 -1.09299e-07 -9.42025e-08 1.4058e-07 6.52253e-07 -6.19444e-07 1.62808e-07 -1.16863e-07 1.96263e-07 2.55757e-07 -3.35157e-07 -3.25523e-08 -1.23649e-07 3.63646e-06 -3.48026e-06 1.29051e-07 -1.1132e-07 -1.15259e-06 1.13486e-06 1.00166e-07 -3.62637e-08 -7.4403e-07 6.80127e-07 9.31043e-08 -4.57688e-08 -2.88739e-07 2.41404e-07 2.86762e-07 -5.24755e-07 -8.68235e-08 3.24816e-07 3.5125e-08 4.86401e-08 -2.44099e-06 2.35723e-06 2.50215e-07 -3.86245e-07 -4.72353e-07 6.08383e-07 4.27678e-07 -4.37619e-07 1.28889e-06 -1.27894e-06 2.05964e-07 -1.12726e-07 1.17365e-06 -1.26689e-06 4.75592e-08 3.20683e-08 1.01713e-06 -1.09676e-06 -6.75087e-08 2.20506e-08 1.32117e-06 -1.27571e-06 -7.06577e-08 3.39019e-07 7.88766e-07 -1.05713e-06 -3.67577e-07 4.54444e-07 3.42683e-07 -4.2955e-07 -4.14652e-07 2.0779e-07 3.13682e-07 -1.0682e-07 7.27418e-08 -9.34903e-08 7.39476e-07 -7.18728e-07 -2.83657e-07 8.11654e-07 -5.81416e-07 5.34182e-08 -9.64924e-07 1.01036e-06 -1.0641e-06 1.01866e-06 -9.28945e-07 8.05576e-07 -8.40649e-07 9.64018e-07 -7.55115e-07 7.43194e-07 -4.99217e-07 5.11139e-07 -6.81094e-07 6.625e-07 -3.54268e-07 3.72862e-07 -6.30869e-07 5.91685e-07 -2.39705e-07 2.78889e-07 -5.38145e-07 4.78771e-07 -1.94294e-07 2.53668e-07 -4.10878e-07 3.44505e-07 -1.99015e-07 2.65388e-07 -2.75142e-07 2.11214e-07 -2.2169e-07 2.85617e-07 -1.46546e-07 8.77369e-08 -2.37437e-07 2.96246e-07 -2.85598e-08 -2.48787e-08 -2.41665e-07 2.95103e-07 7.74859e-08 -1.23128e-07 -2.34043e-07 2.79685e-07 1.65327e-07 -1.99571e-07 -2.04732e-07 2.38976e-07 5.877e-07 -5.61483e-07 1.51495e-07 -6.41967e-08 -6.51603e-08 2.8618e-07 -1.56823e-07 2.61672e-07 -2.89602e-07 3.3689e-06 -3.34097e-06 2.24243e-07 -1.23632e-07 -1.08583e-06 9.85216e-07 1.33058e-07 -7.48334e-08 -6.20622e-07 5.62397e-07 1.63614e-07 -1.63281e-07 -2.1483e-07 2.14497e-07 3.52566e-07 -5.00165e-07 -5.01295e-07 6.48894e-07 6.61109e-08 -1.13403e-07 -2.35934e-06 2.40663e-06 3.39488e-07 -3.34159e-07 -6.7972e-07 6.74391e-07 4.4514e-07 -4.28947e-07 1.27718e-06 -1.29337e-06 1.73554e-07 -9.05326e-08 1.35009e-06 -1.43311e-06 2.37283e-08 5.32112e-08 1.18931e-06 -1.26625e-06 -1.35876e-07 2.02009e-07 1.30552e-06 -1.37165e-06 -2.73191e-07 3.99243e-07 1.1601e-06 -1.28616e-06 -5.75124e-07 7.54276e-07 5.70906e-07 -7.50057e-07 -8.81974e-07 1.03004e-06 9.3619e-08 -2.41681e-07 -9.86168e-07 7.63333e-07 4.05415e-07 -1.8258e-07 -4.99308e-07 3.7769e-07 3.31398e-07 -2.09779e-07 -5.91307e-07 5.86322e-07 -9.72368e-07 9.77353e-07 -5.38021e-07 6.35919e-07 -1.04461e-06 9.46709e-07 -8.12413e-07 8.30227e-07 -4.80065e-07 4.6225e-07 -7.45842e-07 6.47957e-07 -4.13397e-07 5.11282e-07 -5.49041e-07 4.62354e-07 -3.44688e-07 4.31376e-07 -3.76062e-07 2.97286e-07 -3.20897e-07 3.99673e-07 -2.19514e-07 1.52994e-07 -3.30714e-07 3.97234e-07 -9.20845e-08 4.31346e-08 -3.41591e-07 3.90541e-07 -4.57244e-10 -3.23826e-08 -3.40704e-07 3.73544e-07 5.94323e-08 -7.8393e-08 -3.27794e-07 3.46754e-07 9.16407e-08 -9.87107e-08 -3.00109e-07 3.07179e-07 1.0166e-07 -1.02234e-07 -2.50336e-07 2.5091e-07 5.40806e-07 -5.28401e-07 1.45138e-07 -3.39033e-08 1.43921e-08 6.61654e-08 -4.66542e-08 1.53475e-08 -1.75568e-07 3.25277e-06 -3.09255e-06 2.11473e-07 -1.14665e-07 -8.69431e-07 7.72624e-07 1.55816e-07 -1.11319e-07 -5.1219e-07 4.67692e-07 2.12034e-07 -2.44376e-07 -2.34448e-07 2.6679e-07 3.74907e-07 -4.70778e-07 -7.78404e-07 8.74275e-07 1.53661e-07 -1.88547e-07 -2.44786e-06 2.48274e-06 2.39435e-07 -1.52813e-07 -6.50059e-07 5.63438e-07 2.0806e-08 -3.21618e-08 1.29804e-06 -1.28668e-06 2.67939e-08 -4.58451e-08 1.4833e-06 -1.46425e-06 2.78004e-08 5.54018e-09 1.31915e-06 -1.35249e-06 -6.16603e-08 1.32534e-07 1.44197e-06 -1.51284e-06 -2.29238e-07 3.28454e-07 1.41231e-06 -1.51152e-06 -4.07053e-07 4.53352e-07 8.70722e-07 -9.17021e-07 -4.88517e-07 4.97066e-07 2.91063e-07 -2.99613e-07 -4.3449e-07 3.53516e-07 1.02716e-07 -2.17422e-08 -2.44937e-07 4.71392e-08 -1.81387e-08 2.15936e-07 4.12914e-09 7.8379e-08 -9.12457e-07 8.29949e-07 -2.6976e-07 3.24148e-07 -7.42855e-07 6.88467e-07 -2.20046e-07 1.46911e-07 -5.48239e-07 6.21374e-07 -1.07139e-07 7.05934e-08 -5.82914e-07 6.19459e-07 -1.44169e-08 -4.75452e-08 -5.05295e-07 5.67257e-07 1.1265e-07 -1.68073e-07 -4.70431e-07 5.25854e-07 2.17317e-07 -2.55396e-07 -4.50072e-07 4.88152e-07 2.8703e-07 -3.09629e-07 -4.24726e-07 4.47325e-07 3.25861e-07 -3.34135e-07 -3.93584e-07 4.01858e-07 3.35892e-07 -3.28997e-07 -3.54756e-07 3.4786e-07 3.16982e-07 -3.00292e-07 -3.05762e-07 2.89071e-07 2.79602e-07 -2.60102e-07 -2.44782e-07 2.25282e-07 5.239e-07 -5.30154e-07 1.43717e-07 -5.1627e-08 -7.96236e-08 2.36786e-08 1.07572e-07 2.13572e-07 -4.60571e-08 3.06189e-06 -3.2294e-06 -1.61206e-08 -1.21702e-07 -7.76548e-07 9.14371e-07 1.70019e-07 -1.41247e-07 -4.33339e-07 4.04567e-07 2.28574e-07 -2.60073e-07 -2.98617e-07 3.30116e-07 3.61558e-07 -4.21839e-07 -9.3921e-07 9.99491e-07 1.14186e-07 -2.136e-08 -2.49476e-06 2.40193e-06 -1.09036e-07 1.84957e-07 -4.12269e-07 3.36348e-07 -1.49761e-07 1.23251e-07 1.25812e-06 -1.23161e-06 -4.64882e-08 -2.77055e-08 1.4142e-06 -1.34001e-06 7.18107e-08 -9.14218e-08 1.36191e-06 -1.3423e-06 8.64501e-08 -6.90553e-08 1.56669e-06 -1.58408e-06 6.36652e-08 -1.00874e-07 1.54979e-06 -1.51258e-06 1.61456e-07 -2.1202e-07 9.05303e-07 -8.54739e-07 2.51422e-07 -2.77714e-07 2.92951e-07 -2.66658e-07 3.2057e-07 -3.90247e-07 -6.32058e-08 1.32883e-07 4.89303e-07 -5.87632e-07 -3.42575e-07 4.40904e-07 6.28678e-07 -5.86974e-07 -7.44744e-07 7.03041e-07 5.64642e-07 -5.91826e-07 -6.97049e-07 7.24234e-07 6.43839e-07 -6.88984e-07 -6.79071e-07 7.24216e-07 7.31365e-07 -7.7182e-07 -6.58462e-07 6.98917e-07 8.09908e-07 -8.37251e-07 -6.11741e-07 6.39084e-07 8.56874e-07 -8.65853e-07 -5.60529e-07 5.69508e-07 8.64323e-07 -8.5156e-07 -5.07629e-07 4.94866e-07 8.27002e-07 -7.95982e-07 -4.50972e-07 4.19953e-07 7.57155e-07 -7.14976e-07 -3.87901e-07 3.45723e-07 6.67431e-07 -6.18761e-07 -3.22993e-07 2.74323e-07 5.70428e-07 -5.28963e-07 -2.5623e-07 2.14764e-07 4.88936e-07 -4.55138e-07 -1.95831e-07 1.62033e-07 5.51157e-07 -5.84399e-07 1.52202e-07 -3.80576e-08 4.27585e-08 -2.29722e-07 2.25021e-07 6.93439e-08 -2.42226e-07 3.36055e-06 -3.18767e-06 1.78966e-07 -1.67216e-07 -1.03289e-06 1.02114e-06 1.94646e-07 -1.65346e-07 -3.78504e-07 3.49204e-07 2.2957e-07 -2.52582e-07 -3.5629e-07 3.79301e-07 3.05516e-07 -3.10733e-07 -1.03783e-06 1.04304e-06 1.23688e-07 1.22729e-07 -2.23794e-06 1.99152e-06 -3.60668e-07 4.6201e-07 -2.87108e-07 1.85765e-07 -3.62653e-07 2.33477e-07 1.17234e-06 -1.04316e-06 -7.89215e-08 -5.27224e-08 1.2451e-06 -1.11346e-06 1.67771e-07 -2.60986e-07 1.29076e-06 -1.19754e-06 3.54151e-07 -4.56492e-07 1.54777e-06 -1.44543e-06 5.94305e-07 -7.40548e-07 1.41669e-06 -1.27045e-06 8.7081e-07 -9.52883e-07 7.92068e-07 -7.09996e-07 1.01939e-06 -1.08608e-06 2.2641e-07 -1.59718e-07 1.16125e-06 -1.24301e-06 -2.07201e-07 2.88963e-07 1.3433e-06 -1.42862e-06 -5.22359e-07 6.07678e-07 1.49284e-06 -1.5376e-06 -7.15395e-07 7.60156e-07 1.5848e-06 -1.62903e-06 -7.58829e-07 8.03065e-07 1.66554e-06 -1.68095e-06 -7.65667e-07 7.81074e-07 1.6723e-06 -1.64107e-06 -7.20151e-07 6.88927e-07 1.58968e-06 -1.5256e-06 -6.28863e-07 5.64786e-07 1.44849e-06 -1.36945e-06 -5.3548e-07 4.5643e-07 1.28665e-06 -1.20735e-06 -4.44511e-07 3.65209e-07 1.12848e-06 -1.0582e-06 -3.60171e-07 2.89893e-07 9.89042e-07 -9.26576e-07 -2.87818e-07 2.25352e-07 8.659e-07 -8.142e-07 -2.24976e-07 1.73276e-07 7.66115e-07 -7.25997e-07 -1.72589e-07 1.32471e-07 6.89396e-07 -6.59585e-07 -1.30856e-07 1.01046e-07 6.3301e-07 -6.93345e-07 1.64524e-07 -4.07351e-08 1.30913e-07 -1.2728e-07 3.71017e-08 -5.51841e-08 -3.6511e-07 2.67345e-06 -2.25316e-06 2.73666e-07 -1.95047e-07 -9.32773e-07 8.54154e-07 2.04493e-07 -1.8397e-07 -3.22984e-07 3.02461e-07 2.17903e-07 -2.32623e-07 -3.98298e-07 4.13019e-07 2.35951e-07 -1.56138e-07 -1.01229e-06 9.32473e-07 -9.69273e-08 3.61494e-07 -1.73489e-06 1.47032e-06 -5.98383e-07 6.01248e-07 -1.07179e-07 1.04313e-07 -4.22133e-07 2.33887e-07 8.71191e-07 -6.82945e-07 -3.55371e-08 -1.37398e-07 9.60856e-07 -7.87921e-07 3.13853e-07 -4.93465e-07 1.06615e-06 -8.86543e-07 7.13899e-07 -9.58438e-07 1.27503e-06 -1.03049e-06 1.23142e-06 -1.48111e-06 1.08045e-06 -8.30759e-07 1.71577e-06 -1.90129e-06 5.76388e-07 -3.90865e-07 2.04859e-06 -2.1594e-06 7.68815e-08 3.39295e-08 2.25675e-06 -2.33665e-06 -3.66596e-07 4.46502e-07 2.40087e-06 -2.44336e-06 -6.75365e-07 7.17856e-07 2.46501e-06 -2.46212e-06 -8.00247e-07 7.97365e-07 2.43221e-06 -2.3739e-06 -8.08388e-07 7.5008e-07 2.28953e-06 -2.19573e-06 -7.35263e-07 6.41461e-07 2.08511e-06 -1.97369e-06 -6.09468e-07 4.98051e-07 1.85932e-06 -1.75979e-06 -4.68858e-07 3.69324e-07 1.6628e-06 -1.5741e-06 -3.66533e-07 2.77824e-07 1.48355e-06 -1.4032e-06 -2.8988e-07 2.09538e-07 1.32585e-06 -1.25904e-06 -2.22096e-07 1.55282e-07 1.19419e-06 -1.13762e-06 -1.68918e-07 1.12347e-07 1.08297e-06 -1.03555e-06 -1.27798e-07 8.03694e-08 9.90354e-07 -9.51336e-07 -9.63741e-08 5.73561e-08 9.14146e-07 -8.82256e-07 -7.28039e-08 4.09136e-08 7.70966e-07 -8.59816e-07 1.812e-07 -4.65809e-08 1.72918e-07 8.03796e-08 -2.06717e-07 -1.19547e-07 -3.82069e-07 1.67387e-06 -1.17225e-06 2.70777e-07 -2.19087e-07 -7.89694e-07 7.38003e-07 2.10273e-07 -1.88562e-07 -2.84456e-07 2.62745e-07 1.98358e-07 -1.98445e-07 -4.2043e-07 4.20517e-07 1.81497e-07 -9.24805e-08 -8.41652e-07 7.52636e-07 -1.24992e-07 3.57899e-07 -1.2133e-06 9.80396e-07 -5.3702e-07 4.86679e-07 -1.40681e-07 1.91023e-07 -3.10809e-07 1.32753e-07 4.94527e-07 -3.16471e-07 5.32859e-08 -2.35512e-07 6.13706e-07 -4.3148e-07 4.47691e-07 -6.86712e-07 6.78769e-07 -4.39748e-07 9.92647e-07 -1.32071e-06 7.49188e-07 -4.21121e-07 1.64523e-06 -1.88422e-06 5.8596e-07 -3.4697e-07 2.11648e-06 -2.33991e-06 1.89501e-07 3.39315e-08 2.52177e-06 -2.67471e-06 -1.6897e-07 3.21907e-07 2.79641e-06 -2.83945e-06 -5.10411e-07 5.53455e-07 2.84261e-06 -2.82579e-06 -7.20585e-07 7.03763e-07 2.77918e-06 -2.71526e-06 -7.5007e-07 6.86144e-07 2.63523e-06 -2.55182e-06 -6.64342e-07 5.80934e-07 2.45497e-06 -2.3582e-06 -5.38357e-07 4.41594e-07 2.24963e-06 -2.13366e-06 -3.93102e-07 2.77124e-07 2.01479e-06 -1.92692e-06 -2.8491e-07 1.97037e-07 1.84002e-06 -1.7301e-06 -1.85978e-07 7.60622e-08 1.61433e-06 -1.53739e-06 -1.37367e-07 6.04187e-08 1.47672e-06 -1.41608e-06 -9.43593e-08 3.37139e-08 1.35241e-06 -1.28891e-06 -5.76925e-08 -5.80674e-09 1.21731e-06 -1.15809e-06 -3.13551e-08 -2.78609e-08 1.10885e-06 -1.06471e-06 -1.62992e-08 -2.785e-08 1.01979e-06 -9.82782e-07 -7.17004e-09 -2.98387e-08 9.72249e-07 -1.10033e-06 2.07382e-07 -6.52921e-08 2.61409e-07 2.14083e-07 -4.10199e-07 -2.01809e-07 -4.45317e-07 1.0249e-06 -3.77776e-07 3.26986e-07 -2.42341e-07 -8.21599e-07 7.36954e-07 2.1877e-07 -1.77899e-07 -2.36488e-07 1.95617e-07 1.7005e-07 -1.56892e-07 -4.1363e-07 4.00473e-07 1.31074e-07 -7.0245e-08 -6.81359e-07 6.2053e-07 -4.90853e-08 1.81928e-07 -8.04115e-07 6.71272e-07 -2.91319e-07 2.61152e-07 -2.33605e-07 2.63771e-07 -1.53909e-07 2.85111e-08 1.706e-07 -4.52023e-08 1.20793e-07 -2.7931e-07 2.63447e-07 -1.0493e-07 4.67488e-07 -6.71023e-07 2.09233e-07 -5.69789e-09 9.28056e-07 -1.24426e-06 7.02685e-08 2.45931e-07 1.66846e-06 -2.07686e-06 6.06578e-08 3.47734e-07 2.36336e-06 -2.43561e-06 -2.05917e-07 2.78172e-07 2.46985e-06 -2.5051e-06 -3.9689e-07 4.32138e-07 2.53454e-06 -2.54288e-06 -5.7815e-07 5.86495e-07 2.50742e-06 -2.44669e-06 -6.63997e-07 6.03266e-07 2.36738e-06 -2.27693e-06 -6.08682e-07 5.18234e-07 2.17094e-06 -2.06564e-06 -4.82815e-07 3.77518e-07 1.9555e-06 -1.85157e-06 -3.43301e-07 2.39363e-07 1.72054e-06 -1.58969e-06 -1.84674e-07 5.38235e-08 1.46641e-06 -1.36541e-06 -1.2098e-07 1.99763e-08 1.28253e-06 -1.26723e-06 -5.51874e-09 -9.78585e-09 1.24074e-06 -1.17374e-06 3.1903e-08 -9.89045e-08 1.0482e-06 -9.52497e-07 3.40995e-08 -1.29801e-07 8.90035e-07 -8.8681e-07 4.84642e-08 -5.16897e-08 8.76558e-07 -8.67393e-07 8.29564e-08 -9.21211e-08 8.31433e-07 -8.06101e-07 6.37075e-08 -8.90402e-08 7.79314e-07 -7.54386e-07 6.8043e-08 -9.29703e-08 1.25212e-06 -1.40676e-06 2.10869e-07 -8.15399e-08 6.83835e-07 7.11982e-07 -1.31428e-06 -7.37903e-07 -1.04442e-06 -5.05907e-07 2.28823e-06 7.45559e-07 -2.60649e-07 -5.65493e-07 8.05818e-08 2.29285e-07 -1.49926e-07 -1.39958e-07 6.05984e-08 1.31706e-07 -1.12537e-07 -3.83813e-07 3.64644e-07 8.60688e-08 -4.46321e-08 -5.71925e-07 5.30488e-07 -2.01201e-08 8.2818e-08 -5.82848e-07 5.2015e-07 -1.32703e-07 1.16681e-07 -2.83896e-07 2.99918e-07 -5.53235e-08 -2.78246e-08 -5.38199e-08 1.36968e-07 1.34522e-07 -2.4982e-07 -2.67281e-08 1.42026e-07 3.81118e-07 -5.08276e-07 -1.46309e-07 2.73467e-07 6.31256e-07 -7.22923e-07 -3.8817e-07 4.79838e-07 7.90094e-07 -8.40941e-07 -6.01301e-07 6.52148e-07 9.07215e-07 -1.07368e-06 -5.70276e-07 7.36737e-07 1.25874e-06 -1.21709e-06 -3.38743e-07 2.97091e-07 1.10779e-06 -1.12693e-06 -6.29735e-07 6.48879e-07 1.13653e-06 -1.09064e-06 -5.48239e-07 5.02349e-07 1.00859e-06 -9.22685e-07 -4.18133e-07 3.32226e-07 8.33111e-07 -7.47355e-07 -2.67583e-07 1.81827e-07 6.58276e-07 -5.8198e-07 -1.23027e-07 4.67309e-08 4.87001e-07 -4.13319e-07 7.09117e-09 -8.07723e-08 3.50457e-07 -3.08039e-07 4.83371e-08 -9.07551e-08 2.40925e-07 -1.82301e-07 7.46071e-08 -1.33232e-07 1.41914e-07 -1.29977e-07 1.234e-07 -1.35337e-07 1.46477e-07 -1.60497e-07 1.43311e-07 -1.29291e-07 1.35593e-07 -1.06576e-07 8.19193e-08 -1.10936e-07 1.03662e-07 -1.19931e-07 1.28821e-07 -1.12552e-07 1.45853e-07 -1.59886e-07 1.22526e-07 -1.08493e-07 1.69904e-07 -1.81966e-07 1.09945e-07 -9.78835e-08 1.55099e-06 1.42237e-07 -1.18178e-07 1.162e-06 2.58614e-06 -3.62996e-06 -1.42272e-06 -1.87666e-06 -6.11179e-06 9.41118e-06 1.18162e-06 -2.43956e-07 1.11469e-06 -2.05236e-06 1.83878e-07 -9.12981e-08 4.1161e-08 -1.33741e-07 7.61027e-08 -6.32772e-08 -3.4732e-07 3.34494e-07 4.69141e-08 -2.43613e-08 -4.99479e-07 4.76926e-07 -7.27523e-09 3.4733e-08 -4.79505e-07 4.52047e-07 -5.35123e-08 4.48554e-08 -3.12136e-07 3.20793e-07 -1.41784e-08 -3.03902e-08 -1.98747e-07 2.43316e-07 9.06656e-08 -1.58902e-07 -2.30814e-07 2.9905e-07 2.39941e-07 -3.21406e-07 -3.72924e-07 4.54389e-07 4.03288e-07 -4.65258e-07 -5.63981e-07 6.25951e-07 5.00353e-07 -4.95674e-07 -7.51486e-07 7.46807e-07 4.57927e-07 -5.24771e-07 -7.8122e-07 8.48064e-07 7.71376e-07 -1.00227e-06 -2.57752e-07 4.88651e-07 9.9979e-07 -7.74186e-07 -4.92369e-07 2.66766e-07 5.42062e-07 -3.89678e-07 -4.28606e-07 2.76221e-07 2.74538e-07 -1.74644e-07 -2.59636e-07 1.59743e-07 6.33969e-08 7.33526e-11 -1.1199e-07 4.85195e-08 -4.8262e-08 7.64309e-08 6.20806e-09 -3.4377e-08 -8.56295e-08 9.12224e-08 1.27865e-07 -1.33458e-07 -9.80631e-08 9.33426e-08 1.64747e-07 -1.60027e-07 -9.98848e-08 1.02103e-07 1.46806e-07 -1.49024e-07 -1.0069e-07 9.66564e-08 1.36806e-07 -1.32772e-07 -9.04497e-08 8.3791e-08 1.24815e-07 -1.18156e-07 -7.64544e-08 6.93427e-08 1.12927e-07 -1.05815e-07 -6.18418e-08 5.50421e-08 1.02111e-07 -9.53108e-08 -4.85105e-08 4.29049e-08 9.11452e-08 -8.55396e-08 -3.73391e-08 3.20937e-08 8.1041e-08 -7.57957e-08 1.62411e-07 -1.86771e-07 -1.28608e-07 1.52968e-07 2.08333e-07 -2.29101e-07 -1.18614e-07 1.39381e-07 2.47183e-07 -2.64738e-07 -1.46155e-07 1.63709e-07 2.79734e-07 -2.927e-07 -1.87564e-07 2.0053e-07 3.00504e-07 -3.01509e-07 -1.86564e-07 1.87569e-07 2.93203e-07 -2.73747e-07 -1.07975e-07 8.85198e-08 2.46278e-07 -2.12437e-07 3.72827e-08 -7.11236e-08 1.88856e-07 -1.70117e-07 1.93306e-07 -2.12044e-07 1.58585e-07 -1.5532e-07 2.1085e-07 -2.14115e-07 1.21148e-07 -6.30359e-08 8.26743e-08 -1.40786e-07 1.80209e-08 -1.46581e-08 -2.52633e-07 2.4927e-07 8.1645e-08 -1.63012e-07 -1.72635e-07 2.54003e-07 2.26225e-07 -2.79036e-07 1.64246e-07 -1.11434e-07 2.75602e-07 -2.69064e-07 4.48803e-07 -4.55341e-07 2.37837e-07 -1.72497e-07 4.1817e-07 -4.8351e-07 1.2375e-07 -4.94276e-08 2.47469e-07 -3.21791e-07 1.64118e-08 -2.47408e-08 3.07918e-07 -2.99589e-07 4.99543e-08 -2.3464e-08 2.95481e-07 -3.21971e-07 -4.29496e-09 2.69694e-08 3.04309e-07 -3.26984e-07 -6.94879e-08 7.96533e-08 5.6969e-08 -6.71343e-08 -5.22197e-08 1.09948e-07 -3.70764e-07 3.13036e-07 -1.56602e-07 1.41483e-07 -1.10023e-07 1.25142e-07 -1.95188e-07 8.30546e-07 6.58632e-07 -1.29399e-06 -4.04493e-07 1.27808e-07 2.19953e-06 -1.92285e-06 2.36595e-08 -2.56346e-07 -5.72711e-06 5.9598e-06 4.843e-07 -4.58028e-07 -1.70432e-07 1.4416e-07 4.60568e-07 -5.17296e-07 -2.21004e-06 2.26677e-06 5.08409e-07 -5.0176e-07 2.02719e-06 -2.03384e-06 6.8092e-07 -1.06888e-06 1.13211e-06 -7.44149e-07 8.60569e-07 1.63866e-07 8.1086e-07 -1.8353e-06 1.23475e-07 -1.50591e-07 -1.78365e-07 2.05481e-07 1.76003e-07 -2.00696e-07 -1.6147e-07 1.86163e-07 2.21099e-07 -2.38799e-07 -1.80657e-07 1.98357e-07 2.51549e-07 -2.59881e-07 -2.10614e-07 2.18947e-07 2.62062e-07 -2.57134e-07 -1.85025e-07 1.80097e-07 2.4496e-07 -2.25209e-07 -6.85255e-08 4.87744e-08 2.02749e-07 -1.80655e-07 9.65231e-08 -1.18617e-07 1.73338e-07 -1.68514e-07 2.23425e-07 -2.28249e-07 1.65101e-07 -1.67239e-07 2.15707e-07 -2.1357e-07 1.59393e-07 -1.23285e-07 1.86404e-07 -2.22512e-07 8.15201e-08 -6.88575e-08 -2.39594e-07 2.26931e-07 1.14204e-07 -2.05349e-07 -3.42315e-07 4.33459e-07 2.68758e-07 -3.05247e-07 6.46388e-08 -2.81503e-08 3.04881e-07 -3.27701e-07 4.45698e-07 -4.22878e-07 3.7295e-07 -4.36475e-07 4.79067e-07 -4.15542e-07 3.76043e-07 -2.63092e-07 5.36603e-07 -6.49554e-07 1.05519e-07 -2.93899e-08 3.04314e-07 -3.80444e-07 5.77053e-08 -4.35854e-08 3.44546e-07 -3.58666e-07 2.49982e-09 1.97879e-08 3.49093e-07 -3.7138e-07 -6.48632e-08 6.8421e-08 7.24163e-08 -7.59741e-08 -5.70807e-08 1.46263e-07 -2.41555e-07 1.52372e-07 -1.50246e-07 1.28805e-07 -1.50607e-07 1.72047e-07 -3.15067e-07 7.17235e-07 1.57709e-06 -1.97926e-06 -2.99685e-07 -6.52873e-08 1.67231e-06 -1.30734e-06 1.7292e-07 -2.59375e-07 -6.12139e-06 6.20784e-06 3.75236e-07 -3.88576e-07 -1.32391e-07 1.45731e-07 4.46974e-07 -4.7427e-07 -2.30959e-06 2.33689e-06 4.25558e-07 -3.93295e-07 2.05111e-06 -2.08337e-06 5.17988e-07 -7.0478e-07 5.47405e-07 -3.60613e-07 4.79624e-07 1.18203e-06 2.97742e-06 -4.63907e-06 4.83142e-08 -7.0836e-08 -2.30384e-07 2.52906e-07 9.4368e-08 -1.18916e-07 -2.10586e-07 2.35134e-07 1.39656e-07 -1.5706e-07 -2.15404e-07 2.32808e-07 1.68404e-07 -1.7446e-07 -2.25554e-07 2.3161e-07 1.74894e-07 -1.7032e-07 -1.74772e-07 1.70198e-07 1.6221e-07 -1.51441e-07 -3.30586e-08 2.22891e-08 1.41751e-07 -1.35648e-07 1.34075e-07 -1.40178e-07 1.40969e-07 -1.52684e-07 2.24619e-07 -2.12903e-07 1.58017e-07 -1.69497e-07 2.06669e-07 -1.95188e-07 1.83983e-07 -1.72804e-07 2.46312e-07 -2.5749e-07 1.47891e-07 -1.30797e-07 -2.11427e-07 1.94332e-07 1.56925e-07 -2.23799e-07 -5.12731e-07 5.79605e-07 2.47857e-07 -2.36454e-07 1.35051e-08 -2.49084e-08 2.14938e-07 -2.31264e-07 3.99563e-07 -3.83237e-07 3.12169e-07 -4.47986e-07 3.11587e-07 -1.7577e-07 5.60857e-07 -7.60971e-07 6.76831e-07 -4.76717e-07 6.79503e-07 -2.74289e-07 5.71435e-07 -9.76649e-07 2.51803e-08 -2.94767e-08 3.60422e-07 -3.56125e-07 1.34969e-08 -4.07524e-09 3.90664e-07 -4.00086e-07 -2.98311e-08 4.20886e-08 8.12041e-08 -9.34617e-08 -7.44483e-08 1.7903e-07 -5.50035e-08 -4.95782e-08 -1.34029e-07 1.46742e-07 -2.22845e-07 2.10132e-07 -8.66734e-07 5.29613e-07 2.00847e-06 -1.67135e-06 -2.31272e-07 -2.39449e-07 9.12242e-07 -4.41521e-07 3.19333e-07 -2.30084e-07 -6.21023e-06 6.12098e-06 2.13529e-07 -2.89726e-07 -1.85149e-07 2.61346e-07 4.01872e-07 -3.96377e-07 -2.34772e-06 2.34223e-06 3.23998e-07 -2.74892e-07 2.12422e-06 -2.17332e-06 3.33178e-07 -3.4637e-07 2.82866e-07 -2.69674e-07 3.00295e-07 1.73941e-07 4.99928e-06 -5.47352e-06 -3.25808e-08 2.2115e-08 -2.69355e-07 2.79821e-07 -8.27979e-09 -8.58702e-09 -2.5598e-07 2.72846e-07 2.44777e-08 -3.86595e-08 -2.48496e-07 2.62678e-07 4.82457e-08 -5.38655e-08 -2.37143e-07 2.42762e-07 5.59088e-08 -5.64383e-08 -1.67906e-07 1.68436e-07 5.74601e-08 -6.09823e-08 -1.86003e-08 2.21225e-08 6.82871e-08 -8.14277e-08 1.36147e-07 -1.23006e-07 9.71357e-08 -1.19002e-07 1.98177e-07 -1.7631e-07 1.31054e-07 -1.52859e-07 1.78101e-07 -1.56296e-07 1.76463e-07 -1.93315e-07 2.55414e-07 -2.38561e-07 1.92831e-07 -1.77405e-07 -1.78291e-07 1.62865e-07 1.79771e-07 -2.02127e-07 -6.23988e-07 6.46343e-07 1.73498e-07 -1.19429e-07 7.02524e-08 -1.24321e-07 7.26652e-08 -5.83975e-08 3.72723e-07 -3.86991e-07 1.37378e-07 -2.4881e-07 4.78202e-08 6.36118e-08 3.06774e-07 -3.41049e-07 2.89726e-07 -2.5545e-07 3.37253e-07 -3.26419e-07 9.67936e-07 -9.7877e-07 3.61865e-07 -8.00789e-08 5.034e-07 -7.85187e-07 -2.25911e-10 -2.92911e-08 3.87238e-07 -3.57721e-07 4.94482e-08 1.28365e-08 1.19394e-07 -1.81678e-07 -1.30983e-07 1.52817e-07 1.30072e-07 -1.51905e-07 -7.28778e-08 4.31409e-07 -5.3681e-08 -3.0485e-07 -1.39724e-06 7.85297e-07 1.9515e-06 -1.33955e-06 -1.4381e-07 -3.81719e-07 -2.49955e-08 5.50524e-07 4.31305e-07 -1.4544e-07 -5.9446e-06 5.65874e-06 -2.26042e-08 -1.48973e-07 -3.71573e-07 5.4315e-07 3.24675e-07 -2.92073e-07 -2.3237e-06 2.29109e-06 2.16616e-07 -1.70978e-07 2.22069e-06 -2.26632e-06 1.83214e-07 -1.18957e-07 3.02441e-07 -3.66699e-07 4.67438e-08 9.63671e-08 5.75563e-06 -5.89874e-06 -8.96191e-08 9.20262e-08 -2.83292e-07 2.80885e-07 -9.10698e-08 8.69522e-08 -2.83175e-07 2.87293e-07 -8.12556e-08 7.48665e-08 -2.73028e-07 2.79417e-07 -6.96386e-08 6.5356e-08 -2.47786e-07 2.52069e-07 -6.14524e-08 5.53711e-08 -1.71806e-07 1.77887e-07 -4.54396e-08 2.92361e-08 -3.20392e-08 4.82427e-08 -8.46989e-09 -1.73217e-08 1.04011e-07 -7.82194e-08 4.37291e-08 -6.83471e-08 1.5151e-07 -1.26892e-07 8.48468e-08 -8.42058e-08 1.37767e-07 -1.38408e-07 1.18257e-07 -1.76302e-07 2.05065e-07 -1.47019e-07 2.00338e-07 -1.83678e-07 -1.48514e-07 1.31854e-07 1.6337e-07 -1.34405e-07 -6.43832e-07 6.14867e-07 7.11962e-08 7.50234e-10 1.8451e-07 -2.56457e-07 -3.83852e-08 6.33526e-08 3.98592e-07 -4.23559e-07 -2.85154e-08 8.84168e-09 -1.41535e-07 1.61209e-07 1.36425e-08 -1.50739e-08 2.5879e-07 -2.57358e-07 2.85645e-08 -1.42405e-07 8.079e-07 -6.9406e-07 3.47514e-07 -6.66357e-07 1.12515e-06 -8.06306e-07 1.79859e-07 -2.48334e-08 3.36034e-07 -4.91059e-07 3.93444e-08 5.33766e-08 2.76244e-07 -3.68965e-07 -1.51663e-07 9.4057e-08 4.74769e-08 1.01296e-08 -2.55858e-07 1.48467e-06 1.1107e-06 -2.33951e-06 -9.41702e-07 5.86358e-07 8.26609e-07 -4.71265e-07 2.04924e-08 -4.88521e-07 -1.02888e-06 1.49691e-06 4.7313e-07 2.29384e-08 -5.28672e-06 4.79065e-06 -3.43196e-07 3.46902e-08 -7.68381e-07 1.07689e-06 2.23123e-07 -1.7355e-07 -2.2509e-06 2.20133e-06 1.14104e-07 -8.93445e-08 2.30147e-06 -2.32623e-06 8.39287e-08 2.51857e-09 4.43881e-07 -5.30328e-07 -1.83142e-08 -3.24858e-08 5.9322e-06 -5.8814e-06 -1.1691e-07 1.2624e-07 -2.74387e-07 2.65057e-07 -1.33827e-07 1.40039e-07 -2.85602e-07 2.7939e-07 -1.43965e-07 1.46296e-07 -2.81125e-07 2.78795e-07 -1.4702e-07 1.46017e-07 -2.54766e-07 2.55769e-07 -1.42459e-07 1.34086e-07 -1.85333e-07 1.93707e-07 -1.19892e-07 9.75301e-08 -6.77266e-08 9.00884e-08 -7.01195e-08 3.697e-08 4.88022e-08 -1.56527e-08 -4.74443e-09 -2.36334e-08 1.01813e-07 -7.34349e-08 4.08711e-08 -4.34299e-08 1.56632e-07 -1.54073e-07 3.69969e-08 -1.96374e-07 4.44193e-08 1.14958e-07 1.77345e-07 -1.36123e-07 -1.03406e-07 6.21843e-08 9.98393e-08 -3.19918e-08 -5.66953e-07 4.99106e-07 -5.06237e-08 1.08354e-07 3.17314e-07 -3.75044e-07 -1.36042e-07 1.43253e-07 4.3502e-07 -4.42231e-07 -2.16368e-07 3.12919e-07 -1.14138e-07 1.75867e-08 -3.07766e-07 1.97754e-07 2.24042e-07 -1.1403e-07 -1.43072e-07 1.0777e-07 6.34518e-07 -5.99216e-07 3.27263e-08 -3.45558e-07 7.44888e-07 -4.32056e-07 3.53256e-07 -1.25126e-07 6.00664e-07 -8.28794e-07 4.3984e-08 -2.07775e-08 4.31886e-07 -4.55093e-07 6.80063e-08 -2.38821e-08 -3.8914e-08 -5.21013e-09 -1.36595e-06 1.28703e-06 2.68952e-06 -2.61061e-06 -9.79133e-07 3.3226e-07 1.69017e-07 4.77856e-07 1.75955e-07 -5.51325e-07 -1.91285e-06 2.28822e-06 4.28808e-07 2.04536e-07 -4.22586e-06 3.59252e-06 -6.38956e-07 2.21987e-07 -1.44272e-06 1.85969e-06 1.12262e-07 -5.84258e-08 -2.15047e-06 2.09664e-06 1.90424e-08 -2.89246e-08 2.33513e-06 -2.32525e-06 2.90485e-08 5.05146e-08 6.11722e-07 -6.91285e-07 -3.09648e-08 -1.22812e-07 5.77272e-06 -5.61894e-06 -1.27747e-07 1.38244e-07 -2.55071e-07 2.44574e-07 -1.4815e-07 1.57752e-07 -2.70989e-07 2.61387e-07 -1.65795e-07 1.725e-07 -2.7379e-07 2.67085e-07 -1.77046e-07 1.79311e-07 -2.55011e-07 2.52746e-07 -1.7766e-07 1.70595e-07 -2.01431e-07 2.08496e-07 -1.57579e-07 1.36792e-07 -1.11607e-07 1.32395e-07 -1.11241e-07 8.01028e-08 -1.62228e-08 4.73609e-08 -4.88159e-08 1.68458e-08 4.41425e-08 -1.21724e-08 1.52455e-08 -6.05185e-08 1.29873e-07 -8.46001e-08 1.03422e-07 -9.04654e-08 -1.31879e-07 1.18922e-07 1.06207e-07 -5.3244e-08 -1.1381e-09 -5.18253e-08 9.05385e-09 8.36296e-08 -4.20676e-07 3.27992e-07 -1.6542e-07 2.06115e-07 4.22763e-07 -4.63459e-07 -2.28447e-07 2.32549e-07 4.4738e-07 -4.51482e-07 -3.08277e-07 3.31273e-07 3.59426e-08 -5.89391e-08 -2.98148e-07 2.71047e-07 4.10348e-08 -1.3934e-08 -2.42669e-07 1.85681e-07 5.60067e-07 -5.03078e-07 -1.61002e-07 -4.99856e-11 1.91177e-07 -3.01252e-08 1.09758e-07 -7.46183e-08 9.22565e-07 -9.57704e-07 5.16547e-08 -5.74791e-08 5.45601e-07 -5.39777e-07 1.20255e-07 1.67147e-07 2.02508e-07 -4.8991e-07 -3.47294e-07 3.56663e-07 2.85499e-06 -2.86436e-06 -3.52312e-07 9.07065e-08 -7.8384e-07 1.04545e-06 3.2894e-07 -5.62123e-07 -2.58625e-06 2.81944e-06 3.34953e-07 1.37115e-07 -3.01752e-06 2.54546e-06 -6.79242e-07 4.10084e-07 -2.22676e-06 2.49592e-06 1.48849e-08 4.593e-08 -2.04934e-06 1.98852e-06 -4.8107e-08 1.31765e-08 2.30009e-06 -2.26516e-06 7.19551e-10 6.39721e-08 7.60821e-07 -8.25513e-07 -2.53015e-08 -1.68538e-07 5.44766e-06 -5.25382e-06 -1.36686e-07 1.46127e-07 -2.34969e-07 2.25528e-07 -1.55136e-07 1.64364e-07 -2.52109e-07 2.42881e-07 -1.72423e-07 1.79734e-07 -2.60059e-07 2.52748e-07 -1.84832e-07 1.87699e-07 -2.5005e-07 2.47183e-07 -1.87389e-07 1.8287e-07 -2.14099e-07 2.18619e-07 -1.7379e-07 1.58963e-07 -1.49769e-07 1.64595e-07 -1.40522e-07 1.17475e-07 -7.38556e-08 9.69027e-08 -9.29947e-08 6.55756e-08 -1.7554e-08 4.49732e-08 -3.71766e-08 -1.87588e-09 4.27908e-08 -3.73832e-09 1.76485e-08 2.04558e-09 -1.16895e-07 9.72009e-08 6.78177e-08 -4.76275e-08 1.11405e-07 -1.31595e-07 -3.15933e-08 1.57467e-07 -2.28434e-07 1.0256e-07 -2.43493e-07 2.76267e-07 4.96892e-07 -5.29666e-07 -2.96427e-07 3.04506e-07 4.57413e-07 -4.65492e-07 -3.61099e-07 3.42831e-07 5.06104e-08 -3.23422e-08 -3.19386e-07 3.39392e-07 2.6225e-08 -4.6231e-08 -2.96571e-07 2.14885e-07 4.55003e-07 -3.73317e-07 -1.57296e-07 1.88151e-07 -3.74274e-08 6.57292e-09 -1.23996e-07 1.01741e-07 9.45633e-07 -9.23378e-07 -6.00845e-08 -1.30276e-08 4.7602e-07 -4.02908e-07 -8.74112e-08 3.44984e-07 7.76032e-07 -1.0336e-06 -3.38079e-07 3.59472e-07 2.874e-06 -2.89539e-06 -1.49189e-07 -1.49797e-07 -1.28581e-06 1.58479e-06 4.74401e-07 -5.31922e-07 -2.95993e-06 3.01745e-06 2.47668e-07 -1.31046e-07 -2.26878e-06 2.15216e-06 -4.64034e-07 4.95958e-07 -2.59789e-06 2.56596e-06 -3.76608e-08 1.30557e-07 -1.91676e-06 1.82386e-06 -9.62903e-08 4.26966e-08 2.22237e-06 -2.16877e-06 -1.48176e-08 6.49275e-08 8.80444e-07 -9.30554e-07 -1.51217e-08 -1.91689e-07 5.05945e-06 -4.85264e-06 -1.53108e-07 1.61979e-07 -2.16817e-07 2.07947e-07 -1.70118e-07 1.78014e-07 -2.34692e-07 2.26796e-07 -1.84698e-07 1.90719e-07 -2.46351e-07 2.40331e-07 -1.95096e-07 1.97965e-07 -2.44449e-07 2.4158e-07 -1.98699e-07 1.96958e-07 -2.21688e-07 2.23429e-07 -1.92188e-07 1.83687e-07 -1.75674e-07 1.84175e-07 -1.72966e-07 1.58883e-07 -1.14555e-07 1.28638e-07 -1.42376e-07 1.24582e-07 -6.65244e-08 8.43193e-08 -1.06076e-07 7.48384e-08 -3.15436e-08 6.27812e-08 -5.73055e-08 4.85225e-08 -1.08852e-07 1.17635e-07 4.55069e-08 -2.12463e-07 7.19674e-08 9.49889e-08 -8.12452e-09 2.2087e-07 5.84892e-08 -2.71235e-07 -3.083e-07 3.30919e-07 5.58847e-07 -5.81465e-07 -3.40232e-07 3.45707e-07 4.73466e-07 -4.78942e-07 -3.86771e-07 3.84062e-07 1.92441e-08 -1.65351e-08 -3.93604e-07 3.88918e-07 4.74113e-08 -4.27253e-08 -3.48924e-07 2.90875e-07 2.7708e-07 -2.1903e-07 -2.26961e-07 2.80432e-07 7.58624e-08 -1.29334e-07 -2.34697e-07 1.97488e-07 8.94032e-07 -8.56822e-07 -2.09366e-07 3.18069e-07 4.22817e-07 -5.3152e-07 -5.67317e-07 5.9344e-07 1.04509e-06 -1.07121e-06 -5.53019e-07 2.90926e-07 2.82988e-06 -2.56778e-06 2.9505e-08 -3.66706e-07 -1.89815e-06 2.23535e-06 6.10656e-07 -5.09519e-07 -2.99072e-06 2.88959e-06 1.90746e-07 -1.9605e-07 -2.13584e-06 2.14114e-06 -2.75191e-07 3.6814e-07 -2.47281e-06 2.37986e-06 -5.69519e-08 1.83769e-07 -1.71671e-06 1.5899e-06 -1.2964e-07 6.11473e-08 2.1092e-06 -2.04071e-06 -2.38467e-08 6.17959e-08 9.72508e-07 -1.01046e-06 -2.95704e-09 -2.0294e-07 4.65313e-06 -4.44723e-06 -1.77414e-07 1.86481e-07 -1.99484e-07 1.90418e-07 -1.94356e-07 2.01749e-07 -2.19657e-07 2.12264e-07 -2.08416e-07 2.15014e-07 -2.34747e-07 2.28149e-07 -2.20326e-07 2.25008e-07 -2.38507e-07 2.33826e-07 -2.28498e-07 2.31467e-07 -2.2322e-07 2.20252e-07 -2.32036e-07 2.28364e-07 -1.89826e-07 1.93498e-07 -2.22385e-07 2.12467e-07 -1.39138e-07 1.49055e-07 -2.00872e-07 1.88885e-07 -9.93616e-08 1.11348e-07 -1.77546e-07 1.58681e-07 -8.19871e-08 1.00852e-07 -1.70895e-07 1.79321e-07 -9.32829e-08 8.48573e-08 -2.02484e-07 2.51975e-07 -1.46874e-07 9.73833e-08 -2.80806e-07 3.48417e-07 3.89493e-07 -4.57105e-07 -3.82855e-07 3.71172e-07 5.88068e-07 -5.76386e-07 -3.59115e-07 3.5576e-07 4.8003e-07 -4.76675e-07 -3.8421e-07 4.07865e-07 2.66961e-08 -5.03509e-08 -4.32202e-07 4.28462e-07 3.5159e-08 -3.14187e-08 -4.02439e-07 4.08469e-07 1.97263e-07 -2.03294e-07 -3.97502e-07 3.86885e-07 1.39993e-07 -1.29376e-07 -3.13653e-07 2.66178e-07 8.14683e-07 -7.67208e-07 -3.01563e-07 2.79125e-07 7.17622e-07 -6.95184e-07 -6.11282e-07 6.65143e-07 1.04469e-06 -1.09855e-06 -4.07218e-07 7.3819e-08 2.29826e-06 -1.96486e-06 2.44074e-07 -5.57008e-07 -2.54496e-06 2.85789e-06 7.27471e-07 -5.20056e-07 -2.73483e-06 2.52742e-06 1.97799e-07 -1.48415e-07 -2.12582e-06 2.07643e-06 -1.06761e-07 1.63463e-07 -2.31326e-06 2.25656e-06 -8.57493e-08 2.13843e-07 -1.4633e-06 1.3352e-06 -1.50387e-07 7.29787e-08 1.96968e-06 -1.89228e-06 -2.93291e-08 5.70911e-08 1.04178e-06 -1.06954e-06 5.47033e-09 -2.07268e-07 4.25163e-06 -4.04983e-06 -1.94537e-07 2.0388e-07 -1.81934e-07 1.72591e-07 -2.14695e-07 2.2785e-07 -2.02834e-07 1.89679e-07 -2.40035e-07 2.52579e-07 -2.19226e-07 2.06682e-07 -2.62668e-07 2.71113e-07 -2.27398e-07 2.18953e-07 -2.78945e-07 2.87009e-07 -2.15106e-07 2.07042e-07 -2.91666e-07 2.95663e-07 -1.92186e-07 1.88189e-07 -2.93129e-07 2.84174e-07 -1.59519e-07 1.68474e-07 -2.7973e-07 2.72836e-07 -1.17657e-07 1.24551e-07 -2.68759e-07 2.73455e-07 -1.07036e-07 1.02341e-07 -2.68126e-07 3.11308e-07 -8.20341e-08 3.88528e-08 -3.50817e-07 3.95818e-07 -4.85792e-08 3.57803e-09 -4.01957e-07 4.09958e-07 4.8622e-07 -4.9422e-07 -4.07693e-07 3.64211e-07 5.4902e-07 -5.05538e-07 -3.38272e-07 3.3541e-07 4.7164e-07 -4.68779e-07 -3.6044e-07 4.02775e-07 8.41248e-08 -1.2646e-07 -4.50741e-07 4.57875e-07 2.26274e-08 -2.97618e-08 -4.52375e-07 4.74766e-07 2.21066e-07 -2.43457e-07 -4.75706e-07 4.62562e-07 1.15032e-07 -1.01887e-07 -3.82973e-07 3.08387e-07 7.14906e-07 -6.4032e-07 -3.64996e-07 3.21498e-07 6.48112e-07 -6.04614e-07 -3.70879e-07 3.93072e-07 1.17146e-06 -1.19365e-06 -1.82003e-07 -1.62637e-07 1.60788e-06 -1.26324e-06 4.43929e-07 -7.09444e-07 -3.14323e-06 3.40874e-06 7.83638e-07 -5.21043e-07 -2.29572e-06 2.03313e-06 2.52091e-07 -1.39197e-07 -1.998e-06 1.88511e-06 9.33766e-09 6.16485e-08 -2.1937e-06 2.12271e-06 -1.21855e-07 2.28964e-07 -1.22194e-06 1.11483e-06 -1.62157e-07 8.1118e-08 1.81533e-06 -1.73429e-06 -3.31094e-08 5.19276e-08 1.09177e-06 -1.11059e-06 1.39193e-08 -2.07837e-07 3.8588e-06 -3.66488e-06 -2.46668e-07 2.59014e-07 -1.64869e-07 1.52523e-07 -2.68339e-07 2.79713e-07 -1.75356e-07 1.63982e-07 -2.92864e-07 3.0694e-07 -1.94528e-07 1.80452e-07 -3.2038e-07 3.35063e-07 -2.05992e-07 1.91308e-07 -3.4669e-07 3.56738e-07 -1.99003e-07 1.88955e-07 -3.63653e-07 3.6578e-07 -1.86327e-07 1.842e-07 -3.63621e-07 3.60922e-07 -1.75778e-07 1.78477e-07 -3.55491e-07 3.56764e-07 -1.23269e-07 1.21996e-07 -3.74351e-07 3.68783e-07 -9.13893e-08 9.69575e-08 -3.20779e-07 2.7405e-07 -5.0381e-08 9.71097e-08 -3.11276e-07 3.75067e-07 5.63486e-08 -1.2014e-07 -4.06066e-07 3.73547e-07 4.8697e-07 -4.54451e-07 -3.38119e-07 2.68068e-07 4.52724e-07 -3.82673e-07 -2.73176e-07 2.91041e-07 4.74244e-07 -4.92108e-07 -3.29855e-07 3.75981e-07 1.67269e-07 -2.13394e-07 -4.35504e-07 4.73392e-07 6.62657e-08 -1.04154e-07 -4.88967e-07 5.23939e-07 2.68531e-07 -3.03503e-07 -5.28028e-07 5.15351e-07 9.2166e-08 -7.94885e-08 -4.36785e-07 3.20476e-07 5.4197e-07 -4.2566e-07 -3.37949e-07 2.48092e-07 5.38756e-07 -4.489e-07 2.16576e-07 -1.62075e-07 1.22124e-06 -1.27574e-06 1.5045e-07 -4.14877e-07 9.61405e-07 -6.96978e-07 6.88068e-07 -7.93991e-07 -3.62133e-06 3.72725e-06 7.1153e-07 -4.37129e-07 -1.76599e-06 1.49159e-06 2.98757e-07 -1.34775e-07 -1.74833e-06 1.58434e-06 1.36993e-08 6.64905e-08 -2.05133e-06 1.97114e-06 -1.45124e-07 2.3434e-07 -1.02171e-06 9.32495e-07 -1.67991e-07 8.72007e-08 1.65596e-06 -1.57517e-06 -3.61548e-08 4.67565e-08 1.1246e-06 -1.1352e-06 2.41352e-08 -2.05949e-07 3.48395e-06 -3.30213e-06 -2.83386e-07 2.98519e-07 -1.37647e-07 1.22514e-07 -3.12761e-07 3.27316e-07 -1.51873e-07 1.37319e-07 -3.41264e-07 3.56288e-07 -1.6658e-07 1.51556e-07 -3.70467e-07 3.85274e-07 -1.7797e-07 1.63163e-07 -3.98986e-07 4.10618e-07 -1.77132e-07 1.655e-07 -4.21107e-07 4.29013e-07 -1.77291e-07 1.69385e-07 -4.36603e-07 4.43076e-07 -1.81036e-07 1.74563e-07 -4.37152e-07 4.20312e-07 -1.27306e-07 1.44146e-07 -4.05467e-07 3.92688e-07 -1.01987e-07 1.14766e-07 -3.79018e-07 3.73489e-07 -1.00059e-07 1.05588e-07 -3.65942e-07 3.56199e-07 1.3048e-07 -1.20736e-07 -3.33744e-07 2.91426e-07 4.11631e-07 -3.69312e-07 -1.52206e-07 1.83727e-07 3.68503e-07 -4.00024e-07 -2.27024e-07 2.60833e-07 5.23148e-07 -5.56958e-07 -3.13981e-07 3.84337e-07 2.68922e-07 -3.39279e-07 -4.57887e-07 5.17873e-07 1.51205e-07 -2.11191e-07 -5.45575e-07 5.79881e-07 3.37524e-07 -3.71831e-07 -5.82603e-07 5.5493e-07 6.13132e-08 -3.36403e-08 -4.64885e-07 4.00011e-07 3.21907e-07 -2.57033e-07 -3.31239e-07 1.78188e-07 3.31006e-07 -1.77955e-07 7.5709e-08 -2.67936e-07 1.24018e-06 -1.04795e-06 4.28956e-07 -7.25687e-07 4.13332e-07 -1.16601e-07 8.15067e-07 -8.59495e-07 -3.82549e-06 3.86991e-06 4.64564e-07 -3.0133e-07 -1.24818e-06 1.08495e-06 2.86376e-07 -1.20307e-07 -1.41518e-06 1.24911e-06 -9.70295e-09 1.02063e-07 -1.88657e-06 1.79421e-06 -1.56515e-07 2.33584e-07 -8.53522e-07 7.76453e-07 -1.70188e-07 9.20411e-08 1.49844e-06 -1.4203e-06 -3.89597e-08 4.18129e-08 1.14155e-06 -1.1444e-06 3.32775e-08 -2.0232e-07 3.13336e-06 -2.96432e-06 -3.08964e-07 3.22415e-07 -1.08665e-07 9.52147e-08 -3.35692e-07 3.5011e-07 -1.22885e-07 1.08467e-07 -3.64146e-07 3.79131e-07 -1.36675e-07 1.2169e-07 -3.93353e-07 4.07923e-07 -1.48405e-07 1.33835e-07 -4.20666e-07 4.31832e-07 -1.54322e-07 1.43156e-07 -4.40144e-07 4.47419e-07 -1.60815e-07 1.5354e-07 -4.5275e-07 4.55423e-07 -1.69636e-07 1.66963e-07 -4.57597e-07 4.54115e-07 -1.5361e-07 1.57092e-07 -4.47008e-07 4.46396e-07 -1.2347e-07 1.24082e-07 -4.39106e-07 4.19023e-07 -1.18989e-07 1.39072e-07 -3.83432e-07 3.56501e-07 9.67121e-08 -6.97807e-08 -3.46801e-07 3.45604e-07 3.3133e-07 -3.30132e-07 -3.8686e-07 3.27936e-07 4.16035e-07 -3.57111e-07 -2.9336e-07 2.98176e-07 5.7414e-07 -5.78955e-07 -3.32475e-07 4.06203e-07 4.08209e-07 -4.81936e-07 -4.7979e-07 5.63126e-07 2.84054e-07 -3.6739e-07 -6.08061e-07 6.36221e-07 4.02477e-07 -4.30637e-07 -6.33382e-07 5.78214e-07 -4.49307e-09 5.96609e-08 -4.48918e-07 3.99149e-07 2.2507e-07 -1.75301e-07 -2.2866e-07 7.49523e-09 -1.84859e-08 2.3965e-07 1.45067e-07 -3.89274e-07 7.66688e-07 -5.22482e-07 5.15673e-07 -7.28565e-07 -1.46014e-07 3.58906e-07 8.06508e-07 -7.88177e-07 -3.85531e-06 3.83698e-06 3.95826e-07 -8.47714e-08 -7.89889e-07 4.78834e-07 2.14839e-07 -1.02611e-07 -1.11946e-06 1.00723e-06 -2.93338e-08 1.25411e-07 -1.70462e-06 1.60854e-06 -1.60824e-07 2.29225e-07 -7.07203e-07 6.38802e-07 -1.70385e-07 9.60575e-08 1.34683e-06 -1.2725e-06 -4.172e-08 3.7208e-08 1.14349e-06 -1.13898e-06 4.11088e-08 -1.97634e-07 2.8077e-06 -2.65118e-06 -3.25844e-07 3.36574e-07 -8.34765e-08 7.27461e-08 -3.47193e-07 3.58789e-07 -9.57897e-08 8.41939e-08 -3.70082e-07 3.821e-07 -1.08512e-07 9.64943e-08 -3.93405e-07 4.04832e-07 -1.2119e-07 1.09763e-07 -4.14779e-07 4.23773e-07 -1.3333e-07 1.24336e-07 -4.3063e-07 4.36078e-07 -1.47509e-07 1.42061e-07 -4.39583e-07 4.41583e-07 -1.64398e-07 1.62398e-07 -4.41822e-07 4.38137e-07 -1.60607e-07 1.64292e-07 -4.32842e-07 4.17255e-07 -1.40416e-07 1.56003e-07 -4.13676e-07 4.09365e-07 -1.4698e-07 1.5129e-07 -4.02035e-07 3.90758e-07 3.65695e-08 -2.52917e-08 -3.8305e-07 3.88404e-07 3.57559e-07 -3.62913e-07 -3.86873e-07 3.83215e-07 3.35355e-07 -3.31698e-07 -3.66076e-07 3.67685e-07 5.72036e-07 -5.73645e-07 -3.98928e-07 4.62926e-07 5.46421e-07 -6.10419e-07 -5.2487e-07 6.10984e-07 4.50723e-07 -5.36837e-07 -6.69666e-07 6.83732e-07 4.51473e-07 -4.65538e-07 -6.71471e-07 5.71579e-07 -1.31377e-07 2.31269e-07 -3.64002e-07 2.13211e-07 7.79771e-08 7.28147e-08 -1.55858e-08 -2.95766e-07 -6.48322e-07 9.59674e-07 3.03612e-07 -4.96751e-07 4.16244e-07 -2.23106e-07 6.45511e-07 -7.08416e-07 -4.96104e-07 5.59009e-07 8.10598e-07 -7.58273e-07 -3.85581e-06 3.80349e-06 3.86647e-07 -1.30526e-07 -2.20657e-07 -3.54647e-08 1.84068e-07 -8.25293e-08 -9.07002e-07 8.05464e-07 -3.31704e-08 1.35564e-07 -1.51287e-06 1.41048e-06 -1.60839e-07 2.22206e-07 -5.76882e-07 5.15516e-07 -1.69143e-07 9.91461e-08 1.20305e-06 -1.13306e-06 -4.43039e-08 3.2854e-08 1.1312e-06 -1.11975e-06 4.75344e-08 -1.9187e-07 2.50648e-06 -2.36214e-06 -3.3665e-07 3.44199e-07 -6.39648e-08 5.64163e-08 -3.51723e-07 3.59979e-07 -7.46867e-08 6.64298e-08 -3.68027e-07 3.76547e-07 -8.66717e-08 7.81522e-08 -3.84463e-07 3.92315e-07 -1.0052e-07 9.26679e-08 -3.99015e-07 4.04955e-07 -1.17072e-07 1.11132e-07 -4.09323e-07 4.12465e-07 -1.37789e-07 1.34647e-07 -4.13953e-07 4.13481e-07 -1.6162e-07 1.62092e-07 -4.10436e-07 4.0395e-07 -1.72038e-07 1.78524e-07 -3.95702e-07 3.85321e-07 -1.60459e-07 1.7084e-07 -3.8141e-07 3.92723e-07 -1.51441e-07 1.40128e-07 -4.09006e-07 4.20735e-07 5.98285e-08 -7.15572e-08 -3.75977e-07 3.26017e-07 3.33059e-07 -2.83099e-07 -3.37502e-07 3.60439e-07 3.34832e-07 -3.5777e-07 -3.81779e-07 4.09053e-07 5.88262e-07 -6.15537e-07 -4.48666e-07 5.13996e-07 6.71799e-07 -7.37129e-07 -5.65008e-07 6.3268e-07 6.14718e-07 -6.82389e-07 -6.83184e-07 6.89816e-07 4.73761e-07 -4.80393e-07 -6.78001e-07 4.69563e-07 -3.56646e-07 5.65083e-07 -2.53865e-07 1.44881e-07 -1.97228e-07 3.06212e-07 2.4556e-07 -3.36687e-07 -1.13673e-06 1.22785e-06 2.88588e-07 -4.54347e-07 2.7238e-08 1.38521e-07 6.91572e-07 -6.81079e-07 -5.90048e-07 5.79556e-07 4.21778e-07 -4.47124e-07 -3.83627e-06 3.86161e-06 2.66656e-07 -1.71798e-07 1.99851e-07 -2.94709e-07 1.56508e-07 -6.4637e-08 -7.11864e-07 6.19994e-07 -3.41832e-08 1.39593e-07 -1.31002e-06 1.20461e-06 -1.58627e-07 2.13518e-07 -4.59935e-07 4.05044e-07 -1.67053e-07 1.01353e-07 1.06784e-06 -1.00214e-06 -4.66544e-08 2.86946e-08 1.10552e-06 -1.08756e-06 5.25577e-08 -1.85505e-07 2.22881e-06 -2.09586e-06 -3.33348e-07 3.38276e-07 -5.05443e-08 4.56166e-08 -3.43545e-07 3.49649e-07 -5.97891e-08 5.36855e-08 -3.5577e-07 3.62211e-07 -7.1276e-08 6.48352e-08 -3.67874e-07 3.72899e-07 -8.66491e-08 8.16239e-08 -3.76471e-07 3.78608e-07 -1.07164e-07 1.05026e-07 -3.7889e-07 3.77716e-07 -1.33328e-07 1.34503e-07 -3.75932e-07 3.71786e-07 -1.64274e-07 1.6842e-07 -3.65987e-07 3.60706e-07 -1.82837e-07 1.88117e-07 -3.56309e-07 3.5505e-07 -1.78817e-07 1.80077e-07 -3.56095e-07 3.60787e-07 -1.34048e-07 1.29356e-07 -3.735e-07 3.43378e-07 7.22485e-08 -4.21264e-08 -3.11424e-07 2.88363e-07 2.46589e-07 -2.23528e-07 -3.07231e-07 3.43396e-07 3.92892e-07 -4.29056e-07 -3.76134e-07 4.13005e-07 6.48859e-07 -6.8573e-07 -4.57365e-07 5.23123e-07 8.01015e-07 -8.66773e-07 -5.53031e-07 6.07443e-07 7.35865e-07 -7.90278e-07 -5.76556e-07 4.78287e-07 4.94398e-07 -3.96129e-07 -3.82778e-07 2.37307e-07 -8.34137e-07 9.79608e-07 -1.03235e-07 -3.46265e-07 -4.75719e-07 9.25219e-07 5.57165e-07 -4.00505e-07 -1.41035e-06 1.25369e-06 3.00157e-07 -4.25261e-07 -2.87099e-07 4.12203e-07 5.9293e-07 -5.71083e-07 -5.39022e-07 5.17175e-07 1.97028e-07 -1.64252e-07 -3.89469e-06 3.86191e-06 2.58482e-07 -2.00746e-07 3.43286e-07 -4.01023e-07 1.30463e-07 -4.58609e-08 -5.35188e-07 4.50585e-07 -3.67617e-08 1.39544e-07 -1.10387e-06 1.00109e-06 -1.54958e-07 2.03241e-07 -3.5567e-07 3.07387e-07 -1.64048e-07 1.02456e-07 9.41035e-07 -8.79443e-07 -4.86434e-08 2.456e-08 1.06727e-06 -1.04319e-06 5.60936e-08 -1.78566e-07 1.97313e-06 -1.85066e-06 -2.93928e-07 2.98038e-07 -4.15262e-08 3.7416e-08 -3.04192e-07 3.13045e-07 -4.74639e-08 3.86103e-08 -3.23029e-07 3.33448e-07 -5.79229e-08 4.75036e-08 -3.41206e-07 3.46699e-07 -7.72172e-08 7.17235e-08 -3.50316e-07 3.50919e-07 -1.04754e-07 1.04151e-07 -3.46928e-07 3.36067e-07 -1.40242e-07 1.51103e-07 -3.2653e-07 3.08966e-07 -1.7493e-07 1.92494e-07 -2.88724e-07 2.75318e-07 -1.97009e-07 2.10414e-07 -2.71887e-07 2.75741e-07 -1.75715e-07 1.71861e-07 -2.77273e-07 2.7903e-07 -1.29925e-07 1.28168e-07 -2.78028e-07 2.68789e-07 2.22524e-08 -1.30129e-08 -2.64594e-07 2.71653e-07 2.19907e-07 -2.26965e-07 -2.88883e-07 3.0894e-07 4.57902e-07 -4.77958e-07 -3.29963e-07 3.5942e-07 7.20179e-07 -7.49636e-07 -3.90317e-07 4.41271e-07 8.96083e-07 -9.47038e-07 -3.81332e-07 3.21964e-07 7.63739e-07 -7.04371e-07 -2.61692e-07 1.19548e-07 2.58527e-07 -1.16383e-07 5.16865e-08 -1.34424e-07 -1.08741e-06 1.17015e-06 1.65724e-07 -4.9864e-07 -1.29047e-06 1.62339e-06 6.64602e-07 -4.38712e-07 -1.06374e-06 8.37849e-07 3.91918e-07 -3.70597e-07 -3.92546e-07 3.71225e-07 4.53556e-07 -4.7123e-07 -5.09208e-07 5.26882e-07 1.83254e-07 -6.46645e-08 -3.7863e-06 3.66771e-06 3.31885e-07 -1.52338e-07 5.25639e-07 -7.05186e-07 9.40068e-08 -2.32893e-08 -3.74037e-07 3.03319e-07 -4.20916e-08 1.36604e-07 -9.05742e-07 8.1123e-07 -1.50317e-07 1.91531e-07 -2.64498e-07 2.23284e-07 -1.59945e-07 1.0232e-07 8.22228e-07 -7.64603e-07 -5.03745e-08 2.03646e-08 1.01717e-06 -9.87159e-07 5.80948e-08 -1.71266e-07 1.73749e-06 -1.62432e-06 -1.444e-07 1.41824e-07 -3.30639e-08 3.56404e-08 -1.47659e-07 1.64156e-07 -2.42099e-08 7.7125e-09 -1.85851e-07 2.04397e-07 -3.08233e-08 1.22768e-08 -2.10156e-07 2.33934e-07 -6.60788e-08 4.2301e-08 -2.72552e-07 2.97035e-07 -1.04887e-07 8.04036e-08 -2.86258e-07 2.74297e-07 -1.68738e-07 1.80699e-07 -2.5249e-07 2.30377e-07 -2.08384e-07 2.30498e-07 -2.15774e-07 2.04588e-07 -2.22241e-07 2.33427e-07 -1.91282e-07 1.78345e-07 -1.75745e-07 1.88682e-07 -1.76504e-07 1.80948e-07 -1.25655e-07 1.21211e-07 -1.90577e-07 2.03775e-07 1.57966e-08 -2.89942e-08 -2.15637e-07 2.22567e-07 2.37635e-07 -2.44565e-07 -2.20897e-07 2.12829e-07 4.84938e-07 -4.7687e-07 -2.04558e-07 1.51873e-07 7.55452e-07 -7.02766e-07 -5.6456e-08 -2.0382e-08 8.86835e-07 -8.09997e-07 -1.50168e-08 -4.40567e-08 6.62259e-07 -6.03186e-07 1.7075e-07 -3.26874e-07 -2.73434e-08 1.83467e-07 4.4803e-07 -4.76952e-07 -1.16039e-06 1.18931e-06 6.69141e-07 -8.62769e-07 -2.06106e-06 2.25468e-06 7.66356e-07 -4.71092e-07 -5.70206e-07 2.74942e-07 4.8963e-07 -4.37873e-07 -3.93526e-07 3.41769e-07 4.121e-07 -4.51018e-07 -5.77575e-07 6.16494e-07 5.93621e-07 -1.78274e-07 -3.37392e-06 2.95857e-06 -1.58055e-07 4.1922e-08 8.09423e-07 -6.93291e-07 3.46347e-08 2.74181e-09 -2.50859e-07 2.13482e-07 -4.97949e-08 1.32159e-07 -7.25882e-07 6.43517e-07 -1.45191e-07 1.78577e-07 -1.87453e-07 1.54067e-07 -1.54363e-07 1.00906e-07 7.11248e-07 -6.57792e-07 -5.21854e-08 1.61442e-08 9.55333e-07 -9.19292e-07 5.85113e-08 -1.63801e-07 1.51943e-06 -1.41414e-06 1.53586e-07 -1.90983e-07 -6.05855e-08 9.79823e-08 1.95766e-07 -2.02462e-07 -2.00382e-08 2.6734e-08 2.04906e-07 -1.77642e-07 -1.23816e-08 -1.48829e-08 1.6664e-07 -2.02228e-07 4.33342e-08 -7.74562e-09 2.2988e-07 -1.92708e-07 -8.70332e-08 4.98618e-08 1.51799e-07 -1.537e-07 -1.4511e-07 1.47011e-07 1.19462e-07 -7.70206e-08 -2.29219e-07 1.86778e-07 3.66972e-08 -4.64736e-09 -2.36468e-07 2.04418e-07 -1.80289e-08 3.87437e-08 -1.89037e-07 1.68322e-07 -6.0343e-08 8.57516e-08 -1.06507e-07 8.10984e-08 -1.08304e-07 1.2516e-07 4.55505e-08 -6.24075e-08 -1.29576e-07 1.19187e-07 2.43164e-07 -2.32775e-07 -9.64594e-08 6.02217e-08 4.5328e-07 -4.17042e-07 -1.13224e-09 -1.01116e-07 6.39136e-07 -5.36888e-07 1.70313e-07 -1.90194e-07 8.10782e-07 -7.90902e-07 2.86624e-07 -4.78558e-07 4.72678e-07 -2.80744e-07 6.78977e-07 -8.78858e-07 -3.54627e-07 5.54507e-07 1.03793e-06 -1.15114e-06 -1.30569e-06 1.4189e-06 1.1962e-06 -1.03789e-06 -2.27002e-06 2.11172e-06 6.90892e-07 -4.82062e-07 -1.97214e-08 -1.89109e-07 5.51701e-07 -4.92662e-07 -2.59675e-07 2.00636e-07 3.21118e-07 -3.92383e-07 -6.41344e-07 7.12609e-07 6.15998e-07 -1.69144e-07 -2.51363e-06 2.06677e-06 -3.53307e-07 9.74663e-08 4.74506e-07 -2.18665e-07 -2.0419e-08 2.54903e-08 -1.91799e-07 1.86728e-07 -5.89583e-08 1.26604e-07 -5.71189e-07 5.03544e-07 -1.40084e-07 1.64581e-07 -1.26197e-07 1.017e-07 -1.4701e-07 9.81766e-08 6.08689e-07 -5.59855e-07 -5.26401e-08 1.20508e-08 8.82303e-07 -8.41714e-07 5.71425e-08 -1.5565e-07 1.31629e-06 -1.21778e-06 2.29519e-07 -2.56705e-07 -1.50319e-07 1.77505e-07 2.9849e-07 -3.47192e-07 -1.83965e-08 6.70985e-08 4.17237e-07 -3.8297e-07 4.59748e-08 -8.02415e-08 3.25889e-07 -3.50376e-07 -4.57614e-08 7.02483e-08 2.62497e-07 -2.28663e-07 -1.37208e-08 -2.01133e-08 2.40022e-07 -2.62797e-07 -7.86565e-08 1.01431e-07 2.51003e-07 -2.26034e-07 -1.60645e-07 1.35676e-07 1.95439e-07 -1.5774e-07 -1.69506e-07 1.31807e-07 1.20003e-07 -8.10312e-08 -1.36818e-07 9.78463e-08 4.72606e-08 -1.82959e-08 -5.20201e-08 2.30553e-08 7.20233e-10 4.80262e-09 7.39525e-08 -7.94753e-08 2.98842e-09 -2.1278e-08 2.17175e-07 -1.98886e-07 3.8339e-08 -5.12977e-08 3.87689e-07 -3.7473e-07 1.55802e-07 -2.25204e-07 4.15029e-07 -3.45627e-07 2.9371e-07 -4.6893e-07 6.67052e-07 -4.91832e-07 6.60673e-07 -8.81384e-07 6.6044e-08 1.54667e-07 1.10575e-06 -1.32555e-06 -7.56698e-07 9.76499e-07 1.47519e-06 -1.51799e-06 -1.502e-06 1.5448e-06 1.36777e-06 -8.79931e-07 -1.79615e-06 1.30832e-06 4.52484e-07 -3.79027e-07 3.24499e-07 -3.97956e-07 4.13802e-07 -3.61749e-07 -1.37631e-07 8.5578e-08 1.39199e-07 -1.42446e-07 -7.18835e-07 7.22081e-07 3.68831e-07 -8.05109e-08 -1.72308e-06 1.43476e-06 -2.89201e-07 1.07059e-07 1.32046e-09 1.80821e-07 -5.84075e-08 4.44389e-08 -1.92982e-07 2.06951e-07 -6.9124e-08 1.19857e-07 -4.46634e-07 3.95901e-07 -1.35327e-07 1.50248e-07 -8.27752e-08 6.78543e-08 -1.38115e-07 9.41375e-08 5.15333e-07 -4.71356e-07 -5.19372e-08 8.32632e-09 8.01098e-07 -7.57487e-07 5.36708e-08 -1.453e-07 1.12647e-06 -1.03484e-06 1.03018e-07 -1.08579e-07 -1.95267e-07 2.00828e-07 1.22551e-07 -1.52387e-07 -1.11928e-07 1.41764e-07 1.99915e-07 -2.67689e-07 1.22132e-09 6.65527e-08 3.19246e-07 -3.3076e-07 -1.64767e-08 2.7991e-08 3.74757e-07 -4.00911e-07 3.76585e-09 2.23875e-08 3.91735e-07 -3.67244e-07 -7.16019e-08 4.71102e-08 3.38004e-07 -3.05313e-07 -8.85478e-08 5.58565e-08 2.72859e-07 -2.3792e-07 -8.81295e-08 5.31906e-08 2.06104e-07 -1.76656e-07 -6.04889e-08 3.10412e-08 1.54758e-07 -1.40116e-07 -8.19966e-10 -1.38222e-08 1.34943e-07 -1.40176e-07 7.87646e-08 -7.35325e-08 1.55889e-07 -1.83138e-07 1.74215e-07 -1.46966e-07 2.22726e-07 -3.13222e-07 3.19576e-07 -2.2908e-07 3.98593e-07 -4.77999e-07 2.96016e-07 -2.16609e-07 6.24273e-07 -8.21124e-07 2.9203e-07 -9.51788e-08 1.00412e-06 -1.18387e-06 -3.43308e-07 5.23062e-07 1.36737e-06 -1.54569e-06 -1.19349e-06 1.3718e-06 1.64417e-06 -1.52939e-06 -1.52026e-06 1.40548e-06 1.18989e-06 -6.80754e-07 -7.88095e-07 2.78961e-07 3.68309e-07 -2.77194e-07 4.53859e-07 -5.44974e-07 2.45325e-07 -2.21529e-07 -5.29914e-08 2.91955e-08 1.11444e-07 -1.03839e-07 -7.1863e-07 7.11024e-07 2.44407e-07 -1.15607e-07 -1.22113e-06 1.09233e-06 -1.55129e-07 9.05929e-08 -3.03959e-07 3.68495e-07 -7.25865e-08 5.65595e-08 -2.22917e-07 2.38944e-07 -7.65139e-08 1.11521e-07 -3.54913e-07 3.19906e-07 -1.29646e-07 1.36761e-07 -5.7609e-08 5.04937e-08 -1.28072e-07 8.89504e-08 4.31507e-07 -3.92385e-07 -5.0274e-08 5.17361e-09 7.14703e-07 -6.69603e-07 4.88239e-08 -1.33141e-07 9.50185e-07 -8.65869e-07 2.40353e-07 -2.25247e-07 -1.95696e-07 1.80591e-07 2.15096e-07 -2.11077e-07 -1.50736e-07 1.46717e-07 2.14864e-07 -2.26394e-07 -9.57782e-08 1.07308e-07 2.42216e-07 -2.60743e-07 -5.57877e-08 7.4315e-08 2.77836e-07 -2.91983e-07 -3.99381e-08 5.40854e-08 2.99867e-07 -3.02635e-07 -4.13607e-08 4.41288e-08 3.01459e-07 -2.97203e-07 -4.09274e-08 3.66718e-08 2.91113e-07 -2.83427e-07 -3.41413e-08 2.64551e-08 2.76113e-07 -2.69719e-07 -1.47158e-08 8.32198e-09 2.66001e-07 -2.6554e-07 2.07258e-08 -2.11872e-08 2.69119e-07 -2.7809e-07 6.68643e-08 -5.78931e-08 2.93493e-07 -3.22207e-07 1.24175e-07 -9.54618e-08 3.76628e-07 -4.52263e-07 1.40737e-07 -6.51017e-08 5.44797e-07 -6.81223e-07 8.22149e-08 5.42115e-08 8.30949e-07 -1.0191e-06 -8.09706e-08 2.69124e-07 1.22042e-06 -1.38583e-06 -6.83629e-07 8.49048e-07 1.46439e-06 -1.46359e-06 -1.45404e-06 1.45324e-06 1.37611e-06 -1.15464e-06 -1.26269e-06 1.04122e-06 8.78353e-07 -5.86076e-07 1.25564e-07 -4.17841e-07 3.80252e-07 -2.57153e-07 6.53305e-07 -7.76404e-07 2.18598e-07 -1.94615e-07 -7.98347e-09 -1.59994e-08 9.1549e-08 -3.66377e-08 -6.85699e-07 6.30788e-07 1.40924e-07 -7.49833e-08 -1.03294e-06 9.66998e-07 -9.3018e-08 7.31198e-08 -3.89526e-07 4.09424e-07 -7.31138e-08 6.1673e-08 -2.52356e-07 2.63797e-07 -7.98017e-08 1.02852e-07 -2.92617e-07 2.69566e-07 -1.21442e-07 1.24018e-07 -4.60922e-08 4.35167e-08 -1.17132e-07 8.2762e-08 3.57134e-07 -3.22765e-07 -4.77509e-08 2.69254e-09 6.2611e-07 -5.81051e-07 4.41806e-08 -1.19684e-07 7.88978e-07 -7.13475e-07 4.25009e-07 -3.99562e-07 -1.58563e-07 1.33115e-07 3.7909e-07 -3.62062e-07 -1.34408e-07 1.1738e-07 3.50492e-07 -3.43053e-07 -1.06771e-07 9.93316e-08 3.39912e-07 -3.39891e-07 -8.17792e-08 8.17585e-08 3.41976e-07 -3.45402e-07 -6.28711e-08 6.62974e-08 3.49015e-07 -3.52706e-07 -4.95078e-08 5.3199e-08 3.55903e-07 -3.58983e-07 -3.85446e-08 4.16245e-08 3.61874e-07 -3.65359e-07 -2.65419e-08 3.00276e-08 3.69747e-07 -3.76331e-07 -9.74966e-09 1.63339e-08 3.85404e-07 -3.98879e-07 1.47926e-08 -1.31781e-09 4.15961e-07 -4.38442e-07 4.43018e-08 -2.18205e-08 4.63025e-07 -4.91814e-07 6.83762e-08 -3.95876e-08 5.11508e-07 -5.16882e-07 2.54468e-08 -2.0073e-08 5.17627e-07 -5.34804e-07 -1.36414e-07 1.53591e-07 6.17453e-07 -7.93854e-07 -4.61718e-07 6.38119e-07 9.75924e-07 -1.1064e-06 -1.01551e-06 1.14599e-06 1.11254e-06 -1.01067e-06 -1.40171e-06 1.29984e-06 8.72631e-07 -7.09448e-07 -8.15327e-07 6.52144e-07 5.81886e-07 -4.16385e-07 6.13988e-07 -7.79489e-07 3.70042e-07 -3.40527e-07 8.73486e-07 -9.03001e-07 3.44025e-07 -3.29201e-07 3.63282e-08 -5.1152e-08 2.64356e-07 -2.01759e-07 -5.66183e-07 5.03586e-07 1.80791e-07 -7.4077e-08 -8.8843e-07 7.81716e-07 -4.59287e-08 5.0514e-08 -4.18563e-07 4.13977e-07 -6.47542e-08 6.06099e-08 -2.71537e-07 2.75682e-07 -7.85782e-08 9.43237e-08 -2.51339e-07 2.35594e-07 -1.11298e-07 1.11425e-07 -4.23671e-08 4.22397e-08 -1.05476e-07 7.57117e-08 2.92001e-07 -2.62237e-07 -4.45033e-08 1.30907e-09 5.38427e-07 -4.95233e-07 3.9231e-08 -1.05298e-07 6.45436e-07 -5.79368e-07 6.32787e-07 -6.08932e-07 -1.09472e-07 8.56173e-08 5.87872e-07 -5.67489e-07 -9.96065e-08 7.92241e-08 5.49905e-07 -5.3327e-07 -8.78511e-08 7.12159e-08 5.19149e-07 -5.05963e-07 -7.54648e-08 6.22784e-08 4.94879e-07 -4.84621e-07 -6.33394e-08 5.30813e-08 4.76119e-07 -4.68452e-07 -5.20708e-08 4.44041e-08 4.62427e-07 -4.57558e-07 -4.19181e-08 3.70483e-08 4.54575e-07 -4.53555e-07 -3.26479e-08 3.16278e-08 4.55113e-07 -4.60133e-07 -2.35895e-08 2.86094e-08 4.68911e-07 -4.83316e-07 -1.38606e-08 2.82664e-08 5.02699e-07 -5.29438e-07 -2.75106e-09 2.94904e-08 5.60457e-07 -5.96901e-07 1.39075e-08 2.25362e-08 6.285e-07 -6.3798e-07 2.73909e-08 -1.79109e-08 6.2e-07 -5.80764e-07 -1.24313e-07 8.5077e-08 5.26335e-07 -4.72764e-07 -7.40946e-07 6.87375e-07 5.30456e-07 -6.08407e-07 -1.24408e-06 1.32203e-06 5.60896e-07 -5.23716e-07 -1.20172e-06 1.16454e-06 3.57427e-07 -1.19961e-07 -4.69496e-07 2.32029e-07 1.75692e-08 -5.20063e-08 8.2416e-07 -7.89723e-07 2.84174e-07 -4.44105e-07 8.33504e-07 -6.73572e-07 4.73205e-07 -4.51754e-07 5.8336e-08 -7.97861e-08 4.03197e-07 -2.96633e-07 -4.1679e-07 3.10226e-07 2.06653e-07 -8.7205e-08 -6.66627e-07 5.47179e-07 -1.97425e-09 2.79141e-08 -3.98138e-07 3.72198e-07 -5.12545e-08 5.49908e-08 -2.75737e-07 2.72e-07 -7.31702e-08 8.48897e-08 -2.22678e-07 2.10959e-07 -9.95763e-08 9.8642e-08 -4.27239e-08 4.36582e-08 -9.32623e-08 6.79202e-08 2.35803e-07 -2.10461e-07 -4.06695e-08 8.2108e-10 4.55185e-07 -4.15337e-07 3.3774e-08 -9.0306e-08 5.20467e-07 -4.63935e-07 8.5189e-07 -8.23017e-07 -6.11688e-08 3.22957e-08 7.95629e-07 -7.66929e-07 -5.6066e-08 2.73668e-08 7.39968e-07 -7.12089e-07 -4.98115e-08 2.19326e-08 6.86193e-07 -6.59763e-07 -4.29585e-08 1.65287e-08 6.35595e-07 -6.11354e-07 -3.6161e-08 1.192e-08 5.89639e-07 -5.68363e-07 -3.02707e-08 8.9952e-09 5.4984e-07 -5.32331e-07 -2.62906e-08 8.78098e-09 5.17794e-07 -5.0494e-07 -2.52675e-08 1.24136e-08 4.95328e-07 -4.88288e-07 -2.84037e-08 2.13634e-08 4.84917e-07 -4.85396e-07 -3.71336e-08 3.76126e-08 4.90342e-07 -5.01167e-07 -5.18188e-08 6.26437e-08 5.18042e-07 -5.44621e-07 -6.31206e-08 8.96995e-08 5.80712e-07 -6.43357e-07 -1.50829e-08 7.77288e-08 6.98233e-07 -6.68193e-07 -3.77144e-08 7.6743e-09 5.07181e-07 -2.47594e-07 -5.36568e-07 2.7698e-07 3.82261e-09 8.79875e-08 -1.32189e-06 1.23008e-06 -1.60166e-07 4.07416e-07 -1.10447e-06 8.57222e-07 -5.24412e-07 4.31558e-07 -5.93547e-08 1.52209e-07 -2.51264e-07 1.58297e-08 5.56034e-07 -3.206e-07 2.02596e-07 -3.74457e-07 4.81214e-07 -3.09354e-07 4.0373e-07 -3.75793e-07 1.13211e-07 -1.41148e-07 3.33106e-07 -2.5363e-07 -2.13426e-07 1.3395e-07 1.76628e-07 -8.49892e-08 -4.42794e-07 3.51156e-07 1.89528e-08 1.07744e-08 -3.44867e-07 3.1514e-07 -3.70576e-08 4.66516e-08 -2.65266e-07 2.55673e-07 -6.44122e-08 7.41934e-08 -2.00779e-07 1.90998e-07 -8.63841e-08 8.53086e-08 -4.46779e-08 4.57534e-08 -8.04792e-08 5.93968e-08 1.8819e-07 -1.67108e-07 -3.63e-08 8.78925e-10 3.79056e-07 -3.43635e-07 2.78311e-08 -7.49193e-08 4.14171e-07 -3.67082e-07 9.4919e-07 -9.15266e-07 -1.31718e-09 -3.26074e-08 8.81634e-07 -8.45472e-07 4.57748e-09 -4.07394e-08 8.10877e-07 -7.74674e-07 9.85264e-09 -4.60558e-08 7.40774e-07 -7.05982e-07 1.41597e-08 -4.89517e-08 6.73972e-07 -6.41649e-07 1.66591e-08 -4.8982e-08 6.12409e-07 -5.83348e-07 1.65858e-08 -4.56469e-08 5.5747e-07 -5.32174e-07 1.30881e-08 -3.83838e-08 5.10049e-07 -4.88768e-07 5.14662e-09 -2.64274e-08 4.7043e-07 -4.53008e-07 -8.54835e-09 -8.87435e-09 4.38039e-07 -4.23669e-07 -2.99124e-08 1.55424e-08 4.10974e-07 -3.98276e-07 -6.12425e-08 4.85452e-08 3.86748e-07 -3.75907e-07 -1.00954e-07 9.01137e-08 3.69324e-07 -3.70312e-07 -1.27061e-07 1.2805e-07 3.87591e-07 -4.53568e-07 -3.64442e-08 1.02421e-07 5.62813e-07 -5.58693e-07 -7.93872e-08 7.52667e-08 3.12334e-07 1.17077e-07 -9.44233e-07 5.14822e-07 -3.59375e-07 4.86483e-07 -7.40738e-07 6.13629e-07 -4.50075e-07 3.15296e-07 -2.74215e-07 4.08994e-07 -1.95746e-07 6.42537e-08 1.37072e-07 -5.57988e-09 6.27896e-08 -1.55612e-07 2.20194e-07 -1.27371e-07 2.11794e-07 -2.22013e-07 1.49817e-07 -1.39598e-07 2.06093e-07 -1.72185e-07 -8.07647e-08 4.68568e-08 1.28797e-07 -7.32348e-08 -2.81088e-07 2.25526e-07 2.81788e-08 1.60967e-10 -2.86709e-07 2.58369e-07 -2.46387e-08 3.71537e-08 -2.44674e-07 2.32159e-07 -5.33622e-08 6.21473e-08 -1.82104e-07 1.73318e-07 -7.18036e-08 7.10605e-08 -4.66358e-08 4.73789e-08 -6.69533e-08 5.00343e-08 1.48864e-07 -1.31945e-07 -3.13269e-08 1.31759e-09 3.12073e-07 -2.82064e-07 2.15197e-08 -5.93069e-08 3.26308e-07 -2.8852e-07 7.24806e-07 -6.93078e-07 6.6838e-08 -9.85659e-08 6.65353e-07 -6.3867e-07 7.86773e-08 -1.05361e-07 6.11597e-07 -5.83373e-07 8.30573e-08 -1.11281e-07 5.57643e-07 -5.31924e-07 8.34071e-08 -1.09126e-07 5.08976e-07 -4.86378e-07 7.97748e-08 -1.02372e-07 4.66426e-07 -4.46915e-07 7.24612e-08 -9.19729e-08 4.29676e-07 -4.12691e-07 6.14431e-08 -7.84277e-08 3.97516e-07 -3.82346e-07 4.61399e-08 -6.13101e-08 3.68578e-07 -3.54589e-07 2.5832e-08 -3.98202e-08 3.4159e-07 -3.27963e-07 -2.24634e-10 -1.34014e-08 3.1474e-07 -3.00142e-07 -3.2999e-08 1.84005e-08 2.85275e-07 -2.68373e-07 -7.25235e-08 5.56215e-08 2.51494e-07 -2.34605e-07 -1.12701e-07 9.58126e-08 2.23738e-07 -2.2584e-07 -1.28795e-07 1.30896e-07 2.46373e-07 -2.78011e-07 -1.31847e-07 1.63485e-07 2.93275e-07 -2.39092e-07 -2.95896e-07 2.41713e-07 1.52571e-07 -4.52489e-08 -4.73976e-07 3.66655e-07 -2.31779e-08 6.62549e-08 -4.40415e-07 3.97337e-07 -7.88158e-08 3.65827e-08 -1.04303e-07 1.46537e-07 -4.64235e-09 -2.68427e-08 7.95234e-08 -4.80384e-08 6.89315e-08 -9.86482e-08 1.19427e-07 -8.97102e-08 1.09512e-07 -1.04542e-07 -3.03749e-08 2.54047e-08 8.57913e-08 -5.61687e-08 -1.85972e-07 1.56349e-07 2.76218e-08 -5.50249e-09 -2.34088e-07 2.11969e-07 -1.50841e-08 2.76532e-08 -2.19747e-07 2.07178e-07 -4.0984e-08 4.86557e-08 -1.65327e-07 1.57655e-07 -5.57648e-08 5.53869e-08 -4.78863e-08 4.82643e-08 -5.21766e-08 3.94185e-08 1.1769e-07 -1.04931e-07 -2.53512e-08 1.83063e-09 2.56203e-07 -2.32682e-07 1.50719e-08 -4.35315e-08 2.56664e-07 -2.28204e-07 1.95901e-07 -2.10876e-07 1.14128e-07 -9.91525e-08 2.24191e-07 -2.37499e-07 1.22373e-07 -1.09065e-07 2.47104e-07 -2.54782e-07 1.25421e-07 -1.17742e-07 2.59533e-07 -2.61812e-07 1.21144e-07 -1.18865e-07 2.61934e-07 -2.60267e-07 1.12516e-07 -1.14183e-07 2.57623e-07 -2.53913e-07 1.00388e-07 -1.04097e-07 2.4993e-07 -2.45255e-07 8.58179e-08 -9.0493e-08 2.40586e-07 -2.35316e-07 6.85794e-08 -7.385e-08 2.30071e-07 -2.24163e-07 4.76505e-08 -5.35583e-08 2.18195e-07 -2.1141e-07 2.22672e-08 -2.90517e-08 2.04452e-07 -1.96601e-07 -7.91161e-09 6.04302e-11 1.88377e-07 -1.79003e-07 -4.32337e-08 3.38596e-08 1.6951e-07 -1.5917e-07 -8.25306e-08 7.21908e-08 1.49555e-07 -1.40423e-07 -1.23746e-07 1.14614e-07 1.33286e-07 -1.26789e-07 -1.68636e-07 1.62139e-07 1.19692e-07 -1.06966e-07 -2.30529e-07 2.17803e-07 8.65214e-08 -4.98069e-08 -3.13452e-07 2.76738e-07 1.40048e-09 5.12429e-08 -3.39616e-07 2.86972e-07 -8.64298e-08 8.7076e-08 -1.53417e-07 1.5277e-07 -7.21106e-08 4.00046e-08 1.79252e-08 1.41808e-08 -2.25809e-09 -3.03535e-08 5.71438e-08 -2.45322e-08 4.89663e-08 -5.51358e-08 -2.78847e-08 3.40542e-08 4.95657e-08 -3.56256e-08 -1.36419e-07 1.22478e-07 1.96041e-08 -4.78641e-09 -1.94062e-07 1.79244e-07 -9.0245e-09 1.87299e-08 -1.96133e-07 1.86427e-07 -2.78872e-08 3.34913e-08 -1.51123e-07 1.45519e-07 -3.79561e-08 3.7682e-08 -4.85277e-08 4.88019e-08 -3.54056e-08 2.68578e-08 9.46894e-08 -8.61416e-08 -1.75995e-08 1.74728e-09 2.13624e-07 -1.97771e-07 9.032e-09 -2.77124e-08 2.05468e-07 -1.86788e-07 -2.63006e-08 1.97179e-08 8.0226e-08 -7.36433e-08 -1.22348e-08 2.89978e-09 8.7472e-08 -7.8137e-08 7.43932e-09 -1.96789e-08 9.36383e-08 -8.13987e-08 3.22992e-08 -4.58976e-08 9.70957e-08 -8.34974e-08 5.84802e-08 -7.06181e-08 9.63865e-08 -8.42486e-08 8.07275e-08 -8.94959e-08 9.15812e-08 -8.28129e-08 9.6082e-08 -1.01127e-07 8.30401e-08 -7.79946e-08 1.0436e-07 -1.06203e-07 7.05413e-08 -6.86987e-08 1.06712e-07 -1.06052e-07 5.36225e-08 -5.4283e-08 1.0448e-07 -1.01952e-07 3.18775e-08 -3.44055e-08 9.88554e-08 -9.48731e-08 4.89476e-09 -8.87706e-09 9.06517e-08 -8.5726e-08 -2.74953e-08 2.25695e-08 8.10705e-08 -7.61889e-08 -6.49873e-08 6.01058e-08 7.15755e-08 -6.66289e-08 -1.07175e-07 1.02229e-07 6.16385e-08 -5.55149e-08 -1.53763e-07 1.47639e-07 4.8023e-08 -3.71786e-08 -2.03715e-07 1.9287e-07 2.28795e-08 -2.61158e-09 -2.48553e-07 2.28285e-07 -2.09081e-08 4.5036e-08 -2.50335e-07 2.26207e-07 -6.01459e-08 6.04869e-08 -1.5261e-07 1.52269e-07 -5.04601e-08 3.21884e-08 -4.09168e-08 5.91885e-08 -1.26325e-08 -4.12993e-09 -5.23762e-10 1.72862e-08 1.44307e-08 -1.88465e-08 -4.02553e-08 4.46712e-08 1.75869e-08 -1.23274e-08 -1.13907e-07 1.08648e-07 5.69173e-09 9.98779e-10 -1.68882e-07 1.62192e-07 -6.90167e-09 1.0937e-08 -1.79485e-07 1.75449e-07 -1.44312e-08 1.65498e-08 -1.41607e-07 1.39489e-07 -1.80394e-08 1.75344e-08 -4.91187e-08 4.96237e-08 -1.62443e-08 1.21337e-08 8.00166e-08 -7.5906e-08 -7.85092e-09 6.35064e-10 1.86583e-07 -1.79367e-07 3.95818e-09 -1.219e-08 1.73787e-07 -1.65555e-07 -7.82004e-09 -6.81306e-09 -4.01748e-09 -5.4208e-09 -1.47211e-09 3.38609e-09 7.90004e-09 9.75998e-09 8.09724e-09 4.08133e-09 9.86805e-11 -2.54233e-09 -3.24791e-09 -2.99182e-09 -2.36233e-09 -1.72607e-09 -1.20727e-09 -8.34161e-10 -5.27265e-10 -2.92704e-10 -1.14259e-10 1.1174e-11 1.04984e-10 1.69153e-10 2.13777e-10 2.39936e-10 2.51557e-10 2.51176e-10 2.41218e-10 2.26304e-10 2.08179e-10 -9.84173e-09 1.82169e-08 -2.98999e-08 1.41407e-08 -2.68899e-08 1.75674e-08 -3.32118e-08 6.68904e-09 -1.43404e-08 -5.99714e-09 6.65775e-09 -1.80265e-08 2.65685e-08 -2.51847e-08 3.98162e-08 -2.37406e-08 4.02171e-08 -1.60229e-08 3.0049e-08 -5.92093e-09 1.54515e-08 2.63425e-09 6.57362e-10 6.01875e-09 -6.42636e-09 6.43752e-09 -8.40877e-09 5.53568e-09 -7.9024e-09 4.41271e-09 -6.78003e-09 3.44731e-09 -5.69063e-09 2.66355e-09 -4.67822e-09 1.98314e-09 -3.70957e-09 1.4166e-09 -2.83803e-09 9.52964e-10 -2.08582e-09 5.92453e-10 -1.47163e-09 3.08779e-10 -9.65808e-10 8.73748e-11 -5.52136e-10 -8.56717e-11 -2.18478e-10 -2.08741e-10 3.63647e-11 -2.90185e-10 2.17752e-10 -3.32968e-10 3.27277e-10 -3.44462e-10 3.79318e-10 -3.35843e-10 3.89249e-10 -3.15208e-10 3.73368e-10 -6.76238e-09 4.07829e-08 -5.10349e-08 4.02976e-08 -5.3681e-08 5.04092e-08 -6.82019e-08 2.32493e-08 -3.2692e-08 -5.96181e-09 4.60433e-09 -3.35371e-08 3.966e-08 -5.26686e-08 6.43556e-08 -5.50387e-08 6.82641e-08 -4.3327e-08 5.50149e-08 -2.5634e-08 3.50309e-08 -5.77568e-09 1.13132e-08 5.10378e-09 -3.01871e-09 9.0815e-09 -9.07499e-09 9.39817e-09 -1.03744e-08 8.58647e-09 -9.9552e-09 7.56977e-09 -9.04021e-09 6.43578e-09 -7.797e-09 5.23761e-09 -6.38558e-09 4.09326e-09 -4.99312e-09 3.07516e-09 -3.74761e-09 2.22236e-09 -2.68378e-09 1.50545e-09 -1.78988e-09 9.0868e-10 -1.03508e-09 4.13541e-10 -4.00789e-10 2.27493e-11 1.11772e-10 -2.6178e-10 4.91388e-10 -4.41053e-10 7.34461e-10 -5.31984e-10 8.56177e-10 -5.55747e-10 8.83163e-10 -5.35586e-10 8.4511e-10 -5.5126e-09 6.09891e-08 -7.0847e-08 6.69373e-08 -8.01259e-08 8.62057e-08 -1.04309e-07 4.23275e-08 -5.20245e-08 -2.98088e-09 1.25415e-09 -4.54417e-08 5.11075e-08 -7.55403e-08 8.65979e-08 -8.05797e-08 9.25547e-08 -6.54649e-08 7.52302e-08 -4.33258e-08 5.07563e-08 -1.6602e-08 2.14586e-08 7.78599e-10 1.39714e-09 8.81502e-09 -8.51299e-09 1.10946e-08 -1.16841e-08 1.10265e-08 -1.19026e-08 1.01484e-08 -1.10028e-08 8.7894e-09 -9.47516e-09 7.15967e-09 -7.64058e-09 5.5425e-09 -5.82259e-09 4.09748e-09 -4.20799e-09 2.86598e-09 -2.84195e-09 1.83281e-09 -1.70631e-09 9.59269e-10 -7.47237e-10 2.16748e-10 7.14642e-11 -3.93626e-10 7.50983e-10 -8.52562e-10 1.26835e-09 -1.14918e-09 1.60366e-09 -1.29392e-09 1.76219e-09 -1.31583e-09 1.77371e-09 -1.25105e-09 1.6793e-09 -5.06737e-09 8.06921e-08 -9.05511e-08 9.33124e-08 -1.06542e-07 1.22499e-07 -1.40799e-07 6.17372e-08 -7.14508e-08 5.24245e-10 -2.34278e-09 -5.67315e-08 6.23318e-08 -9.7684e-08 1.08854e-07 -1.04506e-07 1.16578e-07 -8.47146e-08 9.41377e-08 -5.76804e-08 6.43856e-08 -2.59334e-08 3.01461e-08 -3.38568e-09 5.20416e-09 8.23032e-09 -8.0218e-09 1.22191e-08 -1.27456e-08 1.2646e-08 -1.3313e-08 1.16665e-08 -1.22083e-08 9.948e-09 -1.03004e-08 7.91978e-09 -8.08186e-09 5.92296e-09 -5.9174e-09 4.15719e-09 -4.01136e-09 2.68234e-09 -2.4339e-09 1.46563e-09 -1.14974e-09 4.48033e-10 -9.05917e-11 -4.17416e-10 7.99966e-10 -1.13737e-09 1.5344e-09 -1.68783e-09 2.09222e-09 -2.04315e-09 2.4471e-09 -2.20428e-09 2.59792e-09 -2.20122e-09 2.57541e-09 -2.07744e-09 2.42403e-09 -4.75391e-09 1.00428e-07 -1.10319e-07 1.19842e-07 -1.33234e-07 1.59235e-07 -1.77831e-07 8.11582e-08 -9.08578e-08 4.20177e-09 -6.10457e-09 -6.79094e-08 7.34619e-08 -1.20124e-07 1.31505e-07 -1.28828e-07 1.41286e-07 -1.03593e-07 1.13112e-07 -7.10483e-08 7.77596e-08 -3.42057e-08 3.81878e-08 -6.88197e-09 8.44568e-09 7.89976e-09 -7.87137e-09 1.32913e-08 -1.38776e-08 1.39479e-08 -1.45818e-08 1.26999e-08 -1.31712e-08 1.05922e-08 -1.08668e-08 8.19121e-09 -8.28145e-09 5.85688e-09 -5.7736e-09 3.81179e-09 -3.58633e-09 2.13353e-09 -1.80036e-09 7.82487e-10 -3.80903e-10 -3.09793e-10 7.42653e-10 -1.20933e-09 1.64183e-09 -1.93767e-09 2.34904e-09 -2.48085e-09 2.8602e-09 -2.81637e-09 3.1617e-09 -2.94481e-09 3.2575e-09 -2.89801e-09 3.18225e-09 -2.72047e-09 2.97986e-09 -4.39892e-09 1.20224e-07 -1.30138e-07 1.46739e-07 -1.60377e-07 1.96617e-07 -2.15618e-07 1.00552e-07 -1.10243e-07 8.0555e-09 -1.00587e-08 -7.8987e-08 8.44819e-08 -1.43005e-07 1.54631e-07 -1.53976e-07 1.66923e-07 -1.22702e-07 1.32361e-07 -8.45626e-08 9.14761e-08 -4.21378e-08 4.60795e-08 -9.91275e-09 1.12921e-08 7.94469e-09 -8.12669e-09 1.45246e-08 -1.52439e-08 1.52418e-08 -1.5936e-08 1.36554e-08 -1.41588e-08 1.1145e-08 -1.1441e-08 8.37266e-09 -8.4767e-09 5.68565e-09 -5.60457e-09 3.34736e-09 -3.10802e-09 1.44633e-09 -1.0833e-09 -4.46674e-11 4.84545e-10 -1.19837e-09 1.67117e-09 -2.09276e-09 2.55939e-09 -2.7699e-09 3.20099e-09 -3.23835e-09 3.62143e-09 -3.49503e-09 3.82758e-09 -3.55132e-09 3.83996e-09 -3.4446e-09 3.69938e-09 -3.21754e-09 3.44765e-09 -3.96577e-09 1.40058e-07 -1.49981e-07 1.74163e-07 -1.88114e-07 2.34862e-07 -2.54383e-07 1.19935e-07 -1.29632e-07 1.21195e-08 -1.42449e-08 -8.99433e-08 9.53691e-08 -1.66389e-07 1.78283e-07 -1.80153e-07 1.93699e-07 -1.42084e-07 1.51866e-07 -9.851e-08 1.05675e-07 -5.0025e-08 5.39822e-08 -1.2586e-08 1.37932e-08 8.42621e-09 -8.85212e-09 1.60442e-08 -1.69428e-08 1.66727e-08 -1.74605e-08 1.46935e-08 -1.5259e-08 1.17599e-08 -1.21106e-08 8.60081e-09 -8.74937e-09 5.53567e-09 -5.48541e-09 2.86949e-09 -2.639e-09 7.13843e-10 -3.45022e-10 -9.345e-10 1.39083e-09 -2.15605e-09 2.65001e-09 -3.03785e-09 3.52662e-09 -3.64364e-09 4.09777e-09 -4.0136e-09 4.41813e-09 -4.16727e-09 4.51912e-09 -4.13365e-09 4.44006e-09 -3.9582e-09 4.22921e-09 -3.68126e-09 3.92587e-09 -3.44738e-09 1.59903e-07 -1.69817e-07 2.02238e-07 -2.16546e-07 2.74213e-07 -2.94382e-07 1.39338e-07 -1.49057e-07 1.64435e-08 -1.87247e-08 -1.00757e-07 1.06104e-07 -1.90314e-07 2.02482e-07 -2.07595e-07 2.21879e-07 -1.61695e-07 1.71561e-07 -1.1298e-07 1.20439e-07 -5.79559e-08 6.1951e-08 -1.491e-08 1.59311e-08 9.41429e-09 -1.01224e-08 1.79438e-08 -1.90586e-08 1.83054e-08 -1.92103e-08 1.58611e-08 -1.65029e-08 1.24861e-08 -1.28948e-08 8.92186e-09 -9.12585e-09 5.44958e-09 -5.44066e-09 2.41863e-09 -2.20871e-09 -2.14829e-11 3.88394e-10 -1.85107e-09 2.31552e-09 -3.15261e-09 3.66143e-09 -4.02527e-09 4.5351e-09 -4.56436e-09 5.04365e-09 -4.83707e-09 5.27216e-09 -4.88741e-09 5.27434e-09 -4.76359e-09 5.10731e-09 -4.51739e-09 4.82547e-09 -4.18681e-09 4.46678e-09 -2.83919e-09 1.7972e-07 -1.89603e-07 2.31049e-07 -2.45761e-07 3.14927e-07 -3.35879e-07 1.58794e-07 -1.68554e-07 2.10997e-08 -2.35798e-08 -1.11412e-07 1.16683e-07 -2.14784e-07 2.27211e-07 -2.36596e-07 2.51793e-07 -1.81447e-07 1.91332e-07 -1.28069e-07 1.35888e-07 -6.59746e-08 7.00342e-08 -1.68502e-08 1.76595e-08 1.09897e-08 -1.20336e-08 2.02999e-08 -2.16741e-08 2.01777e-08 -2.12113e-08 1.71834e-08 -1.79072e-08 1.334e-08 -1.38189e-08 9.36422e-09 -9.63732e-09 5.45274e-09 -5.49419e-09 2.00951e-09 -1.82178e-09 -7.52703e-10 1.11578e-09 -2.78632e-09 3.26208e-09 -4.17983e-09 4.70736e-09 -5.05614e-09 5.59036e-09 -5.53796e-09 6.04859e-09 -5.72489e-09 6.1968e-09 -5.68184e-09 6.11045e-09 -5.47265e-09 5.86066e-09 -5.15509e-09 5.50734e-09 -4.76712e-09 5.08848e-09 -2.13649e-09 1.99456e-07 -2.0927e-07 2.60699e-07 -2.75892e-07 3.5727e-07 -3.79133e-07 1.7834e-07 -1.88159e-07 2.61771e-08 -2.8904e-08 -1.2192e-07 1.27137e-07 -2.39749e-07 2.52379e-07 -2.67525e-07 2.83856e-07 -2.01189e-07 2.10985e-07 -1.43917e-07 1.52184e-07 -7.41389e-08 7.82991e-08 -1.83474e-08 1.88686e-08 1.32682e-08 -1.47076e-08 2.31935e-08 -2.48742e-08 2.23097e-08 -2.34714e-08 1.86603e-08 -1.94534e-08 1.43382e-08 -1.48911e-08 9.9462e-09 -1.03005e-08 5.56306e-09 -5.66791e-09 1.65053e-09 -1.49312e-09 -1.4787e-09 1.84256e-09 -3.74614e-09 4.23906e-09 -5.24783e-09 5.80229e-09 -6.13919e-09 6.70606e-09 -6.57699e-09 7.12572e-09 -6.6892e-09 7.20361e-09 -6.5618e-09 7.03598e-09 -6.27176e-09 6.7066e-09 -5.88233e-09 6.28022e-09 -5.43071e-09 5.7945e-09 -1.33862e-09 2.19032e-07 -2.28722e-07 2.91365e-07 -3.07135e-07 4.01498e-07 -4.2439e-07 1.98015e-07 -2.07915e-07 3.1772e-08 -3.47916e-08 -1.32352e-07 1.37601e-07 -2.65068e-07 2.77772e-07 -3.00855e-07 3.186e-07 -2.20676e-07 2.30206e-07 -1.60721e-07 1.69563e-07 -8.25247e-08 8.68276e-08 -1.92535e-08 1.95053e-08 1.63343e-08 -1.81806e-08 2.67262e-08 -2.87588e-08 2.47002e-08 -2.59927e-08 2.02859e-08 -2.1146e-08 1.54847e-08 -1.61213e-08 1.07003e-08 -1.11481e-08 5.8142e-09 -6.00286e-09 1.35353e-09 -1.22964e-09 -2.2083e-09 2.5792e-09 -4.74588e-09 5.26841e-09 -6.37459e-09 6.96656e-09 -7.29232e-09 7.9002e-09 -7.69539e-09 8.28824e-09 -7.7405e-09 8.30171e-09 -7.53378e-09 8.05604e-09 -7.16509e-09 7.64742e-09 -6.70151e-09 7.14614e-09 -6.18066e-09 6.5887e-09 -4.78615e-10 2.38302e-07 -2.4775e-07 3.23228e-07 -3.39663e-07 4.47835e-07 -4.71853e-07 2.17865e-07 -2.27873e-07 3.79724e-08 -4.13214e-08 -1.42941e-07 1.48464e-07 -2.90426e-07 3.02943e-07 -3.3718e-07 3.56681e-07 -2.39499e-07 2.4846e-07 -1.78753e-07 1.88351e-07 -9.11777e-08 9.55649e-08 -1.96121e-08 1.95593e-08 2.02621e-08 -2.26426e-08 3.0991e-08 -3.34439e-08 2.7346e-08 -2.87591e-08 2.2036e-08 -2.29413e-08 1.68019e-08 -1.7533e-08 1.16537e-08 -1.22176e-08 6.24306e-09 -6.54328e-09 1.12582e-09 -1.03798e-09 -2.95745e-09 3.34225e-09 -5.80834e-09 6.369e-09 -7.58166e-09 8.22211e-09 -8.53406e-09 9.19445e-09 -8.90639e-09 9.55197e-09 -8.88896e-09 9.50303e-09 -8.6042e-09 9.17989e-09 -8.1546e-09 8.68735e-09 -7.61339e-09 8.10324e-09 -7.01717e-09 7.46581e-09 4.4268e-10 2.57035e-07 -2.66082e-07 3.56465e-07 -3.73664e-07 4.96458e-07 -5.21662e-07 2.37949e-07 -2.48112e-07 4.4847e-08 -4.85638e-08 -1.54299e-07 1.60613e-07 -3.15223e-07 3.27178e-07 -3.77187e-07 3.98763e-07 -2.56977e-07 2.64975e-07 -1.98394e-07 2.09002e-07 -9.99701e-08 1.04397e-07 -1.93493e-08 1.89296e-08 2.5333e-08 -2.83545e-08 3.61235e-08 -3.90685e-08 3.02288e-08 -3.17463e-08 2.3855e-08 -2.47633e-08 1.83056e-08 -1.91382e-08 1.28499e-08 -1.35546e-08 6.91222e-09 -7.36421e-09 9.65901e-10 -9.10965e-10 -3.73758e-09 4.14963e-09 -6.95421e-09 7.57024e-09 -8.89173e-09 9.59609e-09 -9.88403e-09 1.06064e-08 -1.02271e-08 1.09325e-08 -1.01458e-08 1.08167e-08 -9.78296e-09 1.0413e-08 -9.24644e-09 9.8324e-09 -8.61734e-09 9.15723e-09 -7.93592e-09 8.43084e-09 1.47226e-09 2.74869e-07 -2.83344e-07 3.91295e-07 -4.09397e-07 5.47468e-07 -5.73872e-07 2.58387e-07 -2.688e-07 5.24974e-08 -5.66899e-08 -1.67583e-07 1.75342e-07 -3.38777e-07 3.50113e-07 -4.21429e-07 4.45155e-07 -2.72331e-07 2.78957e-07 -2.20178e-07 2.32129e-07 -1.08881e-07 1.13638e-07 -1.84126e-08 1.75104e-08 3.16972e-08 -3.54425e-08 4.22729e-08 -4.57641e-08 3.33258e-08 -3.4928e-08 2.56385e-08 -2.64702e-08 2.00328e-08 -2.10021e-08 1.43344e-08 -1.5198e-08 7.91296e-09 -8.57712e-09 8.70151e-10 -8.31917e-10 -4.5827e-09 5.04073e-09 -8.21966e-09 8.90954e-09 -1.03361e-08 1.11176e-08 -1.13659e-08 1.21633e-08 -1.16696e-08 1.24423e-08 -1.15171e-08 1.22484e-08 -1.10691e-08 1.17535e-08 -1.04446e-08 1.10834e-08 -9.72472e-09 1.03191e-08 -8.95248e-09 9.49983e-09 2.61236e-09 2.91445e-07 -2.99087e-07 4.28028e-07 -4.47252e-07 6.00866e-07 -6.28429e-07 2.79386e-07 -2.90183e-07 6.1198e-08 -6.60814e-08 -1.83922e-07 1.9323e-07 -3.61446e-07 3.73158e-07 -4.69848e-07 4.95394e-07 -2.84684e-07 2.89459e-07 -2.44938e-07 2.58685e-07 -1.18155e-07 1.233e-07 -1.67433e-08 1.53279e-08 3.95363e-08 -4.40239e-08 4.95705e-08 -5.3727e-08 3.65963e-08 -3.83109e-08 2.72195e-08 -2.78348e-08 2.20628e-08 -2.32456e-08 1.61453e-08 -1.71833e-08 9.38754e-09 -1.03954e-08 7.82855e-10 -6.92191e-10 -5.52928e-09 6.05837e-09 -9.64336e-09 1.04281e-08 -1.19441e-08 1.28204e-08 -1.30019e-08 1.3887e-08 -1.32541e-08 1.41063e-08 -1.30161e-08 1.3823e-08 -1.24709e-08 1.3226e-08 -1.17509e-08 1.24498e-08 -1.09375e-08 1.15787e-08 -1.00689e-08 1.0654e-08 3.85941e-09 3.06161e-07 -3.12522e-07 4.67155e-07 -4.87846e-07 6.5653e-07 -6.85133e-07 3.0123e-07 -3.12574e-07 7.13894e-08 -7.71577e-08 -2.03101e-07 2.13435e-07 -3.85583e-07 3.98773e-07 -5.21685e-07 5.48704e-07 -2.93235e-07 2.96269e-07 -2.73788e-07 2.90185e-07 -1.28121e-07 1.32937e-07 -1.40585e-08 1.25996e-08 4.90758e-08 -5.46196e-08 5.82115e-08 -6.30572e-08 4.0071e-08 -4.18893e-08 2.82746e-08 -2.8534e-08 2.45935e-08 -2.61406e-08 1.83157e-08 -1.95862e-08 1.16625e-08 -1.32688e-08 4.99998e-10 -1.14081e-10 -6.6513e-09 7.32958e-09 -1.12705e-08 1.21803e-08 -1.37528e-08 1.47543e-08 -1.48238e-08 1.58119e-08 -1.49978e-08 1.59258e-08 -1.46679e-08 1.5546e-08 -1.402e-08 1.48478e-08 -1.31806e-08 1.39449e-08 -1.22438e-08 1.29386e-08 -1.12559e-08 1.18849e-08 5.20924e-09 3.17935e-07 -3.22511e-07 5.09463e-07 -5.32183e-07 7.14182e-07 -7.43603e-07 3.2426e-07 -3.36328e-07 8.34188e-08 -9.02277e-08 -2.24305e-07 2.3597e-07 -4.12346e-07 4.25575e-07 -5.76498e-07 6.05162e-07 -2.98895e-07 3.01431e-07 -3.07546e-07 3.27413e-07 -1.38787e-07 1.43454e-07 -1.02907e-08 8.42412e-09 6.03868e-08 -6.69633e-08 6.84696e-08 -7.42497e-08 4.37321e-08 -4.56163e-08 2.8581e-08 -2.84021e-08 2.79106e-08 -2.98869e-08 2.10712e-08 -2.28332e-08 1.52754e-08 -1.77088e-08 -5.78864e-10 1.62641e-09 -8.11465e-09 9.04426e-09 -1.31644e-08 1.42221e-08 -1.58311e-08 1.69841e-08 -1.68509e-08 1.79467e-08 -1.68942e-08 1.79098e-08 -1.64561e-08 1.74e-08 -1.57042e-08 1.65871e-08 -1.47425e-08 1.55733e-08 -1.3672e-08 1.44494e-08 -1.25554e-08 1.32694e-08 6.65472e-09 3.26204e-07 -3.28647e-07 5.56246e-07 -5.81964e-07 7.733e-07 -8.03145e-07 3.48806e-07 -3.61697e-07 9.76856e-08 -1.05945e-07 -2.48771e-07 2.62999e-07 -4.37697e-07 4.48268e-07 -6.34747e-07 6.6508e-07 -3.05032e-07 3.0979e-07 -3.48168e-07 3.70614e-07 -1.48583e-07 1.54238e-07 -6.11248e-09 3.15993e-09 7.40933e-08 -8.17188e-08 8.03651e-08 -8.68222e-08 4.75019e-08 -4.95607e-08 2.81368e-08 -2.80146e-08 3.1937e-08 -3.37485e-08 2.47822e-08 -2.65938e-08 2.05748e-08 -2.39133e-08 -2.8857e-09 3.9365e-09 -1.01398e-08 1.13884e-08 -1.53431e-08 1.65317e-08 -1.82098e-08 1.95316e-08 -1.9106e-08 2.03304e-08 -1.89777e-08 2.00905e-08 -1.83837e-08 1.94123e-08 -1.75016e-08 1.84593e-08 -1.64367e-08 1.73356e-08 -1.52632e-08 1.61045e-08 -1.40213e-08 1.47934e-08 8.20131e-09 3.29421e-07 -3.28031e-07 6.09722e-07 -6.39943e-07 8.32972e-07 -8.62527e-07 3.74974e-07 -3.88665e-07 1.15195e-07 -1.25611e-07 -2.78868e-07 2.96697e-07 -4.57399e-07 4.65697e-07 -6.95966e-07 7.26429e-07 -3.16495e-07 3.26257e-07 -3.94788e-07 4.20332e-07 -1.59613e-07 1.63584e-07 7.14637e-13 -2.76188e-09 8.98042e-08 -9.86558e-08 9.386e-08 -1.00959e-07 5.18607e-08 -5.45081e-08 2.81472e-08 -2.86782e-08 3.49136e-08 -3.50334e-08 2.79367e-08 -2.89211e-08 2.76242e-08 -3.10829e-08 -4.13199e-09 2.78508e-09 -1.26979e-08 1.38941e-08 -1.78136e-08 1.92347e-08 -2.09894e-08 2.26251e-08 -2.16055e-08 2.29105e-08 -2.12294e-08 2.23813e-08 -2.04915e-08 2.16247e-08 -1.94771e-08 2.0566e-08 -1.82787e-08 1.92821e-08 -1.69674e-08 1.78698e-08 -1.55758e-08 1.63818e-08 9.8732e-09 3.23969e-07 -3.1687e-07 6.7295e-07 -7.08739e-07 8.91045e-07 -9.14738e-07 4.03308e-07 -4.21262e-07 1.37252e-07 -1.49925e-07 -3.17331e-07 3.42425e-07 -4.74052e-07 4.82352e-07 -7.56172e-07 7.83358e-07 -3.38008e-07 3.51625e-07 -4.4628e-07 4.7303e-07 -1.67728e-07 1.72421e-07 6.1015e-09 -1.02898e-08 1.08685e-07 -1.19471e-07 1.0787e-07 -1.15044e-07 5.74012e-08 -6.05911e-08 2.98592e-08 -3.19649e-08 3.38378e-08 -3.14359e-08 3.03914e-08 -3.32705e-08 3.28891e-08 -3.15512e-08 6.19681e-10 -6.26706e-09 -1.47621e-08 1.51252e-08 -2.08547e-08 2.27268e-08 -2.44625e-08 2.65153e-08 -2.42312e-08 2.55555e-08 -2.35383e-08 2.46818e-08 -2.28037e-08 2.401e-08 -2.17291e-08 2.29642e-08 -2.03674e-08 2.1563e-08 -1.88486e-08 1.99553e-08 -1.72524e-08 1.82449e-08 1.16727e-08 3.06768e-07 -2.94341e-07 7.46852e-07 -7.86886e-07 9.25457e-07 -9.25316e-07 4.45326e-07 -4.76556e-07 1.63045e-07 -1.75512e-07 -3.739e-07 4.11625e-07 -4.95982e-07 4.98773e-07 -8.01849e-07 8.2965e-07 -3.68109e-07 3.83498e-07 -4.98063e-07 5.2086e-07 -1.76114e-07 1.77535e-07 1.55155e-08 -2.03752e-08 1.30084e-07 -1.41316e-07 1.23711e-07 -1.33954e-07 6.38125e-08 -6.72527e-08 3.49647e-08 -3.80829e-08 2.86362e-08 -2.68877e-08 3.76594e-08 -4.27111e-08 2.61724e-08 -1.68429e-08 1.38269e-08 -2.25066e-08 -1.48947e-08 1.41601e-08 -2.49177e-08 2.75195e-08 -2.87998e-08 3.13081e-08 -2.6846e-08 2.80245e-08 -2.57809e-08 2.6835e-08 -2.52387e-08 2.65381e-08 -2.42831e-08 2.5733e-08 -2.28993e-08 2.44072e-08 -2.12351e-08 2.27077e-08 -1.94081e-08 2.07553e-08 1.34418e-08 2.80858e-07 -2.67892e-07 8.30495e-07 -8.74396e-07 9.28963e-07 -9.2696e-07 5.11376e-07 -5.44623e-07 1.85992e-07 -1.93203e-07 -4.50429e-07 4.82965e-07 -5.4192e-07 5.65676e-07 -8.18153e-07 8.27887e-07 -3.94e-07 4.0812e-07 -5.46549e-07 5.69649e-07 -1.76909e-07 1.76402e-07 2.52255e-08 -3.10381e-08 1.53497e-07 -1.6599e-07 1.45817e-07 -1.60695e-07 7.12972e-08 -7.57955e-08 4.01241e-08 -4.03322e-08 2.78897e-08 -3.33489e-08 4.7042e-08 -4.88904e-08 4.89567e-09 7.98426e-09 3.16948e-08 -4.10083e-08 -1.34151e-08 1.34159e-08 -3.06235e-08 3.42742e-08 -3.39577e-08 3.65607e-08 -2.90274e-08 2.99054e-08 -2.79283e-08 2.92456e-08 -2.80388e-08 2.99342e-08 -2.74031e-08 2.94141e-08 -2.61139e-08 2.80473e-08 -2.43564e-08 2.61412e-08 -2.2254e-08 2.38355e-08 1.48086e-08 2.56571e-07 -2.47408e-07 9.16014e-07 -9.50209e-07 9.23039e-07 -9.32344e-07 5.68269e-07 -5.73945e-07 1.97e-07 -1.3299e-07 -5.26298e-07 5.14017e-07 -5.71619e-07 5.68855e-07 -8.41513e-07 8.7086e-07 -4.24037e-07 4.13478e-07 -5.78695e-07 5.8927e-07 -1.77475e-07 1.75157e-07 3.93016e-08 -4.78786e-08 1.77204e-07 -1.87337e-07 1.806e-07 -2.05876e-07 7.99807e-08 -8.23095e-08 3.88313e-08 -3.72045e-08 4.42607e-08 -6.05579e-08 4.60612e-08 -3.84109e-08 -1.99932e-08 2.96844e-08 4.89037e-08 -5.21859e-08 -1.40893e-08 1.37849e-08 -3.83337e-08 4.24058e-08 -3.88059e-08 4.02647e-08 -3.08883e-08 3.23506e-08 -3.10236e-08 3.34696e-08 -3.24359e-08 3.57084e-08 -3.1896e-08 3.49687e-08 -3.02372e-08 3.27271e-08 -2.80162e-08 2.9959e-08 -2.54199e-08 2.69553e-08 1.34468e-08 2.40079e-07 -2.29639e-07 9.86889e-07 -1.03074e-06 9.37116e-07 -9.1329e-07 5.5574e-07 -5.10214e-07 8.98869e-08 -1.5141e-07 -7.70552e-07 1.13781e-06 -3.27946e-07 1.60389e-07 -8.66408e-07 7.63381e-07 -4.08109e-07 4.25463e-07 -6.15904e-07 6.34768e-07 -1.6648e-07 1.58589e-07 5.49773e-08 -6.17595e-08 1.98087e-07 -2.09353e-07 2.33626e-07 -2.63583e-07 8.22389e-08 -8.0032e-08 3.76975e-08 -4.15234e-08 7.94187e-08 -9.31449e-08 2.84843e-08 -2.15797e-08 -3.68531e-08 3.97622e-08 4.91942e-08 -4.08079e-08 -8.38779e-09 9.23715e-10 -4.56095e-08 4.70619e-08 -4.04824e-08 3.93783e-08 -3.46104e-08 3.76714e-08 -3.66835e-08 4.0587e-08 -3.98413e-08 4.48309e-08 -3.87428e-08 4.32982e-08 -3.56018e-08 3.89614e-08 -3.20121e-08 3.4265e-08 -2.84443e-08 2.99824e-08 1.60213e-08 2.19464e-07 -2.16743e-07 1.07509e-06 -1.09297e-06 9.08333e-07 -9.05655e-07 4.39682e-07 -4.0214e-07 2.75243e-07 -3.16992e-09 -1.31021e-06 9.12418e-07 -2.52558e-07 4.13955e-07 -6.08206e-07 4.77549e-07 -4.52649e-07 4.73848e-07 -6.17181e-07 5.77354e-07 -1.54328e-07 1.4531e-07 7.00107e-08 -7.9285e-08 2.18917e-07 -2.2183e-07 3.00387e-07 -3.50271e-07 7.40422e-08 -6.24302e-08 4.74608e-08 -5.2972e-08 9.4253e-08 -8.35318e-08 2.34917e-08 -4.01224e-08 -3.77163e-08 3.22095e-08 3.02364e-08 -1.78113e-08 6.14674e-09 -1.36898e-08 -4.63937e-08 4.3379e-08 -3.77196e-08 3.71028e-08 -4.1241e-08 4.50443e-08 -4.47165e-08 4.83481e-08 -5.06025e-08 5.70851e-08 -4.8851e-08 5.5346e-08 -4.30534e-08 4.79784e-08 -3.69307e-08 4.01147e-08 -3.16656e-08 3.37362e-08 1.70951e-08 2.16469e-07 -2.21309e-07 1.12241e-06 -1.18092e-06 8.52578e-07 -7.42141e-07 5.59789e-07 -8.35088e-07 -7.32372e-07 1.36106e-06 -8.06815e-08 -4.34056e-08 -4.77319e-07 4.37738e-07 -3.78306e-07 3.31886e-07 -4.48008e-07 3.61756e-07 -5.53755e-07 5.58849e-07 -1.24488e-07 1.04252e-07 8.69117e-08 -9.45179e-08 2.14027e-07 -1.98053e-07 4.10726e-07 -4.6774e-07 4.97787e-08 -4.78739e-08 5.8751e-08 -6.94189e-08 7.26655e-08 -6.98006e-08 6.49328e-08 -8.39287e-08 -2.38388e-08 1.16528e-08 9.21741e-09 -9.72696e-09 1.89073e-08 -1.58722e-08 -3.85393e-08 3.29917e-08 -3.95325e-08 4.60375e-08 -4.91876e-08 5.37049e-08 -4.97874e-08 4.78451e-08 -6.40066e-08 6.98254e-08 -6.34168e-08 7.53004e-08 -5.40991e-08 6.29231e-08 -4.40954e-08 4.75099e-08 -3.66997e-08 3.8263e-08 1.78208e-08 2.34798e-07 -2.77313e-07 1.22139e-06 -1.19606e-06 6.36179e-07 -6.9293e-07 1.64769e-06 -2.09927e-06 -2.19367e-06 3.37387e-06 1.09937e-07 8.0195e-07 -2.76531e-07 -1.54387e-07 -2.64486e-07 2.10597e-07 -2.38193e-07 1.19621e-07 -5.70802e-07 5.67208e-07 -1.02597e-07 1.11724e-07 1.08521e-07 -1.2927e-07 1.79004e-07 -1.65444e-07 5.1228e-07 -5.4846e-07 6.21649e-08 -8.36194e-08 8.64937e-08 -1.09212e-07 6.7698e-08 -7.70686e-08 9.45059e-08 -9.26012e-08 2.86155e-10 -1.39909e-08 1.95088e-08 -3.01447e-08 1.84178e-09 1.52045e-08 -3.04896e-08 3.85479e-08 -5.80233e-08 7.03924e-08 -5.86755e-08 5.57941e-08 -4.8158e-08 4.25041e-08 -7.27532e-08 7.67333e-08 -8.28547e-08 9.35029e-08 -7.19552e-08 8.32857e-08 -5.44311e-08 6.18217e-08 -4.13768e-08 4.53268e-08 3.03926e-08 3.32779e-07 -4.15355e-07 1.1739e-06 -1.04587e-06 1.05458e-06 -1.63186e-06 2.17661e-06 -2.25104e-06 -4.77185e-06 6.4183e-06 -6.66328e-07 8.29382e-07 6.22329e-07 -7.26025e-07 -1.29483e-07 -8.0231e-08 -3.09738e-08 -1.54786e-08 -5.51422e-07 5.40976e-07 -1.03198e-07 5.45646e-08 1.48378e-07 -1.58813e-07 1.65649e-07 -1.82381e-07 5.7827e-07 -5.90247e-07 1.0634e-07 -1.42096e-07 1.35443e-07 -1.59207e-07 1.01852e-07 -1.25766e-07 8.19279e-08 -8.05091e-08 3.44317e-08 -4.95254e-08 2.58424e-08 -4.91844e-08 -2.29411e-08 3.08578e-08 -4.68046e-08 9.13557e-08 -7.83271e-08 8.77681e-08 -5.9635e-08 6.67538e-08 -3.49451e-08 4.74434e-08 -8.71338e-08 8.73363e-08 -1.07235e-07 1.15849e-07 -9.58382e-08 1.06568e-07 -7.11911e-08 8.24006e-08 -5.2411e-08 6.13397e-08 6.821e-08 4.85813e-07 -6.30605e-07 8.68702e-07 -7.52396e-07 2.3771e-06 -2.77982e-06 1.9422e-06 -1.713e-06 -7.3011e-06 7.64484e-06 -7.11822e-07 1.08267e-06 1.31121e-06 -1.60221e-06 4.17467e-07 -1.06502e-06 4.21835e-08 -3.85305e-08 -5.35371e-07 5.06487e-07 1.67797e-08 -7.94641e-08 1.6228e-07 -1.74119e-07 2.17462e-07 -2.70033e-07 5.77869e-07 -5.40501e-07 1.97415e-07 -2.46899e-07 1.77685e-07 -2.16447e-07 1.46981e-07 -1.79873e-07 1.00534e-07 -2.80247e-08 1.48152e-07 -2.00209e-07 1.26447e-08 6.27777e-09 -2.62383e-08 4.2033e-08 -1.23072e-07 1.60035e-07 -1.06506e-07 1.38545e-07 -8.59726e-08 1.14128e-07 -7.49572e-08 1.06761e-07 -9.81362e-08 1.21447e-07 -1.297e-07 1.56903e-07 -1.35748e-07 1.83051e-07 -1.08378e-07 1.57265e-07 -7.24238e-08 1.03962e-07 2.08886e-10 2.29766e-10 2.48165e-10 2.60977e-10 2.6524e-10 2.58383e-10 2.38296e-10 2.02883e-10 1.43932e-10 5.61301e-11 -7.61626e-11 -2.62662e-10 -5.13204e-10 -8.37236e-10 -1.23335e-09 -1.7396e-09 -2.34826e-09 -2.85966e-09 -2.85131e-09 -1.5254e-09 1.69419e-09 5.31646e-09 7.94946e-09 8.14555e-09 5.47117e-09 6.59235e-10 -3.57673e-09 -5.73035e-09 -4.37803e-09 -7.65222e-09 -3.17538e-10 3.77538e-10 -3.46285e-10 4.05028e-10 -3.62855e-10 4.06781e-10 -3.59567e-10 3.68485e-10 -3.28551e-10 2.7693e-10 -2.628e-10 1.22755e-10 -1.59467e-10 -9.61328e-11 -1.64674e-11 -3.81411e-10 1.83051e-10 -7.47467e-10 4.48619e-10 -1.2138e-09 8.08462e-10 -1.81262e-09 1.27851e-09 -2.55788e-09 1.86556e-09 -3.43667e-09 2.56253e-09 -4.39682e-09 3.36078e-09 -5.37548e-09 4.26491e-09 -6.30384e-09 5.26015e-09 -7.14381e-09 5.74053e-09 -6.85377e-09 4.40477e-09 -3.2106e-09 -8.30074e-10 6.82384e-09 -1.03131e-08 2.21316e-08 -1.82784e-08 3.28748e-08 -2.1857e-08 3.56425e-08 -1.94912e-08 2.94391e-08 -1.06417e-08 1.35393e-08 1.90383e-09 -6.99784e-09 1.19047e-08 -2.26425e-08 1.70891e-08 -3.07548e-08 1.42182e-08 -2.60408e-08 1.87364e-08 -2.90926e-08 -5.41016e-10 8.51248e-10 -5.74348e-10 9.02751e-10 -5.6425e-10 8.89899e-10 -4.90306e-10 7.86741e-10 -3.34066e-10 5.72298e-10 -8.67496e-11 2.42936e-10 2.47689e-10 -1.94076e-10 6.73136e-10 -7.34886e-10 1.19924e-09 -1.39183e-09 1.85424e-09 -2.20616e-09 2.67525e-09 -3.21969e-09 3.67246e-09 -4.44488e-09 4.80584e-09 -5.81965e-09 5.96058e-09 -7.15902e-09 6.9874e-09 -8.21875e-09 7.71294e-09 -8.6999e-09 8.04175e-09 -8.38467e-09 6.52994e-09 -5.48222e-09 2.26615e-10 3.43918e-09 -1.43044e-08 2.17087e-08 -3.38456e-08 4.43128e-08 -4.63719e-08 5.83976e-08 -4.77292e-08 5.84373e-08 -3.76125e-08 4.47185e-08 -1.48093e-08 1.53048e-08 1.33926e-08 -2.03123e-08 3.43771e-08 -4.64549e-08 4.51869e-08 -5.98254e-08 3.82118e-08 -5.02657e-08 3.7986e-08 -4.57639e-08 -1.25703e-09 1.68578e-09 -1.33599e-09 1.79579e-09 -1.3283e-09 1.8005e-09 -1.2047e-09 1.66782e-09 -9.44616e-10 1.37911e-09 -5.50709e-10 9.447e-10 -3.8528e-11 3.86336e-10 5.84839e-10 -2.85541e-10 1.33945e-09 -1.10248e-09 2.27527e-09 -2.13231e-09 3.45233e-09 -3.44194e-09 4.88252e-09 -5.05937e-09 6.48793e-09 -6.88665e-09 8.02934e-09 -8.62933e-09 9.14999e-09 -9.87071e-09 9.44326e-09 -1.0055e-08 8.48246e-09 -8.49249e-09 4.18762e-09 -2.83534e-09 -7.1892e-09 1.07196e-08 -2.8504e-08 3.46687e-08 -5.35382e-08 6.19446e-08 -6.94227e-08 7.99669e-08 -6.84113e-08 7.81028e-08 -5.13798e-08 5.79263e-08 -1.55272e-08 1.56806e-08 2.74202e-08 -3.46126e-08 5.8649e-08 -7.09039e-08 7.45257e-08 -8.92673e-08 6.21669e-08 -7.39634e-08 5.28846e-08 -5.96583e-08 -2.08492e-09 2.43382e-09 -2.22798e-09 2.61075e-09 -2.25276e-09 2.66366e-09 -2.12517e-09 2.55724e-09 -1.82936e-09 2.27736e-09 -1.38172e-09 1.84226e-09 -8.06253e-10 1.27456e-09 -1.1161e-10 5.76944e-10 7.4411e-10 -3.03281e-10 1.84267e-09 -1.46437e-09 3.27194e-09 -3.0042e-09 5.05765e-09 -4.95586e-09 7.09738e-09 -7.20027e-09 9.05588e-09 -9.3744e-09 1.04347e-08 -1.09134e-08 1.05657e-08 -1.10285e-08 8.46135e-09 -8.43242e-09 1.54876e-09 -3.49052e-10 -1.40186e-08 1.71264e-08 -4.03796e-08 4.58321e-08 -6.99465e-08 7.78226e-08 -9.03683e-08 1.00801e-07 -8.77337e-08 9.73906e-08 -6.44875e-08 7.11045e-08 -1.58221e-08 1.59583e-08 4.18727e-08 -4.92081e-08 8.32122e-08 -9.55805e-08 1.0405e-07 -1.18877e-07 8.56898e-08 -9.73626e-08 6.62494e-08 -7.2732e-08 -2.73377e-09 2.99728e-09 -2.94578e-09 3.24495e-09 -3.03417e-09 3.37585e-09 -2.96419e-09 3.35466e-09 -2.72107e-09 3.16511e-09 -2.32086e-09 2.81633e-09 -1.7802e-09 2.31666e-09 -1.09296e-09 1.64692e-09 -1.9352e-10 7.29376e-10 1.02695e-09 -5.55159e-10 2.67713e-09 -2.32226e-09 4.79986e-09 -4.62297e-09 7.25597e-09 -7.29833e-09 9.64389e-09 -9.9106e-09 1.13516e-08 -1.17877e-08 1.14742e-08 -1.19297e-08 8.43039e-09 -8.47274e-09 -7.61616e-10 1.78532e-09 -2.00951e-08 2.29664e-08 -5.11714e-08 5.64864e-08 -8.57234e-08 9.37184e-08 -1.11342e-07 1.22027e-07 -1.07099e-07 1.16866e-07 -7.77884e-08 8.45466e-08 -1.60853e-08 1.6199e-08 5.66292e-08 -6.41462e-08 1.08013e-07 -1.20516e-07 1.3375e-07 -1.48673e-07 1.08986e-07 -1.20559e-07 7.9132e-08 -8.54536e-08 -3.23946e-09 3.47456e-09 -3.52419e-09 3.79758e-09 -3.70258e-09 4.02675e-09 -3.73926e-09 4.12676e-09 -3.61398e-09 4.07271e-09 -3.32883e-09 3.85749e-09 -2.87759e-09 3.45887e-09 -2.2302e-09 2.83488e-09 -1.29458e-09 1.88028e-09 6.0245e-11 4.55081e-10 1.95013e-09 -1.5769e-09 4.43989e-09 -4.25893e-09 7.34744e-09 -7.41502e-09 1.01911e-08 -1.0494e-08 1.22459e-08 -1.27381e-08 1.24195e-08 -1.29563e-08 8.57302e-09 -8.74138e-09 -2.72361e-09 3.57539e-09 -2.57676e-08 2.85131e-08 -6.1826e-08 6.72134e-08 -1.01839e-07 1.10097e-07 -1.32876e-07 1.43908e-07 -1.26697e-07 1.36594e-07 -9.13883e-08 9.83228e-08 -1.62965e-08 1.63747e-08 7.17703e-08 -7.95113e-08 1.33095e-07 -1.45758e-07 1.63651e-07 -1.7869e-07 1.32085e-07 -1.43562e-07 9.16928e-08 -9.78407e-08 -3.71368e-09 3.96409e-09 -4.07598e-09 4.36668e-09 -4.35767e-09 4.70168e-09 -4.52372e-09 4.93489e-09 -4.54417e-09 5.02989e-09 -4.40118e-09 4.96014e-09 -4.05826e-09 4.67387e-09 -3.45912e-09 4.09967e-09 -2.48295e-09 3.10144e-09 -9.81512e-10 1.51507e-09 1.19874e-09 -8.20405e-10 4.09594e-09 -3.9442e-09 7.50563e-09 -7.63076e-09 1.08373e-08 -1.12221e-08 1.32691e-08 -1.38482e-08 1.35495e-08 -1.42032e-08 8.98691e-09 -9.31413e-09 -4.33693e-09 5.00266e-09 -3.12096e-08 3.38587e-08 -7.26602e-08 7.81741e-08 -1.18502e-07 1.27062e-07 -1.55138e-07 1.66587e-07 -1.46561e-07 1.56603e-07 -1.05361e-07 1.12518e-07 -1.64307e-08 1.64617e-08 8.73792e-08 -9.53856e-08 1.58508e-07 -1.71354e-07 1.93793e-07 -2.08968e-07 1.5499e-07 -1.66371e-07 1.03887e-07 -1.0982e-07 -4.23037e-09 4.51582e-09 -4.67474e-09 5.00294e-09 -5.06361e-09 5.44577e-09 -5.36331e-09 5.81089e-09 -5.53227e-09 6.05281e-09 -5.53469e-09 6.12651e-09 -5.30495e-09 5.95173e-09 -4.75404e-09 5.42607e-09 -3.73211e-09 4.37837e-09 -2.05634e-09 2.60913e-09 4.42941e-10 -6.61889e-11 3.80831e-09 -3.69377e-09 7.79449e-09 -7.99783e-09 1.16536e-08 -1.21348e-08 1.44824e-08 -1.51731e-08 1.49207e-08 -1.57075e-08 9.7269e-09 -1.023e-08 -5.56637e-09 6.01978e-09 -3.64585e-08 3.90058e-08 -8.37613e-08 8.9427e-08 -1.35785e-07 1.44681e-07 -1.78272e-07 1.90213e-07 -1.66724e-07 1.76928e-07 -1.19806e-07 1.27239e-07 -1.64639e-08 1.64329e-08 1.03541e-07 -1.11855e-07 1.84301e-07 -1.97354e-07 2.2422e-07 -2.39555e-07 1.77706e-07 -1.88993e-07 1.15629e-07 -1.21302e-07 -4.82187e-09 5.14856e-09 -5.35267e-09 5.72528e-09 -5.84985e-09 6.27715e-09 -6.27979e-09 6.77138e-09 -6.59301e-09 7.15492e-09 -6.73657e-09 7.36751e-09 -6.61695e-09 7.30367e-09 -6.11724e-09 6.82777e-09 -5.04095e-09 5.72289e-09 -3.17177e-09 3.74766e-09 -3.07719e-10 6.83483e-10 3.59967e-09 -3.52812e-09 8.2442e-09 -8.5421e-09 1.26661e-08 -1.32578e-08 1.59188e-08 -1.6729e-08 1.65695e-08 -1.75124e-08 1.08294e-08 -1.15322e-08 -6.35149e-09 6.55256e-09 -4.14967e-08 4.3926e-08 -9.51786e-08 1.01023e-07 -1.53762e-07 1.6304e-07 -2.02429e-07 2.1494e-07 -1.87219e-07 1.976e-07 -1.34835e-07 1.42611e-07 -1.63638e-08 1.62503e-08 1.20341e-07 -1.29008e-07 2.1052e-07 -2.23804e-07 2.54979e-07 -2.70497e-07 2.00235e-07 -2.11431e-07 1.26827e-07 -1.32192e-07 -5.49668e-09 5.86654e-09 -6.12064e-09 6.53938e-09 -6.72837e-09 7.20382e-09 -7.2867e-09 7.82698e-09 -7.73965e-09 8.34886e-09 -8.02109e-09 8.70005e-09 -8.01179e-09 8.74695e-09 -7.5625e-09 8.32412e-09 -6.4277e-09 7.15884e-09 -4.33866e-09 4.94776e-09 -1.05741e-09 1.43444e-09 3.48086e-09 -3.4571e-09 8.8948e-09 -9.306e-09 1.39066e-08 -1.46184e-08 1.7607e-08 -1.85505e-08 1.85351e-08 -1.96448e-08 1.23463e-08 -1.32839e-08 -6.61482e-09 6.52082e-09 -4.62877e-08 4.85762e-08 -1.06968e-07 1.13022e-07 -1.72527e-07 1.82241e-07 -2.27764e-07 2.40921e-07 -2.08073e-07 2.18643e-07 -1.50584e-07 1.58774e-07 -1.60852e-08 1.5859e-08 1.37868e-07 -1.46933e-07 2.37209e-07 -2.50741e-07 2.86114e-07 -3.01838e-07 2.2258e-07 -2.33685e-07 1.37383e-07 -1.42386e-07 -6.25851e-09 6.67252e-09 -6.982e-09 7.44826e-09 -7.70401e-09 8.22871e-09 -8.39155e-09 8.98322e-09 -8.98437e-09 9.64776e-09 -9.40648e-09 1.0142e-08 -9.51103e-09 1.03073e-08 -9.11587e-09 9.94346e-09 -7.91741e-09 8.71128e-09 -5.57899e-09 6.23499e-09 -1.81159e-09 2.19241e-09 3.46396e-09 -3.5018e-09 9.79337e-09 -1.03564e-08 1.5403e-08 -1.6258e-08 1.95589e-08 -2.06431e-08 2.08402e-08 -2.21265e-08 1.43547e-08 -1.55652e-08 -6.26024e-09 5.8372e-09 -5.07872e-08 5.29188e-08 -1.19195e-07 1.25493e-07 -1.92199e-07 2.02421e-07 -2.54427e-07 2.68295e-07 -2.29314e-07 2.40092e-07 -1.67202e-07 1.75887e-07 -1.5559e-08 1.51679e-08 1.56215e-07 -1.65725e-07 2.64405e-07 -2.78203e-07 3.17673e-07 -3.33623e-07 2.44745e-07 -2.5576e-07 1.47188e-07 -1.51774e-07 -7.10706e-09 7.56222e-09 -7.93782e-09 8.45129e-09 -8.77991e-09 9.35815e-09 -9.60289e-09 1.02521e-08 -1.03417e-08 1.10661e-08 -1.091e-08 1.17127e-08 -1.11393e-08 1.201e-08 -1.08086e-08 1.17187e-08 -9.54562e-09 1.04226e-08 -6.91845e-09 7.6372e-09 -2.58105e-09 2.97659e-09 3.57245e-09 -3.67948e-09 1.10096e-08 -1.17642e-08 1.71883e-08 -1.82014e-08 2.1799e-08 -2.30298e-08 2.35016e-08 -2.49654e-08 1.69332e-08 -1.84727e-08 -5.21775e-09 4.38458e-09 -5.4907e-08 5.67188e-08 -1.31932e-07 1.38521e-07 -2.12936e-07 2.23771e-07 -2.82538e-07 2.97158e-07 -2.50994e-07 2.62048e-07 -1.84851e-07 1.94108e-07 -1.46615e-08 1.40065e-08 1.75477e-07 -1.85483e-07 2.92139e-07 -3.06217e-07 3.49693e-07 -3.65887e-07 2.66732e-07 -2.7766e-07 1.56127e-07 -1.60232e-07 -8.03913e-09 8.54072e-09 -8.98959e-09 9.55335e-09 -9.96409e-09 1.0597e-08 -1.09311e-08 1.16397e-08 -1.18231e-08 1.2613e-08 -1.25511e-08 1.34286e-08 -1.29224e-08 1.38805e-08 -1.26767e-08 1.3687e-08 -1.135e-08 1.23364e-08 -8.39653e-09 9.20397e-09 -3.38148e-09 3.8033e-09 3.82865e-09 -4.02878e-09 1.26369e-08 -1.36424e-08 1.93028e-08 -2.04937e-08 2.43379e-08 -2.57225e-08 2.6515e-08 -2.81415e-08 2.02098e-08 -2.21112e-08 -3.32251e-09 1.99361e-09 -5.84271e-08 5.99959e-08 -1.4528e-07 1.52251e-07 -2.34975e-07 2.46597e-07 -3.12148e-07 3.27485e-07 -2.7331e-07 2.84879e-07 -2.03656e-07 2.13463e-07 -1.31597e-08 1.20721e-08 1.95755e-07 -2.06304e-07 3.20438e-07 -3.34804e-07 3.82209e-07 -3.98667e-07 2.88546e-07 -2.99391e-07 1.64069e-07 -1.67622e-07 -9.06884e-09 9.62243e-09 -1.01443e-08 1.07614e-08 -1.12563e-08 1.19415e-08 -1.23755e-08 1.31413e-08 -1.34366e-08 1.4296e-08 -1.4348e-08 1.53102e-08 -1.48886e-08 1.59501e-08 -1.47561e-08 1.58898e-08 -1.33879e-08 1.45122e-08 -1.00701e-08 1.10025e-08 -4.24776e-09 4.72262e-09 4.27541e-09 -4.5732e-09 1.4808e-08 -1.61599e-08 2.17852e-08 -2.31828e-08 2.71852e-08 -2.87316e-08 2.98498e-08 -3.15948e-08 2.42048e-08 -2.65386e-08 -3.84216e-10 -1.53025e-09 -6.14321e-08 6.26553e-08 -1.59434e-07 1.66925e-07 -2.58754e-07 2.71429e-07 -3.43125e-07 3.58977e-07 -2.96911e-07 3.09621e-07 -2.23443e-07 2.33445e-07 -1.07011e-08 9.02725e-09 2.17139e-07 -2.28261e-07 3.49316e-07 -3.63972e-07 4.1527e-07 -4.3203e-07 3.10195e-07 -3.20961e-07 1.70868e-07 -1.73785e-07 -1.01969e-08 1.07892e-08 -1.1404e-08 1.20695e-08 -1.26564e-08 1.34038e-08 -1.39417e-08 1.47804e-08 -1.5195e-08 1.61351e-08 -1.63171e-08 1.73727e-08 -1.70685e-08 1.82458e-08 -1.70969e-08 1.83796e-08 -1.57206e-08 1.70237e-08 -1.20201e-08 1.31404e-08 -5.24077e-09 5.81913e-09 4.93626e-09 -5.37667e-09 1.77185e-08 -1.95135e-08 2.4692e-08 -2.63527e-08 3.03521e-08 -3.20118e-08 3.33985e-08 -3.51717e-08 2.91261e-08 -3.21165e-08 3.86084e-09 -6.4303e-09 -6.37983e-08 6.45505e-08 -1.74516e-07 1.82444e-07 -2.84788e-07 2.98776e-07 -3.74926e-07 3.90782e-07 -3.2326e-07 3.38047e-07 -2.43275e-07 2.52747e-07 -7.07055e-09 4.89435e-09 2.39673e-07 -2.51375e-07 3.78774e-07 -3.93718e-07 4.48964e-07 -4.66091e-07 3.31689e-07 -3.42383e-07 1.76348e-07 -1.7853e-07 -1.13994e-08 1.20342e-08 -1.27589e-08 1.34767e-08 -1.41841e-08 1.49945e-08 -1.5656e-08 1.65628e-08 -1.71129e-08 1.81249e-08 -1.84775e-08 1.9628e-08 -1.94899e-08 2.08065e-08 -1.97453e-08 2.12055e-08 -1.84367e-08 1.99753e-08 -1.44011e-08 1.58603e-08 -6.48608e-09 7.30022e-09 5.93763e-09 -6.7056e-09 2.1539e-08 -2.37679e-08 2.82147e-08 -3.03875e-08 3.3732e-08 -3.54598e-08 3.69207e-08 -3.85322e-08 3.544e-08 -3.91509e-08 9.64328e-09 -1.33234e-08 -6.52584e-08 6.56862e-08 -1.90519e-07 1.98756e-07 -3.1374e-07 3.29608e-07 -4.06345e-07 4.21396e-07 -3.54088e-07 3.7131e-07 -2.61776e-07 2.70434e-07 -2.58516e-09 2.20033e-10 2.63366e-07 -2.75652e-07 4.088e-07 -4.24017e-07 4.8343e-07 -5.01002e-07 3.53045e-07 -3.63678e-07 1.80298e-07 -1.81617e-07 -1.27066e-08 1.34222e-08 -1.42285e-08 1.50146e-08 -1.58316e-08 1.6691e-08 -1.74936e-08 1.84453e-08 -1.91686e-08 2.02471e-08 -2.0824e-08 2.20682e-08 -2.21955e-08 2.36522e-08 -2.27713e-08 2.44438e-08 -2.1655e-08 2.34925e-08 -1.75897e-08 1.96847e-08 -8.35392e-09 9.77105e-09 7.81893e-09 -9.43434e-09 2.61334e-08 -2.85584e-08 3.30378e-08 -3.63237e-08 3.7118e-08 -3.86497e-08 3.98965e-08 -4.08541e-08 4.36653e-08 -4.88048e-08 1.73639e-08 -2.21532e-08 -6.56314e-08 6.52121e-08 -2.07374e-07 2.16342e-07 -3.46888e-07 3.65597e-07 -4.35728e-07 4.49333e-07 -3.89461e-07 4.08253e-07 -2.78918e-07 2.87423e-07 2.15422e-09 -4.50656e-09 2.88239e-07 -3.01139e-07 4.39363e-07 -4.54831e-07 5.18827e-07 -5.36925e-07 3.74285e-07 -3.8487e-07 1.82441e-07 -1.82686e-07 -1.41746e-08 1.49453e-08 -1.5831e-08 1.66704e-08 -1.75735e-08 1.84827e-08 -1.942e-08 2.04263e-08 -2.13635e-08 2.25139e-08 -2.33679e-08 2.47175e-08 -2.51789e-08 2.67859e-08 -2.62139e-08 2.80899e-08 -2.54993e-08 2.76784e-08 -2.22183e-08 2.51897e-08 -1.16008e-08 1.36725e-08 1.16007e-08 -1.41295e-08 3.10019e-08 -3.34412e-08 4.03973e-08 -4.5323e-08 4.01048e-08 -4.14523e-08 4.11838e-08 -4.06599e-08 5.47994e-08 -6.21712e-08 2.7859e-08 -3.38463e-08 -6.48248e-08 6.36761e-08 -2.25499e-07 2.34951e-07 -3.85726e-07 4.07102e-07 -4.62102e-07 4.74467e-07 -4.27536e-07 4.47508e-07 -2.95987e-07 3.04436e-07 6.78362e-09 -8.88278e-09 3.14379e-07 -3.28013e-07 4.70413e-07 -4.86098e-07 5.55321e-07 -5.74039e-07 3.95437e-07 -4.05991e-07 1.82515e-07 -1.81943e-07 -1.57243e-08 1.65239e-08 -1.75279e-08 1.84142e-08 -1.94255e-08 2.04095e-08 -2.14732e-08 2.2564e-08 -2.36956e-08 2.49018e-08 -2.60931e-08 2.74738e-08 -2.8478e-08 3.02387e-08 -3.01042e-08 3.22915e-08 -3.00281e-08 3.25464e-08 -2.84554e-08 3.17113e-08 -1.55297e-08 1.66639e-08 1.65193e-08 -1.80741e-08 3.60145e-08 -3.91336e-08 5.08323e-08 -5.63027e-08 4.23357e-08 -4.27605e-08 3.95701e-08 -3.8498e-08 7.13441e-08 -8.14671e-08 4.00082e-08 -4.67537e-08 -6.16779e-08 5.94649e-08 -2.44964e-07 2.53968e-07 -4.28902e-07 4.51733e-07 -4.87241e-07 4.99933e-07 -4.68523e-07 4.91262e-07 -3.12508e-07 3.20103e-07 1.06759e-08 -1.2059e-08 3.42139e-07 -3.56894e-07 5.01876e-07 -5.17742e-07 5.93102e-07 -6.1254e-07 4.16537e-07 -4.27083e-07 1.8092e-07 -1.79406e-07 -1.73816e-08 1.83507e-08 -1.93549e-08 2.03887e-08 -2.14399e-08 2.25231e-08 -2.36852e-08 2.48177e-08 -2.61181e-08 2.73208e-08 -2.88496e-08 3.02123e-08 -3.20488e-08 3.39044e-08 -3.46566e-08 3.71783e-08 -3.52286e-08 3.80599e-08 -3.45604e-08 3.66035e-08 -1.69915e-08 1.71835e-08 1.8126e-08 -1.59737e-08 4.3462e-08 -5.02153e-08 6.10401e-08 -6.46096e-08 4.33058e-08 -4.42906e-08 3.80743e-08 -3.8574e-08 9.18987e-08 -1.03421e-07 5.4292e-08 -6.15654e-08 -5.76117e-08 5.52425e-08 -2.63135e-07 2.71699e-07 -4.71185e-07 4.88823e-07 -5.15999e-07 5.32727e-07 -5.15294e-07 5.42291e-07 -3.2751e-07 3.35471e-07 1.29523e-08 -1.31679e-08 3.72387e-07 -3.88541e-07 5.33699e-07 -5.49771e-07 6.32379e-07 -6.52646e-07 4.37637e-07 -4.48211e-07 1.77359e-07 -1.74741e-07 -1.94753e-08 2.07673e-08 -2.15456e-08 2.28408e-08 -2.36712e-08 2.48994e-08 -2.59517e-08 2.71146e-08 -2.84884e-08 2.96406e-08 -3.15429e-08 3.2819e-08 -3.58095e-08 3.77481e-08 -3.98199e-08 4.25514e-08 -4.10162e-08 4.40522e-08 -3.75536e-08 3.7403e-08 -1.84897e-08 2.21478e-08 1.06303e-08 -9.54546e-10 6.11524e-08 -7.80514e-08 6.7162e-08 -6.96088e-08 4.54596e-08 -4.63912e-08 4.03648e-08 -4.38802e-08 1.16298e-07 -1.30122e-07 6.79194e-08 -7.31199e-08 -5.18572e-08 4.77332e-08 -2.78937e-07 2.84451e-07 -5.06735e-07 5.19475e-07 -5.53626e-07 5.72084e-07 -5.65425e-07 5.95098e-07 -3.44777e-07 3.55678e-07 1.21615e-08 -8.90551e-09 4.04779e-07 -4.19522e-07 5.66023e-07 -5.82542e-07 6.73373e-07 -6.94598e-07 4.5882e-07 -4.69479e-07 1.71507e-07 -1.67611e-07 -2.21929e-08 2.36816e-08 -2.42568e-08 2.5745e-08 -2.62302e-08 2.76836e-08 -2.83808e-08 2.98612e-08 -3.08784e-08 3.2379e-08 -3.40706e-08 3.54313e-08 -3.97009e-08 4.1733e-08 -4.5331e-08 4.81272e-08 -4.71044e-08 5.01359e-08 -3.65076e-08 3.55058e-08 -2.8989e-08 3.8918e-08 -1.36855e-08 3.18456e-08 1.01946e-07 -1.3223e-07 7.33393e-08 -7.96817e-08 4.68114e-08 -4.72075e-08 4.92092e-08 -5.50973e-08 1.44794e-07 -1.61155e-07 7.82612e-08 -8.40273e-08 -4.47997e-08 4.17129e-08 -2.88249e-07 2.90609e-07 -5.27115e-07 5.3627e-07 -6.0141e-07 6.28365e-07 -6.12477e-07 6.25652e-07 -3.67291e-07 3.75234e-07 2.25221e-09 8.08591e-09 4.29727e-07 -4.31008e-07 5.99294e-07 -6.15728e-07 7.16341e-07 -7.38567e-07 4.80209e-07 -4.9104e-07 1.63005e-07 -1.57623e-07 -2.51487e-08 2.65328e-08 -2.72456e-08 2.87067e-08 -2.92668e-08 3.09776e-08 -3.16552e-08 3.38322e-08 -3.43501e-08 3.69516e-08 -3.71346e-08 3.94835e-08 -4.40239e-08 4.67812e-08 -5.0981e-08 5.40981e-08 -5.32228e-08 5.67109e-08 -3.51494e-08 3.58461e-08 -5.03596e-08 6.05361e-08 -4.9729e-08 6.2902e-08 1.65385e-07 -1.96706e-07 8.91331e-08 -9.97692e-08 4.79963e-08 -4.88412e-08 5.93747e-08 -6.14209e-08 1.80635e-07 -2.03585e-07 9.03969e-08 -9.56979e-08 -3.76721e-08 3.26365e-08 -2.90556e-07 2.88095e-07 -5.48024e-07 5.50202e-07 -6.36373e-07 6.48991e-07 -6.40512e-07 6.94131e-07 -3.8791e-07 3.53389e-07 -1.98675e-08 2.56888e-08 4.19093e-07 -3.92912e-07 6.30065e-07 -6.38702e-07 7.61094e-07 -7.83449e-07 5.02012e-07 -5.13213e-07 1.51432e-07 -1.44306e-07 -2.78118e-08 2.90719e-08 -3.01019e-08 3.14733e-08 -3.27951e-08 3.47364e-08 -3.6384e-08 3.92936e-08 -4.02664e-08 4.42086e-08 -4.2797e-08 4.72303e-08 -5.01347e-08 5.42088e-08 -5.78208e-08 6.23248e-08 -6.13234e-08 6.76488e-08 -3.66481e-08 3.46482e-08 -6.64251e-08 6.7357e-08 -7.01765e-08 7.22558e-08 2.23735e-07 -2.42185e-07 1.10198e-07 -1.21012e-07 4.89556e-08 -4.83546e-08 6.34665e-08 -6.7618e-08 2.2819e-07 -2.52831e-07 9.94117e-08 -1.02355e-07 -2.72669e-08 2.03657e-08 -2.83216e-07 2.73974e-07 -5.42101e-07 5.40314e-07 -6.78106e-07 7.09263e-07 -7.0235e-07 6.05716e-07 -3.38418e-07 2.73373e-07 -2.93165e-08 1.81568e-07 3.56742e-07 -3.08384e-07 6.36432e-07 -6.17917e-07 8.04612e-07 -8.22639e-07 5.24558e-07 -5.3617e-07 1.36271e-07 -1.27051e-07 -3.03379e-08 3.18409e-08 -3.28609e-08 3.44462e-08 -3.67296e-08 3.89737e-08 -4.23365e-08 4.54508e-08 -4.86733e-08 5.31981e-08 -5.28998e-08 5.93913e-08 -5.90855e-08 6.49377e-08 -6.72767e-08 7.1896e-08 -7.49741e-08 8.10223e-08 -2.66933e-08 1.43335e-08 -6.39965e-08 5.84412e-08 -7.20053e-08 7.00928e-08 2.50845e-07 -2.49647e-07 1.32194e-07 -1.38917e-07 4.83474e-08 -5.24626e-08 7.28947e-08 -7.46723e-08 2.78034e-07 -3.06691e-07 1.04936e-07 -1.06524e-07 -1.22294e-08 6.11459e-09 -2.60289e-07 2.46754e-07 -5.4316e-07 5.34656e-07 -7.18221e-07 6.94021e-07 -4.6611e-07 3.65864e-07 -2.06653e-07 1.37318e-07 -2.48127e-07 -5.70282e-08 1.10949e-07 3.8801e-07 5.80204e-07 -5.21341e-07 8.34215e-07 -8.34423e-07 5.48665e-07 -5.61293e-07 1.16762e-07 -1.04415e-07 -3.38778e-08 3.60533e-08 -3.5753e-08 3.82725e-08 -4.11541e-08 4.39536e-08 -4.88382e-08 5.10484e-08 -5.71818e-08 5.99519e-08 -6.60394e-08 7.65015e-08 -7.15879e-08 7.63673e-08 -7.54567e-08 7.77459e-08 -8.38567e-08 8.33481e-08 -4.38613e-09 5.44381e-09 -5.15498e-08 3.9136e-08 -6.39246e-08 5.20415e-08 2.42154e-07 -2.2652e-07 1.46443e-07 -1.54718e-07 6.34236e-08 -8.32055e-08 6.88078e-08 -6.01404e-08 3.42359e-07 -3.79811e-07 1.05116e-07 -1.01257e-07 -4.98888e-10 -1.13952e-08 -2.3743e-07 2.33559e-07 -5.24891e-07 5.18941e-07 -6.13723e-07 5.0719e-07 -2.95902e-07 2.35267e-07 2.80094e-08 -2.53483e-07 4.63729e-07 -4.47271e-07 -9.23154e-07 1.32992e-06 4.88908e-07 -6.10288e-07 8.1811e-07 -7.82913e-07 5.74889e-07 -5.89937e-07 9.00243e-08 -7.06775e-08 -3.66724e-08 3.78234e-08 -3.87736e-08 4.00462e-08 -4.71832e-08 4.90437e-08 -5.13716e-08 5.32989e-08 -6.07278e-08 5.61067e-08 -8.30895e-08 8.22266e-08 -7.84365e-08 8.60638e-08 -8.85491e-08 9.8756e-08 -8.30018e-08 9.77888e-08 -2.41749e-08 5.3637e-08 -1.75123e-08 -7.67557e-09 -3.10692e-08 -3.94076e-09 2.05042e-07 -1.7669e-07 1.61692e-07 -1.67391e-07 1.11431e-07 -1.39485e-07 5.58427e-08 -6.59224e-08 4.07919e-07 -4.23914e-07 9.73873e-08 -9.53475e-08 3.16274e-08 -5.57474e-08 -2.26553e-07 1.99726e-07 -5.16829e-07 5.09299e-07 -3.86157e-07 3.17448e-07 -1.5106e-07 -2.03912e-08 3.79188e-07 -6.22854e-07 -3.05474e-07 2.15018e-06 -1.0711e-06 6.63655e-08 8.48572e-07 -1.10626e-06 7.39323e-07 -7.19091e-07 6.05044e-07 -6.16951e-07 4.7513e-08 -1.64744e-08 -4.03909e-08 4.51758e-08 -3.84137e-08 3.91797e-08 -4.72937e-08 5.10786e-08 -6.35574e-08 7.94113e-08 -7.63335e-08 1.00428e-07 -9.44548e-08 1.06888e-07 -8.22067e-08 7.94884e-08 -8.52817e-08 7.4794e-08 -1.02124e-07 9.64831e-08 -7.38848e-08 8.18978e-08 1.25372e-08 -1.30764e-08 5.37074e-08 -1.0682e-07 1.46717e-07 -1.24307e-07 1.68106e-07 -1.59383e-07 1.51967e-07 -1.56271e-07 9.99854e-08 -1.48353e-07 4.31938e-07 -4.38314e-07 9.82866e-08 -1.03163e-07 7.03824e-08 -6.8772e-08 -1.44639e-07 6.87999e-08 -4.82599e-07 4.24318e-07 -2.67793e-07 2.79383e-07 2.12531e-07 -5.93323e-07 5.01094e-08 1.44539e-06 -3.55787e-06 4.61686e-06 1.22168e-06 -2.26181e-06 1.02504e-06 -1.10259e-06 9.96255e-07 -1.88488e-06 6.28101e-07 -6.59352e-07 -1.37871e-08 5.48294e-08 -5.37949e-08 7.67251e-08 -5.90297e-08 8.82442e-08 -8.43914e-08 1.24647e-07 -1.15993e-07 1.59117e-07 -1.25702e-07 1.51963e-07 -1.10582e-07 9.38547e-08 -3.54325e-08 -4.94804e-08 2.07669e-08 -1.44954e-07 -4.98047e-08 -4.3038e-08 -1.23841e-07 1.25102e-07 -1.13132e-08 4.66141e-08 4.61602e-09 5.08063e-09 1.31954e-07 -7.22456e-08 1.47119e-07 -1.48478e-07 1.77724e-07 -2.16243e-07 1.84095e-07 -2.0641e-07 4.38104e-07 -4.26558e-07 1.0696e-07 -1.17787e-07 7.22022e-08 -1.07674e-07 -9.47653e-09 9.32643e-09 -3.27213e-07 2.01964e-07 -2.72988e-07 2.91733e-07 9.42814e-07 -1.97836e-06 -1.76301e-06 2.30876e-06 -5.80357e-06 6.66613e-06 2.91764e-06 -3.25646e-06 9.70695e-07 -8.10666e-07 2.39293e-06 -2.6848e-06 7.9655e-07 -1.20958e-06 -1.07966e-07 1.97424e-07 2.84204e-08 7.7038e-07 -1.15764e-06 8.29647e-07 -9.72386e-07 2.59603e-06 -2.40003e-06 1.4072e-06 -1.2536e-06 -7.77448e-06 7.72302e-06 -1.52711e-06 1.79154e-06 1.65342e-06 -1.69825e-06 1.3844e-06 -1.95373e-06 2.23233e-08 -5.17479e-10 -4.34824e-07 3.8024e-07 1.11703e-07 -1.14524e-07 2.05208e-07 -2.3304e-07 3.41253e-07 -3.75267e-07 4.80558e-07 -4.51749e-07 2.65308e-07 -2.84519e-07 3.61663e-07 -5.43606e-07 1.97614e-07 -1.2978e-07 1.21813e-07 -1.14068e-07 1.69412e-07 -1.4374e-07 -2.19739e-08 2.78325e-08 -6.75897e-08 8.10238e-08 -1.96042e-07 2.11897e-07 -1.8156e-07 2.04803e-07 -1.49477e-07 1.68815e-07 -1.40504e-07 1.57539e-07 -1.51274e-07 1.66838e-07 -1.90659e-07 2.07008e-07 -2.345e-07 2.56841e-07 -2.17561e-07 2.46197e-07 -1.51835e-07 1.78254e-07 -1.29498e-07 2.16079e-06 -3.17251e-06 9.34089e-07 -1.04705e-06 2.17804e-06 -1.9157e-06 1.09986e-06 -9.30404e-07 -7.61568e-06 7.4251e-06 -2.08522e-06 2.43417e-06 1.70557e-06 -1.62215e-06 1.93274e-06 -1.90642e-06 -1.7816e-08 1.05882e-08 -3.14768e-07 2.3724e-07 1.10475e-07 -1.01196e-07 2.68371e-07 -3.09238e-07 4.04952e-07 -4.30166e-07 4.33625e-07 -4.31387e-07 3.59393e-07 -8.83049e-07 6.25064e-07 -6.38561e-07 -2.51511e-09 5.93728e-08 9.20474e-08 -6.70772e-08 1.1595e-07 -8.82323e-08 -3.2503e-08 3.46318e-08 -9.29672e-08 1.0354e-07 -2.25907e-07 2.38466e-07 -2.28143e-07 2.52359e-07 -1.88659e-07 2.10088e-07 -1.74442e-07 1.92415e-07 -1.82278e-07 1.98469e-07 -2.22215e-07 2.36855e-07 -2.75672e-07 2.91346e-07 -2.71841e-07 2.94556e-07 -2.04693e-07 2.31531e-07 -1.51196e-07 4.84828e-06 -4.96801e-06 1.30849e-06 -1.7086e-06 1.68516e-06 -1.45188e-06 7.34313e-07 -5.14416e-07 -7.17011e-06 6.83281e-06 -2.80071e-06 3.20669e-06 1.49692e-06 -1.31801e-06 2.1624e-06 -1.70918e-06 2.37614e-08 -1.37493e-07 -1.63556e-07 9.73732e-08 9.9166e-08 -1.10906e-07 3.45585e-07 -3.77553e-07 4.49523e-07 -4.56404e-07 4.86605e-07 -6.10843e-07 9.07885e-07 -9.09244e-07 5.69914e-07 -4.63323e-07 -7.52327e-08 8.55271e-08 4.58203e-08 -2.99354e-08 6.70197e-08 -5.44711e-08 -3.25648e-08 2.72017e-08 -1.11779e-07 1.23183e-07 -2.47791e-07 2.53661e-07 -2.7419e-07 2.93429e-07 -2.30729e-07 2.51365e-07 -2.09772e-07 2.27528e-07 -2.13796e-07 2.29179e-07 -2.49362e-07 2.60556e-07 -3.02044e-07 3.08599e-07 -3.10948e-07 3.2136e-07 -2.54617e-07 2.73754e-07 1.45263e-07 5.24325e-06 -5.3948e-06 2.12804e-06 -2.56156e-06 1.24863e-06 -1.077e-06 3.08692e-07 -9.33821e-08 -6.44516e-06 5.99406e-06 -3.60851e-06 4.02547e-06 1.13312e-06 -8.78882e-07 1.89136e-06 -1.86824e-06 4.00734e-07 -1.13088e-06 -5.80526e-08 4.46247e-08 1.35447e-07 -1.8851e-07 3.98896e-07 -4.10156e-07 4.87384e-07 -7.29512e-07 8.79407e-07 -9.84514e-07 7.60834e-07 -5.54619e-07 3.61311e-07 -2.67076e-07 -1.03183e-07 1.31058e-07 2.21037e-08 -2.20014e-08 5.44502e-08 -7.29203e-08 -1.69664e-08 6.18971e-09 -1.31291e-07 1.32296e-07 -2.59425e-07 2.6749e-07 -3.06592e-07 3.12441e-07 -2.69423e-07 2.85597e-07 -2.43824e-07 2.59513e-07 -2.43121e-07 2.56514e-07 -2.69581e-07 2.77305e-07 -3.11084e-07 3.10557e-07 -3.24966e-07 3.22895e-07 -2.86008e-07 2.91789e-07 3.04225e-08 5.4387e-06 -5.40928e-06 2.94766e-06 -3.29377e-06 9.2189e-07 -7.70948e-07 -8.0144e-08 2.14443e-07 -5.52917e-06 5.03733e-06 -4.40747e-06 4.75812e-06 5.88372e-07 -2.4365e-07 1.63644e-06 -1.5157e-06 1.79173e-06 -2.8715e-06 -7.86974e-08 3.42728e-08 2.7004e-07 -3.53097e-07 4.0796e-07 -4.51303e-07 1.68677e-06 -1.67542e-06 7.76328e-07 -7.76513e-07 3.80072e-07 -2.34219e-07 1.91117e-07 -1.3448e-07 -1.66378e-07 2.12078e-07 3.02495e-08 -4.72208e-08 1.03637e-07 -1.5502e-07 3.47478e-09 -1.51965e-08 -1.28368e-07 1.20464e-07 -2.67387e-07 2.62777e-07 -3.15449e-07 3.20136e-07 -2.98232e-07 3.07973e-07 -2.72891e-07 2.84506e-07 -2.68099e-07 2.78557e-07 -2.83329e-07 2.88289e-07 -3.08055e-07 3.04238e-07 -3.16791e-07 3.07818e-07 -2.91203e-07 2.85557e-07 -9.1995e-08 5.32875e-06 -5.19477e-06 3.58039e-06 -3.78281e-06 6.98588e-07 -6.82894e-07 -3.53939e-07 4.92935e-07 -4.58213e-06 4.15591e-06 -5.02148e-06 5.18549e-06 -1.04914e-07 4.72746e-07 1.33833e-06 -1.06598e-06 3.36947e-06 -2.95222e-06 -3.50513e-08 -1.52901e-07 4.26684e-07 -4.51082e-07 5.94406e-07 -9.18559e-07 1.61976e-06 -1.38113e-06 7.59362e-07 -7.67019e-07 1.07537e-07 -2.68825e-08 9.35671e-08 -4.14204e-08 -2.59914e-07 3.13642e-07 7.50851e-08 -1.19442e-07 2.16042e-07 -2.90229e-07 2.91981e-08 -3.06229e-08 -1.09726e-07 9.89258e-08 -2.54652e-07 2.43228e-07 -3.21565e-07 3.19208e-07 -3.13575e-07 3.15161e-07 -2.93001e-07 2.98641e-07 -2.86889e-07 2.93579e-07 -2.91937e-07 2.94611e-07 -3.00051e-07 2.95527e-07 -2.9812e-07 2.87943e-07 -2.77046e-07 2.6662e-07 -1.67405e-07 5.04954e-06 -4.88906e-06 3.9016e-06 -3.96542e-06 6.98305e-07 -6.87255e-07 -6.07497e-07 6.96941e-07 -3.8204e-06 3.57262e-06 -5.20364e-06 5.04708e-06 -8.31877e-07 1.23665e-06 9.62894e-07 -8.98574e-07 3.24778e-06 -3.40121e-06 -1.44814e-07 7.72558e-08 4.12483e-07 -4.0542e-07 7.67283e-07 -8.62483e-07 1.20875e-06 -1.14312e-06 8.08675e-07 -8.57189e-07 -6.82378e-09 3.50576e-08 -2.06423e-08 8.87958e-08 -3.68462e-07 4.25928e-07 1.78324e-07 -2.5664e-07 3.68321e-07 -4.55513e-07 3.13067e-08 -2.90918e-08 -9.12298e-08 8.52087e-08 -2.30225e-07 2.15092e-07 -3.13045e-07 3.03117e-07 -3.1233e-07 3.05012e-07 -3.00647e-07 2.98864e-07 -2.97971e-07 3.00422e-07 -2.96049e-07 2.96175e-07 -2.91144e-07 2.86463e-07 -2.78614e-07 2.69496e-07 -2.56292e-07 2.4588e-07 -2.05311e-07 4.72828e-06 -4.54842e-06 3.98759e-06 -3.98311e-06 6.28984e-07 -5.74054e-07 -7.35828e-07 7.65119e-07 -3.44624e-06 3.41869e-06 -4.71571e-06 4.19273e-06 -1.63968e-06 2.09816e-06 8.48068e-07 -8.16007e-07 3.54264e-06 -3.63704e-06 -5.3106e-08 8.101e-08 3.98389e-07 -3.84274e-07 8.9338e-07 -9.0897e-07 1.11203e-06 -1.12261e-06 8.81291e-07 -8.84756e-07 -9.47201e-08 1.29853e-07 -1.55659e-07 2.23898e-07 -4.76458e-07 5.08788e-07 3.41358e-07 -4.12375e-07 5.4454e-07 -6.54835e-07 1.51488e-08 5.4439e-09 -8.53154e-08 8.07683e-08 -1.9963e-07 1.83211e-07 -2.91681e-07 2.80325e-07 -2.94544e-07 2.83054e-07 -2.92879e-07 2.81744e-07 -3.01075e-07 3.00079e-07 -2.94538e-07 2.90191e-07 -2.8161e-07 2.75831e-07 -2.61097e-07 2.52301e-07 -2.36427e-07 2.27036e-07 -2.27575e-07 4.36907e-06 -4.18005e-06 3.96169e-06 -3.91813e-06 5.57069e-07 -5.49411e-07 -8.01088e-07 8.38286e-07 -3.44509e-06 3.46092e-06 -3.56747e-06 2.86192e-06 -2.56651e-06 3.06485e-06 8.06745e-07 -7.43893e-07 3.7106e-06 -3.80244e-06 -1.13584e-07 1.87512e-07 3.40711e-07 -2.88627e-07 9.14129e-07 -9.01415e-07 1.15436e-06 -1.18106e-06 8.15563e-07 -7.70527e-07 -1.41976e-07 1.1273e-07 -2.82635e-07 3.30726e-07 -5.13347e-07 4.84975e-07 3.57805e-07 -2.41465e-07 7.71369e-07 -9.79003e-07 -2.56936e-08 4.06414e-08 -7.62214e-08 7.38578e-08 -1.58581e-07 1.38773e-07 -2.5817e-07 2.3201e-07 -2.8199e-07 2.82163e-07 -2.77278e-07 2.74301e-07 -2.88869e-07 2.66558e-07 -2.82579e-07 2.72559e-07 -2.69286e-07 2.61485e-07 -2.43286e-07 2.32977e-07 -2.18137e-07 2.08868e-07 -2.41021e-07 4.00086e-06 -3.82101e-06 3.86582e-06 -3.78379e-06 5.48341e-07 -5.53732e-07 -8.71558e-07 9.02209e-07 -3.4118e-06 3.29107e-06 -2.20542e-06 1.57851e-06 -3.53717e-06 3.99636e-06 7.23644e-07 -6.80212e-07 3.88729e-06 -3.97034e-06 -2.56734e-07 3.02008e-07 2.28253e-07 -1.6079e-07 9.33092e-07 -1.0562e-06 1.14985e-06 -1.04653e-06 7.27662e-07 -6.50956e-07 -3.55014e-08 -2.35225e-08 -3.60247e-07 3.58505e-07 -4.17425e-07 3.65315e-07 1.12368e-07 -9.15303e-08 9.58854e-07 -8.95293e-07 -4.4671e-08 4.38789e-08 -7.38512e-08 7.61578e-08 -1.25612e-07 1.17303e-07 -2.13645e-07 1.9355e-07 -2.67384e-07 2.43537e-07 -2.59902e-07 2.42675e-07 -2.49837e-07 2.3426e-07 -2.53975e-07 2.35495e-07 -2.54989e-07 2.42724e-07 -2.233e-07 2.15493e-07 -2.00373e-07 1.90821e-07 -2.48799e-07 3.65575e-06 -3.48978e-06 3.69404e-06 -3.58856e-06 5.64752e-07 -5.80086e-07 -9.25803e-07 9.42359e-07 -3.1266e-06 2.93104e-06 -1.02345e-06 4.70128e-07 -4.38877e-06 4.72295e-06 5.80839e-07 -4.16214e-07 4.02335e-06 -4.01955e-06 -2.93828e-07 2.21267e-07 9.16638e-08 -1.94667e-08 1.17959e-06 -1.17142e-06 9.20069e-07 -8.04842e-07 6.3698e-07 -6.62233e-07 -2.35431e-10 -6.39616e-09 -3.30302e-07 3.12713e-07 -3.1151e-07 3.30412e-07 7.72413e-08 -1.83405e-07 8.20321e-07 -6.67146e-07 -6.08704e-08 9.45272e-08 -8.10407e-08 8.8111e-08 -1.11191e-07 1.04814e-07 -1.74163e-07 1.54023e-07 -2.19122e-07 1.93141e-07 -2.23729e-07 2.01949e-07 -2.16155e-07 2.00615e-07 -2.21257e-07 2.03986e-07 -2.28257e-07 2.15028e-07 -2.0708e-07 1.93778e-07 -1.82392e-07 1.73712e-07 -2.5086e-07 3.32768e-06 -3.16031e-06 3.50214e-06 -3.43654e-06 5.82722e-07 -5.62566e-07 -9.47799e-07 9.42336e-07 -2.72622e-06 2.48946e-06 4.77468e-08 -5.71584e-07 -5.00089e-06 5.27866e-06 2.75292e-07 -1.44796e-07 3.98756e-06 -3.91447e-06 -1.37031e-07 2.94675e-08 -4.84835e-08 1.26967e-07 1.1098e-06 -1.03201e-06 7.27222e-07 -6.8432e-07 7.28652e-07 -6.52656e-07 -1.28421e-08 5.3543e-08 -2.94633e-07 2.81934e-07 -4.04786e-07 4.69128e-07 3.23205e-07 -4.18561e-07 4.94454e-07 -2.96952e-07 -1.00689e-07 6.72464e-08 -9.26955e-08 9.13646e-08 -9.72774e-08 8.68736e-08 -1.34549e-07 1.13931e-07 -1.68262e-07 1.43077e-07 -1.80228e-07 1.58151e-07 -1.8492e-07 1.66737e-07 -1.86624e-07 1.72261e-07 -2.0136e-07 1.78788e-07 -1.76739e-07 1.60826e-07 -1.65636e-07 1.50584e-07 -2.47416e-07 3.01064e-06 -2.86651e-06 3.36934e-06 -3.28137e-06 5.18307e-07 -4.63568e-07 -9.24284e-07 8.93892e-07 -2.23067e-06 1.92657e-06 1.06379e-06 -1.56903e-06 -5.56657e-06 5.91195e-06 3.83933e-08 5.95752e-08 3.79443e-06 -3.66897e-06 1.18101e-07 -2.6791e-07 -1.89101e-07 2.35972e-07 9.4679e-07 -8.60166e-07 6.58336e-07 -6.35246e-07 5.68026e-07 -4.98636e-07 -8.65435e-08 1.11022e-07 -2.50289e-07 3.39075e-07 -5.20117e-07 5.39455e-07 4.56365e-07 -4.01719e-07 1.64635e-07 -1.1306e-07 -6.28742e-08 7.95619e-08 -8.51591e-08 7.34355e-08 -7.36851e-08 5.60491e-08 -9.34403e-08 7.10752e-08 -1.1958e-07 9.5612e-08 -1.37003e-07 1.1504e-07 -1.48343e-07 1.28373e-07 -1.55019e-07 1.35766e-07 -1.57322e-07 1.36808e-07 -1.45287e-07 1.29028e-07 -1.3581e-07 1.20764e-07 -2.3926e-07 2.72936e-06 -2.5943e-06 3.22251e-06 -3.16895e-06 4.0119e-07 -3.42477e-07 -8.5391e-07 8.01065e-07 -1.60585e-06 1.25878e-06 2.03599e-06 -2.45771e-06 -6.27931e-06 6.64432e-06 -1.53121e-07 2.74412e-07 3.52258e-06 -3.3584e-06 3.86381e-07 -4.79016e-07 -2.58389e-07 2.59061e-07 7.90018e-07 -7.34959e-07 6.14484e-07 -5.91868e-07 4.43062e-07 -4.07271e-07 -1.29466e-07 1.36048e-07 -3.55346e-07 4.0107e-07 -6.40439e-07 6.2694e-07 3.43901e-07 -2.60127e-07 1.00319e-07 -4.98694e-08 -1.03186e-07 1.06834e-07 -5.55665e-08 2.88567e-08 -3.47242e-08 7.72347e-09 -4.8104e-08 2.23813e-08 -7.2745e-08 4.89079e-08 -9.41082e-08 7.27471e-08 -1.09062e-07 8.95561e-08 -1.17216e-07 9.88287e-08 -1.18608e-07 1.01326e-07 -1.13729e-07 9.86571e-08 -1.06925e-07 9.34482e-08 -2.27652e-07 2.48551e-06 -2.38072e-06 3.04923e-06 -2.92927e-06 3.09614e-07 -2.74918e-07 -7.3942e-07 6.67722e-07 -9.26555e-07 5.96958e-07 2.74873e-06 -2.92276e-06 -6.91414e-06 7.11861e-06 -4.15015e-07 5.35403e-07 3.21326e-06 -3.08243e-06 5.37128e-07 -5.66008e-07 -2.39541e-07 1.95682e-07 7.08295e-07 -6.97098e-07 5.75211e-07 -5.56983e-07 3.7913e-07 -3.74947e-07 -1.05043e-07 5.40863e-08 -4.5715e-07 5.10213e-07 -6.83125e-07 7.5355e-07 5.13097e-08 1.88097e-07 -5.73548e-08 1.98821e-07 -1.034e-07 1.42289e-07 1.94405e-09 -3.12663e-08 2.2527e-08 -5.68303e-08 4.19504e-09 -3.33698e-08 -2.58137e-08 1.63823e-09 -5.28013e-08 3.28332e-08 -7.18629e-08 5.48802e-08 -8.26173e-08 6.76038e-08 -8.64534e-08 7.29515e-08 -8.54442e-08 7.33726e-08 -8.16544e-08 7.0862e-08 -2.1689e-07 2.27284e-06 -2.15033e-06 2.84133e-06 -2.79357e-06 2.32885e-07 -1.77409e-07 -5.94181e-07 5.14235e-07 -3.05853e-07 4.0047e-08 3.00291e-06 -3.03653e-06 -7.29071e-06 7.46359e-06 -5.84315e-07 5.90337e-07 2.9414e-06 -2.77044e-06 5.65627e-07 -5.42011e-07 -1.33154e-07 5.85401e-08 6.81151e-07 -6.67147e-07 5.53315e-07 -5.58186e-07 3.95189e-07 -4.4177e-07 2.36267e-08 -1.44846e-07 -5.42902e-07 5.47471e-07 -8.13366e-07 8.93217e-07 -4.32093e-07 6.27554e-07 -2.62029e-07 3.63514e-07 -1.92125e-07 1.55573e-07 4.67161e-08 1.30781e-08 8.80115e-08 -1.05147e-07 6.11478e-08 -8.52722e-08 2.11795e-08 -4.2999e-08 -1.46699e-08 -2.4574e-09 -4.0181e-08 2.70187e-08 -5.51461e-08 4.45102e-08 -6.19828e-08 5.28099e-08 -6.35541e-08 5.52965e-08 -6.2043e-08 5.45166e-08 -2.08475e-07 2.02628e-06 -1.89903e-06 2.75505e-06 -2.7108e-06 1.23013e-07 -6.86218e-08 -4.36296e-07 3.55989e-07 1.69928e-07 -3.35124e-07 3.00001e-06 -2.83126e-06 -7.5755e-06 7.58803e-06 -5.80421e-07 5.24374e-07 2.57801e-06 -2.35044e-06 4.96967e-07 -4.32367e-07 3.48103e-08 -1.61684e-07 6.74241e-07 -7.16729e-07 5.74435e-07 -6.01005e-07 4.98319e-07 -5.51809e-07 2.94632e-07 -4.94348e-07 -5.12718e-07 4.12042e-07 -9.76536e-07 1.05969e-06 -7.77761e-07 9.11196e-07 -4.56658e-07 5.65568e-07 -8.45642e-08 1.38699e-07 -1.15809e-07 1.94684e-07 9.33884e-08 -6.68298e-08 9.73597e-08 -9.76847e-08 5.96064e-08 -7.00209e-08 1.59049e-08 -2.49527e-08 -1.7206e-08 1.12391e-08 -3.69978e-08 3.28476e-08 -4.63859e-08 4.26618e-08 -4.93097e-08 4.52574e-08 -4.87919e-08 4.42803e-08 -2.02135e-07 1.78587e-06 -1.68499e-06 2.64896e-06 -2.5635e-06 1.93602e-08 2.73121e-08 -2.80905e-07 2.09276e-07 4.45133e-07 -5.15332e-07 2.55789e-06 -2.21243e-06 -7.46217e-06 7.24969e-06 -4.506e-07 3.90184e-07 2.1014e-06 -1.80657e-06 3.49124e-07 -2.54033e-07 3.29574e-07 -5.43164e-07 7.88941e-07 -8.78163e-07 6.33333e-07 -6.85875e-07 5.98641e-07 -6.54904e-07 7.17544e-07 -9.0862e-07 -2.48193e-07 -2.49658e-08 -1.12967e-06 1.16291e-06 -1.02392e-06 1.12281e-06 -6.7843e-07 8.09303e-07 -2.08985e-07 3.01267e-07 -2.30473e-07 2.35926e-07 4.3692e-08 -1.39394e-08 8.80604e-08 -7.20856e-08 7.10846e-08 -6.07865e-08 2.64949e-08 -1.77883e-08 -1.14209e-08 2.01362e-08 -3.36951e-08 4.14339e-08 -4.27477e-08 4.7976e-08 -4.37656e-08 4.54827e-08 -4.11176e-08 3.9058e-08 -1.94757e-07 1.59943e-06 -1.49533e-06 2.45545e-06 -2.36182e-06 -6.17847e-08 8.26307e-08 -1.50727e-07 1.00156e-07 5.47005e-07 -5.51291e-07 1.8844e-06 -1.55312e-06 -6.96048e-06 6.56369e-06 -3.94335e-07 5.24902e-07 1.55204e-06 -1.33688e-06 1.86531e-07 -1.90473e-07 7.55749e-07 -9.38391e-07 9.46629e-07 -9.87016e-07 7.87615e-07 -1.01095e-06 6.39728e-07 -5.23013e-07 9.97723e-07 -1.03361e-06 3.55668e-07 -7.03077e-07 -1.09553e-06 1.01621e-06 -1.2182e-06 1.28193e-06 -8.90045e-07 9.46581e-07 -3.92837e-07 5.32006e-07 -2.72211e-07 3.17749e-07 -4.53834e-08 1.13388e-07 4.00636e-08 1.35604e-08 3.58761e-08 7.93336e-09 -3.42034e-09 4.07182e-08 -3.93947e-08 7.26851e-08 -5.80472e-08 8.72387e-08 -6.02986e-08 8.46388e-08 -5.1935e-08 7.03984e-08 -3.86349e-08 4.79339e-08 -1.847e-07 1.36631e-06 -1.20702e-06 2.2771e-06 -2.25371e-06 -5.4428e-08 2.61437e-08 -6.11081e-08 3.05717e-08 5.447e-07 -5.1984e-07 1.25019e-06 -9.37086e-07 -6.06753e-06 5.52584e-06 -7.31883e-07 9.97374e-07 1.18477e-06 -1.07984e-06 2.85591e-07 -4.57636e-07 1.04914e-06 -1.11581e-06 1.02816e-06 -1.10169e-06 1.22488e-06 -1.28706e-06 7.18131e-07 -8.43309e-07 8.36608e-07 -5.30382e-07 9.42174e-07 -1.04494e-06 -8.38903e-07 5.48878e-07 -1.2573e-06 1.20023e-06 -9.66845e-07 9.57506e-07 -6.14832e-07 6.98247e-07 -3.0878e-07 3.07976e-07 -1.6778e-07 2.30544e-07 -8.55774e-08 1.6353e-07 -6.74488e-08 1.36995e-07 -9.20153e-08 1.55468e-07 -1.20134e-07 1.78936e-07 -1.33146e-07 1.8833e-07 -1.29934e-07 1.83037e-07 -1.13216e-07 1.64284e-07 -8.13174e-08 1.25606e-07 -1.7564e-07 1.09058e-06 -1.0318e-06 2.20473e-06 -2.04102e-06 -4.61419e-08 5.15436e-08 -1.09343e-08 -2.19324e-10 4.77846e-07 -4.21005e-07 6.70433e-07 -4.29438e-07 -5.02183e-06 4.5322e-06 -1.278e-06 1.57686e-06 1.0239e-06 -9.8247e-07 6.65754e-07 -8.97409e-07 1.16821e-06 -1.23338e-06 1.13931e-06 -1.17475e-06 1.36326e-06 -1.41187e-06 7.84007e-07 -8.12564e-07 3.45153e-07 -3.05362e-07 9.51028e-07 -6.70496e-07 -1.72103e-07 -2.05044e-07 -1.04093e-06 8.8766e-07 -1.00257e-06 1.08399e-06 -7.54256e-07 8.04716e-07 -3.61813e-07 4.23913e-07 -2.87048e-07 3.18678e-07 -2.21603e-07 2.75144e-07 -2.02036e-07 2.6993e-07 -2.21325e-07 2.90689e-07 -2.43281e-07 3.0795e-07 -2.53561e-07 3.12738e-07 -2.5235e-07 3.04957e-07 -2.3527e-07 2.7747e-07 -1.86843e-07 2.16794e-07 -1.63179e-07 9.73134e-07 -8.74152e-07 1.8348e-06 -1.63829e-06 4.68674e-08 -1.12226e-07 2.67285e-09 6.75317e-09 3.50937e-07 -2.62157e-07 2.22448e-07 -3.31629e-08 -4.08885e-06 3.65479e-06 -1.84999e-06 2.07608e-06 9.53429e-07 -8.42449e-07 1.12914e-06 -1.38453e-06 1.30668e-06 -1.37349e-06 1.26367e-06 -1.34634e-06 1.39417e-06 -1.46535e-06 9.30933e-07 -1.10681e-06 3.85251e-07 -5.12948e-07 2.80075e-07 -2.36206e-07 4.75063e-07 -2.11038e-07 -6.85788e-07 4.72172e-07 -1.11953e-06 1.16783e-06 -7.6439e-07 5.87895e-07 -4.62719e-07 5.47104e-07 -3.93209e-07 4.92125e-07 -3.44422e-07 4.30714e-07 -3.40953e-07 4.18725e-07 -3.55147e-07 4.16056e-07 -3.60842e-07 4.03518e-07 -3.53347e-07 3.80396e-07 -3.32811e-07 3.46057e-07 -2.93191e-07 2.9614e-07 -2.28159e-07 2.28943e-07 -1.53664e-07 7.55525e-07 -6.35764e-07 1.56485e-06 -1.53511e-06 1.00012e-07 -6.41063e-08 -3.12677e-08 7.24176e-08 1.67879e-07 -6.71647e-08 -1.19352e-07 2.49882e-07 -3.29651e-06 2.97939e-06 -2.21973e-06 2.27062e-06 8.52534e-07 -9.84541e-07 1.54063e-06 -1.546e-06 1.41783e-06 -1.43588e-06 1.41773e-06 -1.47385e-06 1.57371e-06 -1.67041e-06 1.24138e-06 -1.31998e-06 5.88617e-07 -6.23782e-07 1.95668e-07 -1.33091e-07 1.72106e-08 9.13687e-08 -4.89051e-07 5.4032e-07 -1.07634e-06 8.84962e-07 -5.38689e-07 6.4279e-07 -6.29812e-07 6.69584e-07 -5.67314e-07 6.23491e-07 -5.09644e-07 5.74749e-07 -4.84785e-07 5.34028e-07 -4.6128e-07 4.92913e-07 -4.31611e-07 4.47841e-07 -3.94886e-07 3.96643e-07 -3.48859e-07 3.36843e-07 -2.92267e-07 2.71575e-07 -2.23572e-07 2.03821e-07 -1.48905e-07 5.47424e-07 -4.50146e-07 1.40753e-06 -1.27358e-06 8.18283e-08 -1.44006e-07 -1.18241e-07 1.66558e-07 -2.48687e-08 1.12195e-07 -3.64433e-07 4.65917e-07 -2.68823e-06 2.38058e-06 -2.2637e-06 2.1333e-06 1.07288e-06 -1.03769e-06 1.49517e-06 -1.41841e-06 1.42486e-06 -1.38075e-06 1.51395e-06 -1.51892e-06 1.73171e-06 -1.7371e-06 1.32618e-06 -1.2656e-06 6.14279e-07 -5.74877e-07 8.86708e-08 -4.58154e-08 -2.08516e-07 3.0757e-07 -5.84687e-07 6.25732e-07 -7.88586e-07 7.66253e-07 -7.10177e-07 7.62189e-07 -7.11186e-07 7.53567e-07 -6.69249e-07 7.07337e-07 -6.17716e-07 6.37339e-07 -5.62876e-07 5.61346e-07 -5.05372e-07 4.80813e-07 -4.41315e-07 4.02487e-07 -3.73796e-07 3.2625e-07 -3.04971e-07 2.56639e-07 -2.37295e-07 1.97268e-07 -1.77617e-07 1.47489e-07 -1.53937e-07 3.40838e-07 -2.24958e-07 1.1196e-06 -1.0075e-06 2.36807e-07 -3.00067e-07 -2.04467e-07 2.31897e-07 -1.85865e-07 2.50091e-07 -5.45188e-07 5.98122e-07 -2.11454e-06 1.92749e-06 -1.93721e-06 1.69927e-06 9.41392e-07 -8.42036e-07 1.32698e-06 -1.17243e-06 1.30461e-06 -1.18956e-06 1.48151e-06 -1.38834e-06 1.67104e-06 -1.53322e-06 1.16678e-06 -1.03651e-06 5.29668e-07 -4.6316e-07 -3.82081e-09 7.89883e-08 -3.99707e-07 4.99989e-07 -6.76533e-07 7.40757e-07 -7.82872e-07 8.30069e-07 -8.08469e-07 8.44981e-07 -7.90384e-07 7.81729e-07 -7.11465e-07 6.60073e-07 -6.11485e-07 5.34378e-07 -5.14518e-07 4.31725e-07 -4.23591e-07 3.44716e-07 -3.38926e-07 2.69769e-07 -2.68936e-07 2.0826e-07 -2.07616e-07 1.59532e-07 -1.58457e-07 1.21857e-07 -1.19973e-07 9.31751e-08 -1.64159e-07 1.08119e-07 1.53049e-08 9.78644e-07 -9.02915e-07 4.48227e-07 -5.39671e-07 -2.52974e-07 2.62421e-07 -2.9758e-07 3.31514e-07 -6.21339e-07 6.24669e-07 -1.72533e-06 1.47227e-06 -1.46794e-06 1.23105e-06 7.22603e-07 -5.4349e-07 9.89207e-07 -7.90859e-07 1.04742e-06 -8.70962e-07 1.23699e-06 -1.01656e-06 1.33013e-06 -1.05715e-06 8.68703e-07 -6.34043e-07 3.40427e-07 -1.93129e-07 -1.56657e-07 2.54004e-07 -5.77967e-07 6.42181e-07 -7.9744e-07 8.1909e-07 -8.58291e-07 8.28375e-07 -8.21734e-07 7.3737e-07 -7.12174e-07 6.01549e-07 -5.65907e-07 4.51542e-07 -4.34366e-07 3.37383e-07 -3.44724e-07 2.54175e-07 -2.67819e-07 1.90466e-07 -2.04131e-07 1.39277e-07 -1.54633e-07 9.99912e-08 -1.16735e-07 7.15445e-08 -8.81832e-08 5.09935e-08 -6.68523e-08 3.64862e-08 -1.79526e-07 -1.34875e-07 2.6782e-07 8.87044e-07 -8.33673e-07 7.02911e-07 -8.14203e-07 -2.56674e-07 2.4786e-07 -3.51446e-07 3.61242e-07 -6.15906e-07 5.98959e-07 -1.23101e-06 1.01353e-06 -1.02022e-06 8.41098e-07 3.49859e-07 -1.73987e-07 6.01357e-07 -4.1532e-07 6.79479e-07 -4.673e-07 7.55134e-07 -4.492e-07 7.65619e-07 -4.41105e-07 3.98257e-07 -1.65992e-07 2.39305e-08 1.57929e-07 -3.67494e-07 4.89191e-07 -6.74162e-07 6.77325e-07 -7.94986e-07 7.48378e-07 -7.53789e-07 6.73762e-07 -6.3717e-07 5.40314e-07 -4.89213e-07 3.80644e-07 -3.51729e-07 2.32861e-07 -2.46733e-07 1.59835e-07 -1.64409e-07 4.86415e-08 -1.21384e-07 6.07226e-08 -8.15178e-08 1.78457e-08 -4.37651e-08 -2.78329e-08 -2.47255e-08 -2.45121e-08 -1.14606e-08 -3.34537e-08 -4.30778e-09 -2.92827e-08 -2.0236e-07 -3.96333e-07 5.33401e-07 7.64405e-07 -7.04804e-07 8.35338e-07 -9.53668e-07 -2.32817e-07 2.09246e-07 -3.61581e-07 3.53733e-07 -5.77687e-07 5.5187e-07 -8.55828e-07 7.36497e-07 -7.0031e-07 5.9092e-07 4.00016e-08 6.72444e-08 2.52568e-07 -1.03265e-07 2.65605e-07 -7.74259e-08 1.45514e-07 1.1152e-07 5.36034e-08 3.70604e-07 -2.09885e-08 3.07491e-07 -2.84347e-07 3.18584e-07 -5.44718e-07 5.74159e-07 -6.6376e-07 6.28301e-07 -6.85401e-07 6.06083e-07 -5.78351e-07 4.72366e-07 -4.34484e-07 3.24345e-07 -2.96677e-07 1.65649e-07 -1.30691e-07 7.41566e-09 -1.07068e-07 2.41942e-08 3.59351e-08 -6.24265e-08 2.38032e-08 -1.49341e-07 2.84596e-08 -9.09217e-08 8.00765e-08 -9.03293e-08 5.5783e-08 -9.17437e-08 7.3856e-08 -1.00645e-07 6.58081e-08 -9.53904e-08 -2.23936e-07 -6.6111e-07 8.03506e-07 6.3662e-07 -6.90688e-07 1.09845e-06 -1.39731e-06 -1.7115e-07 1.39787e-07 -3.39833e-07 3.21614e-07 -5.2555e-07 4.99084e-07 -6.52232e-07 5.8748e-07 -5.17817e-07 4.67933e-07 -1.4484e-07 2.06198e-07 -1.99686e-08 1.26664e-07 -7.38518e-08 2.0515e-07 -2.67676e-07 3.90656e-07 -5.46585e-07 6.13755e-07 -6.44462e-07 7.10735e-07 -4.18649e-07 6.03718e-07 -5.22571e-07 4.13268e-07 -6.26923e-07 6.36526e-07 -5.19622e-07 4.37569e-07 -3.60257e-07 2.70684e-07 -2.05523e-07 1.16446e-07 -5.90355e-08 -3.59436e-08 4.29111e-08 -1.05774e-07 6.54201e-08 -1.32534e-07 9.959e-08 -1.39976e-07 1.59865e-07 -1.43365e-07 1.00628e-07 -1.25531e-07 1.12415e-07 -1.15329e-07 1.44e-07 -1.18078e-07 1.1836e-07 -1.08342e-07 1.13059e-07 -9.91257e-08 -1.87306e-07 -9.81456e-07 1.05058e-06 1.00579e-06 -1.26652e-06 2.21874e-06 -2.91378e-06 -1.74526e-07 1.14448e-07 -3.04161e-07 2.88967e-07 -4.77287e-07 4.60923e-07 -5.42451e-07 5.10815e-07 -4.37907e-07 4.19126e-07 -2.50101e-07 2.80778e-07 -2.07575e-07 2.6785e-07 -3.07173e-07 3.88213e-07 -4.90134e-07 5.72016e-07 -6.97645e-07 7.32739e-07 -8.44862e-07 8.07114e-07 -6.30658e-07 8.77264e-07 -2.71438e-07 2.68954e-07 -5.46897e-07 3.14773e-07 -3.58654e-07 2.43515e-07 -2.07411e-07 9.61639e-08 -5.11911e-08 3.00199e-09 8.05495e-08 -8.97479e-08 1.58989e-07 -1.65828e-07 1.58019e-07 -1.6456e-07 1.49759e-07 -1.48346e-07 1.37985e-07 -1.31778e-07 1.24953e-07 -1.17616e-07 1.13145e-07 -1.05645e-07 1.01658e-07 -9.51272e-08 9.05217e-08 -8.49569e-08 8.06643e-08 -7.48725e-08 -1.13015e-07 1.34578e-07 -1.22069e-07 1.40152e-07 -1.59648e-07 1.74644e-07 -1.85992e-07 1.93795e-07 -1.49089e-07 1.40782e-07 -4.08164e-08 1.33469e-08 1.42873e-07 -1.66454e-07 1.66384e-07 -1.77916e-07 1.76811e-07 -2.10984e-07 -6.36796e-08 1.86647e-08 -2.2923e-07 2.96217e-07 -1.03115e-07 1.66327e-07 1.70219e-07 -1.73653e-07 1.14257e-07 -1.45484e-07 2.71758e-07 -3.20506e-07 2.37337e-07 -2.70353e-07 3.95985e-07 -3.70771e-07 1.48698e-07 -1.76457e-07 1.7793e-07 -2.20448e-07 -5.73869e-08 8.48205e-08 -8.05724e-08 3.39187e-08 -1.84678e-07 1.30972e-07 1.42662e-06 -1.00057e-06 -2.50005e-06 2.65152e-06 -7.28411e-06 7.51207e-06 3.37432e-06 -3.37178e-06 7.10139e-07 -7.19025e-07 2.47791e-06 -2.29875e-06 2.48067e-06 -2.68898e-06 -2.09244e-07 1.62372e-07 -1.57569e-07 1.82981e-07 -1.58726e-07 1.79129e-07 -1.87926e-07 2.00675e-07 -1.98268e-07 2.00448e-07 -1.29986e-07 1.17813e-07 1.14389e-08 -3.38993e-08 1.83173e-07 -1.90491e-07 1.85852e-07 -1.89266e-07 2.30443e-07 -2.38289e-07 2.61075e-08 -6.78725e-08 -3.51033e-07 3.9638e-07 -2.31546e-07 2.94955e-07 1.7049e-07 -1.70856e-07 1.30648e-07 -8.53985e-08 3.25784e-07 -3.86217e-07 3.41759e-07 -4.99331e-07 3.4199e-07 -3.13675e-07 2.1166e-07 -2.52745e-07 2.64081e-07 -3.09157e-07 -1.06924e-07 1.18265e-07 -8.16946e-09 4.18642e-09 -1.45081e-08 -1.71753e-07 7.5857e-07 -3.41019e-07 -2.77354e-06 2.88117e-06 -7.67823e-06 7.79409e-06 3.34054e-06 -3.28214e-06 7.49977e-07 -7.9869e-07 2.14272e-06 -2.01803e-06 2.20827e-06 -2.43343e-06 3.33472e-07 2.81657e-07 -2.07418e-07 2.3095e-07 -1.99337e-07 2.20078e-07 -2.12177e-07 2.23523e-07 -2.01194e-07 2.01628e-07 -1.07165e-07 9.90545e-08 5.04543e-08 -6.01436e-08 1.89985e-07 -1.84663e-07 1.88153e-07 -1.82821e-07 2.34503e-07 -2.20018e-07 9.99987e-08 -1.24911e-07 -4.31402e-07 4.57529e-07 -3.41393e-07 3.65452e-07 1.8045e-07 -2.01966e-07 1.97382e-08 6.11665e-08 3.46289e-07 -2.33418e-07 6.85229e-07 -7.66697e-07 3.6138e-07 -6.10489e-07 2.84722e-07 -3.00702e-07 3.4869e-07 -3.82596e-07 -1.11691e-07 7.93312e-08 -2.5005e-08 7.00061e-08 4.56946e-07 -1.17694e-06 1.82276e-07 1.16065e-07 -2.96702e-06 3.04691e-06 -7.84419e-06 7.82763e-06 3.20015e-06 -3.088e-06 8.59871e-07 -9.3225e-07 1.93184e-06 -1.87356e-06 2.42492e-06 -2.47099e-06 5.76069e-07 -1.12125e-06 -2.49717e-07 2.63553e-07 -2.38399e-07 2.5429e-07 -2.3377e-07 2.43357e-07 -2.02571e-07 2.04614e-07 -9.53438e-08 9.63653e-08 6.11687e-08 -5.38636e-08 1.74613e-07 -1.58905e-07 1.72549e-07 -1.60497e-07 2.00673e-07 -1.77069e-07 1.37484e-07 -1.37968e-07 -4.7151e-07 4.73875e-07 -3.63995e-07 3.35366e-07 2.33773e-07 -2.80536e-07 -1.3967e-07 2.1865e-07 1.35154e-07 -7.71907e-08 6.0302e-07 -6.06816e-07 1.26313e-06 -1.22768e-06 3.01288e-07 -3.81592e-07 3.97435e-07 -3.77278e-07 -1.0761e-08 -1.07386e-07 -1.54259e-07 2.34198e-07 1.38358e-06 -2.34942e-06 -6.82536e-07 1.32402e-06 -3.11056e-06 3.16015e-06 -7.74355e-06 7.5755e-06 2.95137e-06 -2.77567e-06 1.00678e-06 -1.08224e-06 1.84271e-06 -1.83048e-06 2.55126e-06 -2.62347e-06 1.46297e-06 -1.6808e-06 -2.70576e-07 2.71533e-07 -2.65033e-07 2.7073e-07 -2.5085e-07 2.56077e-07 -2.07647e-07 2.1155e-07 -1.01927e-07 1.11858e-07 3.97255e-08 -1.8959e-08 1.38391e-07 -1.11983e-07 1.46995e-07 -1.30496e-07 1.51711e-07 -1.1766e-07 1.27019e-07 -1.02983e-07 -4.64653e-07 4.44345e-07 -2.87042e-07 2.23833e-07 3.29086e-07 -3.66721e-07 -2.6302e-07 2.97857e-07 4.48921e-08 -2.2408e-08 5.80081e-07 -5.6659e-07 9.61953e-07 -7.56844e-07 6.49805e-07 -1.1363e-06 3.37011e-07 -3.225e-07 2.33137e-07 -3.31424e-07 -4.18985e-07 2.57184e-07 2.85455e-06 -2.31158e-06 -1.93024e-06 2.53709e-06 -3.18157e-06 3.16618e-06 -7.33332e-06 7.01306e-06 2.56572e-06 -2.30791e-06 1.14968e-06 -1.20912e-06 1.83065e-06 -1.83607e-06 2.66318e-06 -2.67898e-06 1.7968e-06 -1.8545e-06 -2.67539e-07 2.59952e-07 -2.71114e-07 2.67187e-07 -2.58228e-07 2.57505e-07 -2.1544e-07 2.18998e-07 -1.24139e-07 1.38334e-07 -5.21089e-09 3.26221e-08 8.26434e-08 -5.04175e-08 1.15313e-07 -9.80754e-08 1.17657e-07 -1.2409e-07 5.77099e-08 -7.67384e-08 -4.15998e-07 3.79714e-07 -1.49129e-07 6.65138e-08 3.98141e-07 -4.25829e-07 -2.66757e-07 1.93642e-07 -1.97252e-08 2.4878e-08 5.44383e-07 -4.89701e-07 6.43662e-07 -5.03166e-07 1.11672e-06 -1.10902e-06 3.67003e-07 -4.48144e-07 2.99582e-07 -2.52353e-07 -3.80183e-08 -1.35181e-06 2.46879e-06 -2.1609e-06 -3.02804e-06 3.53625e-06 -3.10346e-06 2.98094e-06 -6.65007e-06 6.21565e-06 2.02715e-06 -1.6929e-06 1.25581e-06 -1.2952e-06 1.84048e-06 -1.84036e-06 2.67506e-06 -2.65551e-06 1.87314e-06 -1.86429e-06 -2.51095e-07 2.41189e-07 -2.60639e-07 2.52596e-07 -2.54544e-07 2.49997e-07 -2.21536e-07 2.23186e-07 -1.51938e-07 1.64953e-07 -5.8969e-08 8.45197e-08 1.9115e-08 1.21718e-08 7.32311e-08 -4.11397e-08 9.82043e-08 -5.53002e-08 1.83074e-08 -2.5655e-09 -3.40046e-07 2.95856e-07 1.39709e-08 -9.5761e-08 4.49263e-07 -4.71595e-07 -1.16213e-07 4.04848e-08 -2.66619e-08 5.97867e-08 4.47299e-07 -4.1892e-07 4.2172e-07 -3.97041e-07 9.75337e-07 -8.65629e-07 4.91243e-07 -5.14206e-07 2.42354e-07 -1.79578e-07 1.29907e-06 -1.47922e-06 2.35657e-06 -2.35222e-06 -3.97703e-06 4.39667e-06 -2.80773e-06 2.58056e-06 -5.747e-06 5.20487e-06 1.32697e-06 -9.01999e-07 1.32411e-06 -1.32628e-06 1.83498e-06 -1.82108e-06 2.62608e-06 -2.58741e-06 1.83691e-06 -1.79537e-06 -2.31804e-07 2.22795e-07 -2.44553e-07 2.36493e-07 -2.45112e-07 2.40014e-07 -2.24014e-07 2.24325e-07 -1.75717e-07 1.84798e-07 -1.05998e-07 1.24439e-07 -3.95443e-08 6.40253e-08 7.32449e-09 2.10748e-08 1.79036e-08 -2.13093e-09 -1.15213e-08 8.13843e-08 -2.45015e-07 1.65794e-07 1.74095e-07 -2.60121e-07 4.92471e-07 -5.1263e-07 2.23903e-08 -7.89833e-08 -9.25298e-08 1.15974e-07 3.83772e-07 -3.4095e-07 3.74157e-07 -3.16569e-07 7.81757e-07 -7.17602e-07 4.90632e-07 -4.48975e-07 1.9024e-07 -2.90679e-07 1.47405e-06 -1.46714e-06 2.34054e-06 -2.13025e-06 -4.77205e-06 5.09666e-06 -2.32998e-06 2.04573e-06 -4.64401e-06 4.04893e-06 4.60979e-07 -2.6828e-09 1.30883e-06 -1.27457e-06 1.80027e-06 -1.77239e-06 2.54438e-06 -2.49458e-06 1.74646e-06 -1.6894e-06 -2.14595e-07 2.06456e-07 -2.29526e-07 2.22842e-07 -2.35328e-07 2.30951e-07 -2.24173e-07 2.23439e-07 -1.91441e-07 1.96212e-07 -1.38295e-07 1.49015e-07 -8.33235e-08 9.983e-08 -4.32637e-08 6.17693e-08 -1.87991e-08 3.6332e-08 -1.23615e-07 2.17644e-07 -4.886e-08 -1.71728e-07 3.46766e-07 -4.34197e-07 5.28155e-07 -5.37468e-07 1.25228e-07 -1.66291e-07 -1.15694e-07 1.06153e-07 3.01892e-07 -2.61899e-07 2.34016e-07 -1.70102e-07 6.79706e-07 -6.3397e-07 4.25663e-07 -4.37541e-07 6.16996e-07 -8.66244e-07 1.38396e-06 -1.34354e-06 1.85837e-06 -1.53794e-06 -5.36846e-06 5.61241e-06 -1.75381e-06 1.43503e-06 -3.51487e-06 3.04363e-06 -3.89638e-07 7.00826e-07 1.2311e-06 -1.17697e-06 1.74068e-06 -1.70338e-06 2.44254e-06 -2.3837e-06 1.63008e-06 -1.56523e-06 -1.98887e-07 1.91012e-07 -2.16797e-07 2.10131e-07 -2.26751e-07 2.21439e-07 -2.21697e-07 2.18207e-07 -1.98643e-07 1.98074e-07 -1.56454e-07 1.62433e-07 -1.12838e-07 1.24434e-07 -7.86722e-08 9.00112e-08 -3.77185e-08 2.55042e-08 -2.44387e-07 2.21224e-07 2.69814e-07 -2.98645e-07 4.95215e-07 -5.29652e-07 5.36282e-07 -5.24225e-07 1.98752e-07 -2.27202e-07 -9.14644e-08 6.71276e-08 2.32888e-07 -2.06865e-07 1.44649e-07 -1.33682e-07 5.75354e-07 -5.02122e-07 4.65235e-07 -5.0062e-07 1.07065e-06 -1.40281e-06 1.15256e-06 -8.94636e-07 1.24664e-06 -9.28744e-07 -5.81353e-06 5.984e-06 -1.12146e-06 7.99203e-07 -2.69604e-06 2.44087e-06 -8.85728e-07 9.63442e-07 1.12016e-06 -1.0567e-06 1.66419e-06 -1.62054e-06 2.32456e-06 -2.262e-06 1.50056e-06 -1.43149e-06 -1.81433e-07 1.70617e-07 -2.01183e-07 1.88998e-07 -2.14303e-07 2.04214e-07 -2.1238e-07 2.04548e-07 -1.937e-07 1.89043e-07 -1.67944e-07 1.70478e-07 -1.33563e-07 1.38008e-07 -9.65523e-08 1.00629e-07 -2.27284e-08 2.80571e-08 -1.44907e-07 1.05398e-07 3.05932e-07 -3.12071e-07 5.42624e-07 -5.40359e-07 5.03905e-07 -4.77966e-07 2.51198e-07 -2.76228e-07 -2.61652e-08 -2.18007e-08 1.96105e-07 -1.90605e-07 1.26837e-07 -1.27778e-07 4.24867e-07 -3.45279e-07 5.34755e-07 -5.91364e-07 1.64409e-06 -1.69348e-06 6.41363e-07 -4.30293e-07 6.26217e-07 -3.44926e-07 -6.10764e-06 6.18183e-06 -5.05825e-07 2.36873e-07 -2.27657e-06 2.14671e-06 -9.55003e-07 8.94796e-07 9.94086e-07 -9.27279e-07 1.57625e-06 -1.52825e-06 2.20068e-06 -2.13483e-06 1.36363e-06 -1.29187e-06 -1.59573e-07 1.50249e-07 -1.76759e-07 1.63609e-07 -1.90415e-07 1.76976e-07 -1.94779e-07 1.83151e-07 -1.82493e-07 1.75578e-07 -1.7191e-07 1.74068e-07 -1.43593e-07 1.49024e-07 -1.03871e-07 8.62834e-08 -6.06088e-08 1.08613e-07 -6.0884e-08 2.36581e-08 3.34745e-07 -3.65744e-07 5.24199e-07 -4.88771e-07 4.55401e-07 -4.6051e-07 3.05931e-07 -3.44745e-07 6.13829e-08 -1.20906e-07 1.90338e-07 -2.05913e-07 1.3544e-07 -1.39529e-07 2.69899e-07 -1.91332e-07 6.6715e-07 -6.84623e-07 1.47775e-06 -1.01308e-06 3.03799e-07 -3.15424e-07 1.32654e-07 1.40537e-07 -6.18961e-06 6.10715e-06 -3.2666e-08 -1.05707e-07 -2.03165e-06 1.91057e-06 -8.18086e-07 7.39452e-07 8.63421e-07 -7.97072e-07 1.48046e-06 -1.42942e-06 2.06915e-06 -1.99826e-06 1.22196e-06 -1.14846e-06 -1.37585e-07 1.23343e-07 -1.51283e-07 1.37335e-07 -1.64194e-07 1.50015e-07 -1.71636e-07 1.57923e-07 -1.67027e-07 1.56538e-07 -1.72135e-07 1.64546e-07 -1.5894e-07 1.64865e-07 -9.39577e-08 1.08803e-07 -1.24238e-07 1.37908e-07 -1.91169e-08 2.66639e-08 3.68447e-07 -3.45992e-07 3.90494e-07 -2.51274e-07 4.88193e-07 -5.31489e-07 3.88936e-07 -4.42084e-07 1.88999e-07 -2.62549e-07 2.26869e-07 -2.54571e-07 1.43189e-07 -1.4591e-07 1.12804e-07 -2.27593e-08 6.14538e-07 -5.45766e-07 6.8794e-07 -4.34043e-07 2.4152e-07 -8.0499e-08 -2.89444e-07 3.78824e-07 -5.86406e-06 5.46913e-06 1.46265e-07 -1.61219e-07 -1.79053e-06 1.66052e-06 -6.74496e-07 6.20044e-07 7.34952e-07 -6.71556e-07 1.37924e-06 -1.32615e-06 1.92806e-06 -1.85297e-06 1.07742e-06 -1.00322e-06 -1.0985e-07 9.65732e-08 -1.234e-07 1.09364e-07 -1.35856e-07 1.21633e-07 -1.44693e-07 1.3195e-07 -1.48535e-07 1.40223e-07 -1.57615e-07 1.52284e-07 -1.63695e-07 1.6152e-07 -1.25425e-07 1.32531e-07 -1.39999e-07 1.47289e-07 -5.38219e-08 8.94126e-08 3.33728e-07 -3.24028e-07 1.91466e-07 -2.32722e-07 5.28355e-07 -4.93779e-07 4.92255e-07 -5.26554e-07 3.31611e-07 -4.05199e-07 2.89142e-07 -3.34077e-07 1.46893e-07 -1.44054e-07 -7.64766e-08 2.05773e-07 4.54652e-07 -2.84163e-07 2.80896e-07 -1.28333e-07 -1.0353e-07 2.2993e-07 -4.15536e-07 4.9348e-07 -5.11964e-06 4.72729e-06 5.37276e-08 7.63398e-08 -1.53058e-06 1.39864e-06 -5.78187e-07 5.42774e-07 6.1303e-07 -5.5419e-07 1.2744e-06 -1.22006e-06 1.77919e-06 -1.70088e-06 9.32079e-07 -8.58433e-07 -8.49583e-08 7.43393e-08 -9.70089e-08 8.5716e-08 -1.09183e-07 9.78776e-08 -1.20934e-07 1.10986e-07 -1.32821e-07 1.25963e-07 -1.4829e-07 1.44785e-07 -1.59675e-07 1.59437e-07 -1.41553e-07 1.46849e-07 -1.47671e-07 1.51251e-07 -1.15243e-07 1.22572e-07 3.21243e-07 -3.13535e-07 2.51312e-07 -2.49781e-07 4.61757e-07 -4.44617e-07 5.55706e-07 -5.86948e-07 4.71527e-07 -5.33471e-07 3.85128e-07 -4.43811e-07 1.37101e-07 -1.2484e-07 -3.68972e-07 5.76548e-07 5.9281e-08 1.38344e-07 1.2218e-07 -1.14334e-07 -3.08572e-07 4.57333e-07 -5.70398e-07 6.7258e-07 -4.31061e-06 3.93898e-06 -1.80198e-07 2.3374e-07 -1.27898e-06 1.16328e-06 -5.14195e-07 4.8892e-07 5.00611e-07 -4.47547e-07 1.16746e-06 -1.11262e-06 1.62453e-06 -1.54414e-06 7.88545e-07 -7.16975e-07 -6.56378e-08 5.81135e-08 -7.64619e-08 6.84141e-08 -8.86791e-08 8.07629e-08 -1.02967e-07 9.62671e-08 -1.20434e-07 1.16066e-07 -1.4224e-07 1.40752e-07 -1.616e-07 1.64646e-07 -1.58252e-07 1.665e-07 -1.52152e-07 1.56063e-07 -1.13677e-07 9.73942e-08 2.71941e-07 -2.27183e-07 2.48424e-07 -2.59909e-07 4.48237e-07 -4.69577e-07 6.21045e-07 -6.60658e-07 5.8675e-07 -6.37763e-07 5.00509e-07 -5.51014e-07 1.10014e-07 -9.81985e-08 -7.89696e-07 1.00539e-06 -4.07372e-07 7.97812e-07 9.78571e-08 -1.45957e-07 -6.57162e-07 8.94387e-07 -5.98202e-07 3.38901e-07 -3.59628e-06 3.41582e-06 -2.48679e-07 2.33388e-07 -1.0603e-06 9.61484e-07 -4.67795e-07 4.48761e-07 3.99856e-07 -3.53391e-07 1.05985e-06 -1.00515e-06 1.46636e-06 -1.3851e-06 6.49793e-07 -5.81834e-07 -5.21492e-08 4.68797e-08 -6.18967e-08 5.57752e-08 -7.44865e-08 6.88243e-08 -9.13966e-08 8.78255e-08 -1.13565e-07 1.13283e-07 -1.40785e-07 1.42569e-07 -1.68659e-07 1.74459e-07 -1.72977e-07 1.77374e-07 -1.53395e-07 1.52349e-07 -7.8931e-08 6.62175e-08 1.61995e-07 -1.30041e-07 2.78409e-07 -2.97278e-07 5.00069e-07 -5.32809e-07 7.01888e-07 -7.46247e-07 6.80449e-07 -7.10357e-07 5.58649e-07 -5.27762e-07 4.88687e-08 4.66396e-08 -1.08802e-06 1.22209e-06 -1.01336e-06 1.22426e-06 2.02405e-07 -3.02753e-07 -1.08053e-06 1.2482e-06 4.1982e-08 -4.16037e-07 -3.41096e-06 3.50519e-06 -1.89464e-07 1.19182e-07 -8.7428e-07 7.91657e-07 -4.32338e-07 4.16925e-07 3.12331e-07 -2.73137e-07 9.52878e-07 -8.99066e-07 1.30718e-06 -1.22653e-06 5.18931e-07 -4.56305e-07 -4.19476e-08 3.57935e-08 -4.92232e-08 3.92394e-08 -6.3157e-08 5.53995e-08 -8.53059e-08 8.16892e-08 -1.16331e-07 1.20322e-07 -1.50189e-07 1.59726e-07 -1.77014e-07 1.97256e-07 -1.79478e-07 1.82909e-07 -1.54736e-07 1.53204e-07 -6.5592e-08 6.65937e-08 1.1033e-07 -1.06135e-07 3.15684e-07 -3.32914e-07 5.60311e-07 -5.81334e-07 7.88962e-07 -8.1986e-07 7.63216e-07 -7.03278e-07 5.00817e-07 -4.40544e-07 -1.93406e-07 3.6464e-07 -1.35271e-06 1.38401e-06 -1.39396e-06 1.55992e-06 3.67145e-07 -4.13939e-07 -1.42805e-06 1.51101e-06 7.41789e-07 -1.02977e-06 -3.71492e-06 3.98214e-06 -4.26394e-08 -1.56913e-08 -7.20304e-07 6.54923e-07 -4.02922e-07 3.89209e-07 2.39195e-07 -2.07608e-07 8.48057e-07 -7.96112e-07 1.14992e-06 -1.07147e-06 3.99351e-07 -3.43848e-07 -2.71233e-08 2.12879e-08 -2.22716e-08 5.76848e-10 -4.58992e-08 4.01405e-08 -7.54827e-08 3.68649e-08 -1.33128e-07 1.43904e-07 -1.75938e-07 1.97745e-07 -2.13189e-07 2.27791e-07 -1.89445e-07 2.02751e-07 -1.51011e-07 1.52852e-07 -6.35696e-08 5.39403e-08 1.13031e-07 -1.24893e-07 3.41867e-07 -3.40197e-07 5.89133e-07 -5.80861e-07 8.23131e-07 -7.27715e-07 6.74732e-07 -7.10131e-07 3.52637e-07 -2.25944e-07 -5.02562e-07 6.23719e-07 -1.40507e-06 1.59726e-06 -1.58218e-06 1.48577e-06 4.63324e-07 -4.44786e-07 -1.48926e-06 1.46348e-06 1.09392e-06 -9.51316e-07 -4.0475e-06 3.71117e-06 -1.44899e-08 9.10463e-08 -6.00678e-07 5.53625e-07 -3.76325e-07 3.63294e-07 1.80868e-07 -1.56653e-07 7.47578e-07 -6.98858e-07 9.97709e-07 -9.23054e-07 2.94505e-07 -2.47749e-07 -3.71909e-08 4.19747e-08 -1.1548e-08 1.39927e-08 -1.33069e-08 2.30483e-09 2.73637e-08 2.87278e-10 -1.23425e-07 8.25156e-08 -1.83953e-07 1.49716e-07 -2.32272e-07 1.91948e-07 -2.05253e-07 1.82577e-07 -1.46856e-07 1.25257e-07 -3.71621e-08 1.46105e-08 1.34841e-07 -1.39256e-07 3.26989e-07 -3.04262e-07 5.4654e-07 -4.8745e-07 5.94828e-07 -5.2563e-07 6.9517e-07 -5.98739e-07 6.30533e-08 1.37367e-07 -7.60276e-07 9.1935e-07 -1.70929e-06 1.75435e-06 -1.26132e-06 9.14318e-07 3.94834e-07 -3.25196e-07 -1.40443e-06 1.23288e-06 7.14632e-07 -4.91016e-07 -3.21378e-06 2.69132e-06 -1.75497e-07 2.52545e-07 -5.15395e-07 4.81927e-07 -3.50615e-07 3.37135e-07 1.36649e-07 -1.19079e-07 6.53499e-07 -6.07962e-07 8.53757e-07 -7.84564e-07 2.07359e-07 -1.70126e-07 -8.04082e-08 1.22195e-07 9.37422e-08 -2.36966e-08 8.13369e-09 -6.52142e-08 -2.32645e-08 -6.46144e-08 -3.91436e-08 5.05026e-08 -1.3613e-07 1.24337e-07 -1.58956e-07 1.28361e-07 -1.51728e-07 1.13992e-07 -9.55253e-08 6.1755e-08 6.80179e-09 -2.43769e-08 1.37199e-07 -1.29409e-07 2.80947e-07 -2.63887e-07 4.28865e-07 -3.24361e-07 5.38841e-07 -4.70336e-07 4.37097e-07 -2.45354e-07 -3.46619e-07 5.70983e-07 -1.0664e-06 1.21604e-06 -1.71437e-06 1.56415e-06 -5.05469e-07 7.80224e-08 2.56308e-07 -2.21534e-07 -1.00559e-06 7.83044e-07 2.30062e-07 -3.67645e-09 -2.25794e-06 1.88823e-06 -3.1387e-07 3.62522e-07 -4.54581e-07 4.29896e-07 -3.23355e-07 3.07885e-07 1.04943e-07 -9.28095e-08 5.65726e-07 -5.23526e-07 7.21346e-07 -6.59349e-07 1.38521e-07 -1.0979e-07 -1.52582e-07 1.66555e-07 -5.03678e-08 9.78965e-08 1.2454e-08 3.91034e-08 2.65131e-08 1.74847e-08 -4.31954e-08 3.40195e-08 -7.96063e-08 5.03662e-08 -8.58387e-08 5.33849e-08 -7.45865e-08 4.27702e-08 -3.24603e-08 1.05626e-08 3.51618e-08 -4.03334e-08 1.16917e-07 -1.01202e-07 2.38997e-07 -1.9941e-07 2.69406e-07 -1.84036e-07 3.39131e-07 -1.92857e-07 5.80353e-08 1.24958e-07 -7.75584e-07 9.59084e-07 -1.35288e-06 1.45137e-06 -1.29106e-06 9.51564e-07 2.71725e-07 -5.8417e-07 2.42066e-07 -2.73935e-07 -6.2685e-07 5.16766e-07 -1.69025e-07 3.09593e-07 -1.59359e-06 1.32285e-06 -3.94118e-07 4.12125e-07 -4.08921e-07 3.88966e-07 -2.917e-07 2.73575e-07 8.29895e-08 -7.43e-08 4.846e-07 -4.45924e-07 6.03666e-07 -5.49669e-07 8.57979e-08 -6.44292e-08 -1.6669e-07 1.56539e-07 -1.16889e-07 1.20676e-07 -6.92202e-08 8.50423e-08 -4.23912e-08 5.94843e-08 -3.80755e-08 4.59593e-08 -3.96204e-08 3.84441e-08 -3.66881e-08 3.05975e-08 -2.50394e-08 1.77254e-08 1.07841e-09 -4.79613e-09 4.09203e-08 -3.73396e-08 8.66701e-08 -7.12657e-08 1.50668e-07 -9.62467e-08 9.80818e-08 -5.5474e-09 4.29713e-08 1.06754e-07 -3.07447e-07 5.08761e-07 -1.07718e-06 1.15573e-06 -1.44908e-06 1.3616e-06 -6.2924e-07 3.52954e-07 8.35888e-07 -1.04171e-06 3.0702e-07 -3.45575e-07 -4.28772e-07 3.25707e-07 -4.28685e-07 5.32972e-07 -1.09873e-06 9.30725e-07 -4.19423e-07 4.19429e-07 -3.70963e-07 3.52835e-07 -2.55573e-07 2.36982e-07 6.68947e-08 -6.00089e-08 4.10456e-07 -3.75445e-07 5.01257e-07 -4.54384e-07 4.69946e-08 -3.19023e-08 -1.39756e-07 1.19284e-07 -1.14631e-07 1.03061e-07 -8.90342e-08 8.5893e-08 -6.79821e-08 7.00672e-08 -5.29095e-08 5.65222e-08 -4.17613e-08 4.49585e-08 -3.12464e-08 3.41379e-08 -1.80208e-08 2.24083e-08 1.42485e-09 7.64727e-09 2.80099e-08 -1.09273e-08 5.43626e-08 -2.97787e-08 6.19286e-08 -4.2233e-08 -3.98525e-08 4.0597e-08 -2.42561e-07 3.2521e-07 -7.10899e-07 8.92969e-07 -1.21346e-06 1.21959e-06 -1.20201e-06 1.06396e-06 -1.69311e-07 4.17488e-08 1.18278e-06 -1.22912e-06 3.71976e-07 -3.68478e-07 -2.46058e-07 1.81213e-07 -5.78102e-07 5.57133e-07 -7.98189e-07 6.78182e-07 -4.12306e-07 3.98066e-07 -3.3564e-07 3.17671e-07 -2.19805e-07 2.02831e-07 5.38661e-08 -4.7917e-08 3.4357e-07 -3.12362e-07 4.12451e-07 -3.7191e-07 1.99728e-08 -1.00324e-08 -9.94864e-08 7.84259e-08 -8.92059e-08 7.16227e-08 -7.76354e-08 6.35161e-08 -6.58847e-08 5.48016e-08 -5.46978e-08 4.61971e-08 -4.45339e-08 3.85097e-08 -3.53308e-08 3.23483e-08 -2.67511e-08 2.83093e-08 -1.79384e-08 2.67157e-08 -8.08465e-09 2.74667e-08 3.9326e-09 2.70862e-08 2.70241e-08 4.57521e-09 -1.70505e-08 -9.28924e-10 -3.28893e-07 2.74464e-07 -1.02832e-06 1.08601e-06 -1.18943e-06 1.14192e-06 -9.702e-07 8.03911e-07 1.06428e-07 -2.0882e-07 1.14616e-06 -9.13991e-07 3.47159e-07 -3.18059e-07 -1.34154e-07 8.5595e-08 -4.9319e-07 4.03209e-07 -5.77778e-07 4.88598e-07 -3.79287e-07 3.55947e-07 -3.00299e-07 2.82119e-07 -1.87605e-07 1.72919e-07 4.24574e-08 -3.70768e-08 2.84217e-07 -2.56966e-07 3.358e-07 -3.01204e-07 2.50626e-09 3.44083e-09 -5.57833e-08 2.83934e-08 -5.04113e-08 2.34498e-08 -4.41299e-08 1.82334e-08 -3.75466e-08 1.33786e-08 -3.13963e-08 9.6813e-09 -2.65966e-08 8.07416e-09 -2.4067e-08 9.5306e-09 -2.49277e-08 1.53157e-08 -3.03963e-08 2.70253e-08 -4.16813e-08 4.66267e-08 -5.65141e-08 7.33893e-08 -5.11984e-08 8.72904e-08 -4.09963e-09 5.89754e-08 -1.58405e-07 -2.60749e-09 -1.03209e-06 7.8832e-07 -1.04846e-06 9.7628e-07 -5.34299e-07 4.17303e-07 2.05293e-07 -2.4998e-08 6.03165e-07 -3.84739e-07 3.11098e-07 -2.81824e-07 -4.10019e-08 -1.68474e-09 -3.16329e-07 2.39327e-07 -4.1372e-07 3.47684e-07 -3.3146e-07 3.05177e-07 -2.64755e-07 2.46994e-07 -1.60016e-07 1.47825e-07 3.2131e-08 -2.73017e-08 2.32725e-07 -2.09629e-07 2.70771e-07 -2.42061e-07 -7.66409e-09 1.07337e-08 1.60865e-09 -3.52402e-08 6.92435e-09 -4.15189e-08 1.15603e-08 -4.54598e-08 1.48856e-08 -4.68959e-08 1.61293e-08 -4.53688e-08 1.45497e-08 -4.04266e-08 9.24397e-09 -3.13688e-08 -8.41986e-10 -1.74959e-08 -1.72179e-08 2.24877e-09 -4.20169e-08 2.93217e-08 -7.65954e-08 6.5067e-08 -1.12362e-07 1.05779e-07 -1.06157e-07 1.23436e-07 5.62623e-08 5.29825e-08 -4.41503e-07 1.95145e-07 -8.17508e-07 5.7521e-07 -4.49418e-07 4.85826e-07 -1.69505e-07 2.89054e-07 1.92516e-07 -6.54729e-08 2.40566e-07 -1.84385e-07 3.23448e-08 -4.8264e-08 -1.81845e-07 1.38456e-07 -2.94834e-07 2.49778e-07 -2.80262e-07 2.55785e-07 -2.30529e-07 2.1432e-07 -1.37343e-07 1.27685e-07 2.29604e-08 -1.88546e-08 1.89489e-07 -1.70782e-07 2.17273e-07 -1.94436e-07 -1.26984e-08 1.39307e-08 7.00867e-08 -9.78131e-08 7.71339e-08 -1.04207e-07 7.96078e-08 -1.05337e-07 7.79749e-08 -1.00923e-07 7.27291e-08 -9.26809e-08 6.4087e-08 -8.13259e-08 5.16264e-08 -6.68013e-08 3.48315e-08 -4.85994e-08 1.29164e-08 -2.59161e-08 -1.49172e-08 1.69343e-09 -4.94159e-08 3.45485e-08 -8.87182e-08 7.18395e-08 -1.1969e-07 1.08823e-07 -1.17329e-07 1.37864e-07 -1.66984e-07 1.82248e-07 -3.70852e-07 2.8433e-07 -4.59788e-07 3.91362e-07 -3.10696e-07 2.98135e-07 -1.23285e-08 4.42692e-08 1.41283e-07 -9.91947e-08 4.89911e-08 -3.81275e-08 -1.09943e-07 9.11915e-08 -2.14912e-07 1.86365e-07 -2.33535e-07 2.12949e-07 -1.99974e-07 1.86643e-07 -1.19636e-07 1.12527e-07 1.53146e-08 -1.21041e-08 1.54991e-07 -1.40923e-07 1.75316e-07 -1.58413e-07 -1.45729e-08 1.48433e-08 1.12161e-07 -9.88472e-08 1.17684e-07 -1.08079e-07 1.1774e-07 -1.12989e-07 1.1152e-07 -1.11398e-07 1.0149e-07 -1.04133e-07 8.87717e-08 -9.27553e-08 7.36974e-08 -7.83664e-08 5.57305e-08 -6.0975e-08 3.3806e-08 -3.97736e-08 7.39177e-09 -1.43504e-08 -2.37447e-08 1.55215e-08 -5.92975e-08 4.98043e-08 -9.78053e-08 8.81891e-08 -1.37683e-07 1.30546e-07 -1.86377e-07 1.7928e-07 -2.5566e-07 2.35216e-07 -3.29348e-07 2.80941e-07 -2.618e-07 2.26613e-07 -5.93568e-08 7.43221e-08 5.96929e-08 -2.19463e-08 2.1616e-08 -3.00335e-09 -8.07395e-08 7.51688e-08 -1.65361e-07 1.4934e-07 -1.96222e-07 1.82411e-07 -1.75692e-07 1.66535e-07 -1.0695e-07 1.02486e-07 9.458e-09 -7.17982e-09 1.29693e-07 -1.20433e-07 1.45082e-07 -1.34302e-07 -1.48778e-08 1.47567e-08 7.96165e-08 -7.21349e-08 8.62615e-08 -7.59232e-08 9.11005e-08 -7.84803e-08 9.24487e-08 -7.9866e-08 8.97534e-08 -7.96438e-08 8.34295e-08 -7.6843e-08 7.34193e-08 -7.01868e-08 5.95425e-08 -5.90339e-08 4.12288e-08 -4.28004e-08 1.81139e-08 -2.121e-08 -1.00812e-08 5.86e-09 -4.32756e-08 3.86197e-08 -8.11932e-08 7.65792e-08 -1.23318e-07 1.18326e-07 -1.6948e-07 1.61987e-07 -2.16393e-07 2.02093e-07 -2.46324e-07 2.22805e-07 -2.03083e-07 1.87974e-07 -8.83154e-08 9.83424e-08 -7.30997e-09 2.68661e-08 -1.22242e-08 2.25254e-08 -7.27072e-08 7.14477e-08 -1.38785e-07 1.3215e-07 -1.7286e-07 1.66957e-07 -1.6022e-07 1.56725e-07 -9.95502e-08 9.80603e-08 5.45005e-09 -4.1607e-09 1.13878e-07 -1.09595e-07 1.2692e-07 -1.22326e-07 -1.4563e-08 1.43689e-08 -2.23451e-08 3.70012e-08 -4.71245e-08 5.66576e-08 -6.88042e-08 7.50427e-08 -8.02596e-08 7.99521e-08 -7.7341e-08 6.96045e-08 -5.94781e-08 4.75302e-08 -3.21054e-08 1.79708e-08 -2.32733e-09 -1.09363e-08 2.2878e-08 -3.15628e-08 3.73851e-08 -3.96322e-08 3.95403e-08 -3.78043e-08 3.50334e-08 -3.19323e-08 2.84866e-08 -2.53331e-08 2.21598e-08 -1.93991e-08 1.67124e-08 -1.4379e-08 1.2139e-08 -1.02138e-08 8.38439e-09 -6.82865e-09 5.37278e-09 -4.15268e-09 3.02879e-09 -2.102e-09 1.26329e-09 -5.82672e-10 -2.09539e-11 4.99136e-10 -9.12896e-10 1.22705e-09 -1.48358e-09 1.66089e-09 -1.78899e-09 1.86059e-09 -1.89178e-09 1.8848e-09 -1.84617e-09 1.7867e-09 -1.70491e-09 1.61596e-09 -1.51271e-09 1.41024e-09 -1.3007e-09 1.197e-09 -1.89691e-08 3.69254e-08 -5.03332e-08 6.20922e-08 -7.92897e-08 8.81414e-08 -9.70502e-08 1.00344e-07 -1.0104e-07 9.70297e-08 -9.00611e-08 8.12432e-08 -6.83908e-08 5.63779e-08 -4.15563e-08 2.81903e-08 -1.49123e-08 3.51807e-09 6.6645e-09 -1.38691e-08 1.89874e-08 -2.17464e-08 2.3069e-08 -2.32112e-08 2.25385e-08 -2.14715e-08 1.99757e-08 -1.84024e-08 1.65959e-08 -1.48223e-08 1.29431e-08 -1.11982e-08 9.44066e-09 -7.87145e-09 6.34341e-09 -5.01922e-09 3.764e-09 -2.69979e-09 1.71045e-09 -8.86518e-10 1.35784e-10 4.736e-10 -1.01324e-09 1.43765e-09 -1.79419e-09 2.0535e-09 -2.24857e-09 2.36692e-09 -2.42604e-09 2.42965e-09 -2.38562e-09 2.30681e-09 -2.19303e-09 2.06303e-09 -1.91036e-09 1.75611e-09 -1.58961e-09 1.43212e-09 -1.59157e-08 3.38558e-08 -4.71121e-08 5.90309e-08 -7.70347e-08 8.61041e-08 -9.57396e-08 9.98985e-08 -1.01522e-07 9.86667e-08 -9.2885e-08 8.55964e-08 -7.44118e-08 6.44881e-08 -5.21725e-08 4.12614e-08 -3.08113e-08 2.20332e-08 -1.37383e-08 7.28297e-09 -1.99418e-09 -1.48318e-09 3.7233e-09 -4.81165e-09 5.07165e-09 -4.80662e-09 4.08649e-09 -3.20519e-09 2.13393e-09 -1.07122e-09 -3.69677e-11 1.04039e-09 -2.0328e-09 2.874e-09 -3.64809e-09 4.27866e-09 -4.82804e-09 5.25608e-09 -5.60595e-09 5.85467e-09 -6.03687e-09 6.14202e-09 -6.18495e-09 6.16883e-09 -6.09302e-09 5.96885e-09 -5.78481e-09 5.56201e-09 -5.28015e-09 4.97211e-09 -4.61094e-09 4.23826e-09 -3.82354e-09 3.41484e-09 -2.9771e-09 2.56047e-09 -2.12781e-09 1.72798e-09 -1.50941e-08 3.31121e-08 -4.62986e-08 5.82266e-08 -7.64169e-08 8.55709e-08 -9.52836e-08 9.96482e-08 -1.01427e-07 9.86297e-08 -9.30058e-08 8.58627e-08 -7.47766e-08 6.51842e-08 -5.32327e-08 4.28929e-08 -3.34085e-08 2.58583e-08 -1.89341e-08 1.35842e-08 -9.10936e-09 6.09553e-09 -4.10698e-09 3.07532e-09 -2.79264e-09 2.97029e-09 -3.50528e-09 4.16545e-09 -4.90896e-09 5.59008e-09 -6.25372e-09 6.79855e-09 -7.27138e-09 7.6308e-09 -7.90999e-09 8.08295e-09 -8.18331e-09 8.20176e-09 -8.15096e-09 8.04696e-09 -7.88734e-09 7.69315e-09 -7.45247e-09 7.19411e-09 -6.8949e-09 6.58765e-09 -6.24169e-09 5.89254e-09 -5.50615e-09 5.12208e-09 -4.7026e-09 4.29234e-09 -3.85285e-09 3.43197e-09 -2.98989e-09 2.57508e-09 -2.14757e-09 1.75471e-09 -1.47876e-08 3.29423e-08 -4.62425e-08 5.80623e-08 -7.64979e-08 8.58359e-08 -9.55433e-08 1.00138e-07 -1.01997e-07 9.91302e-08 -9.35525e-08 8.63447e-08 -7.50739e-08 6.54165e-08 -5.31661e-08 4.26718e-08 -3.32165e-08 2.57652e-08 -1.91025e-08 1.41237e-08 -1.00641e-08 7.39308e-09 -5.71524e-09 4.88264e-09 -4.76062e-09 4.9882e-09 -5.53392e-09 6.12914e-09 -6.764e-09 7.30985e-09 -7.80141e-09 8.17259e-09 -8.46441e-09 8.6516e-09 -8.76094e-09 8.78082e-09 -8.7203e-09 8.59256e-09 -8.393e-09 8.15006e-09 -7.8497e-09 7.52802e-09 -7.16077e-09 6.7931e-09 -6.39271e-09 6.00572e-09 -5.59635e-09 5.20844e-09 -4.80517e-09 4.42859e-09 -4.03997e-09 3.67975e-09 -3.31049e-09 2.96995e-09 -2.62306e-09 2.30483e-09 -1.98223e-09 1.68836e-09 -1.44897e-08 3.28034e-08 -4.63085e-08 5.79385e-08 -7.67237e-08 8.62746e-08 -9.59687e-08 1.00868e-07 -1.02819e-07 9.98638e-08 -9.43386e-08 8.70495e-08 -7.55494e-08 6.57845e-08 -5.30945e-08 4.2288e-08 -3.26978e-08 2.50442e-08 -1.82411e-08 1.32634e-08 -9.31336e-09 6.81295e-09 -5.34589e-09 4.69504e-09 -4.76834e-09 5.11083e-09 -5.75775e-09 6.39905e-09 -7.05901e-09 7.60256e-09 -8.08679e-09 8.44707e-09 -8.72529e-09 8.89933e-09 -8.99055e-09 8.9893e-09 -8.90134e-09 8.74391e-09 -8.50494e-09 8.21963e-09 -7.8656e-09 7.49095e-09 -7.06538e-09 6.64237e-09 -6.18666e-09 5.75205e-09 -5.30112e-09 4.88476e-09 -4.46391e-09 4.08371e-09 -3.70556e-09 3.36772e-09 -3.0344e-09 2.73691e-09 -2.4431e-09 2.17983e-09 -1.91748e-09 1.68116e-09 -1.41124e-08 3.26191e-08 -4.64057e-08 5.77689e-08 -7.70134e-08 8.67761e-08 -9.64676e-08 1.01752e-07 -1.03813e-07 1.00747e-07 -9.52861e-08 8.79031e-08 -7.61458e-08 6.62561e-08 -5.3026e-08 4.18343e-08 -3.21112e-08 2.42031e-08 -1.71691e-08 1.209e-08 -8.14454e-09 5.74943e-09 -4.45549e-09 3.98521e-09 -4.28472e-09 4.78517e-09 -5.58546e-09 6.33275e-09 -7.06944e-09 7.67559e-09 -8.21029e-09 8.61319e-09 -8.93205e-09 9.14175e-09 -9.26586e-09 9.29121e-09 -9.2223e-09 9.07377e-09 -8.83523e-09 8.54282e-09 -8.17336e-09 7.7791e-09 -7.32914e-09 6.87989e-09 -6.39501e-09 5.93371e-09 -5.45524e-09 5.01531e-09 -4.57266e-09 4.17514e-09 -3.78297e-09 3.43574e-09 -3.09605e-09 2.79634e-09 -2.50265e-09 2.24159e-09 -1.98277e-09 1.75011e-09 -1.36395e-08 3.24173e-08 -4.65417e-08 5.75416e-08 -7.73708e-08 8.73361e-08 -9.70423e-08 1.02794e-07 -1.04993e-07 1.01793e-07 -9.64058e-08 8.89118e-08 -7.68801e-08 6.68406e-08 -5.29442e-08 4.12938e-08 -3.14642e-08 2.32752e-08 -1.59696e-08 1.07602e-08 -6.78653e-09 4.48618e-09 -3.36937e-09 3.10166e-09 -3.66382e-09 4.34569e-09 -5.34666e-09 6.22502e-09 -7.06992e-09 7.76038e-09 -8.36245e-09 8.8233e-09 -9.1988e-09 9.4642e-09 -9.63668e-09 9.70583e-09 -9.67e-09 9.54472e-09 -9.32436e-09 9.03748e-09 -8.67098e-09 8.27014e-09 -7.8099e-09 7.34654e-09 -6.84394e-09 6.36539e-09 -5.86673e-09 5.40534e-09 -4.93874e-09 4.51732e-09 -4.09838e-09 3.72485e-09 -3.35656e-09 3.02884e-09 -2.70531e-09 2.41578e-09 -2.12761e-09 1.86805e-09 -1.30575e-08 3.22163e-08 -4.67195e-08 5.72342e-08 -7.77792e-08 8.79299e-08 -9.76673e-08 1.03973e-07 -1.06348e-07 1.02988e-07 -9.76796e-08 9.00608e-08 -7.7759e-08 6.7541e-08 -5.28244e-08 4.06433e-08 -3.07572e-08 2.22535e-08 -1.46238e-08 9.26471e-09 -5.2411e-09 3.04196e-09 -2.12284e-09 2.09518e-09 -2.96251e-09 3.85771e-09 -5.09894e-09 6.12988e-09 -7.09728e-09 7.87254e-09 -8.55304e-09 9.07456e-09 -9.51975e-09 9.84921e-09 -1.00876e-08 1.02067e-08 -1.02188e-08 1.01262e-08 -9.92696e-09 9.65228e-09 -9.28797e-09 8.88493e-09 -8.41413e-09 7.94016e-09 -7.42176e-09 6.92475e-09 -6.40371e-09 5.91914e-09 -5.42483e-09 4.9737e-09 -4.52097e-09 4.11268e-09 -3.70517e-09 3.3389e-09 -2.97356e-09 2.64393e-09 -2.31432e-09 2.01576e-09 -1.23531e-08 3.20208e-08 -4.69595e-08 5.68427e-08 -7.82335e-08 8.8548e-08 -9.83341e-08 1.05285e-07 -1.07883e-07 1.04339e-07 -9.91015e-08 9.13512e-08 -7.88133e-08 6.83784e-08 -5.26465e-08 3.98684e-08 -3.00111e-08 2.11436e-08 -1.31143e-08 7.58324e-09 -3.47854e-09 1.39076e-09 -7.02902e-10 9.54149e-10 -2.18874e-09 3.33568e-09 -4.85513e-09 6.06162e-09 -7.16001e-09 8.03627e-09 -8.78932e-09 9.37031e-09 -9.88953e-09 1.02915e-08 -1.06004e-08 1.07884e-08 -1.08572e-08 1.08073e-08 -1.06361e-08 1.03736e-08 -1.00107e-08 9.60102e-09 -9.11696e-09 8.62458e-09 -8.0841e-09 7.56213e-09 -7.01331e-09 6.49809e-09 -5.96969e-09 5.48371e-09 -4.99132e-09 4.54281e-09 -4.09147e-09 3.68199e-09 -3.2709e-09 2.89814e-09 -2.52315e-09 2.18386e-09 -1.15106e-08 3.18253e-08 -4.72977e-08 5.63703e-08 -7.87351e-08 8.91957e-08 -9.90519e-08 1.06757e-07 -1.09625e-07 1.05885e-07 -1.0067e-07 9.27979e-08 -8.01082e-08 6.93875e-08 -5.23882e-08 3.89597e-08 -2.92687e-08 1.99618e-08 -1.14254e-08 5.69195e-09 -1.46629e-09 -4.5946e-10 8.4433e-10 -2.91442e-10 -1.33526e-09 2.77748e-09 -4.62946e-09 6.03607e-09 -7.26474e-09 8.24048e-09 -9.07294e-09 9.70751e-09 -1.03012e-08 1.07904e-08 -1.11901e-08 1.14563e-08 -1.16026e-08 1.15988e-08 -1.14592e-08 1.12108e-08 -1.08451e-08 1.04203e-08 -9.91351e-09 9.39429e-09 -8.82199e-09 8.26793e-09 -7.68167e-09 7.12996e-09 -6.56028e-09 6.03406e-09 -5.49716e-09 5.00533e-09 -4.50752e-09 4.05322e-09 -3.59473e-09 3.17707e-09 -2.75578e-09 2.37291e-09 -1.05025e-08 3.16086e-08 -4.77009e-08 5.57975e-08 -7.9243e-08 8.98437e-08 -9.97939e-08 1.08376e-07 -1.11557e-07 1.07647e-07 -1.02306e-07 9.43817e-08 -8.1728e-08 7.05627e-08 -5.19833e-08 3.78926e-08 -2.85995e-08 1.87241e-08 -9.53384e-09 3.54225e-09 8.07786e-10 -2.49731e-09 2.60409e-09 -1.68097e-09 -4.00548e-10 2.20634e-09 -4.43852e-09 6.06822e-09 -7.42153e-09 8.51221e-09 -9.40219e-09 1.00805e-08 -1.07611e-08 1.13409e-08 -1.18466e-08 1.22237e-08 -1.24639e-08 1.25197e-08 -1.24159e-08 1.21759e-08 -1.17977e-08 1.13515e-08 -1.08116e-08 1.02551e-08 -9.63998e-09 9.04248e-09 -8.40862e-09 7.8114e-09 -7.19324e-09 6.61937e-09 -6.03212e-09 5.49242e-09 -4.94425e-09 4.44298e-09 -3.9358e-09 3.47309e-09 -3.00583e-09 2.58111e-09 -9.29552e-09 3.13548e-08 -4.81565e-08 5.51009e-08 -7.97055e-08 9.04758e-08 -1.00552e-07 1.10157e-07 -1.13683e-07 1.09693e-07 -1.03858e-07 9.61458e-08 -8.38655e-08 7.18262e-08 -5.13207e-08 3.66511e-08 -2.81345e-08 1.74586e-08 -7.41527e-09 1.04685e-09 3.35837e-09 -4.80146e-09 4.59152e-09 -3.21717e-09 5.26771e-10 1.62066e-09 -4.30014e-09 6.17905e-09 -7.64884e-09 8.86143e-09 -9.77512e-09 1.04739e-08 -1.12465e-08 1.1936e-08 -1.25683e-08 1.30943e-08 -1.34633e-08 1.35949e-08 -1.35228e-08 1.3286e-08 -1.28907e-08 1.24077e-08 -1.18225e-08 1.12145e-08 -1.05448e-08 9.89337e-09 -9.20379e-09 8.55303e-09 -7.87792e-09 7.25119e-09 -6.60841e-09 6.01578e-09 -5.41271e-09 4.85988e-09 -4.30079e-09 3.79111e-09 -3.27701e-09 2.81047e-09 -7.8435e-09 3.10495e-08 -4.86799e-08 5.42451e-08 -8.00514e-08 9.10879e-08 -1.01362e-07 1.12128e-07 -1.16062e-07 1.12066e-07 -1.05096e-07 9.83582e-08 -8.67595e-08 7.28619e-08 -5.01955e-08 3.52483e-08 -2.78921e-08 1.62173e-08 -5.04153e-09 -1.77549e-09 6.2593e-09 -7.36484e-09 6.84788e-09 -4.9063e-09 1.56367e-09 1.02592e-09 -4.23035e-09 6.38513e-09 -7.96457e-09 9.32153e-09 -1.01968e-08 1.08755e-08 -1.17701e-08 1.25739e-08 -1.33537e-08 1.4101e-08 -1.46498e-08 1.48589e-08 -1.48181e-08 1.45721e-08 -1.4139e-08 1.36088e-08 -1.29594e-08 1.22873e-08 -1.15472e-08 1.08291e-08 -1.00697e-08 9.35587e-09 -8.61875e-09 7.93493e-09 -7.23452e-09 6.58988e-09 -5.93385e-09 5.33111e-09 -4.71894e-09 4.15876e-09 -3.59127e-09 3.07471e-09 -6.07156e-09 3.06583e-08 -4.92888e-08 5.31352e-08 -8.0129e-08 9.16408e-08 -1.02227e-07 1.14274e-07 -1.18782e-07 1.14582e-07 -1.06002e-07 1.01504e-07 -9.01702e-08 7.30335e-08 -4.834e-08 3.37931e-08 -2.80662e-08 1.50744e-08 -2.26504e-09 -4.99787e-09 9.51478e-09 -1.01709e-08 9.4038e-09 -6.73922e-09 2.64539e-09 4.6423e-10 -4.27058e-09 6.72251e-09 -8.39075e-09 9.90359e-09 -1.06529e-08 1.12601e-08 -1.23208e-08 1.32472e-08 -1.41944e-08 1.52893e-08 -1.60997e-08 1.63885e-08 -1.63394e-08 1.60593e-08 -1.55707e-08 1.49711e-08 -1.42373e-08 1.34785e-08 -1.2652e-08 1.18542e-08 -1.10157e-08 1.02289e-08 -9.41714e-09 8.6669e-09 -7.89923e-09 7.19369e-09 -6.47632e-09 5.81861e-09 -5.15115e-09 4.53988e-09 -3.92145e-09 3.35762e-09 -3.85265e-09 3.01327e-08 -5.00355e-08 5.16084e-08 -7.97097e-08 9.21108e-08 -1.03158e-07 1.16618e-07 -1.21926e-07 1.17043e-07 -1.07172e-07 1.05571e-07 -9.31464e-08 7.2306e-08 -4.60155e-08 3.27894e-08 -2.90132e-08 1.40433e-08 1.05887e-09 -8.60388e-09 1.34247e-08 -1.33847e-08 1.21153e-08 -8.77628e-09 3.72434e-09 3.82844e-11 -4.52276e-09 7.26843e-09 -9.02857e-09 1.06608e-08 -1.11005e-08 1.16589e-08 -1.30069e-08 1.39788e-08 -1.51112e-08 1.68396e-08 -1.81067e-08 1.83943e-08 -1.82021e-08 1.78002e-08 -1.72072e-08 1.65086e-08 -1.56661e-08 1.48017e-08 -1.38693e-08 1.29728e-08 -1.2036e-08 1.11671e-08 -1.02755e-08 9.45126e-09 -8.60642e-09 7.82676e-09 -7.03278e-09 6.30717e-09 -5.57641e-09 4.91363e-09 -4.24854e-09 3.64821e-09 -8.90821e-10 2.93951e-08 -5.10116e-08 4.93017e-08 -7.83509e-08 9.24983e-08 -1.04184e-07 1.19217e-07 -1.25478e-07 1.19651e-07 -1.08781e-07 1.09355e-07 -9.57815e-08 7.26464e-08 -4.48526e-08 3.34954e-08 -3.08686e-08 1.33468e-08 4.01353e-09 -1.2163e-08 1.80127e-08 -1.74693e-08 1.51604e-08 -1.10207e-08 5.25349e-09 -6.07019e-10 -4.8053e-09 7.94736e-09 -9.79011e-09 1.14893e-08 -1.15363e-08 1.2275e-08 -1.4045e-08 1.47985e-08 -1.62835e-08 1.93291e-08 -2.13357e-08 2.12894e-08 -2.05965e-08 1.98812e-08 -1.90961e-08 1.82657e-08 -1.72817e-08 1.62634e-08 -1.51866e-08 1.41649e-08 -1.31258e-08 1.21745e-08 -1.12061e-08 1.03167e-08 -9.4066e-09 8.56776e-09 -7.71131e-09 6.92458e-09 -6.12698e-09 5.3994e-09 -4.66593e-09 4.00171e-09 2.22721e-09 2.82834e-08 -5.23469e-08 4.52124e-08 -7.49099e-08 9.2852e-08 -1.0533e-07 1.22e-07 -1.29458e-07 1.2257e-07 -1.09769e-07 1.1245e-07 -1.00328e-07 7.58817e-08 -4.62967e-08 3.61661e-08 -3.25651e-08 1.16909e-08 9.06326e-09 -1.71757e-08 2.2305e-08 -2.11894e-08 1.88778e-08 -1.3237e-08 6.10698e-09 -6.3602e-10 -5.47939e-09 8.93092e-09 -1.08164e-08 1.25152e-08 -1.22499e-08 1.36493e-08 -1.56994e-08 1.56157e-08 -1.75646e-08 2.23892e-08 -2.52552e-08 2.46187e-08 -2.33594e-08 2.22853e-08 -2.11898e-08 2.01974e-08 -1.90764e-08 1.78829e-08 -1.66572e-08 1.55072e-08 -1.43479e-08 1.32934e-08 -1.22255e-08 1.12529e-08 -1.02692e-08 9.37009e-09 -8.4556e-09 7.6119e-09 -6.74855e-09 5.95033e-09 -5.13661e-09 4.39136e-09 6.64029e-09 2.64984e-08 -5.42564e-08 3.68972e-08 -6.67243e-08 9.34939e-08 -1.06771e-07 1.24772e-07 -1.34022e-07 1.25232e-07 -1.09363e-07 1.16097e-07 -1.06966e-07 7.90429e-08 -4.81572e-08 3.77807e-08 -3.10761e-08 9.15704e-09 1.50169e-08 -2.36041e-08 2.89797e-08 -2.56994e-08 2.25387e-08 -1.66736e-08 8.58815e-09 -8.55135e-10 -6.18272e-09 9.62094e-09 -1.19209e-08 1.3636e-08 -1.37685e-08 1.62996e-08 -1.74647e-08 1.53622e-08 -1.67051e-08 2.21353e-08 -2.58462e-08 2.55637e-08 -2.53682e-08 2.48615e-08 -2.35519e-08 2.23066e-08 -2.10247e-08 1.95665e-08 -1.81086e-08 1.6785e-08 -1.55099e-08 1.43865e-08 -1.32476e-08 1.21978e-08 -1.11186e-08 1.01213e-08 -9.10344e-09 8.17124e-09 -7.22809e-09 6.369e-09 -5.50604e-09 4.72476e-09 1.3082e-08 2.3741e-08 -5.67481e-08 2.01185e-08 -4.86363e-08 9.45435e-08 -1.09186e-07 1.2741e-07 -1.39051e-07 1.26326e-07 -1.05693e-07 1.16344e-07 -1.07989e-07 7.45731e-08 -4.48306e-08 3.33093e-08 -2.15576e-08 3.14372e-09 2.28042e-08 -2.97787e-08 3.39224e-08 -3.05753e-08 2.72357e-08 -1.96178e-08 9.58874e-09 -3.30825e-10 -6.58008e-09 1.11003e-08 -1.39934e-08 1.56592e-08 -1.68402e-08 1.93329e-08 -1.81373e-08 1.42758e-08 -1.57461e-08 2.0273e-08 -2.20792e-08 2.16332e-08 -2.5038e-08 2.78082e-08 -2.69402e-08 2.5189e-08 -2.3569e-08 2.16065e-08 -1.9769e-08 1.82736e-08 -1.69529e-08 1.58374e-08 -1.46804e-08 1.35754e-08 -1.23964e-08 1.12764e-08 -1.01133e-08 9.03876e-09 -7.95348e-09 6.97123e-09 -5.99243e-09 5.11616e-09 2.08618e-08 2.0043e-08 -5.81566e-08 -4.49569e-09 -6.22291e-09 8.93499e-08 -1.13414e-07 1.30025e-07 -1.43144e-07 1.22212e-07 -9.07375e-08 9.89527e-08 -8.53226e-08 5.13623e-08 -3.28705e-08 2.20921e-08 -5.6081e-09 -9.01985e-09 3.4053e-08 -3.85527e-08 4.22459e-08 -3.69996e-08 3.17739e-08 -2.4425e-08 1.38125e-08 -2.80431e-09 -5.86279e-09 1.27523e-08 -1.59738e-08 1.93766e-08 -2.23764e-08 2.32354e-08 -2.04357e-08 1.93202e-08 -2.3709e-08 2.44319e-08 -1.90531e-08 1.482e-08 -2.23799e-08 3.13876e-08 -3.16181e-08 2.89334e-08 -2.67426e-08 2.41934e-08 -2.19089e-08 2.03008e-08 -1.90104e-08 1.79796e-08 -1.68805e-08 1.57811e-08 -1.45524e-08 1.33328e-08 -1.2014e-08 1.07438e-08 -9.40742e-09 8.15711e-09 -6.87726e-09 5.71214e-09 2.60326e-08 1.31742e-08 -5.67831e-08 9.45808e-09 -1.3105e-08 8.33093e-08 -1.18128e-07 1.28991e-07 -1.39471e-07 1.04896e-07 -6.60918e-08 5.6791e-08 -1.36435e-08 5.75259e-09 -1.72498e-08 -4.93784e-09 1.54396e-08 -2.36569e-08 4.93461e-08 -4.77472e-08 4.71217e-08 -4.19542e-08 3.71039e-08 -2.95505e-08 1.73704e-08 -6.56223e-09 -5.30057e-09 1.72753e-08 -2.13197e-08 2.70142e-08 -2.90554e-08 2.78567e-08 -2.88587e-08 3.52981e-08 -3.96289e-08 3.44269e-08 -2.24797e-08 1.41519e-08 -2.33401e-08 3.68679e-08 -3.76129e-08 3.33986e-08 -3.02946e-08 2.73498e-08 -2.47003e-08 2.32472e-08 -2.22443e-08 2.13835e-08 -2.02902e-08 1.90356e-08 -1.75349e-08 1.60059e-08 -1.43358e-08 1.272e-08 -1.10134e-08 9.40708e-09 -7.75833e-09 6.2557e-09 2.54324e-08 -5.96056e-09 -3.56583e-08 4.18069e-08 -3.78857e-08 8.31306e-08 -1.06777e-07 1.01913e-07 -1.05709e-07 8.48827e-08 -4.15497e-08 5.61994e-10 5.38074e-09 -3.51663e-08 4.87919e-08 -3.0678e-08 4.6595e-08 -5.21397e-08 6.11857e-08 -5.6373e-08 5.74466e-08 -5.14361e-08 4.31726e-08 -3.4622e-08 2.3408e-08 -1.19194e-08 -7.98593e-09 2.53909e-08 -2.95761e-08 3.57119e-08 -3.4211e-08 3.4075e-08 -4.49869e-08 5.69602e-08 -5.4131e-08 4.52148e-08 -3.32059e-08 2.69761e-08 -3.48716e-08 4.65647e-08 -4.58914e-08 3.92982e-08 -3.52387e-08 3.31188e-08 -3.08736e-08 2.95963e-08 -2.86134e-08 2.74304e-08 -2.56523e-08 2.35205e-08 -2.10188e-08 1.85917e-08 -1.61098e-08 1.38796e-08 -1.16896e-08 9.76076e-09 -7.88572e-09 6.24879e-09 2.19098e-08 -5.24529e-08 1.57734e-08 5.86185e-08 -6.33903e-08 5.54777e-08 -3.72727e-08 -2.02852e-09 4.51312e-08 -6.13303e-08 3.17865e-07 -4.58288e-07 2.17379e-07 -5.90615e-08 5.46095e-08 -7.18159e-08 6.64466e-08 -6.18833e-08 8.85169e-08 -7.11686e-08 6.24908e-08 -5.5357e-08 4.82584e-08 -4.14559e-08 3.07059e-08 -1.8828e-08 -8.92204e-09 3.11513e-08 -3.10807e-08 3.52045e-08 -3.56975e-08 3.90371e-08 -5.78978e-08 7.43663e-08 -6.44397e-08 5.36221e-08 -4.64534e-08 4.31446e-08 -4.01529e-08 4.49488e-08 -5.03459e-08 4.51275e-08 -4.19238e-08 4.27628e-08 -4.25451e-08 4.09576e-08 -3.86978e-08 3.62173e-08 -3.30034e-08 2.93752e-08 -2.52423e-08 2.13686e-08 -1.75946e-08 1.44214e-08 -1.15467e-08 9.23254e-09 -7.17952e-09 5.53097e-09 2.3936e-08 -9.05734e-08 4.6215e-08 7.56507e-08 -7.06939e-08 -1.23527e-08 8.28848e-08 -7.51788e-08 -4.86539e-08 2.80363e-08 1.44361e-07 -3.26305e-07 4.18474e-07 -2.74081e-07 1.18905e-07 -7.94212e-08 1.06607e-07 -1.1053e-07 9.2944e-08 -7.87401e-08 7.44789e-08 -6.45626e-08 5.63114e-08 -4.66561e-08 3.70922e-08 -3.66358e-08 -1.67463e-10 3.4804e-08 -2.88143e-08 3.05742e-08 -3.65116e-08 2.87015e-08 -2.98096e-08 6.10754e-08 -6.29874e-08 5.21574e-08 -5.42033e-08 5.36975e-08 -4.31259e-08 4.12985e-08 -4.83689e-08 5.01692e-08 -5.08374e-08 5.38308e-08 -5.54896e-08 5.38415e-08 -5.02719e-08 4.66353e-08 -4.25058e-08 3.77653e-08 -3.19937e-08 2.63657e-08 -2.08129e-08 1.61827e-08 -1.20908e-08 8.92289e-09 -6.25716e-09 4.25463e-09 1.5691e-08 -1.03681e-07 7.4234e-08 5.05931e-08 2.48326e-09 -1.19814e-07 -3.78345e-08 1.18977e-07 6.16565e-07 -1.13906e-06 3.07321e-07 -3.58867e-07 4.22231e-07 -3.51178e-07 2.51935e-07 -1.67386e-07 1.41547e-07 -1.44466e-07 1.20866e-07 -9.30986e-08 7.22767e-08 -6.92501e-08 6.16234e-08 -5.48036e-08 6.26059e-08 -8.02519e-08 1.9797e-08 3.54179e-08 -2.27664e-08 2.43717e-08 -3.01507e-08 1.11739e-08 -3.07626e-10 3.15002e-08 -5.63106e-08 5.60994e-08 -6.447e-08 6.7167e-08 -5.85731e-08 4.87073e-08 -5.39248e-08 6.30374e-08 -6.78771e-08 6.85445e-08 -6.61148e-08 6.18209e-08 -5.76776e-08 5.54995e-08 -5.40601e-08 5.0282e-08 -4.33605e-08 3.55315e-08 -2.74607e-08 2.06303e-08 -1.45096e-08 9.81829e-09 -5.83755e-09 2.61509e-09 -4.76483e-10 -6.21896e-08 2.17245e-08 7.51609e-10 1.05211e-07 2.07972e-07 -1.02057e-06 5.48987e-07 2.83628e-07 -1.15942e-06 1.09289e-06 -6.4885e-07 4.87642e-07 -4.17772e-07 3.50373e-07 -2.70413e-07 1.46849e-07 -1.09354e-07 1.21307e-07 -1.02102e-07 1.00447e-07 -7.71169e-08 6.31135e-08 -7.22189e-08 9.12671e-08 -8.31691e-08 3.86284e-08 7.06773e-09 -2.13587e-08 2.4181e-08 -4.12559e-08 4.96645e-08 -4.75619e-08 3.63799e-08 -4.69571e-08 6.15085e-08 -7.34474e-08 9.71629e-08 -1.06945e-07 8.88312e-08 -7.48008e-08 8.07966e-08 -8.32987e-08 7.72942e-08 -6.53084e-08 5.51419e-08 -5.01713e-08 4.86462e-08 -4.83333e-08 4.78926e-08 -4.49648e-08 3.9493e-08 -3.19387e-08 2.35799e-08 -1.45478e-08 6.36038e-09 5.60817e-10 -5.4705e-09 -4.17359e-08 8.27882e-08 -6.06321e-08 -1.97444e-07 -1.64202e-07 1.27424e-06 -1.35159e-06 7.9064e-07 6.07339e-07 -2.14921e-06 2.01359e-06 -1.20383e-06 7.35886e-07 -4.37584e-07 3.5647e-07 -3.37591e-07 2.48943e-07 -1.78241e-07 1.62454e-07 -1.05575e-07 9.70488e-08 -9.5834e-08 7.67257e-08 -8.97087e-08 8.95038e-08 -2.7841e-08 -1.96969e-09 6.39273e-09 -2.91138e-08 4.11907e-08 -6.74219e-08 9.20682e-08 -1.16851e-07 8.13444e-08 -7.06711e-08 8.91751e-08 -1.09616e-07 1.37555e-07 -1.33252e-07 1.18119e-07 -1.10383e-07 1.10368e-07 -1.02111e-07 8.38135e-08 -7.58789e-08 6.94545e-08 -6.56136e-08 6.7105e-08 -7.46638e-08 7.64325e-08 -6.60318e-08 5.09164e-08 -3.71845e-08 2.38847e-08 -1.13321e-08 1.61923e-09 7.7502e-09 -1.38001e-08 -3.55431e-08 8.37381e-09 1.6879e-07 1.73071e-07 -9.18307e-07 1.04183e-06 -7.32986e-07 5.50566e-07 3.32229e-07 -1.33393e-06 1.21637e-06 -1.19037e-06 6.0518e-07 -6.5394e-07 3.16704e-07 -3.17094e-07 2.90389e-07 -2.01952e-07 1.96346e-07 -1.29998e-07 5.86539e-08 -7.06826e-08 6.72157e-08 -7.05026e-08 3.54222e-08 7.51636e-09 4.86129e-09 -3.04266e-08 -2.48926e-08 6.01158e-08 -7.85934e-08 1.12891e-07 -1.34106e-07 1.49445e-07 -1.6947e-07 2.53122e-07 -3.51748e-07 2.591e-07 -2.2256e-07 2.26331e-07 -2.30952e-07 2.08526e-07 -1.7681e-07 1.57133e-07 -1.38396e-07 1.24891e-07 -1.05673e-07 8.12486e-08 -5.37347e-08 3.38361e-08 -2.30359e-08 1.54304e-08 -1.58004e-09 -1.98313e-08 4.90113e-08 -7.83564e-08 1.04333e-07 -1.23498e-07 -1.18255e-07 1.35527e-06 -1.43252e-06 1.02555e-06 -8.4177e-07 5.97039e-07 -2.91246e-07 3.12022e-07 -1.82378e-07 -4.74541e-07 9.18978e-07 -1.13704e-06 1.08583e-06 -7.75812e-07 4.56434e-07 -2.90001e-07 3.06208e-07 -1.8119e-07 1.09527e-07 -1.78573e-07 1.46334e-07 -7.67865e-08 4.56978e-08 -5.18054e-09 -6.60398e-08 8.80733e-08 -2.81297e-08 -1.60592e-08 -2.34969e-09 2.57305e-08 -1.70947e-07 3.05139e-07 -3.2288e-07 3.98745e-07 -4.92535e-07 4.60166e-07 -4.2937e-07 4.39691e-07 -4.23996e-07 3.91086e-07 -3.6553e-07 3.36206e-07 -3.00199e-07 2.62406e-07 -2.19391e-07 1.8229e-07 -1.46943e-07 1.14484e-07 -8.07415e-08 5.0314e-08 -2.04865e-08 -7.78262e-09 4.15385e-08 -8.10906e-08 1.3254e-07 -1.88169e-07 2.48464e-07 -3.01137e-07 -1.08998e-09 9.81402e-10 -8.72754e-10 7.53622e-10 -6.37104e-10 5.14019e-10 -3.99328e-10 2.84839e-10 -1.8625e-10 9.80261e-11 -3.47189e-11 -3.99686e-12 8.415e-12 2.75572e-11 -1.06382e-10 2.43119e-10 -4.29532e-10 6.9668e-10 -1.02366e-09 1.4558e-09 -1.96056e-09 2.60361e-09 -3.33591e-09 4.24917e-09 -5.26503e-09 6.50635e-09 -7.8587e-09 9.47674e-09 -1.1202e-08 1.32285e-08 -1.5356e-08 1.78142e-08 -2.03395e-08 2.32604e-08 -2.61722e-08 2.93584e-08 -3.22393e-08 3.47652e-08 -3.63186e-08 3.62257e-08 -3.38702e-08 2.8027e-08 -1.94081e-08 7.57016e-09 5.39174e-09 -2.05011e-08 3.44087e-08 -4.91443e-08 6.049e-08 -7.02225e-08 7.5393e-08 -7.73066e-08 7.47435e-08 -6.95476e-08 6.12197e-08 -5.26918e-08 4.1333e-08 -3.29115e-08 2.30714e-08 -1.10842e-08 -1.2699e-09 1.10583e-09 -9.42352e-10 7.65179e-10 -5.95861e-10 4.21265e-10 -2.638e-10 1.13286e-10 8.53555e-12 -1.06358e-10 1.63496e-10 -1.7833e-10 1.42323e-10 -4.53343e-11 -1.06227e-10 3.37248e-10 -6.28976e-10 1.01705e-09 -1.46883e-09 2.0397e-09 -2.68015e-09 3.4657e-09 -4.32834e-09 5.3684e-09 -6.48299e-09 7.79442e-09 -9.16358e-09 1.07217e-08 -1.22855e-08 1.39852e-08 -1.55971e-08 1.72382e-08 -1.86473e-08 1.99678e-08 -2.08657e-08 2.13426e-08 -2.10188e-08 1.9464e-08 -1.648e-08 1.10946e-08 -3.61406e-09 -6.85256e-09 1.85665e-08 -3.21689e-08 4.5666e-08 -6.02393e-08 7.23261e-08 -8.45094e-08 9.26828e-08 -9.86569e-08 9.9927e-08 -9.775e-08 9.13552e-08 -8.22415e-08 7.05069e-08 -5.83359e-08 4.39038e-08 -3.31764e-08 2.10055e-08 -8.89338e-09 -1.32204e-09 9.13965e-10 -5.08184e-10 6.37733e-11 3.69458e-10 -8.31408e-10 1.26981e-09 -1.72407e-09 2.14203e-09 -2.56095e-09 2.93327e-09 -3.29313e-09 3.6009e-09 -3.88615e-09 4.11876e-09 -4.3211e-09 4.47114e-09 -4.58064e-09 4.63301e-09 -4.62812e-09 4.55901e-09 -4.40925e-09 4.17661e-09 -3.82824e-09 3.39059e-09 -2.80206e-09 2.13377e-09 -1.3184e-09 4.4808e-10 5.1221e-10 -1.44345e-09 2.37759e-09 -3.12094e-09 3.68183e-09 -3.77961e-09 3.32029e-09 -2.02568e-09 -4.70892e-10 4.22091e-09 -9.84417e-09 1.66395e-08 -2.53728e-08 3.45982e-08 -4.54452e-08 5.64704e-08 -6.85652e-08 7.85392e-08 -8.89316e-08 9.55928e-08 -1.00264e-07 1.00487e-07 -9.74097e-08 9.03018e-08 -8.05503e-08 6.83562e-08 -5.57661e-08 4.10658e-08 -3.02768e-08 1.83756e-08 -7.12064e-09 -1.35657e-09 9.56186e-10 -5.57045e-10 1.17858e-10 3.14332e-10 -7.81409e-10 1.23366e-09 -1.71425e-09 2.17159e-09 -2.65058e-09 3.10083e-09 -3.56851e-09 4.00553e-09 -4.45712e-09 4.87704e-09 -5.30867e-09 5.70583e-09 -6.10785e-09 6.46621e-09 -6.81183e-09 7.10146e-09 -7.34907e-09 7.51907e-09 -7.6185e-09 7.62022e-09 -7.51156e-09 7.30083e-09 -6.9621e-09 6.53555e-09 -5.99295e-09 5.42901e-09 -4.81886e-09 4.30816e-09 -3.94746e-09 3.9786e-09 -4.496e-09 5.78257e-09 -8.07224e-09 1.13712e-08 -1.62099e-08 2.19207e-08 -2.93091e-08 3.7311e-08 -4.7181e-08 5.75824e-08 -6.92591e-08 7.889e-08 -8.91597e-08 9.57209e-08 -1.00283e-07 1.00424e-07 -9.72021e-08 8.9942e-08 -8.00276e-08 6.77192e-08 -5.50248e-08 4.02425e-08 -2.94273e-08 1.77009e-08 -6.59106e-09 -1.39192e-09 1.09362e-09 -7.93674e-10 4.59342e-10 -1.24304e-10 -2.46699e-10 6.17212e-10 -1.02625e-09 1.43319e-09 -1.88089e-09 2.3246e-09 -2.81075e-09 3.28934e-09 -3.80928e-09 4.31493e-09 -4.85563e-09 5.37164e-09 -5.90907e-09 6.40586e-09 -6.90366e-09 7.34109e-09 -7.74666e-09 8.07374e-09 -8.33163e-09 8.48763e-09 -8.54374e-09 8.48803e-09 -8.31199e-09 8.0425e-09 -7.64791e-09 7.20962e-09 -6.70519e-09 6.25942e-09 -5.90836e-09 5.91039e-09 -6.29403e-09 7.4047e-09 -9.40242e-09 1.23711e-08 -1.67997e-08 2.2139e-08 -2.9262e-08 3.71627e-08 -4.70273e-08 5.75686e-08 -6.94941e-08 7.92028e-08 -8.96673e-08 9.63513e-08 -1.00906e-07 1.01033e-07 -9.76802e-08 9.02591e-08 -8.01625e-08 6.77296e-08 -5.49017e-08 4.00282e-08 -2.91659e-08 1.75429e-08 -6.39999e-09 -1.44348e-09 1.20357e-09 -9.6139e-10 6.88371e-10 -4.09128e-10 9.16905e-11 2.35035e-10 -6.08223e-10 9.92825e-10 -1.4317e-09 1.88057e-09 -2.38757e-09 2.90007e-09 -3.46742e-09 4.02835e-09 -4.63605e-09 5.21933e-09 -5.82965e-09 6.39486e-09 -6.96092e-09 7.45583e-09 -7.91934e-09 8.29147e-09 -8.58841e-09 8.7715e-09 -8.84345e-09 8.79434e-09 -8.61896e-09 8.33848e-09 -7.93818e-09 7.48005e-09 -6.94311e-09 6.45333e-09 -6.00596e-09 5.90569e-09 -6.1055e-09 7.04379e-09 -8.83673e-09 1.16379e-08 -1.59533e-08 2.12928e-08 -2.85561e-08 3.66765e-08 -4.67305e-08 5.758e-08 -6.9888e-08 7.97186e-08 -9.04249e-08 9.72666e-08 -1.01792e-07 1.0189e-07 -9.83699e-08 9.07458e-08 -8.04198e-08 6.78403e-08 -5.48461e-08 3.98678e-08 -2.89653e-08 1.74398e-08 -6.23924e-09 -1.5165e-09 1.28077e-09 -1.04165e-09 7.70747e-10 -4.92346e-10 1.73791e-10 1.57129e-10 -5.38469e-10 9.35424e-10 -1.39169e-09 1.86315e-09 -2.39879e-09 2.94248e-09 -3.54758e-09 4.14696e-09 -4.79625e-09 5.42049e-09 -6.07243e-09 6.6751e-09 -7.27605e-09 7.80248e-09 -8.28666e-09 8.66482e-09 -8.95789e-09 9.12087e-09 -9.16124e-09 9.07064e-09 -8.83333e-09 8.48996e-09 -8.01164e-09 7.48069e-09 -6.85142e-09 6.25822e-09 -5.65947e-09 5.41395e-09 -5.39304e-09 6.15458e-09 -7.77808e-09 1.04745e-08 -1.4779e-08 2.02259e-08 -2.77243e-08 3.6129e-08 -4.63931e-08 5.76235e-08 -7.03952e-08 8.03621e-08 -9.13424e-08 9.83809e-08 -1.02861e-07 1.02917e-07 -9.91961e-08 9.13282e-08 -8.0722e-08 6.79714e-08 -5.47773e-08 3.96743e-08 -2.87403e-08 1.7312e-08 -6.0459e-09 -1.6071e-09 1.34402e-09 -1.07773e-09 7.76546e-10 -4.6848e-10 1.17743e-10 2.44183e-10 -6.58339e-10 1.08676e-09 -1.57606e-09 2.07844e-09 -2.64675e-09 3.22131e-09 -3.85907e-09 4.49015e-09 -5.17372e-09 5.82809e-09 -6.51367e-09 7.14435e-09 -7.7733e-09 8.31457e-09 -8.81167e-09 9.18913e-09 -9.46704e-09 9.60291e-09 -9.58909e-09 9.42536e-09 -9.10909e-09 8.6776e-09 -8.10093e-09 7.46667e-09 -6.71064e-09 5.99315e-09 -5.19518e-09 4.78241e-09 -4.50586e-09 5.06957e-09 -6.51974e-09 9.11951e-09 -1.34414e-08 1.90286e-08 -2.68021e-08 3.55255e-08 -4.59999e-08 5.76853e-08 -7.10198e-08 8.11412e-08 -9.24224e-08 9.97102e-08 -1.04127e-07 1.0413e-07 -1.00173e-07 9.20176e-08 -8.10742e-08 6.81273e-08 -5.46969e-08 3.94445e-08 -2.84841e-08 1.71494e-08 -5.80919e-09 -1.71542e-09 1.41264e-09 -1.10659e-09 7.62245e-10 -4.12515e-10 1.72998e-11 3.86779e-10 -8.44975e-10 1.31387e-09 -1.84498e-09 2.38517e-09 -2.99138e-09 3.60144e-09 -4.2771e-09 4.94231e-09 -5.6611e-09 6.35227e-09 -7.07288e-09 7.73546e-09 -8.39068e-09 8.95332e-09 -9.46079e-09 9.83469e-09 -1.00945e-08 1.01886e-08 -1.01106e-08 9.86419e-09 -9.44153e-09 8.91027e-09 -8.21202e-09 7.46624e-09 -6.56692e-09 5.70495e-09 -4.66667e-09 4.06729e-09 -3.49392e-09 3.82563e-09 -5.08468e-09 7.57562e-09 -1.19314e-08 1.7683e-08 -2.57778e-08 3.48586e-08 -4.55297e-08 5.77461e-08 -7.17617e-08 8.20527e-08 -9.36464e-08 1.01243e-07 -1.05581e-07 1.05512e-07 -1.01285e-07 9.27998e-08 -8.14596e-08 6.82935e-08 -5.45926e-08 3.91687e-08 -2.81874e-08 1.69458e-08 -5.52519e-09 -1.84163e-09 1.49627e-09 -1.14814e-09 7.58166e-10 -3.62808e-10 -8.16548e-11 5.32867e-10 -1.04048e-09 1.5558e-09 -2.13453e-09 2.71925e-09 -3.37189e-09 4.02547e-09 -4.74638e-09 5.45449e-09 -6.22133e-09 6.95606e-09 -7.72187e-09 8.42668e-09 -9.12053e-09 9.71154e-09 -1.02332e-08 1.06072e-08 -1.08419e-08 1.08892e-08 -1.07292e-08 1.03765e-08 -9.83203e-09 9.18321e-09 -8.36158e-09 7.48353e-09 -6.43098e-09 5.40825e-09 -4.08918e-09 3.27503e-09 -2.35005e-09 2.41231e-09 -3.45385e-09 5.81552e-09 -1.0227e-08 1.61717e-08 -2.46508e-08 3.41381e-08 -4.49728e-08 5.7797e-08 -7.26412e-08 8.31144e-08 -9.5011e-08 1.02984e-07 -1.07232e-07 1.07066e-07 -1.02537e-07 9.36767e-08 -8.18735e-08 6.84686e-08 -5.44629e-08 3.88456e-08 -2.78462e-08 1.66966e-08 -5.1905e-09 -1.98674e-09 1.59741e-09 -1.20544e-09 7.66587e-10 -3.23965e-10 -1.70747e-10 6.70936e-10 -1.23073e-09 1.79529e-09 -2.42699e-09 3.06249e-09 -3.76862e-09 4.47504e-09 -5.25152e-09 6.0156e-09 -6.84098e-09 7.63273e-09 -8.46042e-09 9.21899e-09 -9.96522e-09 1.05964e-08 -1.114e-08 1.15171e-08 -1.17262e-08 1.17193e-08 -1.14662e-08 1.09788e-08 -1.02791e-08 9.49448e-09 -8.53258e-09 7.52417e-09 -6.31025e-09 5.11491e-09 -3.47744e-09 2.40661e-09 -1.07548e-09 8.14906e-10 -1.60065e-09 3.81165e-09 -8.30852e-09 1.44813e-08 -2.34299e-08 3.3388e-08 -4.43268e-08 5.78327e-08 -7.36979e-08 8.43686e-08 -9.6526e-08 1.04954e-07 -1.09115e-07 1.08815e-07 -1.0395e-07 9.46681e-08 -8.23265e-08 6.86629e-08 -5.43149e-08 3.84799e-08 -2.74615e-08 1.64015e-08 -4.80203e-09 -2.15264e-09 1.72062e-09 -1.28608e-09 7.99847e-10 -3.10288e-10 -2.36252e-10 7.87444e-10 -1.40261e-09 2.02228e-09 -2.71298e-09 3.40687e-09 -4.17653e-09 4.94461e-09 -5.78936e-09 6.62143e-09 -7.52157e-09 8.38674e-09 -9.29219e-09 1.01265e-08 -1.0943e-08 1.16265e-08 -1.22047e-08 1.25934e-08 -1.27712e-08 1.27005e-08 -1.23286e-08 1.16755e-08 -1.07769e-08 9.84665e-09 -8.74555e-09 7.58961e-09 -6.21491e-09 4.83979e-09 -2.83611e-09 1.46812e-09 2.97581e-10 -9.17062e-10 4.59016e-10 1.52922e-09 -6.14859e-09 1.25872e-08 -2.21201e-08 3.26346e-08 -4.35723e-08 5.7815e-08 -7.49465e-08 8.58482e-08 -9.81571e-08 1.07121e-07 -1.11242e-07 1.10736e-07 -1.05512e-07 9.57602e-08 -8.2798e-08 6.88612e-08 -5.41362e-08 3.80658e-08 -2.70234e-08 1.60517e-08 -4.35359e-09 -2.34036e-09 1.86687e-09 -1.38996e-09 8.56226e-10 -3.1793e-10 -2.83436e-10 8.89369e-10 -1.56485e-09 2.24387e-09 -2.99939e-09 3.75639e-09 -4.5964e-09 5.43475e-09 -6.36014e-09 7.27256e-09 -8.26342e-09 9.22136e-09 -1.02275e-08 1.11549e-08 -1.20647e-08 1.2824e-08 -1.34544e-08 1.38593e-08 -1.40034e-08 1.38542e-08 -1.33441e-08 1.24714e-08 -1.13166e-08 1.02151e-08 -8.99303e-09 7.68486e-09 -6.15477e-09 4.60513e-09 -2.17772e-09 4.40676e-10 1.81076e-09 -2.87282e-09 2.72396e-09 -1.01565e-09 -3.69939e-09 1.04583e-08 -2.07372e-08 3.19414e-08 -4.26988e-08 5.76886e-08 -7.63947e-08 8.76565e-08 -9.9883e-08 1.09431e-07 -1.13669e-07 1.12822e-07 -1.07228e-07 9.69566e-08 -8.32818e-08 6.90612e-08 -5.3925e-08 3.76033e-08 -2.65259e-08 1.56403e-08 -3.83775e-09 -2.55307e-09 2.0274e-09 -1.49928e-09 9.10844e-10 -3.19922e-10 -3.36231e-10 9.95533e-10 -1.72848e-09 2.4643e-09 -3.28445e-09 4.108e-09 -5.02421e-09 5.94355e-09 -6.9607e-09 7.96884e-09 -9.07035e-09 1.01395e-08 -1.12709e-08 1.23224e-08 -1.33513e-08 1.42174e-08 -1.49204e-08 1.53649e-08 -1.54748e-08 1.52282e-08 -1.45536e-08 1.3388e-08 -1.18799e-08 1.05885e-08 -9.29178e-09 7.82905e-09 -6.15366e-09 4.44539e-09 -1.52934e-09 -5.64265e-10 3.45171e-09 -5.06112e-09 5.28178e-09 -3.84562e-09 -8.79916e-10 8.06224e-09 -1.93058e-08 3.14624e-08 -4.17131e-08 5.73526e-08 -7.79728e-08 9.00049e-08 -1.01778e-07 1.11757e-07 -1.16479e-07 1.15108e-07 -1.09115e-07 9.82804e-08 -8.37831e-08 6.92714e-08 -5.36887e-08 3.70854e-08 -2.59671e-08 1.51626e-08 -3.24602e-09 -2.7885e-09 2.21567e-09 -1.64117e-09 1.00078e-09 -3.58235e-10 -3.54028e-10 1.06885e-09 -1.86433e-09 2.66477e-09 -3.55716e-09 4.45619e-09 -5.45933e-09 6.46627e-09 -7.58748e-09 8.70586e-09 -9.93918e-09 1.11463e-08 -1.24333e-08 1.36416e-08 -1.48262e-08 1.58437e-08 -1.66585e-08 1.71767e-08 -1.72385e-08 1.68755e-08 -1.60482e-08 1.44896e-08 -1.24362e-08 1.09269e-08 -9.66128e-09 8.04071e-09 -6.22376e-09 4.42005e-09 -9.48667e-10 -1.63886e-09 5.24996e-09 -7.58055e-09 8.14222e-09 -6.99922e-09 2.21683e-09 5.37456e-09 -1.78636e-08 3.12221e-08 -4.06623e-08 5.6612e-08 -7.93645e-08 9.30035e-08 -1.04116e-07 1.13946e-07 -1.19612e-07 1.17656e-07 -1.11135e-07 9.97226e-08 -8.42765e-08 6.94749e-08 -5.34157e-08 3.64813e-08 -2.53337e-08 1.46048e-08 -2.56333e-09 -3.04627e-09 2.44047e-09 -1.83026e-09 1.14756e-09 -4.58072e-10 -3.14755e-10 1.09502e-09 -1.96595e-09 2.84154e-09 -3.81533e-09 4.79311e-09 -5.88691e-09 6.99163e-09 -8.23368e-09 9.47779e-09 -1.08652e-08 1.22309e-08 -1.37121e-08 1.51251e-08 -1.65242e-08 1.77849e-08 -1.88261e-08 1.9493e-08 -1.94377e-08 1.88767e-08 -1.79897e-08 1.59641e-08 -1.30114e-08 1.11495e-08 -1.01302e-08 8.41002e-09 -6.45804e-09 4.709e-09 -6.4968e-10 -2.67385e-09 7.2562e-09 -1.04692e-08 1.13276e-08 -1.06197e-08 5.73942e-09 2.3358e-09 -1.64704e-08 3.14338e-08 -3.98308e-08 5.53939e-08 -8.02003e-08 9.62414e-08 -1.0721e-07 1.16239e-07 -1.2287e-07 1.20561e-07 -1.13277e-07 1.01286e-07 -8.47489e-08 6.9667e-08 -5.31063e-08 3.57678e-08 -2.46156e-08 1.39541e-08 -1.76857e-09 -3.33124e-09 2.66058e-09 -1.98822e-09 1.23964e-09 -4.87824e-10 -3.46141e-10 1.18323e-09 -2.11182e-09 3.04265e-09 -4.07933e-09 5.12295e-09 -6.29683e-09 7.49288e-09 -8.85982e-09 1.02488e-08 -1.18311e-08 1.3397e-08 -1.51196e-08 1.67994e-08 -1.8522e-08 2.02514e-08 -2.18629e-08 2.29166e-08 -2.25701e-08 2.14567e-08 -2.05805e-08 1.82149e-08 -1.3861e-08 1.12106e-08 -1.06027e-08 8.94449e-09 -6.93723e-09 5.57295e-09 -7.24291e-10 -3.7902e-09 9.24806e-09 -1.32885e-08 1.50331e-08 -1.50879e-08 9.78049e-09 -1.1621e-09 -1.52088e-08 3.24886e-08 -3.99914e-08 5.43233e-08 -8.10128e-08 9.91636e-08 -1.10618e-07 1.19103e-07 -1.26227e-07 1.23853e-07 -1.15567e-07 1.0298e-07 -8.52012e-08 6.98548e-08 -5.27708e-08 3.49459e-08 -2.38031e-08 1.31959e-08 -8.23921e-10 -3.63945e-09 2.88531e-09 -2.1329e-09 1.30573e-09 -4.89297e-10 -4.03923e-10 1.28644e-09 -2.25831e-09 3.233e-09 -4.32736e-09 5.44379e-09 -6.71666e-09 8.01639e-09 -9.52343e-09 1.10501e-08 -1.28362e-08 1.46063e-08 -1.65933e-08 1.86001e-08 -2.0805e-08 2.33386e-08 -2.6004e-08 2.78338e-08 -2.71076e-08 2.49412e-08 -2.38859e-08 2.14424e-08 -1.54326e-08 1.1359e-08 -1.11394e-08 9.68434e-09 -7.36915e-09 7.03939e-09 -1.78572e-09 -4.20889e-09 1.10352e-08 -1.6741e-08 1.90331e-08 -1.94204e-08 1.4528e-08 -5.3711e-09 -1.4062e-08 3.41917e-08 -4.18316e-08 5.46006e-08 -8.33596e-08 1.02643e-07 -1.13627e-07 1.22191e-07 -1.29786e-07 1.27508e-07 -1.18007e-07 1.04767e-07 -8.56022e-08 7.00204e-08 -5.24021e-08 3.40056e-08 -2.28734e-08 1.23061e-08 1.71408e-10 -3.94232e-09 3.15985e-09 -2.38077e-09 1.51844e-09 -6.60972e-10 -2.83478e-10 1.22628e-09 -2.26992e-09 3.31682e-09 -4.48458e-09 5.66626e-09 -7.00975e-09 8.38534e-09 -1.0032e-08 1.17241e-08 -1.37893e-08 1.58035e-08 -1.80648e-08 2.04145e-08 -2.31787e-08 2.64444e-08 -2.95782e-08 3.14354e-08 -3.01565e-08 2.77668e-08 -2.69473e-08 2.4374e-08 -1.73046e-08 1.17953e-08 -1.14348e-08 1.05514e-08 -7.45384e-09 8.54364e-09 -3.11361e-09 -6.05929e-09 1.41778e-08 -2.03397e-08 2.30007e-08 -2.49989e-08 2.0379e-08 -1.03657e-08 -1.26483e-08 3.44485e-08 -4.34869e-08 5.62607e-08 -8.6948e-08 1.07963e-07 -1.17049e-07 1.25121e-07 -1.33243e-07 1.31449e-07 -1.2072e-07 1.06594e-07 -8.59357e-08 7.01576e-08 -5.20056e-08 3.29425e-08 -2.18031e-08 1.12573e-08 1.02269e-09 -4.24552e-09 3.38165e-09 -2.52396e-09 1.57697e-09 -6.36364e-10 -4.00117e-10 1.43049e-09 -2.56439e-09 3.68562e-09 -4.91634e-09 6.13262e-09 -7.48622e-09 8.862e-09 -1.05588e-08 1.23688e-08 -1.48161e-08 1.71812e-08 -1.97804e-08 2.24625e-08 -2.53789e-08 2.8228e-08 -2.98401e-08 3.01677e-08 -2.86504e-08 2.85984e-08 -2.97058e-08 2.53775e-08 -1.75982e-08 1.28608e-08 -1.20684e-08 1.15231e-08 -7.33354e-09 7.75722e-09 -2.2545e-09 -8.17714e-09 1.74526e-08 -2.49909e-08 2.86902e-08 -3.05435e-08 2.65856e-08 -1.74186e-08 -7.3041e-09 2.67561e-08 -4.13334e-08 5.7399e-08 -8.82648e-08 1.12297e-07 -1.2074e-07 1.28148e-07 -1.35883e-07 1.3499e-07 -1.23875e-07 1.08381e-07 -8.62226e-08 7.0266e-08 -5.15956e-08 3.17563e-08 -2.05634e-08 1.00088e-08 2.04625e-09 -4.54888e-09 3.39905e-09 -2.27444e-09 1.06631e-09 9.0603e-11 -1.3077e-09 2.45577e-09 -3.65186e-09 4.78587e-09 -5.98871e-09 7.15628e-09 -8.43529e-09 9.76589e-09 -1.14438e-08 1.33489e-08 -1.62742e-08 1.89158e-08 -2.18957e-08 2.4852e-08 -2.70394e-08 2.79895e-08 -2.74447e-08 2.87508e-08 -3.1483e-08 3.68265e-08 -4.20757e-08 3.11386e-08 -1.61174e-08 1.35651e-08 -1.33349e-08 1.21659e-08 -7.49783e-09 5.70706e-09 1.892e-09 -1.47694e-08 2.32307e-08 -2.95847e-08 3.44308e-08 -3.78161e-08 3.49271e-08 -2.76882e-08 3.78612e-09 1.41267e-08 -3.53453e-08 5.62443e-08 -8.29058e-08 1.06039e-07 -1.17211e-07 1.26518e-07 -1.33766e-07 1.34773e-07 -1.25922e-07 1.09684e-07 -8.65132e-08 7.02609e-08 -5.11598e-08 3.04326e-08 -1.91072e-08 8.49894e-09 3.23365e-09 -4.75695e-09 3.28454e-09 -1.85896e-09 3.50251e-10 1.06575e-09 -2.51509e-09 3.84582e-09 -5.20554e-09 6.47178e-09 -7.79225e-09 9.03006e-09 -1.02987e-08 1.15503e-08 -1.29702e-08 1.4923e-08 -1.83333e-08 2.11129e-08 -2.50541e-08 2.81063e-08 -2.84332e-08 2.75379e-08 -2.67884e-08 3.36296e-08 -4.64784e-08 6.11185e-08 -7.55522e-08 5.16581e-08 -1.72797e-08 1.35492e-08 -1.74901e-08 1.70699e-08 -1.12664e-08 5.93738e-09 6.66202e-09 -2.13338e-08 2.96185e-08 -3.47598e-08 4.03449e-08 -4.32784e-08 4.48366e-08 -4.10388e-08 1.56816e-08 -8.04178e-09 -6.26579e-09 3.55917e-08 -5.97652e-08 7.71441e-08 -9.14119e-08 1.03025e-07 -1.10951e-07 1.17604e-07 -1.17469e-07 1.07264e-07 -8.65665e-08 6.98138e-08 -5.06999e-08 2.89567e-08 -1.73792e-08 6.64858e-09 4.60609e-09 -4.66438e-09 3.13761e-09 -1.67049e-09 1.09146e-10 1.39139e-09 -3.00266e-09 4.58591e-09 -6.34695e-09 8.14094e-09 -1.01576e-08 1.21287e-08 -1.41217e-08 1.5825e-08 -1.73893e-08 1.96802e-08 -2.28952e-08 2.57491e-08 -3.13548e-08 3.44417e-08 -3.39047e-08 3.35484e-08 -3.28064e-08 4.4248e-08 -6.57921e-08 8.36755e-08 -8.83688e-08 5.52146e-08 -2.35871e-08 1.41357e-08 -2.05647e-08 1.9776e-08 -1.51654e-08 1.0888e-08 9.73099e-09 -2.9211e-08 3.73674e-08 -4.3737e-08 5.01173e-08 -5.41581e-08 5.30904e-08 -5.31429e-08 4.00461e-08 -2.82928e-08 2.00743e-09 6.00119e-09 1.22083e-08 2.65225e-09 -3.31184e-08 4.57935e-08 -5.00222e-08 6.18038e-08 -7.5764e-08 8.76787e-08 -8.19622e-08 6.76252e-08 -4.97714e-08 2.72442e-08 -1.52303e-08 4.2584e-09 6.19092e-09 -4.04196e-09 2.67879e-09 -1.39982e-09 2.23993e-11 1.3728e-09 -3.01926e-09 4.83684e-09 -7.09989e-09 9.65177e-09 -1.27844e-08 1.60992e-08 -1.97238e-08 2.30372e-08 -2.6429e-08 2.97826e-08 -3.24287e-08 3.61514e-08 -4.31359e-08 4.77484e-08 -5.18123e-08 5.26143e-08 -4.29533e-08 4.88423e-08 -6.86085e-08 7.5883e-08 -5.25893e-08 2.55601e-08 -1.86943e-08 8.26571e-09 -1.73234e-08 1.72089e-08 -1.70673e-08 1.50217e-08 1.35906e-08 -3.81951e-08 4.22018e-08 -4.59156e-08 5.35189e-08 -5.88885e-08 6.8957e-08 -7.38363e-08 5.35143e-08 -6.16153e-08 7.41218e-08 -4.50059e-08 5.90284e-10 7.62921e-09 -2.29647e-08 7.99296e-09 2.45227e-08 -2.08949e-08 6.6819e-09 2.94877e-08 -5.53452e-08 5.76146e-08 -4.57422e-08 2.45784e-08 -1.15603e-08 2.15434e-10 8.0351e-09 -2.57144e-09 1.13598e-09 1.29986e-10 -1.4798e-09 2.86743e-09 -4.58841e-09 6.58162e-09 -9.18238e-09 1.22252e-08 -1.61346e-08 2.05993e-08 -2.60474e-08 3.17169e-08 -3.78111e-08 4.26878e-08 -4.6319e-08 5.12709e-08 -5.80383e-08 6.53635e-08 -7.00219e-08 6.2067e-08 -4.49497e-08 4.15892e-08 -5.17712e-08 5.15207e-08 -3.07289e-08 2.20694e-08 -1.63648e-08 5.18286e-09 -1.51429e-08 1.51502e-08 -1.49079e-08 9.63121e-09 3.16344e-08 -5.68377e-08 5.07346e-08 -5.33158e-08 6.29359e-08 -7.10721e-08 7.38702e-08 -8.75546e-08 9.0276e-08 -8.74302e-08 5.87229e-08 -4.97654e-08 1.42397e-07 -2.82002e-07 3.56161e-07 -4.22881e-07 7.39192e-07 -6.72634e-07 2.65151e-07 -6.77164e-08 1.78826e-08 1.98304e-08 -2.92482e-08 1.76717e-08 -1.40695e-09 -1.10881e-08 1.02897e-08 3.48415e-10 -2.95078e-09 4.98775e-09 -6.6012e-09 7.90794e-09 -9.53734e-09 1.17177e-08 -1.47822e-08 1.81695e-08 -2.20042e-08 2.5988e-08 -3.13427e-08 3.79909e-08 -4.59682e-08 5.26185e-08 -5.67518e-08 6.03125e-08 -6.34725e-08 6.63069e-08 -6.25734e-08 5.2626e-08 -5.13395e-08 4.44481e-08 -3.59412e-08 2.97731e-08 -1.70435e-08 2.45364e-08 -2.96033e-08 2.20771e-08 -2.24408e-08 1.14799e-08 -7.8012e-09 1.36656e-08 4.68155e-08 -8.24832e-08 5.85335e-08 -5.71256e-08 6.56016e-08 -7.12173e-08 9.13893e-08 -1.00713e-07 1.29206e-07 -1.38971e-07 1.07188e-07 -1.87487e-07 2.96722e-07 -3.66683e-07 4.67126e-07 -6.32454e-07 8.95055e-07 -1.30176e-06 6.31239e-07 -9.60945e-08 9.13649e-08 -5.89319e-08 1.7947e-08 -1.63418e-09 2.84996e-08 -4.20958e-08 1.43907e-08 8.58424e-09 -1.01828e-08 1.08019e-08 -1.10001e-08 1.15012e-08 -1.37063e-08 1.6936e-08 -1.95083e-08 1.98316e-08 -1.8968e-08 1.97439e-08 -2.52761e-08 3.18641e-08 -3.69966e-08 3.90658e-08 -4.58626e-08 5.66658e-08 -6.29357e-08 6.25894e-08 -6.99152e-08 8.86463e-08 -1.00048e-07 7.84247e-08 -4.97814e-08 2.88091e-08 -1.49972e-08 3.64751e-08 -5.92157e-08 5.2242e-08 -4.07981e-08 1.2573e-08 1.72047e-08 -1.29071e-08 5.00533e-08 -7.81614e-08 6.44341e-08 -6.05645e-08 7.3851e-08 -9.40832e-08 1.02024e-07 -1.0903e-07 1.28926e-07 -1.31038e-07 2.09054e-07 -3.30087e-07 3.77149e-07 -4.61356e-07 6.41275e-07 -7.6698e-07 6.34587e-07 1.18159e-07 -3.82241e-07 1.2342e-07 -2.1766e-07 -2.06248e-08 8.09414e-08 -3.7352e-08 7.09202e-08 -8.60268e-08 2.31645e-08 2.08842e-08 -2.63228e-08 2.88902e-08 -3.26194e-08 3.09869e-08 -2.92317e-08 2.74817e-08 -2.7071e-08 3.73295e-08 -5.94395e-08 7.96663e-08 -9.95174e-08 1.11746e-07 -1.20103e-07 1.16246e-07 -1.1014e-07 9.66659e-08 -7.88523e-08 8.31876e-08 -7.78349e-08 9.80826e-08 -1.43926e-07 1.39065e-07 -8.25823e-08 3.28156e-08 -2.22821e-08 5.22547e-08 -7.9841e-08 7.91263e-08 -4.38699e-08 3.13883e-08 2.00521e-08 -5.4115e-08 2.07189e-08 -2.87429e-08 5.52548e-08 -5.8194e-08 8.66125e-08 -1.01247e-07 8.72697e-08 -1.42356e-07 1.65287e-07 -1.91987e-07 3.13837e-07 -3.63493e-07 4.2484e-07 -6.1698e-07 1.06515e-06 -4.92405e-07 -6.41731e-07 2.04942e-06 -1.17553e-06 -1.12521e-07 -8.334e-07 9.14619e-07 -2.24777e-07 -5.23873e-08 6.08905e-08 -7.204e-08 3.02615e-08 1.34582e-07 -1.4264e-07 1.51259e-07 -1.62121e-07 1.81971e-07 -2.10587e-07 2.43899e-07 -2.90151e-07 3.26733e-07 -3.59086e-07 3.8436e-07 -3.99106e-07 4.028e-07 -3.74972e-07 3.30917e-07 -2.50727e-07 1.55166e-07 -5.17651e-08 5.08646e-09 -4.45672e-09 4.63994e-08 -1.13359e-07 1.37749e-07 -1.64437e-07 2.66641e-07 -9.37761e-08 8.61284e-08 -8.53686e-08 9.76326e-08 -3.46077e-08 1.31554e-08 -1.00617e-08 -2.56801e-08 -2.72483e-08 2.74588e-08 2.05231e-08 -2.43206e-08 6.03341e-08 -6.37643e-08 1.2196e-07 -1.81283e-07 1.82369e-07 -2.79475e-07 3.39729e-07 -3.46124e-07 5.56872e-07 -9.06363e-07 1.22195e-06 -9.04331e-07 -5.99883e-07 1.78659e-06 -1.42275e-06 7.66917e-07 -1.08418e-06 1.21607e-06 -8.53231e-07 3.45186e-07 -1.37864e-07 6.65505e-10 5.3137e-08 3.49011e-07 -3.90708e-07 4.26998e-07 -4.62814e-07 4.96639e-07 -5.3291e-07 5.67911e-07 -6.02732e-07 6.29606e-07 -6.45851e-07 6.42977e-07 -6.14835e-07 5.61797e-07 -4.72747e-07 3.79354e-07 -3.38196e-07 3.16767e-07 -3.03296e-07 1.69523e-07 -3.00029e-08 -3.142e-08 3.25533e-08 1.50063e-07 -2.55335e-07 3.53369e-07 -4.68139e-07 3.70167e-07 -2.46219e-07 2.80441e-07 -1.0127e-07 4.57544e-08 -5.32854e-08 2.23591e-08 -4.14873e-08 7.20611e-08 -2.04833e-08 -1.04284e-08 5.50451e-08 -1.25301e-07 1.65789e-07 -1.17729e-07 1.91583e-07 -3.12974e-07 3.05711e-07 -4.12766e-07 8.64854e-07 -3.13115e-07 3.39715e-07 -1.48425e-07 -5.0284e-07 1.12082e-06 -1.08656e-06 9.68701e-07 -1.08415e-06 1.18468e-06 -1.17296e-06 1.37986e-06 -1.51031e-06 2.3923e-07 1.18194e-08 -8.2762e-07 8.88471e-07 -8.50182e-07 6.86751e-07 -4.64744e-07 2.42586e-07 -8.88494e-08 8.80872e-08 -1.95428e-07 1.78308e-08 2.75852e-07 -4.48076e-07 4.40757e-07 -2.82376e-07 3.03366e-07 -1.23902e-07 1.42235e-07 -1.06834e-07 4.13617e-08 -7.3436e-08 7.74847e-08 -5.05949e-08 1.52639e-08 2.2904e-08 -5.25895e-08 6.26514e-08 -4.45278e-08 4.61138e-08 -1.20987e-07 5.77699e-07 -6.59158e-07 4.96837e-07 -3.64542e-07 3.05503e-07 -2.83483e-07 2.57439e-07 -2.29647e-07 2.22719e-07 -2.18049e-07 2.04233e-07 -1.92291e-07 1.82089e-07 -1.68079e-07 1.49378e-07 -1.26038e-07 1.04808e-07 -8.49637e-08 6.7869e-08 -5.09666e-08 3.56475e-08 -2.02078e-08 5.85426e-09 9.35299e-09 -2.49077e-08 4.37391e-08 -6.50705e-08 9.07142e-08 -1.16444e-07 -6.11167e-08 4.33551e-07 -6.94987e-07 7.18926e-07 -4.88382e-07 2.36212e-07 -4.01244e-08 2.50092e-08 -2.80002e-07 2.43867e-07 1.22668e-07 -3.82783e-07 5.08021e-07 -7.05836e-07 4.49854e-07 -1.66971e-07 1.32621e-07 -1.35594e-07 6.19098e-08 -5.52544e-08 5.72841e-08 -3.15966e-08 -4.75016e-09 4.78499e-08 -6.72071e-08 7.4151e-08 -1.29369e-07 2.37379e-07 -2.62214e-07 4.29727e-07 -3.61081e-07 3.43859e-07 -3.27999e-07 2.74269e-07 -2.53015e-07 2.33071e-07 -2.11858e-07 2.09034e-07 -2.11102e-07 2.01235e-07 -1.92997e-07 1.86943e-07 -1.77618e-07 1.62135e-07 -1.40304e-07 1.19083e-07 -9.84407e-08 8.06292e-08 -6.32727e-08 4.77641e-08 -3.24369e-08 1.90457e-08 -6.53906e-09 -3.91819e-09 1.46164e-08 -2.66017e-08 4.29943e-08 -6.2398e-08 -7.61257e-08 8.93206e-09 -4.28375e-07 6.54952e-07 -4.51704e-07 2.43342e-07 -3.76175e-08 -3.24384e-08 -3.55217e-07 4.61587e-07 -5.97627e-08 -2.8141e-07 4.66293e-07 -5.72404e-07 3.90218e-07 -3.33012e-07 6.97699e-08 -1.41733e-07 1.02412e-07 -2.06905e-08 -3.8505e-09 9.72884e-09 -3.10711e-08 6.64366e-08 -9.74157e-08 2.11663e-07 -4.80227e-07 5.83612e-07 -4.352e-07 3.59487e-07 -2.57476e-07 2.37105e-07 -2.1945e-07 1.66797e-07 -1.58966e-07 1.62702e-07 -1.6268e-07 1.66749e-07 -1.76984e-07 1.79807e-07 -1.71701e-07 1.63671e-07 -1.57908e-07 1.55261e-07 -1.42098e-07 1.25814e-07 -1.07755e-07 9.13046e-08 -7.50086e-08 6.05268e-08 -4.65851e-08 3.52648e-08 -2.62396e-08 2.10233e-08 -1.85379e-08 1.70369e-08 -1.34304e-08 6.05349e-09 3.86133e-08 -1.32538e-07 -2.53569e-07 5.517e-07 -3.96587e-07 2.04198e-07 -3.06722e-08 -5.58869e-08 -4.09006e-07 6.45902e-07 -2.63904e-07 -1.47194e-07 4.37706e-07 -6.77622e-07 9.09424e-07 -7.23926e-07 6.30759e-08 -1.19195e-07 1.53268e-07 -2.61412e-08 -5.53888e-08 3.7754e-08 -3.55587e-08 1.46361e-07 -1.10362e-06 8.7272e-07 -6.64535e-07 4.96529e-07 -3.2198e-07 2.30077e-07 -1.5412e-07 1.17595e-07 -8.22769e-08 3.29281e-08 -4.1176e-08 7.29223e-08 -1.03641e-07 1.14975e-07 -1.24641e-07 1.36974e-07 -1.40902e-07 1.39789e-07 -1.39892e-07 1.35677e-07 -1.32669e-07 1.23381e-07 -1.10747e-07 9.79425e-08 -8.45643e-08 7.24205e-08 -6.08358e-08 5.19482e-08 -4.59241e-08 4.42314e-08 -4.67338e-08 5.19632e-08 -5.80663e-08 6.19544e-08 5.38344e-08 -1.17858e-07 -1.68759e-07 4.29779e-07 -3.57421e-07 1.47337e-07 -7.84148e-09 -5.5471e-08 -3.99731e-07 7.44879e-07 -4.81516e-07 3.60286e-08 3.12535e-07 -4.97166e-07 6.74536e-07 -7.28448e-07 2.30474e-07 1.18942e-08 -1.11157e-08 -6.4805e-08 -8.78228e-09 7.22347e-08 -2.15337e-07 4.19944e-07 -3.64293e-07 3.50209e-07 -3.33061e-07 2.75616e-07 -1.48933e-07 8.33684e-08 -4.24529e-08 -1.7056e-09 4.95411e-08 -9.58738e-08 6.80101e-08 -1.6548e-08 -4.44728e-08 5.87507e-08 -7.27518e-08 8.63188e-08 -9.70576e-08 1.05152e-07 -1.13278e-07 1.15495e-07 -1.14066e-07 1.10843e-07 -1.05241e-07 9.80723e-08 -8.95774e-08 8.122e-08 -7.28881e-08 6.66574e-08 -6.30095e-08 6.31413e-08 -6.73282e-08 7.45886e-08 -8.42856e-08 9.36462e-08 1.5051e-08 -8.69007e-08 -3.18912e-08 2.73863e-07 -2.89272e-07 1.02981e-07 1.1582e-08 -4.79111e-08 -2.87601e-07 7.37148e-07 -7.18993e-07 2.31127e-07 1.28004e-07 -2.91175e-07 3.94255e-07 -1.43462e-07 -1.52096e-07 3.68524e-07 -7.08097e-08 9.97417e-08 -6.11436e-08 4.86183e-07 -3.34905e-07 2.70483e-07 -9.80991e-08 1.43705e-07 -1.85362e-07 1.11355e-07 -7.76487e-08 1.92273e-08 4.28334e-08 -9.86022e-08 1.53419e-07 -1.95834e-07 1.36952e-07 -5.77418e-08 -2.03514e-08 2.63716e-08 -2.70557e-08 3.66755e-08 -4.43715e-08 5.52959e-08 -6.82985e-08 7.69846e-08 -8.31485e-08 8.83343e-08 -9.11658e-08 9.08989e-08 -8.88928e-08 8.56678e-08 -8.12752e-08 7.79954e-08 -7.65581e-08 7.78163e-08 -8.21995e-08 8.90669e-08 -9.83958e-08 1.08203e-07 -2.08919e-08 -4.36527e-08 2.14826e-08 1.96532e-07 -1.38262e-07 -8.75021e-09 4.76393e-08 -4.81484e-08 -7.8228e-08 6.59429e-07 -9.90804e-07 4.58553e-07 -5.55219e-08 -1.02976e-07 1.53483e-07 -7.47862e-08 -6.66408e-08 5.01996e-08 -7.43509e-08 1.39287e-07 -1.32253e-07 3.69755e-08 -6.78654e-08 6.66195e-09 2.44254e-08 3.73503e-08 -6.14503e-08 8.28828e-08 -2.32224e-08 -3.27929e-08 9.96579e-08 -1.58161e-07 2.08688e-07 -2.39467e-07 1.54748e-07 -7.17182e-08 -1.73065e-08 5.71913e-09 8.22361e-09 -9.78036e-09 9.88656e-09 4.9339e-09 -2.03954e-08 3.43286e-08 -4.57651e-08 5.9215e-08 -6.96831e-08 7.48358e-08 -8.0821e-08 8.4237e-08 -8.3584e-08 8.42349e-08 -8.58723e-08 8.86565e-08 -9.35099e-08 1.00017e-07 -1.08417e-07 1.1719e-07 -2.93443e-08 -3.95932e-08 6.10056e-08 8.2698e-08 -6.57196e-08 -2.46329e-08 6.06017e-08 -5.12378e-08 7.76317e-08 6.18974e-07 -1.24423e-06 6.7662e-07 -2.08272e-07 7.46614e-09 1.79988e-09 5.72036e-08 -1.30757e-07 1.25799e-07 -9.32222e-08 7.41278e-08 -3.05645e-08 -6.5316e-08 6.01587e-08 -5.4103e-09 -2.6338e-08 4.56774e-08 2.35152e-08 -2.01371e-08 3.22609e-08 -6.35816e-08 1.22318e-07 -1.62955e-07 1.67514e-07 -5.71061e-08 1.11676e-07 -1.48965e-07 3.24304e-08 -1.68983e-08 3.71472e-08 -4.63489e-08 4.18017e-08 -3.13105e-08 6.67948e-09 1.61984e-08 -3.83544e-08 4.12351e-08 -4.23e-08 4.90449e-08 -5.35109e-08 6.09668e-08 -7.2177e-08 8.40095e-08 -9.16216e-08 9.71071e-08 -1.03651e-07 1.1131e-07 -1.20325e-07 1.2906e-07 -4.6464e-08 -2.23067e-08 7.4611e-08 3.78313e-08 -3.67578e-08 -2.43259e-08 5.75952e-08 -4.75183e-08 -1.60094e-09 5.62604e-07 -1.2191e-06 8.22799e-07 -3.50486e-07 1.23049e-07 -1.02804e-07 7.86799e-08 -1.63527e-07 2.54914e-07 -1.85694e-07 1.20087e-07 -5.97116e-08 -2.73339e-08 -4.34122e-09 5.64949e-08 -2.52813e-08 1.33259e-08 2.95405e-08 -1.97461e-07 1.20231e-07 -8.19046e-08 1.11425e-07 -1.26595e-07 5.90436e-08 1.20217e-07 8.87993e-09 -5.32157e-08 7.33658e-08 -5.68583e-08 6.08871e-08 -6.66163e-08 6.6609e-08 -6.12036e-08 4.80426e-08 -3.29426e-08 1.45784e-08 8.32988e-10 -1.56127e-08 2.94326e-08 -4.38314e-08 5.94363e-08 -7.61566e-08 8.82106e-08 -1.06795e-07 1.16262e-07 -1.22758e-07 1.32013e-07 -1.41691e-07 1.50178e-07 -7.06312e-08 -2.07066e-09 9.18227e-08 9.84163e-09 -2.08686e-08 -3.03241e-08 5.39212e-08 -4.19912e-08 -1.22481e-07 2.78734e-07 -8.33787e-07 8.87633e-07 -4.95218e-07 2.71101e-07 -1.71729e-07 1.32171e-07 -1.85182e-07 3.54136e-07 -3.62318e-07 2.49043e-07 -1.79917e-07 1.93931e-07 -3.17325e-07 2.22239e-07 -9.57825e-08 1.32706e-08 7.04343e-10 -3.69839e-08 6.07412e-08 -9.93838e-08 7.11811e-08 -3.65292e-08 -1.72754e-08 -1.38077e-08 2.80968e-08 9.37909e-08 -1.88188e-08 -4.00764e-08 5.70673e-08 -7.0522e-08 7.54042e-08 -7.43496e-08 6.82374e-08 -5.66865e-08 3.72992e-08 -1.43564e-08 -1.00586e-08 2.93674e-08 -4.83132e-08 6.48893e-08 -8.29945e-08 9.53902e-08 -1.09628e-07 1.29083e-07 -1.43551e-07 1.52593e-07 -1.61006e-07 1.68675e-07 -7.85989e-08 -8.97478e-09 9.53929e-08 -1.76857e-09 -8.65941e-10 -4.14271e-08 4.68654e-08 -3.16422e-08 -1.73178e-07 6.99413e-08 -5.87816e-07 9.8772e-07 -7.0978e-07 4.94676e-07 -3.53753e-07 3.17519e-07 -2.85518e-07 4.39842e-07 -5.2408e-07 4.09931e-07 -3.41983e-07 3.56236e-07 -2.94612e-07 2.78786e-07 -2.01167e-07 1.02885e-07 -1.69302e-07 1.38428e-07 -1.19188e-07 -1.63876e-08 -1.69448e-09 3.20432e-08 4.23308e-08 -1.23653e-07 -1.61477e-08 1.34193e-07 3.84987e-08 -4.92404e-08 5.54016e-08 -6.57403e-08 7.03242e-08 -6.84244e-08 6.08868e-08 -4.8163e-08 2.86884e-08 -5.9462e-09 -1.89331e-08 4.1079e-08 -6.27995e-08 7.88821e-08 -9.45764e-08 1.08947e-07 -1.26308e-07 1.3945e-07 -1.53119e-07 1.67878e-07 -1.84916e-07 1.99558e-07 -9.03323e-08 1.66488e-08 5.05519e-08 1.78469e-08 2.64102e-08 -5.26667e-08 3.462e-08 -1.55103e-08 -2.43289e-07 2.09666e-07 -7.01867e-07 1.19332e-06 -9.05404e-07 6.54724e-07 -5.48318e-07 5.42593e-07 -4.2255e-07 5.13694e-07 -6.61261e-07 5.77098e-07 -5.14964e-07 4.96262e-07 -4.11043e-07 3.85107e-07 -3.59124e-07 3.11143e-07 -2.26512e-07 3.16955e-07 -2.83954e-07 1.92681e-07 -2.24327e-07 2.25534e-07 -1.74545e-07 8.51807e-09 -4.63219e-08 8.98986e-08 4.24182e-08 -7.79866e-08 7.36141e-08 -6.89915e-08 6.27853e-08 -5.37894e-08 4.06008e-08 -2.44557e-08 3.9646e-09 1.77391e-08 -4.12364e-08 6.27459e-08 -8.3894e-08 1.02249e-07 -1.20642e-07 1.36896e-07 -1.54137e-07 1.7299e-07 -1.94456e-07 2.12457e-07 -2.27997e-07 2.41283e-07 -9.73006e-08 2.93199e-08 2.95428e-08 2.67305e-08 3.56407e-08 -5.88388e-08 1.88582e-08 4.21682e-09 -3.24928e-07 4.81655e-07 -9.48621e-07 1.46376e-06 -1.0964e-06 8.66045e-07 -7.72502e-07 6.99834e-07 -5.53448e-07 5.6787e-07 -6.8634e-07 6.72297e-07 -6.49881e-07 6.14517e-07 -5.4437e-07 5.26401e-07 -5.05638e-07 4.77069e-07 -4.21495e-07 4.97591e-07 -4.79147e-07 4.479e-07 -4.31629e-07 4.34567e-07 -3.33582e-07 2.6155e-07 -2.03731e-07 -7.63127e-09 2.03726e-08 -5.89749e-08 8.25993e-08 -7.25599e-08 5.46905e-08 -3.55044e-08 1.41792e-08 6.92294e-09 -2.9894e-08 5.19519e-08 -7.48189e-08 9.57076e-08 -1.16639e-07 1.35601e-07 -1.54913e-07 1.72748e-07 -1.91298e-07 2.09037e-07 -2.27237e-07 2.43221e-07 -2.5852e-07 2.72137e-07 -1.15746e-07 4.92188e-08 7.04979e-08 -9.70194e-09 4.25679e-08 -6.25286e-08 8.817e-10 3.29276e-08 -3.65163e-07 6.76823e-07 -9.67849e-07 1.45787e-06 -1.18805e-06 1.00436e-06 -8.63759e-07 7.69517e-07 -6.24386e-07 5.70801e-07 -6.28915e-07 6.63074e-07 -6.82591e-07 6.62448e-07 -6.35785e-07 6.37198e-07 -6.20541e-07 5.92433e-07 -5.64291e-07 6.19122e-07 -6.50128e-07 6.37686e-07 -5.81605e-07 5.15879e-07 -4.59694e-07 3.37507e-07 -1.2869e-07 7.19078e-10 1.06505e-07 -1.01961e-07 9.8527e-08 -7.31046e-08 4.23036e-08 -1.25014e-08 -1.77491e-08 4.47424e-08 -7.13189e-08 9.48838e-08 -1.17978e-07 1.38345e-07 -1.58291e-07 1.76047e-07 -1.93741e-07 2.09783e-07 -2.25995e-07 2.40805e-07 -2.55678e-07 2.69021e-07 -2.82234e-07 2.9406e-07 -1.05651e-07 1.19761e-08 7.5968e-08 -1.46584e-08 5.66871e-08 -6.59015e-08 -7.63944e-09 5.95018e-08 -3.50612e-07 6.98817e-07 -7.78968e-07 1.18782e-06 -1.01572e-06 8.80019e-07 -8.31104e-07 7.28849e-07 -5.87814e-07 4.8962e-07 -4.89238e-07 5.6164e-07 -6.24168e-07 6.19154e-07 -6.03207e-07 5.90241e-07 -5.86571e-07 5.95513e-07 -6.15755e-07 6.88229e-07 -7.65943e-07 8.07544e-07 -7.74855e-07 6.90895e-07 -6.31079e-07 6.2348e-07 -3.79484e-07 1.49912e-07 -8.67045e-08 5.46026e-08 -4.76617e-09 -8.03621e-09 -7.4138e-09 3.27533e-08 -6.39343e-08 9.24537e-08 -1.20232e-07 1.44282e-07 -1.671e-07 1.86474e-07 -2.04638e-07 2.20082e-07 -2.34781e-07 2.47562e-07 -2.60019e-07 2.71092e-07 -2.8206e-07 2.91907e-07 -3.01725e-07 3.10554e-07 -8.00904e-08 -8.37227e-09 4.6895e-08 -1.06402e-08 6.50376e-08 -6.86559e-08 -9.28586e-09 7.4925e-08 -2.84899e-07 5.84716e-07 -5.48198e-07 8.26931e-07 -7.15029e-07 7.11566e-07 -7.2148e-07 6.37626e-07 -4.452e-07 2.99202e-07 -2.54158e-07 3.55945e-07 -4.49295e-07 4.60964e-07 -4.68057e-07 4.77661e-07 -4.9391e-07 4.99894e-07 -5.56444e-07 6.29457e-07 -7.79245e-07 9.22114e-07 -9.56868e-07 9.06022e-07 -8.22703e-07 7.62615e-07 -6.12407e-07 4.59435e-07 -3.6629e-07 3.67874e-07 -4.38882e-07 3.43282e-07 -2.40551e-07 1.88852e-07 -1.77093e-07 1.80166e-07 -1.92253e-07 2.07488e-07 -2.24095e-07 2.38686e-07 -2.52133e-07 2.63065e-07 -2.72877e-07 2.80938e-07 -2.8845e-07 2.94964e-07 -3.01387e-07 3.07241e-07 -3.13227e-07 3.18785e-07 -8.41522e-08 3.06378e-08 3.12051e-08 -1.93943e-08 6.86567e-08 -7.17132e-08 -3.37136e-09 7.15074e-08 -1.81518e-07 3.87183e-07 -1.13821e-07 2.44376e-07 -3.70235e-07 4.64164e-07 -5.37938e-07 3.94868e-07 -1.45821e-07 1.41685e-08 6.90733e-08 3.75426e-08 -2.0543e-07 2.71578e-07 -3.4379e-07 3.94672e-07 -4.26999e-07 3.40401e-07 -3.87233e-07 4.41429e-07 -6.64625e-07 8.99543e-07 -1.06339e-06 1.09918e-06 -1.0292e-06 9.35264e-07 -8.2254e-07 7.06622e-07 -5.9376e-07 4.86373e-07 -4.16087e-07 4.28355e-07 -3.92567e-07 3.53025e-07 -3.29887e-07 3.09613e-07 -2.99988e-07 2.97686e-07 -2.98749e-07 3.00626e-07 -3.02168e-07 3.02782e-07 -3.026e-07 3.01927e-07 -3.01079e-07 3.00498e-07 -3.00412e-07 3.0103e-07 -3.02522e-07 3.0476e-07 -1.05601e-07 6.24649e-08 4.55905e-08 -3.56584e-08 7.01318e-08 -7.6988e-08 1.84411e-08 4.88785e-08 -8.0552e-08 1.83835e-07 1.44186e-07 -1.58938e-07 -1.30265e-07 3.22522e-07 -3.18373e-07 1.11511e-07 1.43013e-07 -2.87618e-07 3.55123e-07 -1.74125e-07 -3.84601e-08 1.59282e-07 -2.27747e-07 2.98002e-07 -3.99742e-07 1.5255e-07 -1.37373e-07 3.00205e-07 -3.89309e-07 6.88491e-07 -1.01919e-06 1.15035e-06 -1.21774e-06 1.15826e-06 -1.06287e-06 9.86184e-07 -9.05442e-07 7.68652e-07 -6.77082e-07 6.38613e-07 -6.02327e-07 5.72635e-07 -5.13312e-07 4.776e-07 -4.45578e-07 4.18824e-07 -3.93914e-07 3.72309e-07 -3.51101e-07 3.31927e-07 -3.12669e-07 2.95461e-07 -2.78848e-07 2.64908e-07 -2.52586e-07 2.43525e-07 -2.37073e-07 2.3416e-07 -5.35541e-08 -6.67173e-08 1.5143e-07 -1.13836e-07 8.56361e-08 -8.65331e-08 4.74818e-08 1.30444e-08 -6.45259e-09 5.98295e-08 2.43107e-07 -4.96725e-07 5.6405e-10 2.70017e-07 -6.30349e-08 -1.6626e-07 3.18378e-07 -4.19428e-07 3.2431e-07 -1.54212e-07 4.34679e-08 6.10268e-08 -1.02168e-07 2.13731e-07 -4.27657e-07 6.94465e-07 -8.89582e-07 6.28132e-07 -4.31135e-07 3.44603e-07 -5.83699e-07 8.38282e-07 -1.01559e-06 1.07827e-06 -1.1029e-06 1.06155e-06 -1.04129e-06 1.02024e-06 -9.37412e-07 8.51383e-07 -8.60351e-07 7.92319e-07 -7.37927e-07 6.66275e-07 -5.94258e-07 5.32193e-07 -4.72678e-07 4.20693e-07 -3.69396e-07 3.22883e-07 -2.75434e-07 2.31319e-07 -1.85412e-07 1.42152e-07 -9.68578e-08 5.46311e-08 -1.18141e-08 -2.53669e-08 -5.70563e-08 5.20107e-08 -3.0368e-09 -9.70147e-08 1.17015e-07 -9.93906e-08 7.97526e-08 -1.84446e-08 6.0439e-08 -1.10991e-08 2.77753e-07 -5.53134e-07 4.91236e-08 1.20998e-07 1.59631e-07 -3.39333e-07 3.9527e-07 -4.30643e-07 2.22526e-07 -1.13996e-07 6.15999e-08 3.40488e-09 -4.10216e-08 6.69991e-08 -1.43199e-07 4.55398e-07 -3.96094e-07 3.8892e-07 -2.03692e-07 -2.05561e-07 2.99469e-07 1.12427e-07 -4.89204e-07 8.46703e-07 -1.006e-06 1.03948e-06 -9.9442e-07 9.06086e-07 -8.50078e-07 8.37933e-07 -7.84096e-07 7.33569e-07 -6.77065e-07 6.27363e-07 -5.6929e-07 5.10094e-07 -4.45053e-07 3.8228e-07 -3.16423e-07 2.54651e-07 -1.90306e-07 1.29262e-07 -6.40313e-08 3.95177e-10 6.89171e-08 -1.36114e-07 2.071e-07 -2.71251e-07 -1.04142e-07 5.51654e-08 1.51063e-07 -2.62428e-07 1.64014e-07 -1.14983e-07 1.12531e-07 -5.30285e-08 1.23095e-07 -9.65201e-08 3.03514e-07 -4.79993e-07 3.66438e-08 -3.87562e-08 3.11896e-07 -3.83236e-07 4.12278e-07 -4.14044e-07 1.82315e-07 -9.91213e-08 2.58105e-08 6.67429e-08 -1.55666e-07 1.85469e-07 -1.67776e-07 2.70754e-07 -3.89121e-07 5.30477e-07 -6.10365e-07 5.97165e-07 -2.06744e-07 -1.06568e-07 -1.63452e-07 5.48268e-07 -7.5014e-07 7.96436e-07 -7.60898e-07 6.8031e-07 -7.20637e-07 7.51711e-07 -7.12906e-07 6.72371e-07 -5.9784e-07 5.32041e-07 -4.62763e-07 3.95533e-07 -3.24511e-07 2.59185e-07 -1.94727e-07 1.38753e-07 -8.58606e-08 4.14019e-08 -7.92271e-10 -3.18985e-08 5.9752e-08 -8.01761e-08 9.58966e-08 -1.07256e-07 -3.28695e-08 -5.77871e-08 1.31228e-07 -2.19431e-07 2.31647e-07 -1.15864e-07 1.40374e-07 -9.01682e-08 1.84444e-07 -2.04398e-07 3.56912e-07 -4.86423e-07 1.28139e-07 -1.69366e-07 3.13017e-07 -2.88685e-07 2.78598e-07 -2.73934e-07 1.17838e-07 -6.76437e-08 2.33004e-08 2.96018e-08 -1.00993e-07 1.71309e-07 -2.79661e-07 4.0581e-07 -5.40374e-07 6.6104e-07 -7.36709e-07 7.86092e-07 -7.45554e-07 6.6569e-07 -4.71863e-07 2.43946e-07 -2.27067e-07 2.91963e-07 -3.83449e-07 5.87302e-07 -6.36509e-07 5.5052e-07 -4.67812e-07 3.9618e-07 -3.20991e-07 2.47072e-07 -1.68142e-07 9.73838e-08 -3.13237e-08 -2.15146e-08 6.67379e-08 -1.00923e-07 1.29015e-07 -1.49056e-07 1.63547e-07 -1.71548e-07 1.74351e-07 -1.72934e-07 1.69061e-07 -1.62933e-07 -5.67994e-08 3.38235e-08 9.37519e-08 -1.24412e-07 1.06688e-07 -1.10612e-07 1.56437e-07 -1.22084e-07 2.14115e-07 -2.45942e-07 3.60492e-07 -4.2543e-07 1.34268e-07 -1.46283e-07 1.39359e-07 1.18088e-08 -1.00152e-07 7.15913e-08 -2.07654e-08 -2.92871e-08 4.03057e-08 -3.08894e-08 -9.21473e-09 6.30618e-08 -1.24362e-07 1.62632e-07 -1.68833e-07 1.57115e-07 -1.4761e-07 1.40949e-07 -9.65288e-08 1.15807e-08 1.05567e-07 -2.32206e-07 2.76573e-07 -1.91368e-07 9.49912e-08 -1.03574e-07 1.7096e-07 -2.28657e-07 2.70259e-07 -3.09261e-07 3.5502e-07 -3.99504e-07 4.42471e-07 -4.77146e-07 5.05993e-07 -5.25471e-07 5.37928e-07 -5.41576e-07 5.35049e-07 -5.21092e-07 4.98244e-07 -4.73378e-07 4.41505e-07 -4.08663e-07 3.74382e-07 -3.44931e-07 -3.44095e-08 -8.77404e-08 2.41725e-07 -1.10571e-07 1.77724e-08 -1.3629e-07 1.74197e-07 -1.48132e-07 2.21802e-07 -2.47973e-07 3.27245e-07 -3.65578e-07 9.95402e-08 6.44564e-08 -2.60544e-07 3.09786e-07 -2.13488e-07 1.54214e-07 -6.27906e-08 -3.21165e-08 1.08263e-07 -1.59805e-07 1.9722e-07 -2.33531e-07 2.99595e-07 -3.95485e-07 4.94306e-07 -5.56977e-07 6.02187e-07 -6.42434e-07 6.92071e-07 -7.66389e-07 8.58525e-07 -9.39981e-07 9.90782e-07 -1.00314e-06 1.01976e-06 -1.05435e-06 1.10063e-06 -1.14208e-06 1.1789e-06 -1.20013e-06 1.20426e-06 -1.19404e-06 1.16818e-06 -1.13416e-06 1.08733e-06 -1.03697e-06 9.7975e-07 -9.19969e-07 8.56407e-07 -7.98502e-07 7.41187e-07 -6.9184e-07 6.42815e-07 -6.0064e-07 5.61827e-07 -5.3065e-07 -3.5363e-08 1.33104e-07 -1.04253e-07 -4.09966e-07 2.61806e-07 -1.73442e-07 1.9452e-07 -1.68303e-07 2.15795e-07 -2.34792e-07 2.58009e-07 -2.27254e-07 2.50919e-08 2.3154e-07 -4.62872e-07 5.41457e-07 -4.22029e-07 2.5006e-07 -6.68381e-08 -8.57642e-08 2.27901e-07 -3.59288e-07 5.10639e-07 -6.81044e-07 8.84138e-07 -1.07414e-06 1.24195e-06 -1.37556e-06 1.49829e-06 -1.58113e-06 1.6588e-06 -1.73643e-06 1.81441e-06 -1.8821e-06 1.93878e-06 -1.97887e-06 2.00709e-06 -2.01242e-06 1.98917e-06 -1.94336e-06 1.8738e-06 -1.79434e-06 1.70018e-06 -1.60425e-06 1.50424e-06 -1.41434e-06 1.32734e-06 -1.25201e-06 1.17511e-06 -1.10732e-06 1.04168e-06 -9.85245e-07 9.31618e-07 -8.8614e-07 8.43344e-07 -8.07247e-07 7.73573e-07 -7.45331e-07 -4.49539e-08 1.62435e-07 -1.46562e-07 -4.32729e-07 2.69492e-07 -2.05031e-07 1.99284e-07 -1.81279e-07 2.01212e-07 -2.08622e-07 1.99861e-07 -1.09043e-07 -1.32217e-07 3.89233e-07 -6.00068e-07 5.63701e-07 -3.70068e-07 1.81649e-07 7.85022e-09 -1.82067e-07 3.7355e-07 -5.81323e-07 8.42746e-07 -1.12405e-06 1.41557e-06 -1.66037e-06 1.89616e-06 -2.09752e-06 2.26672e-06 -2.40176e-06 2.51525e-06 -2.57916e-06 2.61114e-06 -2.61387e-06 2.58976e-06 -2.54247e-06 2.46788e-06 -2.38214e-06 2.28194e-06 -2.17884e-06 2.0665e-06 -1.96155e-06 1.86174e-06 -1.77732e-06 1.68667e-06 -1.59483e-06 1.50506e-06 -1.43289e-06 1.36381e-06 -1.30289e-06 1.24513e-06 -1.19047e-06 1.13425e-06 -1.08523e-06 1.03842e-06 -9.97358e-07 9.57824e-07 -9.2408e-07 -5.26863e-08 6.00526e-08 9.21661e-09 -1.56566e-07 1.35431e-07 -2.19027e-07 2.03984e-07 -1.77726e-07 1.78066e-07 -1.71178e-07 1.49907e-07 -7.86283e-08 -7.90785e-08 2.5536e-07 -3.96146e-07 3.53564e-07 -2.19578e-07 7.37076e-08 8.90456e-08 -2.57078e-07 4.58774e-07 -6.89289e-07 9.92975e-07 -1.34383e-06 1.73133e-06 -2.01764e-06 2.20462e-06 -2.37661e-06 2.50303e-06 -2.57801e-06 2.63353e-06 -2.65823e-06 2.64466e-06 -2.6049e-06 2.54192e-06 -2.46446e-06 2.36905e-06 -2.27093e-06 2.1651e-06 -2.0668e-06 1.98284e-06 -1.89039e-06 1.78822e-06 -1.71216e-06 1.65939e-06 -1.58885e-06 1.50427e-06 -1.41195e-06 1.32743e-06 -1.25961e-06 1.21331e-06 -1.17065e-06 1.11841e-06 -1.06331e-06 1.03204e-06 -9.96184e-07 9.55782e-07 -9.17577e-07 -7.96728e-08 3.81455e-07 -3.13268e-07 -5.70414e-07 4.25634e-07 -2.54174e-07 2.16078e-07 -1.60416e-07 1.4652e-07 -1.29857e-07 1.03543e-07 -5.494e-08 -2.93258e-08 1.17747e-07 -1.90849e-07 1.70727e-07 -9.31268e-08 -5.89423e-09 1.29124e-07 -2.60782e-07 4.1206e-07 -5.64067e-07 7.20224e-07 -8.62464e-07 1.03844e-06 -1.29201e-06 1.62898e-06 -1.92109e-06 2.02115e-06 -1.92776e-06 1.87617e-06 -1.91941e-06 1.91803e-06 -1.863e-06 1.77654e-06 -1.67644e-06 1.56433e-06 -1.4544e-06 1.33557e-06 -1.21924e-06 1.11262e-06 -1.05171e-06 1.00138e-06 -9.33069e-07 8.43455e-07 -7.78633e-07 7.4147e-07 -7.16974e-07 7.0645e-07 -6.92941e-07 6.83236e-07 -6.53006e-07 6.30922e-07 -5.94222e-07 5.41967e-07 -5.08482e-07 4.90768e-07 -4.73793e-07 -3.29186e-08 1.30478e-06 -1.61989e-06 -2.20368e-06 1.38224e-06 -1.86967e-07 2.21707e-07 -1.19947e-07 1.02497e-07 -8.51756e-08 6.33772e-08 -3.23683e-08 -1.26615e-08 5.33086e-08 -8.3334e-08 7.11158e-08 -2.72131e-08 -3.45654e-08 1.15475e-07 -2.04266e-07 3.06289e-07 -4.05746e-07 5.05224e-07 -5.89367e-07 6.73257e-07 -7.72595e-07 9.0672e-07 -9.51204e-07 9.78144e-07 -9.38806e-07 7.96978e-07 -6.40466e-07 5.50838e-07 -4.77094e-07 3.98178e-07 -3.25589e-07 2.62316e-07 -1.92479e-07 1.27224e-07 -7.42843e-08 2.96781e-08 1.74144e-08 -7.06283e-08 1.4462e-07 -1.70104e-07 1.83678e-07 -1.9346e-07 1.94929e-07 -1.8955e-07 1.85074e-07 -1.84494e-07 1.86485e-07 -1.843e-07 1.73859e-07 -1.57439e-07 1.40091e-07 -1.22271e-07 1.05428e-07 -1.11698e-07 1.18873e-06 -1.59092e-06 -1.56429e-06 9.32489e-07 -1.49565e-07 1.12209e-07 -4.59452e-08 4.42082e-08 -3.85468e-08 2.96259e-08 -1.65747e-08 -1.55071e-09 1.78063e-08 -2.88842e-08 2.6355e-08 -1.13335e-08 -1.28749e-08 4.69339e-08 -8.66442e-08 1.35481e-07 -1.86601e-07 2.40455e-07 -2.82363e-07 3.02878e-07 -2.85013e-07 2.22813e-07 -1.10488e-07 2.44935e-07 -5.68444e-07 5.94471e-07 -4.70798e-07 3.36243e-07 -2.30066e-07 1.51926e-07 -1.0709e-07 6.14103e-08 -2.59115e-08 -6.59397e-09 3.18086e-08 -5.0325e-08 5.40707e-08 -4.88562e-08 4.26993e-08 -3.7653e-08 3.52155e-08 -3.41502e-08 3.38073e-08 -3.32797e-08 3.22316e-08 -3.03697e-08 2.77557e-08 -2.40403e-08 1.96118e-08 -1.42241e-08 8.69394e-09 -2.78847e-09 -2.6355e-09 1.42882e-07 -1.68279e-07 1.9127e-07 -2.13359e-07 2.31932e-07 -2.48881e-07 2.62162e-07 -2.72247e-07 2.76719e-07 -2.74175e-07 2.63379e-07 -2.43385e-07 2.18599e-07 -1.932e-07 1.7648e-07 -1.651e-07 1.57164e-07 -1.55571e-07 1.36111e-07 -9.04923e-08 4.57194e-08 -3.60429e-08 9.08596e-08 -1.79172e-07 2.44391e-07 -2.91188e-07 2.94352e-07 -3.03995e-07 3.18831e-07 -3.23278e-07 3.17998e-07 -1.03187e-07 3.17801e-08 -2.70544e-08 5.58356e-08 -3.32608e-08 -1.94168e-09 2.40508e-08 -6.76839e-08 7.29659e-08 -5.08621e-08 1.22343e-07 -1.48093e-07 1.22628e-07 -2.39092e-07 5.22194e-07 -2.80194e-07 2.96475e-08 9.23796e-08 -2.53962e-07 4.20127e-07 -4.0836e-07 4.39595e-07 -4.82416e-07 4.51459e-07 -4.34185e-07 5.90214e-07 -7.86962e-07 1.26767e-06 -1.25548e-07 8.54836e-08 -1.10387e-07 1.34824e-07 -1.59248e-07 1.79456e-07 -1.96502e-07 2.08005e-07 -2.14613e-07 2.15359e-07 -2.10035e-07 1.99386e-07 -1.8367e-07 1.67115e-07 -1.51656e-07 1.52162e-07 -1.55793e-07 1.56905e-07 -1.63806e-07 1.67592e-07 -1.43792e-07 1.11666e-07 -9.61613e-08 1.31182e-07 -2.10451e-07 2.56888e-07 -2.71533e-07 2.61941e-07 -2.85258e-07 3.50919e-07 -4.54878e-07 4.94803e-07 -4.67526e-07 2.81629e-07 -9.06377e-08 4.2932e-08 -4.11766e-08 9.20013e-09 1.00837e-08 -4.96166e-08 5.48466e-08 -6.14203e-08 1.58789e-07 -1.37971e-07 8.71725e-08 -3.72366e-07 4.01574e-07 -2.42831e-07 -1.5226e-07 2.38108e-07 -2.40497e-07 2.90589e-07 -3.30001e-07 4.11995e-07 -4.22825e-07 3.61644e-07 -3.20801e-07 4.0698e-07 -4.84724e-07 4.9323e-07 -1.33023e-07 6.20006e-09 -2.26486e-08 4.14155e-08 -6.22603e-08 8.05813e-08 -9.62699e-08 1.06518e-07 -1.12051e-07 1.12995e-07 -1.10704e-07 1.06993e-07 -1.03303e-07 1.02278e-07 -1.06308e-07 1.16357e-07 -1.31084e-07 1.41356e-07 -1.58442e-07 1.77787e-07 -1.79863e-07 1.67291e-07 -1.51249e-07 1.65229e-07 -2.09612e-07 2.08156e-07 -1.62813e-07 1.31007e-07 -1.41522e-07 2.20026e-07 -3.47979e-07 4.46243e-07 -6.33237e-07 7.96915e-07 -8.05626e-07 1.52988e-07 -5.71314e-09 5.12706e-09 -1.79753e-08 3.13593e-09 2.27959e-08 -9.13661e-08 1.7186e-07 -8.76068e-08 2.44058e-07 -4.507e-07 7.30851e-07 -1.64378e-07 -3.02143e-07 3.65801e-07 -1.89416e-07 1.05337e-07 -2.15568e-07 3.52201e-07 -3.33671e-07 2.59141e-07 -2.11777e-07 2.42622e-07 -2.09859e-07 1.29596e-07 1.52523e-07 -6.25409e-08 5.90694e-08 -5.20464e-08 4.17178e-08 -3.09748e-08 2.06245e-08 -1.31309e-08 8.10644e-09 -5.07299e-09 1.702e-09 3.85956e-09 -1.37757e-08 2.7913e-08 -4.69071e-08 6.74203e-08 -9.22198e-08 1.05721e-07 -1.2425e-07 1.49609e-07 -1.83105e-07 1.94054e-07 -1.79703e-07 1.70478e-07 -1.67965e-07 1.1964e-07 -5.945e-08 1.09e-08 6.98623e-10 4.36709e-08 -1.21595e-07 1.53895e-07 -1.50556e-07 1.7729e-07 -3.48157e-07 6.13886e-07 -2.73924e-07 5.71157e-09 -2.73989e-08 6.76658e-08 2.68998e-08 -1.52651e-07 4.82229e-08 1.36564e-07 6.69282e-07 -1.17442e-06 6.61476e-07 -5.52558e-08 -4.23099e-07 4.44514e-07 -7.24999e-08 -1.69679e-07 -5.55517e-08 2.65501e-07 -2.25302e-07 1.5786e-07 -1.22713e-07 1.22537e-07 -4.53508e-08 5.63978e-09 2.78151e-08 -1.02157e-07 1.08657e-07 -1.1265e-07 1.14341e-07 -1.13957e-07 1.12248e-07 -1.10096e-07 1.07398e-07 -1.03508e-07 9.60622e-08 -8.37816e-08 6.42985e-08 -4.01294e-08 1.07132e-08 1.86264e-08 -4.37053e-08 5.88872e-08 -4.06622e-08 4.06645e-08 -1.43264e-07 1.88538e-07 -1.6009e-07 1.31742e-07 -8.3828e-08 9.12543e-09 5.17303e-08 -8.31505e-08 9.46101e-08 -1.2571e-07 1.72779e-07 -1.30644e-07 9.73271e-08 -7.51208e-08 1.55806e-08 9.76006e-08 -1.59019e-07 1.78599e-07 -6.89937e-08 2.44912e-08 3.84302e-08 -6.58795e-09 -2.21964e-08 -1.96969e-07 5.46982e-07 -7.04195e-07 4.01951e-07 8.8994e-08 -5.04929e-07 4.42215e-07 1.22575e-07 -4.85568e-07 1.19734e-07 1.61027e-07 -1.10174e-07 6.34812e-08 -5.45784e-08 5.01627e-08 3.12276e-08 -2.73124e-08 -8.13606e-08 -1.18532e-07 1.28518e-07 -1.37374e-07 1.45774e-07 -1.52323e-07 1.57327e-07 -1.60288e-07 1.61045e-07 -1.58507e-07 1.50784e-07 -1.3718e-07 1.15662e-07 -8.93155e-08 5.74405e-08 -2.61383e-08 -3.15391e-09 2.79978e-08 -5.21971e-08 7.80827e-08 -9.50046e-08 1.53436e-07 -9.23895e-08 5.27208e-08 2.57098e-08 -1.06194e-07 1.53912e-07 -1.77345e-07 1.82492e-07 -2.5992e-07 3.13451e-07 -3.11665e-07 2.3867e-07 -1.96268e-07 1.5712e-07 -7.56736e-08 -1.65204e-07 2.9889e-07 -2.05119e-07 1.62021e-07 -7.15129e-08 8.15114e-08 1.15787e-07 -6.30454e-08 3.07427e-07 -5.03105e-07 1.97121e-07 2.43656e-07 -5.41693e-07 3.68488e-07 2.06505e-07 -6.75152e-07 3.08083e-07 5.78521e-08 -1.05592e-08 -1.83519e-08 -6.80208e-09 1.21805e-08 5.73582e-08 -2.79318e-08 -1.43346e-07 -1.26643e-07 1.36248e-07 -1.45633e-07 1.54911e-07 -1.62954e-07 1.69981e-07 -1.74867e-07 1.77562e-07 -1.76735e-07 1.71132e-07 -1.60368e-07 1.42995e-07 -1.21517e-07 9.50226e-08 -6.76504e-08 3.79247e-08 -4.1099e-09 -3.76986e-08 7.50951e-08 -7.3068e-08 8.71549e-08 -2.75755e-08 -2.3265e-08 1.22822e-07 -2.01157e-07 2.34588e-07 -2.55463e-07 2.61394e-07 -3.24269e-07 3.15938e-07 -2.83195e-07 2.95487e-07 -2.60339e-07 2.12262e-07 -1.89379e-07 1.21826e-07 -3.79543e-08 2.58852e-08 -2.31073e-09 -6.14426e-08 5.0781e-08 2.35341e-07 -2.30166e-07 2.39811e-07 -2.28131e-07 -1.22315e-08 3.87612e-07 -5.28109e-07 2.77535e-07 -8.66135e-10 -5.59987e-07 4.58021e-07 -1.7006e-08 8.8764e-08 -7.13148e-08 2.85174e-08 -7.70605e-09 6.26388e-08 -1.96049e-08 -1.74766e-07 -1.37958e-07 1.46667e-07 -1.54867e-07 1.63056e-07 -1.70024e-07 1.76421e-07 -1.81108e-07 1.83844e-07 -1.83995e-07 1.80927e-07 -1.74285e-07 1.63206e-07 -1.4935e-07 1.31698e-07 -1.12401e-07 9.08498e-08 -6.86612e-08 3.33798e-08 -1.24501e-08 7.99339e-10 4.14313e-08 -1.01059e-07 -1.58748e-08 1.76924e-07 -2.63568e-07 2.92748e-07 -3.08273e-07 3.16246e-07 -3.6249e-07 3.49393e-07 -3.49673e-07 3.50853e-07 -3.11797e-07 2.15559e-07 -1.33006e-07 2.15442e-07 -1.77547e-07 1.48201e-07 -1.24889e-07 1.44797e-07 -4.71119e-07 4.82603e-07 -3.99418e-07 3.33898e-07 -6.20187e-08 -2.51336e-07 5.23134e-07 -4.96406e-07 2.04484e-07 -1.88166e-07 -3.45889e-07 4.39038e-07 -4.6712e-08 1.53861e-07 -1.10395e-07 5.08257e-08 -1.9121e-08 6.10776e-08 -9.03828e-09 -1.90472e-07 -1.58673e-07 1.67136e-07 -1.74706e-07 1.81846e-07 -1.87891e-07 1.93474e-07 -1.97674e-07 2.00746e-07 -2.02488e-07 2.02697e-07 -2.00266e-07 1.94615e-07 -1.87176e-07 1.76676e-07 -1.63668e-07 1.48626e-07 -1.31723e-07 1.12517e-07 -1.1113e-07 1.35482e-07 -1.0874e-07 5.68539e-08 -1.5494e-07 2.73199e-07 -3.34216e-07 3.40819e-07 -3.39633e-07 3.40721e-07 -3.73181e-07 3.83342e-07 -3.9803e-07 3.90467e-07 -3.61456e-07 3.39689e-07 -3.14236e-07 3.24895e-07 -2.66279e-07 2.24141e-07 -2.51834e-07 4.3794e-07 -6.42351e-07 6.15834e-07 -4.24857e-07 1.55335e-07 1.35968e-07 -4.45572e-07 6.46696e-07 -4.91948e-07 1.78377e-07 -1.63049e-07 -1.84539e-07 2.51143e-07 -6.62462e-08 1.92845e-07 -1.36036e-07 6.50104e-08 -2.58202e-08 5.7139e-08 2.00498e-09 -1.97611e-07 -1.77103e-07 1.85588e-07 -1.95167e-07 2.04597e-07 -2.13545e-07 2.22468e-07 -2.29605e-07 2.36034e-07 -2.41861e-07 2.47008e-07 -2.51382e-07 2.52695e-07 -2.47183e-07 2.3672e-07 -2.2759e-07 2.21281e-07 -2.1474e-07 2.08556e-07 -2.11332e-07 2.14155e-07 -2.90472e-07 3.39276e-07 -3.46562e-07 3.75677e-07 -3.88649e-07 3.61283e-07 -3.40963e-07 3.35927e-07 -3.59922e-07 3.93697e-07 -4.3466e-07 4.25868e-07 -4.1511e-07 4.32883e-07 -4.2604e-07 4.11696e-07 -3.34441e-07 2.82142e-07 -3.16277e-07 2.69206e-07 -5.10494e-07 5.83399e-07 -3.30126e-07 -2.68515e-08 3.29376e-07 -6.14712e-07 7.38353e-07 -5.06658e-07 2.1328e-07 -1.3485e-07 -2.94457e-08 9.23017e-08 -1.00739e-07 2.13998e-07 -1.5138e-07 7.44371e-08 -3.01513e-08 5.23795e-08 8.93866e-09 -1.99969e-07 -2.07635e-07 2.15358e-07 -2.26402e-07 2.40726e-07 -2.52965e-07 2.65119e-07 -2.78918e-07 2.91879e-07 -3.01648e-07 3.09687e-07 -3.16237e-07 3.18098e-07 -3.16666e-07 3.09362e-07 -3.03777e-07 3.0506e-07 -3.01818e-07 3.1277e-07 -2.80218e-07 2.6869e-07 -3.13204e-07 3.73131e-07 -3.95806e-07 3.88556e-07 -3.72396e-07 3.19582e-07 -2.97016e-07 3.0248e-07 -3.32182e-07 3.72991e-07 -4.12574e-07 4.49079e-07 -4.48812e-07 4.73887e-07 -4.81551e-07 4.71832e-07 -3.96451e-07 2.98101e-07 -3.7389e-07 3.08033e-07 -9.23089e-08 1.19894e-07 6.60012e-09 -3.08437e-07 5.20709e-07 -7.33293e-07 7.41068e-07 -4.73938e-07 2.6973e-07 -1.32949e-07 1.78856e-08 5.3502e-08 -1.30217e-07 2.23338e-07 -1.59482e-07 8.11455e-08 -3.33621e-08 4.73724e-08 1.83066e-08 -1.99243e-07 -2.56058e-07 2.70934e-07 -2.83599e-07 2.95708e-07 -3.08034e-07 3.21906e-07 -3.34689e-07 3.48027e-07 -3.59542e-07 3.71365e-07 -3.79915e-07 3.86823e-07 -3.88756e-07 3.86196e-07 -3.76281e-07 3.70971e-07 -3.63297e-07 3.58267e-07 -3.42642e-07 3.39693e-07 -3.44234e-07 3.54574e-07 -3.57277e-07 3.14456e-07 -2.16178e-07 2.02008e-07 -2.29691e-07 2.60731e-07 -3.04921e-07 3.6045e-07 -4.28543e-07 4.75595e-07 -4.96552e-07 5.30572e-07 -5.34232e-07 5.16058e-07 -4.37528e-07 3.33775e-07 -2.63689e-07 1.45797e-07 1.79343e-07 -2.149e-07 2.88805e-07 -5.72449e-07 7.21355e-07 -8.19591e-07 5.76508e-07 -3.33099e-07 2.9254e-07 -1.23381e-07 3.34163e-09 8.12291e-08 -1.46184e-07 2.25155e-07 -1.63033e-07 8.63144e-08 -3.61345e-08 4.2484e-08 2.77156e-08 -1.96482e-07 -2.85975e-07 2.99824e-07 -3.13317e-07 3.2775e-07 -3.41684e-07 3.56566e-07 -3.70725e-07 3.85482e-07 -3.98712e-07 4.09891e-07 -4.17894e-07 4.26464e-07 -4.33395e-07 4.38323e-07 -4.39493e-07 4.30031e-07 -4.1341e-07 4.04706e-07 -4.02616e-07 3.89214e-07 -3.62056e-07 3.38032e-07 -3.25768e-07 2.87785e-07 -2.27976e-07 2.43987e-07 -2.40852e-07 2.58035e-07 -3.08206e-07 3.77135e-07 -4.46197e-07 5.19061e-07 -5.53633e-07 5.8428e-07 -5.85263e-07 5.4713e-07 -4.47895e-07 4.15933e-07 -3.24819e-07 1.28377e-07 2.47694e-08 -3.06034e-07 4.90061e-07 -7.52676e-07 7.89387e-07 -7.74779e-07 4.25286e-07 -1.30227e-07 2.37717e-07 -1.08057e-07 -2.18802e-08 1.11469e-07 -1.53326e-07 2.22579e-07 -1.64053e-07 9.05776e-08 -3.88212e-08 3.7912e-08 3.58659e-08 -1.92486e-07 -3.05853e-07 3.17591e-07 -3.29206e-07 3.41883e-07 -3.54238e-07 3.67416e-07 -3.79866e-07 3.92511e-07 -4.03527e-07 4.13353e-07 -4.20755e-07 4.26786e-07 -4.3078e-07 4.33345e-07 -4.3519e-07 4.31675e-07 -4.22653e-07 4.06318e-07 -4.05936e-07 3.98029e-07 -3.72199e-07 3.38988e-07 -3.36203e-07 3.63629e-07 -3.82219e-07 3.60463e-07 -3.28442e-07 3.21521e-07 -3.50673e-07 4.15158e-07 -4.81487e-07 5.64819e-07 -6.15871e-07 6.36709e-07 -6.29755e-07 5.58037e-07 -3.94839e-07 2.97516e-07 -7.26329e-08 -3.36037e-07 3.42189e-07 -4.48425e-07 5.27067e-07 -6.64265e-07 7.41184e-07 -7.60019e-07 3.4334e-07 -8.5164e-08 1.89025e-07 -8.88008e-08 -3.0855e-08 1.26527e-07 -1.55103e-07 2.17024e-07 -1.63442e-07 9.39971e-08 -4.14027e-08 3.36194e-08 4.27226e-08 -1.87423e-07 -3.19373e-07 3.28154e-07 -3.36856e-07 3.46363e-07 -3.55617e-07 3.6544e-07 -3.74638e-07 3.83881e-07 -3.919e-07 3.99164e-07 -4.04693e-07 4.08966e-07 -4.11511e-07 4.12289e-07 -4.10127e-07 4.02381e-07 -3.90978e-07 3.86521e-07 -3.8562e-07 3.85469e-07 -3.94363e-07 4.289e-07 -3.87306e-07 3.57452e-07 -3.56095e-07 3.59229e-07 -3.62849e-07 3.77466e-07 -4.11564e-07 4.72944e-07 -5.26224e-07 6.04106e-07 -6.60805e-07 6.69027e-07 -6.54202e-07 5.28825e-07 -3.15679e-07 1.91267e-07 7.77606e-08 -2.54812e-07 2.71287e-07 -4.67153e-07 6.6698e-07 -6.98019e-07 6.2364e-07 -6.56419e-07 3.13719e-07 -1.49333e-07 1.64272e-07 -7.0672e-08 -3.2303e-08 1.3276e-07 -1.53885e-07 2.09468e-07 -1.61778e-07 9.65581e-08 -4.37882e-08 2.95528e-08 4.82318e-08 -1.81563e-07 -3.24508e-07 3.3038e-07 -3.36343e-07 3.42984e-07 -3.49501e-07 3.56377e-07 -3.62653e-07 3.68672e-07 -3.73542e-07 3.77511e-07 -3.80012e-07 3.81331e-07 -3.81297e-07 3.79116e-07 -3.75103e-07 3.7079e-07 -3.64313e-07 3.56336e-07 -3.59004e-07 3.65084e-07 -3.83547e-07 3.84239e-07 -3.19051e-07 2.82541e-07 -3.01041e-07 3.36163e-07 -3.66654e-07 3.99976e-07 -4.41205e-07 5.05092e-07 -5.47779e-07 6.01255e-07 -6.08891e-07 6.22895e-07 -5.73567e-07 3.04514e-07 -2.21888e-07 5.23812e-08 1.63169e-07 -3.45669e-07 2.8922e-07 -4.37795e-07 6.23936e-07 -5.83401e-07 2.02518e-07 -2.35592e-07 2.30739e-07 -1.82162e-07 1.38239e-07 -5.34343e-08 -3.3769e-08 1.34504e-07 -1.50926e-07 2.003e-07 -1.59237e-07 9.81336e-08 -4.58631e-08 2.55791e-08 5.23374e-08 -1.75067e-07 -3.07923e-07 3.12013e-07 -3.16945e-07 3.23167e-07 -3.29719e-07 3.36632e-07 -3.42299e-07 3.46706e-07 -3.49226e-07 3.49499e-07 -3.46451e-07 3.40711e-07 -3.33092e-07 3.26582e-07 -3.24027e-07 3.15135e-07 -3.13031e-07 3.17393e-07 -3.15006e-07 3.14437e-07 -3.15062e-07 2.95188e-07 -2.75476e-07 2.71854e-07 -2.9026e-07 3.19106e-07 -3.46608e-07 3.81057e-07 -4.23771e-07 4.53081e-07 -5.0594e-07 4.79402e-07 -4.52457e-07 3.14855e-07 -1.68089e-07 6.02822e-08 7.0337e-08 -4.35587e-07 6.05282e-07 -4.15329e-07 3.50936e-07 -3.31279e-07 5.11132e-07 -5.03165e-07 1.77414e-07 -1.01797e-07 3.11525e-07 -1.8691e-07 1.10367e-07 -3.38182e-08 -3.75373e-08 1.32886e-07 -1.46889e-07 1.8978e-07 -1.55836e-07 9.86199e-08 -4.76117e-08 2.1589e-08 5.50171e-08 -1.6819e-07 -2.34583e-07 2.38935e-07 -2.47605e-07 2.62005e-07 -2.78973e-07 2.95653e-07 -3.05154e-07 3.10799e-07 -3.17005e-07 3.1627e-07 -3.03464e-07 2.85829e-07 -2.69616e-07 2.53726e-07 -2.37793e-07 2.25966e-07 -2.1943e-07 2.15547e-07 -2.17739e-07 2.20252e-07 -2.23276e-07 2.2606e-07 -2.32956e-07 2.43625e-07 -2.52578e-07 2.59559e-07 -2.67359e-07 2.73175e-07 -2.76447e-07 2.16244e-07 -1.87698e-07 1.45587e-07 -5.76816e-08 -8.60455e-08 2.23968e-07 -2.14203e-07 2.35266e-07 -6.72936e-07 6.95198e-07 -4.27556e-07 3.7817e-07 -4.0047e-07 3.78719e-07 -4.29411e-07 3.65257e-07 -7.14665e-08 1.36827e-07 -3.25888e-08 6.277e-08 -1.03103e-08 -4.39344e-08 1.2928e-07 -1.42161e-07 1.77994e-07 -1.51255e-07 9.78994e-08 -4.93674e-08 1.75423e-08 5.62131e-08 -1.61093e-07 5.87495e-08 -8.36946e-08 9.95967e-08 -1.11922e-07 1.22893e-07 -1.22997e-07 9.61632e-08 -1.0528e-08 -5.37008e-08 4.7071e-08 -6.75501e-08 1.03139e-07 -1.16931e-07 1.1821e-07 -1.1373e-07 1.10689e-07 -1.08187e-07 1.07832e-07 -1.13827e-07 1.28533e-07 -1.4531e-07 1.61866e-07 -1.71814e-07 1.70412e-07 -1.57205e-07 1.33615e-07 -9.9295e-08 3.56653e-08 9.72211e-08 -9.64362e-08 1.11397e-07 -2.41905e-07 4.04796e-07 -5.75955e-07 7.12512e-07 -8.28893e-07 9.40919e-07 -9.56255e-07 7.31808e-07 -4.76588e-07 5.2654e-07 -4.44446e-07 3.8539e-07 -4.1024e-07 6.46925e-07 -2.01981e-07 -2.95412e-07 7.66265e-08 7.82518e-09 1.38581e-08 -5.20874e-08 1.24416e-07 -1.37096e-07 1.64968e-07 -1.44966e-07 9.58629e-08 -5.05062e-08 1.35184e-08 5.57785e-08 -1.53634e-07 3.32489e-07 -3.84825e-07 4.23259e-07 -4.14921e-07 3.07186e-07 -2.76094e-07 2.65656e-07 -3.19163e-07 3.4214e-07 -3.05999e-07 2.62627e-07 -1.94272e-07 1.80687e-07 -1.54554e-07 1.21561e-07 -8.66492e-08 5.58e-08 -2.42961e-08 -5.43667e-09 3.45154e-08 -5.59279e-08 6.74729e-08 -6.54157e-08 4.98154e-08 -2.65006e-08 -2.85303e-09 6.14386e-08 -1.83297e-07 1.70085e-07 -2.93934e-07 4.55576e-07 -6.70276e-07 8.79528e-07 -1.08172e-06 1.22877e-06 -1.31187e-06 1.2719e-06 -9.56335e-07 5.47487e-07 -4.12097e-07 4.80985e-07 -4.17981e-07 1.90695e-07 -1.9692e-07 4.57875e-07 -1.14178e-07 -3.19201e-07 1.01856e-07 -4.05298e-08 3.42749e-08 -6.16209e-08 1.1853e-07 -1.3231e-07 1.51236e-07 -1.37101e-07 9.25805e-08 -5.03458e-08 9.7324e-09 5.34835e-08 -1.44797e-07 1.18621e-07 -1.36382e-07 1.6677e-07 -2.11599e-07 2.85664e-07 -3.64684e-07 4.17443e-07 -3.63672e-07 4.01773e-07 -4.1812e-07 4.10813e-07 -3.80984e-07 3.36255e-07 -2.89127e-07 2.46605e-07 -2.02927e-07 1.63523e-07 -1.26165e-07 9.687e-08 -7.46342e-08 6.3849e-08 -6.45591e-08 7.7051e-08 -1.01722e-07 1.26612e-07 -1.81767e-07 2.36723e-07 -2.86334e-07 4.17538e-07 -6.17339e-07 8.04657e-07 -9.93299e-07 1.1979e-06 -1.41489e-06 1.55172e-06 -1.52719e-06 1.2541e-06 -7.33882e-07 3.84135e-07 -3.28231e-07 3.07699e-07 -2.75112e-07 1.18919e-07 -1.15467e-07 2.88169e-07 -7.45467e-08 -2.20096e-07 9.69612e-08 -6.53663e-08 4.94017e-08 -7.03778e-08 1.11366e-07 -1.27551e-07 1.37796e-07 -1.27976e-07 8.8126e-08 -4.91997e-08 6.41601e-09 4.9266e-08 -1.33919e-07 1.57562e-07 -1.52431e-07 1.52566e-07 -1.61538e-07 1.8053e-07 -2.09755e-07 2.39871e-07 -2.67668e-07 2.92574e-07 -3.10125e-07 3.14181e-07 -3.08432e-07 2.97686e-07 -2.82757e-07 2.66061e-07 -2.47012e-07 2.29281e-07 -2.12956e-07 2.01315e-07 -1.94411e-07 1.93823e-07 -2.0049e-07 2.15021e-07 -2.37811e-07 2.86552e-07 -3.74896e-07 4.6085e-07 -5.95244e-07 7.4513e-07 -9.21279e-07 1.10377e-06 -1.26434e-06 1.38243e-06 -1.46467e-06 1.46238e-06 -1.31959e-06 9.97265e-07 -5.92737e-07 3.41019e-07 -2.32688e-07 1.99602e-07 -1.78389e-07 9.03951e-08 -6.50702e-08 1.84161e-07 -1.24766e-07 -9.93564e-08 7.83256e-08 -7.10282e-08 5.76157e-08 -7.56193e-08 1.02909e-07 -1.2091e-07 1.25312e-07 -1.17907e-07 8.2658e-08 -4.71901e-08 3.6976e-09 4.47118e-08 -1.216e-07 3.18727e-07 -2.96699e-07 2.79916e-07 -2.67607e-07 2.61563e-07 -2.61026e-07 2.65018e-07 -2.72482e-07 2.8098e-07 -2.89766e-07 2.96716e-07 -3.02095e-07 3.05413e-07 -3.07285e-07 3.07934e-07 -3.0802e-07 3.08316e-07 -3.09744e-07 3.13115e-07 -3.1951e-07 3.28839e-07 -3.42428e-07 3.59332e-07 -3.86416e-07 4.20734e-07 -4.60389e-07 5.05789e-07 -5.87992e-07 7.23798e-07 -9.16392e-07 1.11853e-06 -1.28499e-06 1.34272e-06 -1.29119e-06 1.1316e-06 -9.05707e-07 7.22064e-07 -5.25915e-07 3.8485e-07 -2.87767e-07 2.61366e-07 -2.41038e-07 1.61391e-07 -9.67862e-08 1.41916e-07 -6.33478e-08 -6.91887e-08 6.00505e-08 -6.71748e-08 5.94335e-08 -7.66281e-08 9.48555e-08 -1.12035e-07 1.13185e-07 -1.07042e-07 7.62797e-08 -4.4404e-08 1.77985e-09 4.01541e-08 -1.08193e-07 5.03133e-07 -4.7949e-07 4.59692e-07 -4.41918e-07 4.28063e-07 -4.16582e-07 4.08324e-07 -4.0203e-07 3.97848e-07 -3.9489e-07 3.93065e-07 -3.91937e-07 3.91512e-07 -3.91805e-07 3.92997e-07 -3.95617e-07 3.9996e-07 -4.07216e-07 4.17507e-07 -4.32686e-07 4.51698e-07 -4.76269e-07 5.02115e-07 -5.27795e-07 5.43003e-07 -5.35684e-07 5.12138e-07 -4.8286e-07 4.86543e-07 -5.89371e-07 7.24719e-07 -8.22809e-07 7.92645e-07 -6.94524e-07 6.00761e-07 -4.18114e-07 2.69937e-07 -2.25265e-07 3.08226e-07 -3.77725e-07 3.99043e-07 -3.91858e-07 3.44797e-07 -2.58001e-07 1.94057e-07 -7.89666e-08 -2.14379e-08 3.72791e-08 -5.60585e-08 5.60042e-08 -7.33774e-08 8.6294e-08 -1.01519e-07 1.01035e-07 -9.55754e-08 6.91408e-08 -4.09958e-08 9.47969e-10 3.51603e-08 -9.40607e-08 7.19007e-07 -6.94559e-07 6.71916e-07 -6.48758e-07 6.27548e-07 -6.06143e-07 5.86757e-07 -5.67437e-07 5.50181e-07 -5.33261e-07 5.18458e-07 -5.04325e-07 4.92411e-07 -4.81653e-07 4.73372e-07 -4.67012e-07 4.63631e-07 -4.63425e-07 4.67105e-07 -4.75973e-07 4.90187e-07 -5.12516e-07 5.41944e-07 -5.82528e-07 6.29152e-07 -6.62144e-07 6.67173e-07 -6.19811e-07 5.03753e-07 -3.52946e-07 2.99028e-07 -2.9888e-07 2.0542e-07 -1.45353e-07 -1.24258e-07 2.96932e-07 -2.93406e-07 5.97165e-08 2.5111e-07 -4.43468e-07 4.5043e-07 -4.17005e-07 3.72413e-07 -2.75612e-07 1.8873e-07 -8.43467e-08 9.46887e-09 1.7862e-08 -4.23489e-08 4.90815e-08 -6.64456e-08 7.66257e-08 -8.95273e-08 8.85066e-08 -8.35607e-08 6.12896e-08 -3.70481e-08 7.67219e-10 2.96653e-08 -7.94292e-08 8.919e-07 -8.60922e-07 8.3092e-07 -7.98976e-07 7.68603e-07 -7.36817e-07 7.07024e-07 -6.76335e-07 6.4807e-07 -6.19491e-07 5.9368e-07 -5.68099e-07 5.45475e-07 -5.23605e-07 5.0483e-07 -4.8727e-07 4.72795e-07 -4.59981e-07 4.50174e-07 -4.42473e-07 4.37864e-07 -4.36463e-07 4.39669e-07 -4.50922e-07 4.75993e-07 -5.25325e-07 5.72505e-07 -6.01277e-07 5.47622e-07 -3.50028e-07 3.21287e-09 2.82629e-07 -4.41401e-07 5.57886e-07 -5.25771e-07 4.03766e-07 -2.09262e-07 2.57349e-08 1.66488e-07 -2.55648e-07 2.96905e-07 -2.88237e-07 2.57576e-07 -2.04392e-07 1.46911e-07 -7.68439e-08 2.39939e-08 4.43665e-09 -2.93523e-08 4.03508e-08 -5.68157e-08 6.57099e-08 -7.61942e-08 7.53116e-08 -7.09704e-08 5.27265e-08 -3.25878e-08 1.0263e-09 2.37608e-08 -6.45337e-08 8.81051e-07 -8.4682e-07 8.11972e-07 -7.74034e-07 7.38418e-07 -7.01417e-07 6.67268e-07 -6.32812e-07 6.01733e-07 -5.7094e-07 5.43579e-07 -5.16765e-07 4.93104e-07 -4.70045e-07 4.49786e-07 -4.30074e-07 4.12738e-07 -3.9578e-07 3.80615e-07 -3.65297e-07 3.50893e-07 -3.35347e-07 3.19697e-07 -3.02106e-07 2.85045e-07 -2.69695e-07 2.65948e-07 -2.92322e-07 3.56668e-07 -4.13248e-07 3.85087e-07 -1.66161e-07 -3.81968e-08 1.77849e-07 -2.03886e-07 1.72465e-07 -1.50824e-07 4.09416e-08 3.68606e-08 -8.47081e-08 1.2781e-07 -1.47981e-07 1.47255e-07 -1.30774e-07 1.02259e-07 -6.27057e-08 2.784e-08 -3.55866e-09 -1.8691e-08 3.1102e-08 -4.54499e-08 5.34411e-08 -6.14919e-08 6.09843e-08 -5.74417e-08 4.31871e-08 -2.73967e-08 1.53555e-09 1.75836e-08 -4.94391e-08 4.56125e-07 -4.40564e-07 4.26217e-07 -4.09205e-07 3.95728e-07 -3.81588e-07 3.69185e-07 -3.57167e-07 3.46569e-07 -3.36425e-07 3.27617e-07 -3.19202e-07 3.11756e-07 -3.04366e-07 2.97469e-07 -2.90199e-07 2.83067e-07 -2.75237e-07 2.67346e-07 -2.58481e-07 2.49395e-07 -2.38907e-07 2.28104e-07 -2.15716e-07 2.03174e-07 -1.89892e-07 1.78874e-07 -1.71723e-07 1.71543e-07 -1.76694e-07 1.80822e-07 -1.69639e-07 1.40969e-07 -8.77655e-08 2.57525e-08 3.19696e-08 -6.83047e-08 6.14252e-08 -4.63375e-08 1.62231e-08 2.32794e-08 -5.58458e-08 7.23576e-08 -7.4838e-08 6.43868e-08 -4.44574e-08 2.34543e-08 -5.54823e-09 -1.11792e-08 2.22227e-08 -3.31741e-08 3.97063e-08 -4.52809e-08 4.50179e-08 -4.23707e-08 3.21279e-08 -2.08969e-08 1.8397e-09 1.14925e-08 -3.4228e-08 -8.69668e-08 6.80403e-08 -4.88092e-08 2.72167e-08 -5.39884e-09 -1.87054e-08 4.05934e-08 -6.23626e-08 8.13111e-08 -9.91077e-08 1.13487e-07 -1.26003e-07 1.35328e-07 -1.42781e-07 1.47728e-07 -1.51037e-07 1.52469e-07 -1.52404e-07 1.50948e-07 -1.48123e-07 1.44358e-07 -1.39403e-07 1.33964e-07 -1.27599e-07 1.2107e-07 -1.13867e-07 1.06872e-07 -9.94337e-08 9.2206e-08 -8.38295e-08 7.40298e-08 -5.99418e-08 4.11201e-08 -1.29343e-08 -2.1683e-08 5.83202e-08 -8.18505e-08 8.20111e-08 -6.80183e-08 4.12822e-08 -1.20251e-08 -1.30302e-08 2.82591e-08 -3.44595e-08 3.1998e-08 -2.34256e-08 1.28706e-08 -2.50925e-09 -7.04161e-09 1.39833e-08 -2.02989e-08 2.42118e-08 -2.71476e-08 2.68298e-08 -2.51013e-08 1.89748e-08 -1.24198e-08 1.2325e-09 6.14902e-09 -1.91498e-08 7.92265e-09 -1.28735e-08 1.73233e-08 -2.15586e-08 2.50038e-08 -2.79425e-08 3.01e-08 -3.18396e-08 3.31631e-08 -3.44423e-08 3.56643e-08 -3.70519e-08 3.83875e-08 -3.97393e-08 4.08044e-08 -4.16101e-08 4.19742e-08 -4.19333e-08 4.15054e-08 -4.07494e-08 3.98708e-08 -3.88735e-08 3.76121e-08 -3.65564e-08 3.58134e-08 -3.51798e-08 3.466e-08 -3.41245e-08 3.34494e-08 -3.22587e-08 3.01624e-08 -2.62843e-08 2.02926e-08 -1.10419e-08 -9.85047e-11 1.22773e-08 -2.09036e-08 2.37997e-08 -2.15396e-08 1.52752e-08 -7.78185e-09 1.10117e-09 3.04206e-09 -4.62172e-09 3.61905e-09 -7.96257e-10 -2.52954e-09 5.65963e-09 -7.88912e-09 8.63933e-09 -8.8324e-09 8.76812e-09 -8.48841e-09 7.33918e-09 -6.04749e-09 3.98768e-09 -2.49433e-09 8.03699e-11 1.37228e-09 -4.29753e-09 ) ; boundaryField { leftWall { type calculated; value uniform 0; } rightWall { type calculated; value uniform 0; } lowerWall { type calculated; value uniform 0; } atmosphere { type calculated; value nonuniform List<scalar> 240 ( 1.53857e-07 4.23944e-07 7.72908e-07 5.10904e-07 1.42496e-07 -8.61308e-08 -1.96458e-07 -2.4785e-07 -2.74611e-07 -2.88231e-07 -2.93258e-07 -2.91058e-07 -2.81904e-07 -2.6692e-07 -2.48819e-07 -2.32965e-07 -2.24144e-07 -2.22635e-07 -2.2269e-07 -2.18479e-07 -2.1017e-07 -1.94925e-07 -1.74339e-07 -1.53405e-07 -1.32932e-07 -1.15548e-07 -1.01904e-07 -8.99274e-08 -7.2143e-08 -4.30735e-08 1.08112e-06 -1.6687e-06 -3.54559e-06 7.70892e-08 2.87226e-07 4.52001e-07 4.92691e-07 4.08053e-07 2.958e-07 3.01909e-07 4.37049e-07 6.2587e-07 7.53253e-07 7.44913e-07 1.01171e-06 2.94982e-07 1.80218e-07 1.65375e-07 5.04848e-08 -2.95034e-08 -1.08265e-07 -1.60614e-07 -1.59514e-07 -1.47281e-07 -1.31251e-07 -1.15753e-07 -1.01929e-07 -8.97385e-08 -7.905e-08 -6.95838e-08 -6.76843e-08 -7.24783e-08 -7.63233e-08 -7.85421e-08 -7.84212e-08 -7.55071e-08 -6.91213e-08 -5.86688e-08 -4.32271e-08 -2.20878e-08 4.59838e-09 3.78762e-08 7.60604e-08 1.17652e-07 1.5989e-07 1.96101e-07 2.11664e-07 1.79347e-07 1.00602e-07 3.43596e-08 2.66683e-08 7.04464e-08 1.28824e-07 1.64726e-07 1.56531e-07 9.83413e-08 -2.87031e-09 -1.08103e-07 -1.20874e-07 1.45474e-08 3.70296e-07 7.247e-07 4.94249e-07 1.43812e-07 -6.27235e-08 -1.70727e-07 -2.23676e-07 -2.4979e-07 -2.62281e-07 -2.67825e-07 -2.69148e-07 -2.67519e-07 -2.63626e-07 -2.5731e-07 -2.48746e-07 -2.37967e-07 -2.25147e-07 -2.10436e-07 -1.94026e-07 -1.76402e-07 -1.57912e-07 -1.39034e-07 -1.20122e-07 -1.01585e-07 -8.36527e-08 -6.64986e-08 -5.00816e-08 -3.42618e-08 -1.89561e-08 -4.47634e-09 -1.67366e-06 -4.707e-06 1.25664e-05 -2.83528e-06 -2.00004e-07 3.28836e-07 4.63876e-07 4.35789e-07 3.2332e-07 2.67525e-07 3.3876e-07 5.0551e-07 6.67858e-07 7.28942e-07 7.3574e-07 8.1216e-07 1.43092e-07 1.70045e-07 1.14906e-07 1.30208e-08 -5.95915e-08 -1.37203e-07 -1.5387e-07 -1.46586e-07 -1.32429e-07 -1.17108e-07 -1.03201e-07 -9.08821e-08 -8.00095e-08 -7.03718e-08 -6.86924e-08 -7.39017e-08 -7.84601e-08 -8.17579e-08 -8.29693e-08 -8.14251e-08 -7.6643e-08 -6.78931e-08 -5.43238e-08 -3.51616e-08 -9.87431e-09 2.15141e-08 5.94722e-08 1.01693e-07 1.46448e-07 1.88992e-07 2.19034e-07 2.14028e-07 1.49374e-07 6.54533e-08 2.39667e-08 4.62513e-08 1.05825e-07 1.59061e-07 1.74698e-07 1.39552e-07 5.0773e-08 -7.38444e-08 -1.76953e-07 -1.62629e-07 2.61844e-07 5.85572e-07 7.12451e-07 3.00501e-07 1.00574e-08 -1.4628e-07 -2.17846e-07 -2.52938e-07 -2.71671e-07 -2.80556e-07 -2.81801e-07 -2.76198e-07 -2.64433e-07 -2.4802e-07 -2.31019e-07 -2.18673e-07 -2.14106e-07 -2.14367e-07 -2.12589e-07 -2.06436e-07 -1.95617e-07 -1.77712e-07 -1.57543e-07 -1.37463e-07 -1.18961e-07 -1.04189e-07 -9.23508e-08 -7.93054e-08 -5.62325e-08 -1.95646e-08 2.10738e-07 5.66901e-07 7.19119e-07 3.14194e-07 2.52188e-08 -1.31662e-07 -2.10074e-07 -2.48755e-07 -2.67786e-07 -2.76341e-07 -2.79602e-07 -2.79453e-07 -2.76522e-07 -2.7128e-07 -2.6344e-07 -2.53464e-07 -2.41192e-07 -2.26769e-07 -2.10557e-07 -1.92884e-07 -1.74031e-07 -1.54509e-07 -1.34776e-07 -1.15239e-07 -9.62531e-08 -7.79885e-08 -6.0539e-08 -4.38021e-08 -2.75914e-08 -1.19956e-08 ) ; } defaultFaces { type empty; value nonuniform 0(); } } // ************************************************************************* //
[ "stig.m.nilsen@gmail.com" ]
stig.m.nilsen@gmail.com
8b4fdce889fa4c595bea5e68b399515644ac16f3
784b33a310d3a797a692758d44eca4f547a1d0b7
/CompetitiveProgramming/greaterTwoNoIfElse.cpp
a5ba7a999a98bfec5f11531a6e7b93d41a749bf4
[]
no_license
bikash-das/cppPrograms
cf55ee4db713fa14ec3f5ae188cbf297795c7cc9
8b70bce4b8a6de6c2b9076f3eec897ec625888ff
refs/heads/master
2020-05-02T19:46:52.943982
2019-12-26T15:04:18
2019-12-26T15:04:18
178,168,784
0
0
null
null
null
null
UTF-8
C++
false
false
328
cpp
#include <iostream> using namespace std; int larger(int a, int b){ int c = a-b; //find msb = k int mask = 100000000; int k = c & mask; if(k == mask){ k = 1; } // cout << "k: " << k <<"\n"; return (1-k)*a + k * b; } int main(){ int a = 200, b = 100; cout << larger(a,b) << "\n"; }
[ "dasbikash989@gmail.com" ]
dasbikash989@gmail.com
cb50f02c9c43b7927eb0324331c7dd4873c1041b
2f97140d1b50c13ad7ac85970e6c41c30200c1b2
/redux/Particles.cpp
cec6bf8f3d32ae4af52fa1a00eacd2d64769a915
[]
no_license
mrdooz/codename_ch
1b46d4b981551cbfd9eb7c63779d2820d403f52b
4f6aa35ebc97ee4ebfabe740cda004d470edbd96
refs/heads/master
2016-09-06T10:35:57.357010
2010-02-23T20:21:41
2010-02-23T20:21:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,222
cpp
#include "stdafx.h" #include "Particles.hpp" #include "Mesh.hpp" #include "DebugRenderer.hpp" #include "VertexBuffer.hpp" #include "IndexBuffer.hpp" using namespace std; using namespace boost::assign; extern ID3D10Device* g_d3d_device; namespace { } Particles::Particles(SystemInterface* system, EffectManager* effect_manager) : _system(system) , _effect_manager(effect_manager) , animation_manager_(new AnimationManager()) , current_camera_(0) , free_fly_camera_enabled_(true) , _dynamic_mgr(new DebugRenderer(g_d3d_device)) , effect_(g_d3d_device) { //ib = new IndexBuffer<uint32_t>(g_d3d_device); //vb = new VertexBuffer< mpl::vector<D3DXVECTOR3> >(g_d3d_device); _system->add_renderable(this); Serializer::instance().add_instance(this); LOG_MGR. EnableOutput(LogMgr::File). OpenOutputFile("log.txt"). BreakOnError(true); } Particles::~Particles() { clear_vector(loaded_effects_); clear_vector(loaded_materials_); clear_vector(loaded_material_connections_); effect_list_.clear(); effects_.clear(); delete(xchg_null(_dynamic_mgr)); container_delete(effect_connections_); xchg_null(_system); xchg_null(_effect_manager); } bool Particles::close() { return true; } #define RETURN_ON_FALSE(x) if (!(x)) { return false; } else {} bool Particles::init() { RETURN_ON_FALSE(effect_.load("effects/Particles.fx")); RETURN_ON_FALSE(_dynamic_mgr->init()); D3D10_PASS_DESC desc; RETURN_ON_FALSE(effect_.get_pass_desc(desc, "render")); return true; } void Particles::render(const int32_t time_in_ms, const int32_t delta) { } void Particles::process_input_callback(const Input& input) { // TODO: For this to really work, we need to be able to get the key-up event, so we can use that to toggle // switch between different cameras. if (scene_.cameras_.empty()) { free_fly_camera_enabled_ = true; } else { if (input.key_status['0']) { free_fly_camera_enabled_ = true; } const uint32_t num_cameras = scene_.cameras_.size(); for (uint32_t i = 0; i < num_cameras; ++i) { if (input.key_status['1' + i]) { free_fly_camera_enabled_ = false; current_camera_ = i; break; } } } }
[ "dooz@spotify.com" ]
dooz@spotify.com
c026ce127430cd7d9dda1030b81360b8af164855
16644e730cddde1df0d0ba9cfcc1c5e586e08ac9
/DOD Ray Tracer/main.cpp
391446ab9f76313f0b966c49de3a498b7dd22d68
[]
no_license
rstratton/dod-ray-tracer
969a446d853765444391f53a4425cc81322c69c4
52565f00c27745e422e089aa9b1ee8f45dfba611
refs/heads/master
2020-05-17T03:41:34.424344
2019-05-07T01:38:48
2019-05-07T01:38:48
183,487,423
0
0
null
null
null
null
UTF-8
C++
false
false
14,140
cpp
#include "pch.h" #define _USE_MATH_DEFINES #include "math.h" #include <iostream> #include <vector> #include <limits> #pragma warning(disable:4996) inline float max(float a, float b) { return a > b ? a : b; } inline float min(float a, float b) { return a < b ? a : b; } struct Vector { float x; float y; float z; Vector() {}; Vector(float x, float y, float z) : x(x), y(y), z(z) {}; Vector(const Vector& v) : x(v.x), y(v.y), z(v.z) {}; Vector operator+(const Vector& o) const { return Vector( x + o.x, y + o.y, z + o.z ); } Vector& operator+=(const Vector& o) { x += o.x; y += o.y; z += o.z; return *this; } Vector operator-(const Vector& o) const { return Vector( x - o.x, y - o.y, z - o.z ); } Vector operator-() const { return Vector(-x, -y, -z); } Vector operator*(float f) const { return Vector( f * x, f * y, f * z ); } Vector operator/(float f) const { return Vector( x / f, y / f, z / f ); } Vector normalized() const { return (*this) / mag(); } float mag() const { return sqrt(sqmag()); } float sqmag() const { return x * x + y * y + z * z; } float dot(const Vector& o) const { return x * o.x + y * o.y + z * o.z; } }; Vector operator*(float f, const Vector& v) { return Vector( f * v.x, f * v.y, f * v.z ); } struct Ray { Vector pos; Vector dir; Ray() {}; Ray(const Vector& pos, const Vector& dir) : pos(pos), dir(dir) {}; }; struct RayHit { Vector pos; Vector norm; Vector dir; uint8_t hasHit : 1; }; struct Camera { float verticalFov; int width; int height; Vector pos; }; struct Plane { Vector pos; Vector norm; }; struct Sphere { Vector pos; float rad; }; struct Color { uint8_t r; uint8_t g; uint8_t b; }; struct PointLight { Vector pos; Vector color; }; float degToRad(float deg) { return deg * M_PI / 180.f; } void createPrimaryRays(Camera camera, Ray** pRays, int& numRays) { int pixelCount = camera.width * camera.height; Ray* rays = new Ray[pixelCount]; *pRays = rays; numRays = pixelCount; float verticalImagePlaneSize = 2 * tanf(degToRad(camera.verticalFov / 2)); float horizontalImagePlaneSize = (verticalImagePlaneSize / camera.height) * camera.width; float x_0 = -horizontalImagePlaneSize / 2; float y_0 = verticalImagePlaneSize / 2; float dx = horizontalImagePlaneSize / camera.width; float dy = -verticalImagePlaneSize / camera.height; for (int i = 0; i < camera.height; ++i) { int rowOffset = i * camera.width; for (int j = 0; j < camera.width; ++j) { int rayIdx = rowOffset + j; // NOTE: Primary rays all share the initial camera position. Maybe primary rays should be // a different struct since they'll all share the same position. rays[rayIdx].pos = camera.pos; rays[rayIdx].dir = Vector(x_0 + j * dx, y_0 + i * dy, -1.f).normalized(); } } } bool rayIntersectsSphere(const Ray& r, const Sphere& s, RayHit& h) { float a = r.dir.sqmag(); Vector v = r.pos - s.pos; float b = 2 * r.dir.dot(v); float c = v.sqmag() - s.rad * s.rad; float disc = b * b - 4 * a*c; if (disc < 0) return false; //we only care about the minus in the plus or minus float t = (-b - sqrt(disc)) / (2 * a); h.hasHit = false; if (t < 0) return false; h.pos = r.pos + r.dir * t; h.norm = (h.pos - s.pos).normalized(); h.dir = r.dir; h.hasHit = true; return true; } bool rayIntersectsPlane(Ray r, Plane p, RayHit& h) { // Taken from graphicscodex.com // t = ((P - C).dot(n)) / (w.dot(n)) // Ray equation: X(t) = P + t*w h.hasHit = false; float numerator = (r.pos - p.pos).dot(p.norm); float denominator = r.dir.dot(p.norm); if (denominator >= 0) return false; float t = -numerator / denominator; if (t < 0) return false; h.norm = p.norm; h.pos = r.pos + t * r.dir; h.dir = r.dir; h.hasHit = true; return true; } void computeRayHits(Ray* rays, int numRays, Sphere* spheres, int numSpheres, Plane* planes, int numPlanes, RayHit** pRayHits) { // We will have at most `numRays` hits RayHit* rayHits = new RayHit[numRays]; *pRayHits = rayHits; for (int rayIdx = 0; rayIdx < numRays; ++rayIdx) { Ray ray = rays[rayIdx]; RayHit newHit, closestHit; float closestHitDistanceSquared = std::numeric_limits<float>::infinity(); // Spheres for (int sphereIdx = 0; sphereIdx < numSpheres; ++sphereIdx) { if (rayIntersectsSphere(ray, spheres[sphereIdx], newHit)) { float newHitDistanceSquared = (newHit.pos - ray.pos).sqmag(); if (closestHitDistanceSquared > newHitDistanceSquared) { closestHit = newHit; closestHitDistanceSquared = newHitDistanceSquared; } } } // Planes for (int planeIdx = 0; planeIdx < numPlanes; ++planeIdx) { if (rayIntersectsPlane(ray, planes[planeIdx], newHit)) { float newHitDistanceSquared = (newHit.pos - ray.pos).sqmag(); if (closestHitDistanceSquared > newHitDistanceSquared) { closestHit = newHit; closestHitDistanceSquared = newHitDistanceSquared; } } } rayHits[rayIdx] = closestHit; } } void selectReflectableIntersections(RayHit* rayHits, int numRayHits, std::vector<int>** pReflectableRayHits, std::vector<int>* primaryRayIndices, std::vector<int>** pNewPrimaryRayIndices, int& numReflectableRayHits) { std::vector<int>* reflectableRayHits = new std::vector<int>(); *pReflectableRayHits = reflectableRayHits; std::vector<int>* newPrimaryRayIndices = new std::vector<int>(); *pNewPrimaryRayIndices = newPrimaryRayIndices; reflectableRayHits->reserve(numRayHits); newPrimaryRayIndices->reserve(numRayHits); int numReflectable = 0; for (int i = 0; i < numRayHits; ++i) { if (rayHits[i].hasHit) { reflectableRayHits->push_back(i); newPrimaryRayIndices->push_back((*primaryRayIndices)[i]); ++numReflectable; } } numReflectableRayHits = numReflectable; reflectableRayHits->shrink_to_fit(); newPrimaryRayIndices->shrink_to_fit(); } void computeReflectionRays(RayHit* rayHits, int numRayHits, Ray** pReflectionRays) { Ray* reflectionRays = new Ray[numRayHits]; *pReflectionRays = reflectionRays; for (int i = 0; i < numRayHits; ++i) { RayHit hit = rayHits[i]; Vector v = -hit.dir.normalized(); Vector n = hit.norm.normalized(); Vector direction = ((n * (2 * v.dot(n))) - v).normalized(); reflectionRays[i] = Ray(hit.pos + 0.001f * direction, direction); } } void computePointLightDiffuse(RayHit* rayHits, int numRayHits, PointLight* lights, int numLights, Vector* diffuseColor, Sphere* spheres, int numSpheres, Plane* planes, int numPlanes) { for (int rayHitIdx = 0; rayHitIdx < numRayHits; ++rayHitIdx) { RayHit hit = rayHits[rayHitIdx]; if (!hit.hasHit) { continue; } for (int lightIdx = 0; lightIdx < numLights; ++lightIdx) { PointLight light = lights[lightIdx]; Vector lightDiff = light.pos - hit.pos; float lightDistanceSquared = lightDiff.sqmag(); Vector lightDir = lightDiff.normalized(); Ray shadowRay(hit.pos + hit.norm * 0.001f, lightDir); RayHit shadowHit; bool hasHit = false; // Spheres for (int sphereIdx = 0; sphereIdx < numSpheres && !hasHit; ++sphereIdx) { if (rayIntersectsSphere(shadowRay, spheres[sphereIdx], shadowHit)) { if ((shadowHit.pos - hit.pos).sqmag() < lightDistanceSquared) { hasHit = true; } } } // Planes for (int planeIdx = 0; planeIdx < numPlanes && !hasHit; ++planeIdx) { if (rayIntersectsPlane(shadowRay, planes[planeIdx], shadowHit)) { if ((shadowHit.pos - hit.pos).sqmag() < lightDistanceSquared) { hasHit = true; } } } if (!hasHit) { diffuseColor[rayHitIdx] = diffuseColor[rayHitIdx] + light.color * max(hit.norm.dot(lightDir), 0.f); } } } } void convertDiffuseToPixels(Vector* diffuse, unsigned char **pPixels, int numPixels) { unsigned char *pixels = new unsigned char[3 * numPixels]; *pPixels = pixels; for (int i = 0; i < numPixels; ++i) { Vector value = diffuse[i]; pixels[3 * i] = (int) min(value.x * 255, 255); pixels[3 * i + 1] = (int) min(value.y * 255, 255); pixels[3 * i + 2] = (int) min(value.z * 255, 255); } } void integrateReflection(Vector* diffuse, Vector* refDiffuse, int numReflectionRays, std::vector<int>& primaryRayIndices) { for (int i = 0; i < numReflectionRays; ++i) { int diffIdx = primaryRayIndices[i]; diffuse[diffIdx] = diffuse[diffIdx] + refDiffuse[i]; } } void writePPM(unsigned char *buf, int width, int height, const char *fn) { FILE *fp = fopen(fn, "wb"); fprintf(fp, "P6\n"); fprintf(fp, "%d %d\n", width, height); fprintf(fp, "255\n"); for (int i = 0; i < width*height * 3; ++i) { fputc(buf[i], fp); } fclose(fp); printf("Wrote image file %s\n", fn); } int main() { Camera camera; camera.verticalFov = 50.f; camera.width = 1000; camera.height = 1000; camera.pos = { 0.f, 6.f, 20.f }; int numSpheresHorizontal = 5; int numSpheresVertical = 5; int numSpheres = numSpheresHorizontal * numSpheresVertical; Sphere* spheres = new Sphere[numSpheres]; for (int i = 0; i < numSpheresHorizontal; ++i) { for (int j = 0; j < numSpheresVertical; ++j) { Sphere s; s.pos = Vector((i * 3) - 6, 0, -j * 3); s.rad = 1.f; spheres[i * numSpheresHorizontal + j] = s; } } int numPlanes = 6; Plane* planes = new Plane[numPlanes]; planes[0] = { { 0.f, -1.f, 0.f }, { 0.f, 1.f, 0.f } }; planes[1] = { { 0.f, 0.f, -30.f }, { 0.f, 0.f, 1.f } }; planes[2] = { { -20.f, 0.f, 0.f }, { 1.f, 0.f, 0.f } }; planes[3] = { { 20.f, 0.f, 0.f }, { -1.f, 0.f, 0.f } }; planes[4] = { { 0.f, 40.f, 0.f }, { 0.f, -1.f, 0.f } }; planes[5] = { { 0.f, 0.f, 39.f }, { 0.f, 0.f, -1.f } }; int numLights = 2; PointLight* pointLights = new PointLight[numLights]; pointLights[0] = { { 19.f, 19.f, 1.f }, { 0.07f, 0.07f, 0.05f } }; pointLights[1] = { { -19.f, 4.f, 4.f }, { 0.05f, 0.05f, 0.07f } }; // Create primary rays int numRays; Ray* rays; createPrimaryRays(camera, &rays, numRays); // Compute primary ray hits RayHit* rayHits; computeRayHits(rays, numRays, spheres, numSpheres, planes, numPlanes, &rayHits); delete[] rays; // Compute direct illumination for primary ray hits Vector* diffuse = new Vector[numRays]; for (int i = 0; i < numRays; ++i) { diffuse[i] = { 0.f, 0.f, 0.f }; } computePointLightDiffuse(rayHits, numRays, pointLights, numLights, diffuse, spheres, numSpheres, planes, numPlanes); // Initialize map from rayHit index to primaryRay/pixel index (initialized to identity map) std::vector<int>* primaryRayIndices = new std::vector<int>(); primaryRayIndices->resize(numRays); for (int i = 0; i < numRays; ++i) { (*primaryRayIndices)[i] = i; } int curNumRays = numRays; // Compute contribution from reflections for (int i = 0; i < 10; ++i) { // Select rays which intersected with scene objects std::vector<int>* reflectableRayHitIndices; std::vector<int>* newPrimaryRayIndices; int numReflectableRayHits; selectReflectableIntersections(rayHits, curNumRays, &reflectableRayHitIndices, primaryRayIndices, &newPrimaryRayIndices, numReflectableRayHits); delete primaryRayIndices; primaryRayIndices = newPrimaryRayIndices; RayHit* reflectableRayHits = new RayHit[numReflectableRayHits]; for (int j = 0; j < numReflectableRayHits; ++j) { reflectableRayHits[j] = rayHits[(*reflectableRayHitIndices)[j]]; } delete[] rayHits; Ray* reflectionRays; computeReflectionRays(reflectableRayHits, numReflectableRayHits, &reflectionRays); delete[] reflectableRayHits; // Compute reflection ray hits RayHit* reflectionRayHits; computeRayHits(reflectionRays, numReflectableRayHits, spheres, numSpheres, planes, numPlanes, &reflectionRayHits); delete[] reflectionRays; // Compute diffuse color for reflection ray hits Vector* refDiffuse = new Vector[numReflectableRayHits]; for (int i = 0; i < numReflectableRayHits; ++i) { refDiffuse[i] = { 0.f, 0.f, 0.f }; } computePointLightDiffuse(reflectionRayHits, numReflectableRayHits, pointLights, numLights, refDiffuse, spheres, numSpheres, planes, numPlanes); rayHits = reflectionRayHits; curNumRays = numReflectableRayHits; // Integrate diffuse from reflection rays with primary rays integrateReflection(diffuse, refDiffuse, numReflectableRayHits, *primaryRayIndices); delete[] refDiffuse; } unsigned char* pixels; convertDiffuseToPixels(diffuse, &pixels, numRays); writePPM(pixels, camera.width, camera.height, "..\\renders\\image.ppm"); return 0; }
[ "r.a.stratton88@gmail.com" ]
r.a.stratton88@gmail.com
52ac791956fd0e7b2b8b6f76cd16f045c9c17ec6
f700ef57902e8b92891a78d599f55328e3e02770
/sort/sort/quick.h
cff6d71d41b387c2229e5bbc7a74fa670e2fde7e
[]
no_license
Gautumn/Algorithm
77833ea36b64484ad0334e9b48bb5ba3bd965cc7
e4ab697b596bd456b8b041dc6304c902fc8d05a0
refs/heads/master
2020-12-07T19:45:34.468096
2020-01-17T10:51:47
2020-01-17T10:51:47
232,784,864
0
0
null
null
null
null
WINDOWS-1252
C++
false
false
1,340
h
#pragma once template <typename T, typename Comp> size_t quickSort(std::vector<T> &v, size_t lo, size_t hi, const Comp &comp) { size_t i = lo, j = hi + 1; while (true) { while (comp(a[++i], a[lo])) if (i == hi) break; while (comp[a[lo], a[--j]]) if (j == lo) break; if (i >= j) break; std::swap(v[i], v[j]); } std::swap(a[lo], a[j]); return j; } template <typename T, typename Comp> void quickSort(std::vector<T> &v, size_t lo, size_t hi, const Comp &comp) { if (hi <= lo) return; size_t j = partition(v, lo, hi); quickSort(v, lo, j - 1); quickSort(v, j + 1, hi); } /// ÈýÏòÇÐ·Ö template <typename T, typename Comp> void quickSort(std::vector<T> &v, size_t lo, size_t hi, const Comp &comp) { if (hi <= lo) return; size_t lt = lo, i = lo + 1, gt = hi; while (i <= gt) { int cmp = comp(a[i], a[lo]); if (cmp < 0) std::swap(v[lt++], v[i++]); else if (cmp > 0) std::swap(v[gt--], v[i]); else i++; } sort(v, lo, lt - 1, comp); sort(v, gt + 1, hi, comp); } template <typename T, typename Comp> void quickSort(std::vector<T> &v, const Comp &comp) { quickSort(v, 0, v.size() - 1, comp); } template <typename T> void quickSort(std::vector<T> &v) { quickSort(v, std::less<T>()); }
[ "g_autumn@126.com" ]
g_autumn@126.com
0adecbbe7631f4da808524b48273b91642b1e427
b367fe5f0c2c50846b002b59472c50453e1629bc
/xbox_leak_may_2020/xbox trunk/xbox/private/ui/dvd/driver/dvdpldrv/Common/DVDAVDisk.h
d41084edb94a6703bd5def89a6577d326edcd8ae
[]
no_license
sgzwiz/xbox_leak_may_2020
11b441502a659c8da8a1aa199f89f6236dd59325
fd00b4b3b2abb1ea6ef9ac64b755419741a3af00
refs/heads/master
2022-12-23T16:14:54.706755
2020-09-27T18:24:48
2020-09-27T18:24:48
null
0
0
null
null
null
null
UTF-8
C++
false
false
6,739
h
//////////////////////////////////////////////////////////////////////////////// // // // Copyright 2000-2001 STMicroelectronics, Inc. All Rights Reserved. // // HIGHLY CONFIDENTIAL INFORMATION: This source code contains // // confidential and proprietary information of STMicroelectronics, Inc. // // This source code is provided to Microsoft Corporation under a written // // confidentiality agreement between STMicroelectronics and Microsoft. This // // software may not be reproduced, distributed, modified, disclosed, used, // // displayed, stored in a retrieval system or transmitted in whole or in part,// // in any form or by any means, electronic, mechanical, photocopying or // // otherwise, except as expressly authorized by STMicroelectronics. THE ONLY // // PERSONS WHO MAY HAVE ACCESS TO THIS SOFTWARE ARE THOSE PERSONS // // AUTHORIZED BY RAVISENT, WHO HAVE EXECUTED AND DELIVERED A // // WRITTEN CONFIDENTIALITY AGREEMENT TO STMicroelectronics, IN THE FORM // // PRESCRIBED BY STMicroelectronics. // // // //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// // // DVD Audio/Video specific Disk Information // //////////////////////////////////////////////////////////////////// #ifndef DVDAVDISK_H #define DVDAVDISK_H #include "DVDDisk.h" #include "DVDAVHeader.h" ////////////////////////////////////////////////////////////////////// // // DVD Video Manager Menu Class // // Description: // The VMGM represents the Title Menu. // ////////////////////////////////////////////////////////////////////// class DVDVMGM : public DVDMGM { protected: DVDVMGMVOBS * vmgmVobs; public: DVDVMGM(DVDDiskPlayerFactory * factory); virtual ~DVDVMGM(void); Error Init(DVDFileSystem * dvdfs, WORD parentalCountryCode); Error Identify(DVDManagerMenuType & mgmType); Error HasFirstPlayPGC(BOOL & hasFPP); Error GetFirstPlayPGCI(DVDGenericPGCI * & pgci); Error HasMPGCIUT(BOOL & hasMPGCIUT); Error GetMPGCIUT(DVDPGCIUT & pgciut); Error GetSRPT(DVDSRPT * & srpt); Error HasMGMVOBS(BOOL & hasMGMVOBS); Error GetMGMVOBS(DVDMGMVOBS * & mgmVobs); }; ////////////////////////////////////////////////////////////////////// // // DVD Audio Manager Menu Class // // Description: // DVD Audio Mananger Menu Class describes a table of contents for // all Audio Title Sets (ATSs) which exist in DVD-Audio zone, and // all Video Title Sets (VTSs) for Audio Titles, which exist in // DVD-Video zone. // ////////////////////////////////////////////////////////////////////// class DVDAMGM : public DVDMGM { protected: DVDAMGMVOBS * amgmVobs; public: DVDAMGM(DVDDiskPlayerFactory * factory); virtual ~DVDAMGM(void); Error Init(DVDFileSystem * dvdfs, WORD parentalCountryCode); Error Identify(DVDManagerMenuType & mgmType); Error HasFirstPlayPGC(BOOL & hasFPP); Error GetFirstPlayPGCI(DVDGenericPGCI * & pgci); Error HasMPGCIUT(BOOL & hasMPGCIUT); Error GetMPGCIUT(DVDPGCIUT & pgciut); Error GetSRPT(DVDSRPT * & srpt); Error HasMGMVOBS(BOOL & hasMGMVOBS); Error GetMGMVOBS(DVDMGMVOBS * & mgmvobs); }; ////////////////////////////////////////////////////////////////////// // // DVD Video Title Set Class // // Description: // The Video Title Set Class describes the Video Title Set. This // is a collection of Titles and VTSM. // ////////////////////////////////////////////////////////////////////// class DVDVTS : public DVDTS { protected: DVDVTSMVOBS * vtsmVobs; DVDVTSVOBS * vtsVobs; public: DVDVTS(DVDDiskPlayerFactory * factory); virtual ~DVDVTS(void); Error Init(DVDFileSystem * dvdfs, WORD ts, DVDPTLMAI ptlmai); Error HasPTT(BOOL & hasPTT); Error GetPTT(DVDPTT & ptt); Error HasMPGCIUT(BOOL & hasMPGCIUT); Error GetMPGCIUT(DVDPGCIUT & pgciut); Error GetPGCIT(DVDPGCIT & pgcit); DVDVTSMVOBS * GetVTSMVOBS(void) { return vtsmVobs; } DVDVTSVOBS * GetVTSVOBS(void) { return vtsVobs; } DVDOBS * GetTSOBS(void) { return vtsVobs; } }; ////////////////////////////////////////////////////////////////////// // // DVD Audio Title Set Class // // Description: // ATS defines the Audio Only Titles (AOTTs) which is defined by // the Navigation Data and the Audio Objects (AOBs) in the ATS, // or by the Navigation Data in the ATS and the audio part of // Video Objects (VOBs) in the VTS. // ////////////////////////////////////////////////////////////////////// class DVDATS : public DVDTS { protected: DVDATSAOTTOBS * atsAottObs; public: DVDATS(DVDDiskPlayerFactory * factory); virtual ~DVDATS(void); Error Init(DVDFileSystem * dvdfs, WORD ts, DVDPTLMAI ptlmai); virtual Error HasPTT(BOOL & hasPTT); virtual Error GetPTT(DVDPTT & ptt); virtual Error HasMPGCIUT(BOOL & hasMPGCIUT); virtual Error GetMPGCIUT(DVDPGCIUT & pgciut); virtual Error GetPGCIT(DVDPGCIT & pgcit); virtual DVDATSAOTTOBS * GetATSAOBS(void) { return atsAottObs; } DVDOBS * GetTSOBS(void) { return atsAottObs; } }; ////////////////////////////////////////////////////////////////////// // // DVD Video Disk Class // ////////////////////////////////////////////////////////////////////// class DVDVideoDisk : public DVDDisk { protected: DVDVMGM * vmgm; DVDVTS * currentVTS; public: DVDVideoDisk(DVDDiskPlayerFactory * factory); virtual ~DVDVideoDisk(void); Error Init(DVDFileSystem * diskfs, WORD parentalCountryCode); DVDMGM * GetMGM(void) { return (DVDMGM *)vmgm; } Error GetTS(WORD num, DVDTS * & titleSet); Error GetTSExclusive(WORD num, DVDTS * & titleSet, BOOL & deleteIt); }; ////////////////////////////////////////////////////////////////////// // // DVD Audio Disk Class // // Description: // ////////////////////////////////////////////////////////////////////// class DVDAudioDisk : public DVDDisk { protected: DVDAMGM * amgm; DVDATS * currentATS; public: DVDAudioDisk(DVDDiskPlayerFactory * factory); virtual ~DVDAudioDisk(void); Error Init(DVDFileSystem * diskfs, WORD parentalCountryCode); DVDMGM * GetMGM(void) { return (DVDMGM *)amgm; } Error GetTS(WORD num, DVDTS * & titleSet); Error GetTSExclusive(WORD num, DVDTS * & titleSet, BOOL & deleteIt); }; #endif // DVDAVDISK_H
[ "benjamin.barratt@icloud.com" ]
benjamin.barratt@icloud.com
79f56291a22411f07b6509c269670edcb1d73406
5fbcb9b389dd4ad6f82c2d0c9f77b89527906275
/Game/Include/Game/PhysicsComponent.h
133ecd67b1abffe8aabaf91056dd4279898e3b1a
[]
no_license
Toopala/Spadengine
f5b32d7f661a0514a7fbeb8b094a57748fb4f8f6
e41885884e1d816b04f8004b1b201278d752c607
refs/heads/master
2020-12-24T06:11:46.647175
2016-06-12T10:14:48
2016-06-12T10:14:48
49,644,872
6
5
null
2016-06-12T10:14:49
2016-01-14T12:05:42
C++
UTF-8
C++
false
false
1,391
h
#pragma once #include "Component.h" #include <Bullet/btBulletDynamicsCommon.h> namespace sge { class PhysicsComponent : public Component { public: PhysicsComponent(Entity* ent); ~PhysicsComponent(); void update(); /*void setBody(btRigidBody* bodyType) { body = bodyType; }*/ /*void setShape(btCollisionShape* objectShape) { shape = objectShape; }*/ template <typename T> T* getBody() { return dynamic_cast<T*>(body); } template <typename T> T* getShape() { return dynamic_cast<T*>(shape); } /*btCollisionObject* getBody() { return body; }*/ btRigidBody* createBody(btCollisionShape* objectShape, btQuaternion& rotation, btVector3& location, btScalar& objectMass, btVector3& inertia); private: btTransform trans; btRigidBody* body; btCollisionShape* shape; }; } /* btJokuVittu* createBody(btquaternion, btvector3, btscalar, jokusimpukka shape, btVector3 siika); btDefaultMotionState* motistate = new btdefaultmotionstate(btTransfrom(btquaternion, btvector3); btScalar mass = jotain; btVector3 fallInertia = siika; btrigidbody::btrigidbodyconstructioninfo consinfo(mass, motistate, shape, inertia); consinfo.m_restitution = restitution; consinfo.m_friction = friction; body = new btRigidBody(consinfo); body->setActivationState(DISABLE_DEACTIVATION); dynamicsWorld->addRigidBody(body); return body; */
[ "sarielirc@gmail.com" ]
sarielirc@gmail.com
c9d3c171824011d9f6f9a2a7bdc759201ae730af
16c25858ef1e5f29f653580d4aacda69a50c3244
/hikr/build/Android/Preview/app/src/main/include/Fuse.Triggers.WhileValue-1.h
5b4f33c6861fac00640875e69d8190b68570f4e4
[]
no_license
PoliGomes/tutorialfuse
69c32ff34ba9236bc3e84e99e00eb116d6f16422
0b7fadfe857fed568a5c2899d176acf45249d2b8
refs/heads/master
2021-08-16T02:50:08.993542
2017-11-18T22:04:56
2017-11-18T22:04:56
111,242,469
0
0
null
null
null
null
UTF-8
C++
false
false
2,954
h
// This file was generated based on /usr/local/share/uno/Packages/Fuse.Triggers/1.2.1/$.uno. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Fuse.Animations.IBase-d3bd6f2e.h> #include <Fuse.Animations.IUnwr-594abe9.h> #include <Fuse.Binding.h> #include <Fuse.INotifyUnrooted.h> #include <Fuse.IProperties.h> #include <Fuse.Scripting.IScriptObject.h> #include <Fuse.Triggers.IPulseTrigger.h> #include <Fuse.Triggers.WhileTrigger.h> #include <Uno.Collections.ICollection-1.h> #include <Uno.Collections.IEnumerable-1.h> #include <Uno.Collections.IList-1.h> namespace g{namespace Fuse{namespace Triggers{struct WhileValue;}}} namespace g{namespace Fuse{struct Node;}} namespace g{namespace Uno{namespace UX{struct ValueChangedArgs;}}} namespace g{ namespace Fuse{ namespace Triggers{ // public abstract class WhileValue<T> :4213 // { struct WhileValue_type : ::g::Fuse::Triggers::Trigger_type { ::g::Fuse::Triggers::IPulseTrigger interface8; void(*fp_get_IsOn)(::g::Fuse::Triggers::WhileValue*, bool*); }; WhileValue_type* WhileValue_typeof(); void WhileValue__ctor_6_fn(WhileValue* __this); void WhileValue__FindValueNode_fn(uType* __type, ::g::Fuse::Node* n, uObject** __retval); void WhileValue__OnRooted_fn(WhileValue* __this); void WhileValue__OnUnrooted_fn(WhileValue* __this); void WhileValue__OnValueChanged_fn(WhileValue* __this, uObject* s, ::g::Uno::UX::ValueChangedArgs* a); void WhileValue__Pulse1_fn(WhileValue* __this); void WhileValue__get_Source_fn(WhileValue* __this, uObject** __retval); void WhileValue__set_Source_fn(WhileValue* __this, uObject* value); void WhileValue__UpdateState_fn(WhileValue* __this); void WhileValue__get_Value_fn(WhileValue* __this, uTRef __retval); void WhileValue__set_Value_fn(WhileValue* __this, void* value); void WhileValue__add_ValueChanged_fn(WhileValue* __this, uDelegate* value); void WhileValue__remove_ValueChanged_fn(WhileValue* __this, uDelegate* value); struct WhileValue : ::g::Fuse::Triggers::WhileTrigger { bool _hasValue; uStrong<uObject*> _obj; uStrong<uObject*> _source; uTField _value() { return __type->Field(this, 37); } uStrong<uDelegate*> ValueChanged1; void ctor_6(); bool IsOn() { bool __retval; return (((WhileValue_type*)__type)->fp_get_IsOn)(this, &__retval), __retval; } void OnValueChanged(uObject* s, ::g::Uno::UX::ValueChangedArgs* a); void Pulse1(); uObject* Source(); void Source(uObject* value); void UpdateState(); template<class T> T Value() { T __retval; return WhileValue__get_Value_fn(this, &__retval), __retval; } template<class T> void Value(T value) { WhileValue__set_Value_fn(this, uConstrain(__type->GetBase(WhileValue_typeof())->T(0), value)); } void add_ValueChanged(uDelegate* value); void remove_ValueChanged(uDelegate* value); static uObject* FindValueNode(uType* __type, ::g::Fuse::Node* n); }; // } }}} // ::g::Fuse::Triggers
[ "poliana.ph@gmail.com" ]
poliana.ph@gmail.com
34da2462685b771ddf454d10ab103f6f0a05c5a4
d2943b6df2ebcbc780a2079577074d719aa761f5
/figures/figures/stdafx.cpp
7aad676191d2c466d27333cabac766411f85a42e
[]
no_license
artempal/lesson
0f1a2d99f08ffed097102ddd2338f726f6c26a56
72e00d72e95d7db23aea2faf1507fbd94b9a4365
refs/heads/master
2020-12-24T10:57:35.154808
2017-01-19T11:20:07
2017-01-19T11:20:07
73,222,699
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
571
cpp
// stdafx.cpp: исходный файл, содержащий только стандартные включаемые модули // figures.pch будет предкомпилированным заголовком // stdafx.obj будет содержать предварительно откомпилированные сведения о типе #include "stdafx.h" // TODO: Установите ссылки на любые требующиеся дополнительные заголовки в файле STDAFX.H // , а не в данном файле
[ "mail@artempal.ru" ]
mail@artempal.ru
dd3afa87339a3f13c648db24a26246093db5ad87
388ea1eef7d9b43e1ae8d0216a1b8516f524bbcb
/SoftPdmOut/SoftPdmOut.h
eb81649233e6d3457f38db1aac38505358afb4d0
[]
no_license
arpfic/Organous_OSC
07addbab5c30f07ef01fb7f429477dca9420f698
8ad22fa1f34600780a40d86acd8e92eb2319ea4a
refs/heads/master
2022-08-26T05:26:59.958503
2022-08-12T15:59:53
2022-08-12T15:59:53
254,025,281
1
0
null
null
null
null
UTF-8
C++
false
false
3,651
h
/******************************************************************************************************/ /* Pulse Density Modulation driver. */ /* FILE: PDM.h */ /* */ /* Code based on an article and source code released by Ken Wada from Aurium Technologies Inc. */ /* http://www.embedded.com/electronics-blogs/embedded-round-table/4414405/Pulse-density-modulation */ /* */ /******************************************************************************************************/ #ifndef __PDM_BB_H #define __PDM_BB_H #include "mbed.h" /** Class to use software defined Pulse Density Modulation (PDM). * * 'pdm' pin can be any digital pin. * \code //Example //------- #include "mbed.h" #include "SoftPdmOut.h" SoftPdmOut pdm(LED1); int main() { float pdmSet = 0.0f; float pdmAdd = 0.01f; // Continuously cycle the output while(1) { pdm = pdmSet; wait_ms(10); if(pdmSet >= 1.0f) pdmAdd = -0.01f; if(pdmSet <= 0.0f) pdmAdd = 0.01f; pdmSet += pdmAdd; } } \endcode */ class SoftPdmOut { public: /** Create a PDM object connected to a digital pin. * * @param pdm : Digital pin. * @param PulseWidth : Optional - The desired pulse width in microseconds (default = 500us). * @param Dmax : Optional - This is the total number of states in the DAC output (default = 64). * @param StartLevel : Optional - The DAC percentage (0.0 to 1.0) to be preprogrammed upon initialization (default = 0). * @return none */ SoftPdmOut(PinName pdm, uint32_t PulseWidth = 500, uint32_t Dmax = 64, float StartLevel = 0); /** Start the PDM. * @param none * @return none */ void start(void); /** Stop the PDM. * @param idleState (optional, allows the user to define the idle state - default = 0) * @return none */ void stop(bool idleState = 0); /** Change the pulse width. * @param level : The desired pulse width in microseconds. * @return none */ void PulseWidth(uint32_t level); /** Read the pulse width. * @param none. * @return current PulseWidth value */ uint32_t getPulseWidth(void); /** Change the total number of states in the DAC output (DMAX). * @param level : The desired max. level. * @return none. */ void Dmax(uint32_t level); /** Read the total number of states in the DAC output (DMAX). * @param none. * @return current DMAX value. */ uint32_t getDmax(void); /** Set the PDM level, specified as a percentage (float). * @param level * @return none */ void write(float level); /** Return the current PDM level as a percentage (float). * @param none * @return level */ float read(void); /** * An operator shorthand for read() */ operator float(); /** * An operator shorthand for write() */ SoftPdmOut& operator= (float value); private: Ticker _pdmTicker; DigitalOut _pdm; uint32_t _PulseWidth; uint32_t _Level; uint32_t _Dmax; uint32_t _accumulator; bool _running; void pdmTick(void); }; #endif
[ "damienleb@protonmail.com" ]
damienleb@protonmail.com
d59772b3ea7e35f5e1132888692bb74332d055c1
269abdb0c6479ce9c27477b5e0e59370b4292055
/Array/mergeSortedArray.cpp
6b3e6b021e73a7a134d0dacc07f81e83424cf12c
[]
no_license
sur4jsharma/CP
3bcf9dce8915b71498c25b0b3d1eaab12d815fc9
bc7a28186609735db1818a99c2032c10933e3b86
refs/heads/master
2022-10-11T16:37:21.079997
2020-06-12T08:53:21
2020-06-12T08:53:21
271,750,192
0
0
null
null
null
null
UTF-8
C++
false
false
1,605
cpp
#include<bits/stdc++.h> using namespace std; // void swap(int& x,int& y) // { // x^=y; // y^=x; // x^=y; // } void inplaceMerge(int arr1[],int arr2[],int n1,int n2) { int gap = n1+n2; gap = (gap/2)+(gap%2); int i,j; int rem; while(gap) { // cout<<"gap is:"<<gap<<endl; i=0; j=i+gap; //(gap+1) is sliding window size, no of time loop runs is total size - window size while(j<n1) { if(arr1[i] > arr1[j]) swap(arr1[i],arr1[j]); i++; j++; } j=0; while(i<n1 && j<n2) { if(arr1[i] > arr2[j]) swap(arr1[i],arr2[j]); i++; j++; } i=0; while(j<n2) { if(arr2[i] > arr2[j]) swap(arr2[i],arr2[j]); i++; j++; } if(gap==1) break; gap = (gap/2)+(gap%2); } for(int i=0;i<n1;i++) cout<<arr1[i]<<" "; for(int i=0;i<n2;i++) cout<<arr2[i]<<" "; cout<<endl; } int main() { //code int t,n1,n2; // cin>>t; t=1; while(t--) { // cin>>n1>>n2; n1=50; n2=10; int arr1[n1]; int arr2[n2]; for(int i=0;i<n1;i++) arr1[i]=i+1; for(int i=0;i<n2;i++) arr2[i]=i+1; for(int i=0;i<n1;i++) cout<<arr1[i]<<" "; for(int i=0;i<n2;i++) cout<<arr2[i]<<" "; cout<<endl; inplaceMerge(arr1,arr2,n1,n2); } return 0; }
[ "sooraj@cse.iitb.ac.in" ]
sooraj@cse.iitb.ac.in
28c8053f7d3b7bd9d9eaa46bc7f548fd3e8ae25e
c8438ae7fcf871fccdd76fe6f30fcff2c184efda
/external/indicators/color.hpp
39ad01e72105331b4e1a175370a6ef5c1cd8b3e6
[]
no_license
vetlewi/MiniballREX
7a993b657ff87f16e324562a6b11db3ad2b5f564
9201b39323c1b5afe46b369c4c80ca29157e19be
refs/heads/master
2023-04-09T08:04:13.931266
2022-02-14T11:38:02
2022-02-14T11:38:02
257,984,777
0
0
null
null
null
null
UTF-8
C++
false
false
164
hpp
#pragma once #include <indicators/termcolor.hpp> namespace indicators { enum class Color { grey, red, green, yellow, blue, magenta, cyan, white, unspecified }; }
[ "v.w.ingeberg@fys.uio.no" ]
v.w.ingeberg@fys.uio.no
39c63e57a81f5544039e5163ebf0ec8b0d57783a
4585398e9bfbd931f8885d5f797cf246847d2ad0
/program/program.cc
ac8849031c97046f32f4fb1126861aa0a77e97b4
[ "MIT" ]
permissive
alteos98/FIB-PRO2
3c80f440499a4d0b3a008163dad334c66b84925b
94bf88aca984cc8af79677a5dc0f7d98041001de
refs/heads/master
2022-03-26T23:18:55.203081
2020-01-19T19:35:46
2020-01-19T19:35:46
111,321,743
0
0
null
null
null
null
UTF-8
C++
false
false
3,938
cc
/** * @mainpage Practica de PRO2: Experimentos geneticos en laboratorio En este main tenemos un menu de opciones para gestionar individuos. Se introducen las clases <em>Individuo</em>, <em>Poblacion</em> y <em>Especie</em>. */ /** @file program.cc @brief Programa principal para el ejercicio <em>Experimentos geneticos en laboratorio</em>. */ #include "Individuo.hh" #include "Poblacion.hh" #include "Especie.hh" #ifndef NO_DIAGRAM // son las estandar #include <iostream> #include <string> #include <vector> #include <queue> #include "Arbre.hh" #endif using namespace std; /** @brief Programa principal para el ejercicio <em>Experimentos geneticos en laboratorio</em>. */ int main () { Especie e; e.leer(); Poblacion p; int numero_inicial; cin >> numero_inicial; for (int j=0; j<numero_inicial; ++j) { //lees los individuos iniciales Individuo i; i.leer(e); p.anadir_individuo(i); } string orden; cin >> orden; while (orden != "acabar") { //mientras no sea acabar, hacemos la accion que se nos pida if (orden == "anadir_individuo") { Individuo i; i.leer(e); string nombre = i.consultar_nombre(); cout << "anadir_individuo " << nombre << endl; bool e = p.existe(nombre); if (not e) { p.anadir_individuo(i); } else { cout << " error" << endl; } } else if (orden == "reproduccion_sexual") { string n_madre, n_padre, hijo; cin >> n_madre >> n_padre >> hijo; cout << "reproduccion_sexual " << n_madre << " " << n_padre << " " << hijo << endl; if (p.existe(n_madre) and p.existe(n_padre) and not p.existe(hijo)) { Individuo i1 = p.consultar_individuo(n_madre); Individuo i2 = p.consultar_individuo(n_padre); if (p.comprobar_reproduccion(i1, i2)) { Individuo i3 = p.reproduccion_sexual(e, i1, i2, hijo); p.anadir_individuo(i3); } else { cout << " no es posible reproduccion" << endl; } } else cout << " error" << endl; } else if (orden == "escribir_arbol_genealogico") { string nombre_individuo; cin >> nombre_individuo; cout << "escribir_arbol_genealogico " << nombre_individuo << endl; if (p.existe(nombre_individuo)) { Individuo i_arbol = p.consultar_individuo(nombre_individuo); p.escribir_arbol_genealogico(i_arbol); } else { cout << " error" << endl; } } else if (orden == "completar_arbol_genealogico") { Arbre<string> a_individuo, a_parcial; string n_individuo; cin >> n_individuo; cout << "completar_arbol_genealogico " << n_individuo << endl; if (p.existe(n_individuo)) { Individuo i_aux = p.consultar_individuo(n_individuo); p.leer_arbol(a_parcial, n_individuo); p.crear_arbol(a_individuo, i_aux); list<string> l; if (p.es_parcial(l, a_parcial, a_individuo)) { p.escribir_lista(l); } else cout << " no es arbol parcial" << endl; } else { cout << " no es arbol parcial" << endl; } } else if (orden == "escribir_poblacion") { cout << "escribir_poblacion" << endl; p.escribir_poblacion(); } else if (orden == "escribir_genotipo") { string nombre_individuo; cin >> nombre_individuo; cout << "escribir_genotipo " << nombre_individuo << endl; if (p.existe(nombre_individuo)) { Individuo i = p.consultar_individuo(nombre_individuo); i.escribir_genotipo(e); } else { cout << " error" << endl; } } cin >> orden; } cout << "acabar" << endl; }
[ "noreply@github.com" ]
alteos98.noreply@github.com
6b0c034ea9792610b31265fa457737e34ffe8854
98e13dafe4cf4477ac04e07bfca2babd72bae05e
/0014/src/DrawingApp.cpp
072ed3c0d52ef2d164700b44cb67ebf09853b443
[]
no_license
KzKousaka/Drawing
67b40411896b44446291d6927a18959743864fe2
a0a17f6505a3f77121e9c46d432a55e96be718ee
refs/heads/master
2021-03-31T01:17:10.051486
2018-03-26T14:22:41
2018-03-26T14:22:41
124,553,197
2
0
null
null
null
null
UTF-8
C++
false
false
2,239
cpp
#include "cinder/app/App.h" #include "cinder/app/KeyEvent.h" #include "cinder/app/RendererGl.h" #include "cinder/gl/gl.h" #include "cinder/gl/Fbo.h" #include "Resources.h" #define SCREEN_WIDTH 1024 #define SCREEN_HEIGHT 1024 #define RENDER_SIZE 8192 using namespace ci; using namespace ci::app; using namespace std; class DrawingApp : public App { public: void setup() override; void mouseDown( MouseEvent event ) override; void update() override; void draw() override; void renderToFbo(); void saveImage(); private: gl::GlslProgRef _shader; gl::BatchRef _rect; CameraOrtho _camera; gl::FboRef _fbo; bool _saved = false; }; void DrawingApp::setup() { _fbo = gl::Fbo::create(RENDER_SIZE, RENDER_SIZE); _camera.setOrtho( -0.5f, 0.5f, 0.5f, -0.5f, -1, 1 ); _shader = gl::GlslProg::create( gl::GlslProg::Format() .vertex(loadAsset("main.vert")) .fragment(loadAsset("main.frag"))); auto rect = geom::Rect().colors( Color( 1, 0, 0 ), Color( 0, 0, 0 ), Color( 0, 0, 1 ), Color( 1, 0, 1 ) ); _rect = gl::Batch::create( rect, _shader ); } void DrawingApp::mouseDown( MouseEvent event ) { } void DrawingApp::update() { } void DrawingApp::renderToFbo() { gl::ScopedFramebuffer fbScope(_fbo); gl::clear( Color( 0, 0, 0 ) ); gl::ScopedViewport scpVp( ivec2( 0 ), _fbo->getSize() ); gl::setMatrices(_camera); _rect->draw(); } void DrawingApp::draw() { renderToFbo(); gl::clear( Color( 0, 0, 0 ) ); gl::setMatrices(_camera); _fbo->bindTexture(); gl::setMatricesWindow( toPixels( getWindowSize() ) ); gl::draw( _fbo->getColorTexture(), Rectf( 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT ) ); if(!_saved) { _saved = true; saveImage(); } } void DrawingApp::saveImage() { writeImage("0014.png", Surface8u(_fbo->getColorTexture()->createSource())); } CINDER_APP( DrawingApp, RendererGl(), [&]( App::Settings *settings ) { settings->setResizable(false); settings->setWindowSize( SCREEN_WIDTH, SCREEN_HEIGHT ); })
[ "kazu1107@gmail.com" ]
kazu1107@gmail.com
7d2ef87c0c429bb3b2277e75ebf23e0c336b3210
4c0fcff6cbe0e4492c2df04743935037eb913566
/osgEarth/MaskLayer
3235a73029870e77ecc656f5a18ef2b7be2a7366
[]
no_license
yzfx303/vxworks_osgEarth
b008856f0ea89baddc8137ec870269c76f797abc
7edbcec888b583ac6697ec4a63d96177fc22ed22
refs/heads/master
2021-06-06T08:25:06.223717
2016-09-19T10:36:33
2016-09-19T10:36:33
null
0
0
null
null
null
null
UTF-8
C++
false
false
3,784
/* -*-c++-*- */ /* osgEarth - Dynamic map generation toolkit for OpenSceneGraph * Copyright 2008-2010 Pelican Mapping * http://osgearth.org * * osgEarth is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see <http://www.gnu.org/licenses/> */ #ifndef OSGEARTH_MASK_LAYER_H #define OSGEARTH_MASK_LAYER_H 1 #include <osgEarth/Common> #include <osgEarth/Layer> #include <osgEarth/Config> #include <osgEarth/MaskSource> #include <osg/Node> namespace osgEarth { class Map; /** * Configuration options for a MaskLayer. */ class OSGEARTH_EXPORT MaskLayerOptions : public ConfigOptions { public: MaskLayerOptions( const ConfigOptions& options =ConfigOptions() ); MaskLayerOptions( const std::string& name, const MaskSourceOptions& driverOptions =MaskSourceOptions() ); /** * The readable name of the layer. */ optional<std::string>& name() { return _name; } const optional<std::string>& name() const { return _name; } /** * Options for the underlying model source driver. */ optional<MaskSourceOptions>& driver() { return _driver; } const optional<MaskSourceOptions>& driver() const { return _driver; } public: virtual Config getConfig() const; virtual void mergeConfig( const Config& conf ); private: void fromConfig( const Config& conf ); void setDefaults(); optional<std::string> _name; optional<MaskSourceOptions> _driver; }; /** * A MaskLayer is a specialized layer used to mask out a part of the terrain. * Typically you would use this if you had a pre-built 3D terrain model for an inset area. */ class OSGEARTH_EXPORT MaskLayer : public Layer { public: /** * Constructs a new mask layer based on a configuration setup. */ MaskLayer( const MaskLayerOptions& options =MaskLayerOptions() ); /** * Constructs a new mask layer with a user-provided driver options. */ MaskLayer( const std::string& name, const MaskSourceOptions& options ); /** * Constructs a new mask layer with a user-provided mask source. */ MaskLayer(const MaskLayerOptions& options, MaskSource* source ); /** * Access the underlying mask source. */ MaskSource* getMaskSource() const { return _maskSource.get(); } public: /** * Gets the geometric boundary polygon representing the area of the * terrain to mask out. */ osg::Vec3dArray* getOrCreateBoundary( float heightScale = 1.0, const SpatialReference* srs = NULL, ProgressCallback* progress =0L ); public: void initialize( const std::string& referenceURI, const Map* map ); private: std::string _referenceURI; MaskLayerOptions _initOptions, _runtimeOptions; osg::ref_ptr<MaskSource> _maskSource; Revision _maskSourceRev; osg::ref_ptr<osg::Vec3dArray> _boundary; void copyOptions(); }; typedef std::vector< osg::ref_ptr<MaskLayer> > MaskLayerVector; } #endif // OSGEARTH_MASK_LAYER_H
[ "geobeans@gmail.com" ]
geobeans@gmail.com
d9ec92fcedc7f971aa6d1ea6479bc8c8e7487317
e6cb5cece1249c89b2afddd724db6c3c7a021baa
/client.cpp
849df5956d371055f82fea560c0260f4fbfd7951
[]
no_license
welagejl/rsaC
d2a93542b1d12bc18d461cd441da2b817b40df3d
819726f454e1394a300067b3e6a7b2939f1df483
refs/heads/master
2020-08-21T09:27:17.617446
2019-10-20T21:03:02
2019-10-20T21:03:02
216,130,774
0
0
null
null
null
null
UTF-8
C++
false
false
3,318
cpp
// // chat_client.cpp // ~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2019 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #define BOOST_ALL_NO_LIB #include <cstdlib> #include <deque> #include <iostream> #include <thread> #include <boost/asio.hpp> #include "chatRoom.h" using boost::asio::ip::tcp; typedef std::deque<chat_message> chat_message_queue; class chat_client { public: chat_client(boost::asio::io_context& io_context, const tcp::resolver::results_type& endpoints) : io_context_(io_context), socket_(io_context) { do_connect(endpoints); } void write(const chat_message& msg) { boost::asio::post(io_context_, [this, msg]() { bool write_in_progress = !write_msgs_.empty(); write_msgs_.push_back(msg); if (!write_in_progress) { do_write(); } }); } void close() { boost::asio::post(io_context_, [this]() { socket_.close(); }); } private: void do_connect(const tcp::resolver::results_type& endpoints) { boost::asio::async_connect(socket_, endpoints, [this](boost::system::error_code ec, tcp::endpoint) { if (!ec) { do_read_header(); } }); } void do_read_header() { boost::asio::async_read(socket_, boost::asio::buffer(read_msg_.data(), chat_message::header_length), [this](boost::system::error_code ec, std::size_t /*length*/) { if (!ec && read_msg_.decode_header()) { do_read_body(); } else { socket_.close(); } }); } void do_read_body() { boost::asio::async_read(socket_, boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), [this](boost::system::error_code ec, std::size_t /*length*/) { if (!ec) { std::cout.write(read_msg_.body(), read_msg_.body_length()); std::cout << "\n"; do_read_header(); } else { socket_.close(); } }); } void do_write() { boost::asio::async_write(socket_, boost::asio::buffer(write_msgs_.front().data(), write_msgs_.front().length()), [this](boost::system::error_code ec, std::size_t /*length*/) { if (!ec) { write_msgs_.pop_front(); if (!write_msgs_.empty()) { do_write(); } } else { socket_.close(); } }); } private: boost::asio::io_context& io_context_; tcp::socket socket_; chat_message read_msg_; chat_message_queue write_msgs_; }; int main() { try { boost::asio::io_context io_context; tcp::resolver resolver(io_context); char po[3] = "77"; auto endpoints = resolver.resolve("192.168.0.23", po); chat_client c(io_context, endpoints); std::thread t([&io_context]() { io_context.run(); }); char line[chat_message::max_body_length + 1]; while (std::cin.getline(line, chat_message::max_body_length + 1)) { chat_message msg; msg.body_length(std::strlen(line)); std::memcpy(msg.body(), line, msg.body_length()); msg.encode_header(); c.write(msg); } c.close(); t.join(); } catch (std::exception& e) { std::cerr << "Exception: " << e.what() << "\n"; } return 0; }
[ "noreply@github.com" ]
welagejl.noreply@github.com
ebbbbcb0cb78f601dd057dbc84e64c0e2807b488
73a6c8d1496b956f4969578881fe10f326d2f94f
/game/CLoginKey.hpp
106aff3395360f74ee08a3173cc278ccaa6fb4a0
[ "BSD-3-Clause" ]
permissive
miguelmig/LibM2
c371dff511bf4a6fde76612f672033fb1620ed4c
dad7591a885a421842851905dc2bc8bbd648ca20
refs/heads/master
2020-12-25T03:51:34.240513
2013-12-01T17:04:29
2013-12-01T19:09:27
12,643,795
0
2
null
null
null
null
UTF-8
C++
false
false
608
hpp
/* This file belongs to the LibM2 library (http://github.com/imermcmaps/LibM2) * Copyright (c) 2013, iMer (www.imer.cc) * All rights reserved. * Licensed under the BSD 3-clause license (http://opensource.org/licenses/BSD-3-Clause) */ #ifndef __LIBM2_GAME_CLOGINKEY_HPP #define __LIBM2_GAME_CLOGINKEY_HPP #include "stdInclude.hpp" namespace libm2 { class CLoginKey { DWORD m_dwKey; DWORD m_dwExpireTime; LPDESC m_pkDesc; public: CLoginKey(DWORD, LPDESC); void Expire(void); operator DWORD(void) const; }; } #endif // __LIBM2_GAME_CLOGINKEY_HPP
[ "imer@imer.cc" ]
imer@imer.cc
49c5026c1851ce916a0f87fdb388059270936d09
2ae75b4445d1a177ccabcf033af59e3850f46ccf
/c&cpp/qt/learnQt2/10/build-myDrawing3-Desktop_Qt_5_5_0_MinGW_32bit-Debug/debug/moc_widget.cpp
9980f7269909de795b731d0df39a3cc3956b8e5d
[]
no_license
asdlei99/public-note
b6daf53cc1fa51650457dae4bfa9e82faf16f778
caaa6a04188656b21e255df34403615b4604c9c8
refs/heads/master
2022-01-27T18:59:00.930671
2019-06-23T10:03:31
2019-06-23T10:03:31
null
0
0
null
null
null
null
UTF-8
C++
false
false
2,550
cpp
/**************************************************************************** ** Meta object code from reading C++ file 'widget.h' ** ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.0) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #include "../../myDrawing3/widget.h" #include <QtCore/qbytearray.h> #include <QtCore/qmetatype.h> #if !defined(Q_MOC_OUTPUT_REVISION) #error "The header file 'widget.h' doesn't include <QObject>." #elif Q_MOC_OUTPUT_REVISION != 67 #error "This file was generated using the moc from 5.5.0. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif QT_BEGIN_MOC_NAMESPACE struct qt_meta_stringdata_Widget_t { QByteArrayData data[1]; char stringdata0[7]; }; #define QT_MOC_LITERAL(idx, ofs, len) \ Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ qptrdiff(offsetof(qt_meta_stringdata_Widget_t, stringdata0) + ofs \ - idx * sizeof(QByteArrayData)) \ ) static const qt_meta_stringdata_Widget_t qt_meta_stringdata_Widget = { { QT_MOC_LITERAL(0, 0, 6) // "Widget" }, "Widget" }; #undef QT_MOC_LITERAL static const uint qt_meta_data_Widget[] = { // content: 7, // revision 0, // classname 0, 0, // classinfo 0, 0, // methods 0, 0, // properties 0, 0, // enums/sets 0, 0, // constructors 0, // flags 0, // signalCount 0 // eod }; void Widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) { Q_UNUSED(_o); Q_UNUSED(_id); Q_UNUSED(_c); Q_UNUSED(_a); } const QMetaObject Widget::staticMetaObject = { { &QWidget::staticMetaObject, qt_meta_stringdata_Widget.data, qt_meta_data_Widget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} }; const QMetaObject *Widget::metaObject() const { return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; } void *Widget::qt_metacast(const char *_clname) { if (!_clname) return Q_NULLPTR; if (!strcmp(_clname, qt_meta_stringdata_Widget.stringdata0)) return static_cast<void*>(const_cast< Widget*>(this)); return QWidget::qt_metacast(_clname); } int Widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) { _id = QWidget::qt_metacall(_c, _id, _a); if (_id < 0) return _id; return _id; } QT_END_MOC_NAMESPACE
[ "lsj9383@163.com" ]
lsj9383@163.com
ce18630fdc99dcc7314c2e16fbd29190f246af29
341a2ca38494f4cee2bc9c83d5ebe6d2ad186c2a
/widgets_include/slide_group.h
bd876878741558826c72103974e7577992dd8a59
[ "Apache-2.0" ]
permissive
Devkiss/GuiLite
79d3aa33ac59bc47285a3e3ec290689c013f8569
ef1554a1b0c8283a48d4ca33b3ebd4fc07d4bd1c
refs/heads/master
2020-06-11T07:40:31.463182
2019-06-26T05:05:37
2019-06-26T05:05:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
996
h
#ifndef PAGE_GROUP_H #define PAGE_GROUP_H #define MAX_PAGES 5 class c_slide_group : public c_wnd { public: c_slide_group(); int set_active_slide(int index, bool is_redraw = true); c_wnd* get_slide(int index){return m_slides[index];} c_wnd* get_active_slide(){return m_slides[m_active_slide_index];} int get_active_slide_index(){return m_active_slide_index;} int add_slide(c_wnd* slide, unsigned short resource_id, short x, short y, short width, short height, WND_TREE* p_child_tree = NULL, Z_ORDER_LEVEL max_zorder = Z_ORDER_LEVEL_0); int add_clone_silde(c_wnd* slide, unsigned short resource_id, short x, short y, short width, short height, WND_TREE* p_child_tree = NULL, Z_ORDER_LEVEL max_zorder = Z_ORDER_LEVEL_0); void disabel_all_slide(); virtual bool on_touch(int x, int y, TOUCH_ACTION action); virtual bool on_key(KEY_TYPE key); protected: virtual c_wnd* clone(){return new c_slide_group();} c_wnd* m_slides[MAX_PAGES]; int m_active_slide_index; }; #endif
[ "idea4good@outlook.com" ]
idea4good@outlook.com
d88f0f3fcda0cfd70ec582cab2a7ae50ef50246b
05ee5944509635baaac0326965304cd3011c5a4b
/CS106B/Chapter01 (Overview of C++) BookExercises/11.PiAproximattion/PiAproximattion.cpp
7631231013064bf53fd239c89d623982d7e3a1a9
[]
no_license
oliverpecha/Stanford-SEE
f170889ad02f6e9c9caeb19ccbfceda5cd64d6ad
562605a8e0e72fb84bc7c899346d5c2282e6f31c
refs/heads/master
2023-07-09T02:33:34.291651
2023-07-04T15:22:14
2023-07-04T15:22:14
229,628,585
2
0
null
null
null
null
UTF-8
C++
false
false
1,210
cpp
/* * File: PiAproximattion.cpp * -------------- * The German mathematician Leibniz (1646–1716) discovered the rather remarkable fact that the mathematical constant PI * can be computed using the following mathematical relationship: * "1–+–+–+... * The formula to the right of the equal sign represents an infinite series; each fraction represents a term in that series. * If you start with 1, subtract one-third, add one-fifth, and so on, for each of the odd integers, you get a number that gets closer and closer * to the value of !/4 as you go along. * Write a program that calculates an approximation of ! consisting of the first 10,000 terms in Leibniz’s series. */ #include <cmath> #include "console.h" #include "simpio.h" using namespace std; double terms = 10000; int main() { if (terms > 0){ double partial = 0; for (int i = 0; i < terms; i++) if (i % 2 == 0) partial += 1/((2.0 * i) + 1); else partial -= 1/((2.0 * i) + 1); double newPi = 4 * partial; cout << "The approximation is " << newPi << " using " << terms << " terms.\n"; } return 0; }
[ "oliverpecha@gmail.com" ]
oliverpecha@gmail.com
492fc17f39ad0927562aff42a03ac09a5eecb902
e1a6af52111a1dfa0ae053183e2b3d0180d1e9ec
/src/test/fuzz/script_sign.cpp
1b65023009bb9976cc2cf60a0e508a7fba80fb90
[ "MIT" ]
permissive
UFO-ETL/ufo
df392b66b3f528a3442c2a26304e061fb6e1a631
e85dde0c8b12c1bf3357003afb77ea85b1476d6b
refs/heads/main
2023-03-12T04:27:35.910420
2021-03-05T06:54:21
2021-03-05T06:54:21
344,399,934
0
0
null
null
null
null
UTF-8
C++
false
false
6,586
cpp
// Copyright (c) 2020 The UFO Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <chainparams.h> #include <chainparamsbase.h> #include <key.h> #include <pubkey.h> #include <script/keyorigin.h> #include <script/sign.h> #include <script/signingprovider.h> #include <streams.h> #include <test/fuzz/FuzzedDataProvider.h> #include <test/fuzz/fuzz.h> #include <test/fuzz/util.h> #include <cassert> #include <cstdint> #include <iostream> #include <map> #include <optional> #include <string> #include <vector> void initialize_script_sign() { static const ECCVerifyHandle ecc_verify_handle; ECC_Start(); SelectParams(CBaseChainParams::REGTEST); } FUZZ_TARGET_INIT(script_sign, initialize_script_sign) { FuzzedDataProvider fuzzed_data_provider(buffer.data(), buffer.size()); const std::vector<uint8_t> key = ConsumeRandomLengthByteVector(fuzzed_data_provider, 128); { CDataStream random_data_stream = ConsumeDataStream(fuzzed_data_provider); std::map<CPubKey, KeyOriginInfo> hd_keypaths; try { DeserializeHDKeypaths(random_data_stream, key, hd_keypaths); } catch (const std::ios_base::failure&) { } CDataStream serialized{SER_NETWORK, PROTOCOL_VERSION}; SerializeHDKeypaths(serialized, hd_keypaths, fuzzed_data_provider.ConsumeIntegral<uint8_t>()); } { std::map<CPubKey, KeyOriginInfo> hd_keypaths; while (fuzzed_data_provider.ConsumeBool()) { const std::optional<CPubKey> pub_key = ConsumeDeserializable<CPubKey>(fuzzed_data_provider); if (!pub_key) { break; } const std::optional<KeyOriginInfo> key_origin_info = ConsumeDeserializable<KeyOriginInfo>(fuzzed_data_provider); if (!key_origin_info) { break; } hd_keypaths[*pub_key] = *key_origin_info; } CDataStream serialized{SER_NETWORK, PROTOCOL_VERSION}; try { SerializeHDKeypaths(serialized, hd_keypaths, fuzzed_data_provider.ConsumeIntegral<uint8_t>()); } catch (const std::ios_base::failure&) { } std::map<CPubKey, KeyOriginInfo> deserialized_hd_keypaths; try { DeserializeHDKeypaths(serialized, key, hd_keypaths); } catch (const std::ios_base::failure&) { } assert(hd_keypaths.size() >= deserialized_hd_keypaths.size()); } { SignatureData signature_data_1{ConsumeScript(fuzzed_data_provider)}; SignatureData signature_data_2{ConsumeScript(fuzzed_data_provider)}; signature_data_1.MergeSignatureData(signature_data_2); } FillableSigningProvider provider; CKey k; const std::vector<uint8_t> key_data = ConsumeRandomLengthByteVector(fuzzed_data_provider); k.Set(key_data.begin(), key_data.end(), fuzzed_data_provider.ConsumeBool()); if (k.IsValid()) { provider.AddKey(k); } { const std::optional<CMutableTransaction> mutable_transaction = ConsumeDeserializable<CMutableTransaction>(fuzzed_data_provider); const std::optional<CTxOut> tx_out = ConsumeDeserializable<CTxOut>(fuzzed_data_provider); const unsigned int n_in = fuzzed_data_provider.ConsumeIntegral<unsigned int>(); if (mutable_transaction && tx_out && mutable_transaction->vin.size() > n_in) { SignatureData signature_data_1 = DataFromTransaction(*mutable_transaction, n_in, *tx_out); CTxIn input; UpdateInput(input, signature_data_1); const CScript script = ConsumeScript(fuzzed_data_provider); SignatureData signature_data_2{script}; signature_data_1.MergeSignatureData(signature_data_2); } if (mutable_transaction) { CTransaction tx_from{*mutable_transaction}; CMutableTransaction tx_to; const std::optional<CMutableTransaction> opt_tx_to = ConsumeDeserializable<CMutableTransaction>(fuzzed_data_provider); if (opt_tx_to) { tx_to = *opt_tx_to; } CMutableTransaction script_tx_to = tx_to; CMutableTransaction sign_transaction_tx_to = tx_to; if (n_in < tx_to.vin.size() && tx_to.vin[n_in].prevout.n < tx_from.vout.size()) { (void)SignSignature(provider, tx_from, tx_to, n_in, fuzzed_data_provider.ConsumeIntegral<int>()); } if (n_in < script_tx_to.vin.size()) { (void)SignSignature(provider, ConsumeScript(fuzzed_data_provider), script_tx_to, n_in, ConsumeMoney(fuzzed_data_provider), fuzzed_data_provider.ConsumeIntegral<int>()); MutableTransactionSignatureCreator signature_creator{&tx_to, n_in, ConsumeMoney(fuzzed_data_provider), fuzzed_data_provider.ConsumeIntegral<int>()}; std::vector<unsigned char> vch_sig; CKeyID address; if (fuzzed_data_provider.ConsumeBool()) { if (k.IsValid()) { address = k.GetPubKey().GetID(); } } else { address = CKeyID{ConsumeUInt160(fuzzed_data_provider)}; } (void)signature_creator.CreateSig(provider, vch_sig, address, ConsumeScript(fuzzed_data_provider), fuzzed_data_provider.PickValueInArray({SigVersion::BASE, SigVersion::WITNESS_V0})); } std::map<COutPoint, Coin> coins; while (fuzzed_data_provider.ConsumeBool()) { const std::optional<COutPoint> outpoint = ConsumeDeserializable<COutPoint>(fuzzed_data_provider); if (!outpoint) { break; } const std::optional<Coin> coin = ConsumeDeserializable<Coin>(fuzzed_data_provider); if (!coin) { break; } coins[*outpoint] = *coin; } std::map<int, std::string> input_errors; (void)SignTransaction(sign_transaction_tx_to, &provider, coins, fuzzed_data_provider.ConsumeIntegral<int>(), input_errors); } } { SignatureData signature_data_1; (void)ProduceSignature(provider, DUMMY_SIGNATURE_CREATOR, ConsumeScript(fuzzed_data_provider), signature_data_1); SignatureData signature_data_2; (void)ProduceSignature(provider, DUMMY_MAXIMUM_SIGNATURE_CREATOR, ConsumeScript(fuzzed_data_provider), signature_data_2); } }
[ "xiaka53@vip.qq.com" ]
xiaka53@vip.qq.com
cb874205bd99b9a624638e151c49c03c4b9210a7
de0b64e25e34b3fa3f88917bb596e2e416441e56
/VectorDriver.cpp
3f718aa7392db63c59cd4703a84f7ccb7ccfd7a7
[]
no_license
ZunfixM/Lab04
de974a754a894b808c68928ef5703df830605518
05c8f82948eb7950007b8f291d0fe86b99996a7d
refs/heads/master
2020-03-31T10:57:23.271460
2018-10-08T22:58:10
2018-10-08T22:58:10
152,156,900
0
0
null
null
null
null
UTF-8
C++
false
false
1,929
cpp
// VectorDriver.cpp // COSC 2030 // Trevor Dine // 8 Oct 2018 #include "VectorDriver.h" #include <algorithm> using std::sort; int main() { /*cout << " ..:: B E G I N S A M P L E C O D E ::.." << endl << endl; vector<short> sample_vector(5); cout << "new vector: "; print(sample_vector); cout << endl; fill_vector(sample_vector); cout << "filled vector: "; print(sample_vector); cout << endl; cout << "sum of vector's elements: " << compute_sum(sample_vector) << endl; cout << endl << " ..:: E N D S A M P L E C O D E ::.." << endl; */ vector<short> test_vector(10); // Test for part 1: add_numbers cout << "Filling a vector with 10 random numbers" << endl; add_numbers(test_vector); cout << "Elements of the vector include:\n"; print(test_vector); cout << endl; /* cout << "Trying to fill it again" << endl; add_numbers(test_vector); cout << "Elements of the vector include: "; for (int i = 0; i < 10; i++) { cout << " " << test_vector[i]; } cout << endl; */ // Test for part 2: print_even cout << "\nPrinting the elements at even indexes:" << endl; print_even(test_vector); cout << endl; // Test for part 3: is_present short testVal = 5; // testVal can be changed to any short to test the function is_present vector<short> test_vector2 = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; cout << "\nIs the value " << testVal << " present in the vector: "; print(test_vector2); cout << "?" << endl; if (is_present(test_vector2, testVal)) { cout << "Yes it is." << endl; } else { cout << "No it is not." << endl; } // Test for part 4: std::sort function vector<short> test_vector3 = { 15, 2, 90, 25, 6, 13 }; cout << "\nTesting std::sort. \nStarting vector is:" << endl; print(test_vector3); sort(test_vector3.begin(), test_vector3.end()); cout << "\nEnding vector after sort is:" << endl; print(test_vector3); cout << endl; system("pause"); return 0; }
[ "noreply@github.com" ]
ZunfixM.noreply@github.com
1a790c0c0077305e1e5448079d3ec18bfdb5f176
6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849
/sstd_boost/sstd/boost/lambda/closures.hpp
fd5417c97026792d7058a03ed7ad822e1c1865e1
[ "BSL-1.0" ]
permissive
KqSMea8/sstd_library
9e4e622e1b01bed5de7322c2682539400d13dd58
0fcb815f50d538517e70a788914da7fbbe786ce1
refs/heads/master
2020-05-03T21:07:01.650034
2019-04-01T00:10:47
2019-04-01T00:10:47
null
0
0
null
null
null
null
UTF-8
C++
false
false
9,819
hpp
/*============================================================================= Adaptable closures Phoenix V0.9 Copyright (c) 2001-2002 Joel de Guzman Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) URL: http://spirit.sourceforge.net/ ==============================================================================*/ #ifndef PHOENIX_CLOSURES_HPP #define PHOENIX_CLOSURES_HPP /////////////////////////////////////////////////////////////////////////////// #include "sstd/boost/lambda/core.hpp" /////////////////////////////////////////////////////////////////////////////// namespace boost { namespace lambda { /////////////////////////////////////////////////////////////////////////////// // // Adaptable closures // // The framework will not be complete without some form of closures // support. Closures encapsulate a stack frame where local // variables are created upon entering a function and destructed // upon exiting. Closures provide an environment for local // variables to reside. Closures can hold heterogeneous types. // // Phoenix closures are true hardware stack based closures. At the // very least, closures enable true reentrancy in lambda functions. // A closure provides access to a function stack frame where local // variables reside. Modeled after Pascal nested stack frames, // closures can be nested just like nested functions where code in // inner closures may access local variables from in-scope outer // closures (accessing inner scopes from outer scopes is an error // and will cause a run-time assertion failure). // // There are three (3) interacting classes: // // 1) closure: // // At the point of declaration, a closure does not yet create a // stack frame nor instantiate any variables. A closure declaration // declares the types and names[note] of the local variables. The // closure class is meant to be subclassed. It is the // responsibility of a closure subclass to supply the names for // each of the local variable in the closure. Example: // // struct my_closure : closure<int, string, double> { // // member1 num; // names the 1st (int) local variable // member2 message; // names the 2nd (string) local variable // member3 real; // names the 3rd (double) local variable // }; // // my_closure clos; // // Now that we have a closure 'clos', its local variables can be // accessed lazily using the dot notation. Each qualified local // variable can be used just like any primitive actor (see // primitives.hpp). Examples: // // clos.num = 30 // clos.message = arg1 // clos.real = clos.num * 1e6 // // The examples above are lazily evaluated. As usual, these // expressions return composite actors that will be evaluated // through a second function call invocation (see operators.hpp). // Each of the members (clos.xxx) is an actor. As such, applying // the operator() will reveal its identity: // // clos.num() // will return the current value of clos.num // // *** [note] Acknowledgement: Juan Carlos Arevalo-Baeza (JCAB) // introduced and initilally implemented the closure member names // that uses the dot notation. // // 2) closure_member // // The named local variables of closure 'clos' above are actually // closure members. The closure_member class is an actor and // conforms to its conceptual interface. member1..memberN are // predefined typedefs that correspond to each of the listed types // in the closure template parameters. // // 3) closure_frame // // When a closure member is finally evaluated, it should refer to // an actual instance of the variable in the hardware stack. // Without doing so, the process is not complete and the evaluated // member will result to an assertion failure. Remember that the // closure is just a declaration. The local variables that a // closure refers to must still be instantiated. // // The closure_frame class does the actual instantiation of the // local variables and links these variables with the closure and // all its members. There can be multiple instances of // closure_frames typically situated in the stack inside a // function. Each closure_frame instance initiates a stack frame // with a new set of closure local variables. Example: // // void foo() // { // closure_frame<my_closure> frame(clos); // /* do something */ // } // // where 'clos' is an instance of our closure 'my_closure' above. // Take note that the usage above precludes locally declared // classes. If my_closure is a locally declared type, we can still // use its self_type as a paramater to closure_frame: // // closure_frame<my_closure::self_type> frame(clos); // // Upon instantiation, the closure_frame links the local variables // to the closure. The previous link to another closure_frame // instance created before is saved. Upon destruction, the // closure_frame unlinks itself from the closure and relinks the // preceding closure_frame prior to this instance. // // The local variables in the closure 'clos' above is default // constructed in the stack inside function 'foo'. Once 'foo' is // exited, all of these local variables are destructed. In some // cases, default construction is not desirable and we need to // initialize the local closure variables with some values. This // can be done by passing in the initializers in a compatible // tuple. A compatible tuple is one with the same number of // elements as the destination and where each element from the // destination can be constructed from each corresponding element // in the source. Example: // // tuple<int, char const*, int> init(123, "Hello", 1000); // closure_frame<my_closure> frame(clos, init); // // Here now, our closure_frame's variables are initialized with // int: 123, char const*: "Hello" and int: 1000. // /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// // // closure_frame class // /////////////////////////////////////////////////////////////////////////////// template <typename ClosureT> class closure_frame : public ClosureT::tuple_t { public: closure_frame(ClosureT& clos) : ClosureT::tuple_t(), save(clos.frame), frame(clos.frame) { clos.frame = this; } template <typename TupleT> closure_frame(ClosureT& clos, TupleT const& init) : ClosureT::tuple_t(init), save(clos.frame), frame(clos.frame) { clos.frame = this; } ~closure_frame() { frame = save; } private: closure_frame(closure_frame const&); // no copy closure_frame& operator=(closure_frame const&); // no assign closure_frame* save; closure_frame*& frame; }; /////////////////////////////////////////////////////////////////////////////// // // closure_member class // /////////////////////////////////////////////////////////////////////////////// template <int N, typename ClosureT> class closure_member { public: typedef typename ClosureT::tuple_t tuple_t; closure_member() : frame(ClosureT::closure_frame_ref()) {} template <typename TupleT> struct sig { typedef typename detail::tuple_element_as_reference< N, typename ClosureT::tuple_t >::type type; }; template <class Ret, class A, class B, class C> // typename detail::tuple_element_as_reference // <N, typename ClosureT::tuple_t>::type Ret call(A&, B&, C&) const { assert(frame); return boost::tuples::get<N>(*frame); } private: typename ClosureT::closure_frame_t*& frame; }; /////////////////////////////////////////////////////////////////////////////// // // closure class // /////////////////////////////////////////////////////////////////////////////// template < typename T0 = null_type, typename T1 = null_type, typename T2 = null_type, typename T3 = null_type, typename T4 = null_type > class closure { public: typedef tuple<T0, T1, T2, T3, T4> tuple_t; typedef closure<T0, T1, T2, T3, T4> self_t; typedef closure_frame<self_t> closure_frame_t; closure() : frame(0) { closure_frame_ref(&frame); } closure_frame_t& context() { assert(frame); return frame; } closure_frame_t const& context() const { assert(frame); return frame; } typedef lambda_functor<closure_member<0, self_t> > member1; typedef lambda_functor<closure_member<1, self_t> > member2; typedef lambda_functor<closure_member<2, self_t> > member3; typedef lambda_functor<closure_member<3, self_t> > member4; typedef lambda_functor<closure_member<4, self_t> > member5; private: closure(closure const&); // no copy closure& operator=(closure const&); // no assign template <int N, typename ClosureT> friend class closure_member; template <typename ClosureT> friend class closure_frame; static closure_frame_t*& closure_frame_ref(closure_frame_t** frame_ = 0) { static closure_frame_t** frame = 0; if (frame_ != 0) frame = frame_; return *frame; } closure_frame_t* frame; }; }} // namespace #endif
[ "zhaixueqiang@hotmail.com" ]
zhaixueqiang@hotmail.com
231c24c66609d15b957cc39f31dc3324da9fc465
b2a9850912ee4c9b5728d3f8cc8238760087a2f6
/include/GLM/detail/type_vec3.hpp
31d2acd61b72e10ccf867527dcb14f4aea56ce10
[ "MIT" ]
permissive
AJTech2002/Pathfinding-Renderer
02baa902e576d98ba4ce0704ce50d2718663295d
e2d6886611cfe0c88f34f04051cff013ce0bc8cb
refs/heads/main
2023-08-29T07:31:53.593647
2021-09-06T09:03:50
2021-09-06T09:03:50
394,891,739
1
0
MIT
2021-08-15T21:55:35
2021-08-11T06:52:10
C
UTF-8
C++
false
false
15,962
hpp
/////////////////////////////////////////////////////////////////////////////////// /// OpenGL Mathematics (glm.g-truc.net) /// /// Copyright (c) 2005 - 2015 G-Truc Creation (www.g-truc.net) /// Permission is hereby granted, free of charge, to any person obtaining a copy /// of this software and associated documentation files (the "Software"), to deal /// in the Software without restriction, including without limitation the rights /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell /// copies of the Software, and to permit persons to whom the Software is /// furnished to do so, subject to the following conditions: /// /// The above copyright notice and this permission notice shall be included in /// all copies or substantial portions of the Software. /// /// Restrictions: /// By making use of the Software for military purposes, you choose to make /// a Bunny unhappy. /// /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN /// THE SOFTWARE. /// /// @ref core /// @file glm/detail/type_vec3.hpp /// @date 2008-08-22 / 2011-06-15 /// @author Christophe Riccio /////////////////////////////////////////////////////////////////////////////////// #pragma once #include "type_vec.hpp" #ifdef GLM_SWIZZLE # if GLM_HAS_ANONYMOUS_UNION # include "_swizzle.hpp" # else # include "_swizzle_func.hpp" # endif #endif //GLM_SWIZZLE #include <cstddef> namespace glm { template <typename T, precision P = defaultp> struct tvec3 { // -- Implementation detail -- typedef tvec3<T, P> type; typedef tvec3<bool, P> bool_type; typedef T value_type; # ifdef GLM_META_PROG_HELPERS static GLM_RELAXED_CONSTEXPR length_t components = 3; static GLM_RELAXED_CONSTEXPR precision prec = P; # endif//GLM_META_PROG_HELPERS // -- Data -- # if GLM_HAS_ANONYMOUS_UNION union { struct{ T x, y, z; }; struct{ T r, g, b; }; struct{ T s, t, p; }; # ifdef GLM_SWIZZLE _GLM_SWIZZLE3_2_MEMBERS(T, P, tvec2, x, y, z) _GLM_SWIZZLE3_2_MEMBERS(T, P, tvec2, r, g, b) _GLM_SWIZZLE3_2_MEMBERS(T, P, tvec2, s, t, p) _GLM_SWIZZLE3_3_MEMBERS(T, P, tvec3, x, y, z) _GLM_SWIZZLE3_3_MEMBERS(T, P, tvec3, r, g, b) _GLM_SWIZZLE3_3_MEMBERS(T, P, tvec3, s, t, p) _GLM_SWIZZLE3_4_MEMBERS(T, P, tvec4, x, y, z) _GLM_SWIZZLE3_4_MEMBERS(T, P, tvec4, r, g, b) _GLM_SWIZZLE3_4_MEMBERS(T, P, tvec4, s, t, p) # endif//GLM_SWIZZLE }; # else union { T x, r, s; }; union { T y, g, t; }; union { T z, b, p; }; # ifdef GLM_SWIZZLE GLM_SWIZZLE_GEN_VEC_FROM_VEC3(T, P, tvec3, tvec2, tvec3, tvec4) # endif//GLM_SWIZZLE # endif//GLM_LANG // -- Component accesses -- # ifdef GLM_FORCE_SIZE_FUNC /// Return the count of components of the vector typedef size_t size_type; GLM_FUNC_DECL GLM_CONSTEXPR size_type size() const; GLM_FUNC_DECL T & operator[](size_type i); GLM_FUNC_DECL T const & operator[](size_type i) const; # else /// Return the count of components of the vector typedef length_t length_type; GLM_FUNC_DECL GLM_CONSTEXPR length_type length() const; GLM_FUNC_DECL T & operator[](length_type i); GLM_FUNC_DECL T const & operator[](length_type i) const; # endif//GLM_FORCE_SIZE_FUNC // -- Implicit basic constructors -- GLM_FUNC_DECL tvec3() GLM_DEFAULT_CTOR; GLM_FUNC_DECL tvec3(tvec3<T, P> const & v) GLM_DEFAULT; template <precision Q> GLM_FUNC_DECL tvec3(tvec3<T, Q> const & v); // -- Explicit basic constructors -- GLM_FUNC_DECL explicit tvec3(ctor); GLM_FUNC_DECL explicit tvec3(T const & s); GLM_FUNC_DECL tvec3(T const & a, T const & b, T const & c); // -- Conversion scalar constructors -- /// Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) template <typename A, typename B, typename C> GLM_FUNC_DECL tvec3(A const & a, B const & b, C const & c); template <typename A, typename B, typename C> GLM_FUNC_DECL tvec3(tvec1<A, P> const & a, tvec1<B, P> const & b, tvec1<C, P> const & c); // -- Conversion vector constructors -- /// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) template <typename A, typename B, precision Q> GLM_FUNC_DECL explicit tvec3(tvec2<A, Q> const & a, B const & b); /// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) template <typename A, typename B, precision Q> GLM_FUNC_DECL explicit tvec3(tvec2<A, Q> const & a, tvec1<B, Q> const & b); /// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) template <typename A, typename B, precision Q> GLM_FUNC_DECL explicit tvec3(A const & a, tvec2<B, Q> const & b); /// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) template <typename A, typename B, precision Q> GLM_FUNC_DECL explicit tvec3(tvec1<A, Q> const & a, tvec2<B, Q> const & b); /// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) template <typename U, precision Q> GLM_FUNC_DECL explicit tvec3(tvec4<U, Q> const & v); /// Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) template <typename U, precision Q> GLM_FUNC_DECL GLM_EXPLICIT tvec3(tvec3<U, Q> const & v); // -- Swizzle constructors -- # if GLM_HAS_ANONYMOUS_UNION && defined(GLM_SWIZZLE) template <int E0, int E1, int E2> GLM_FUNC_DECL tvec3(detail::_swizzle<3, T, P, tvec3<T, P>, E0, E1, E2, -1> const & that) { *this = that(); } template <int E0, int E1> GLM_FUNC_DECL tvec3(detail::_swizzle<2, T, P, tvec2<T, P>, E0, E1, -1, -2> const & v, T const & s) { *this = tvec3<T, P>(v(), s); } template <int E0, int E1> GLM_FUNC_DECL tvec3(T const & s, detail::_swizzle<2, T, P, tvec2<T, P>, E0, E1, -1, -2> const & v) { *this = tvec3<T, P>(s, v()); } # endif// GLM_HAS_ANONYMOUS_UNION && defined(GLM_SWIZZLE) // -- Unary arithmetic operators -- GLM_FUNC_DECL tvec3<T, P> & operator=(tvec3<T, P> const & v) GLM_DEFAULT; template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator=(tvec3<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator+=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator+=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator+=(tvec3<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator-=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator-=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator-=(tvec3<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator*=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator*=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator*=(tvec3<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator/=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator/=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator/=(tvec3<U, P> const & v); // -- Increment and decrement operators -- GLM_FUNC_DECL tvec3<T, P> & operator++(); GLM_FUNC_DECL tvec3<T, P> & operator--(); GLM_FUNC_DECL tvec3<T, P> operator++(int); GLM_FUNC_DECL tvec3<T, P> operator--(int); // -- Unary bit operators -- template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator%=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator%=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator%=(tvec3<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator&=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator&=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator&=(tvec3<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator|=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator|=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator|=(tvec3<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator^=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator^=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator^=(tvec3<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator<<=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator<<=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator<<=(tvec3<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator>>=(U s); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator>>=(tvec1<U, P> const & v); template <typename U> GLM_FUNC_DECL tvec3<T, P> & operator>>=(tvec3<U, P> const & v); }; // -- Unary operators -- template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v); // -- Binary operators -- template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator+(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator+(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator+(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator+(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator+(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator-(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator-(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator*(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator*(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator*(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator*(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator*(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator/(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator/(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator/(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator/(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator/(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator%(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator%(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator%(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator%(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator%(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator&(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator&(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator&(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator&(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator&(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator|(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator|(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator|(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator|(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator|(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator^(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator^(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator^(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator^(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator^(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator<<(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator<<(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator<<(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator<<(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator<<(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator>>(tvec3<T, P> const & v, T const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator>>(tvec3<T, P> const & v, tvec1<T, P> const & s); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator>>(T const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator>>(tvec1<T, P> const & s, tvec3<T, P> const & v); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator>>(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL tvec3<T, P> operator~(tvec3<T, P> const & v); // -- Boolean operators -- template <typename T, precision P> GLM_FUNC_DECL bool operator==(tvec3<T, P> const & v1, tvec3<T, P> const & v2); template <typename T, precision P> GLM_FUNC_DECL bool operator!=(tvec3<T, P> const & v1, tvec3<T, P> const & v2); }//namespace glm #ifndef GLM_EXTERNAL_TEMPLATE #include "type_vec3.inl" #endif//GLM_EXTERNAL_TEMPLATE
[ "Ajay Venkat" ]
Ajay Venkat
090dc2462638c2e0e7709bbcd9779acffe8e85ff
6ff64d05bcf56741366a9a2bb1920ae224ef1d6e
/10006 carmichael num.cpp
e62ab14d6cdd2910181a681801c36feb353b181b
[]
no_license
abdur-rahman-mbstu/Uva-Solution
d744b8682afa340b12533c0c393b63d385ed9740
97e7d5fc246944e687b9970b5c216da4a5c5a5f8
refs/heads/master
2020-06-18T04:21:22.422435
2020-02-15T05:02:27
2020-02-15T05:02:27
196,162,192
1
0
null
2020-02-15T05:02:29
2019-07-10T08:12:04
C++
UTF-8
C++
false
false
456
cpp
#include<bits/stdc++.h> using namespace std; int main() { long n; while(cin>>n) { if(n==0) break; if(n==561||n==1105||n==1729||n==2465||n==2821||n==6601||n==8911||n==10585||n==15841||n==29341 ||n==41041||n==46657||n==52633||n==62745||n==63973) printf("The number %ld is a Carmichael number.\n",n); else cout<<n<<" is normal.\n"; } return 0; }
[ "noreply@github.com" ]
abdur-rahman-mbstu.noreply@github.com
c9cd50f68b58889422d8a693f3314681f70ee1cc
cb142e98b043e7088f0fe009f5159928877acf1b
/Nano_Basic/Nano_Basic1/BBKzWrok (2).ino
62d24800ec2e18be76b6fa03059bff8d53089118
[]
no_license
wetnt/Arduino_public
ef30502b4a30e099a09e2617fd58fd3a9801cf13
4cc331e2f43dda0df8f78d9cfe924da130ca5df3
refs/heads/master
2021-01-23T09:38:43.302783
2019-09-12T00:29:43
2019-09-12T00:29:43
33,909,041
2
2
null
null
null
null
UTF-8
C++
false
false
1,051
ino
//=================================================================== void Timer_work() { //------------------------------------- int timerEvent1 = timerLoop.every(timeChange, getangle); //每timeChange毫秒执行回调函数getangle int timerEvent2 = timerLoop.every(100, MPU6050_show) ; //每50毫秒执行回调函数printout,串口输出 int timerEvent3 = timerLoop.every(1000, GPS_work) ; //GPS状态输出 int timerEvent4 = timerLoop.every(1000, WorkRunA) ; //状态呼吸灯 //------------------------------------- } //=================================================================== void GPS_work() { GpsValueSet(); GpsStringSet(); GpsLineShow(); } //=================================================================== bool LightKey = false; void WorkRunA() { LightKey = !LightKey; if(LightKey){ digitalWrite(13, HIGH); lgs.println("HIGH"); //delay(1000); }else{ digitalWrite(13, LOW); lgs.println("LOW"); //delay(1000); } } //===================================================================
[ "wetnt@sina.com" ]
wetnt@sina.com
780b039703f7cb9cab2e9a41249bdb9a48fe53f2
5fe5d44504f802efc07a09b5b269cf01af4df022
/include/std_msgs/Byte.h
79fc80a408fb14e1151d8078559816a3de4dbe6a
[]
no_license
southpaw-wu/ros_ios_chamo
737579b30b887799df51155f2bece68b8e3110d0
a668c434ccff9c5f19678a6c4c58d3ffe67f7c37
refs/heads/master
2020-09-27T07:42:57.782856
2019-12-07T06:39:05
2019-12-07T06:39:05
226,466,720
0
0
null
2019-12-07T06:28:38
2019-12-07T06:28:38
null
UTF-8
C++
false
false
4,403
h
// Generated by gencpp from file std_msgs/Byte.msg // DO NOT EDIT! #ifndef STD_MSGS_MESSAGE_BYTE_H #define STD_MSGS_MESSAGE_BYTE_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_traits.h> #include <ros/message_operations.h> namespace std_msgs { template <class ContainerAllocator> struct Byte_ { typedef Byte_<ContainerAllocator> Type; Byte_() : data(0) { } Byte_(const ContainerAllocator& _alloc) : data(0) { (void)_alloc; } typedef int8_t _data_type; _data_type data; typedef boost::shared_ptr< ::std_msgs::Byte_<ContainerAllocator> > Ptr; typedef boost::shared_ptr< ::std_msgs::Byte_<ContainerAllocator> const> ConstPtr; }; // struct Byte_ typedef ::std_msgs::Byte_<std::allocator<void> > Byte; typedef boost::shared_ptr< ::std_msgs::Byte > BytePtr; typedef boost::shared_ptr< ::std_msgs::Byte const> ByteConstPtr; // constants requiring out of line definition template<typename ContainerAllocator> std::ostream& operator<<(std::ostream& s, const ::std_msgs::Byte_<ContainerAllocator> & v) { ros::message_operations::Printer< ::std_msgs::Byte_<ContainerAllocator> >::stream(s, "", v); return s; } } // namespace std_msgs namespace ros { namespace message_traits { // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False} // {'std_msgs': ['/opt/ros/src/std_msgs/msg']} // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types'] template <class ContainerAllocator> struct IsFixedSize< ::std_msgs::Byte_<ContainerAllocator> > : TrueType { }; template <class ContainerAllocator> struct IsFixedSize< ::std_msgs::Byte_<ContainerAllocator> const> : TrueType { }; template <class ContainerAllocator> struct IsMessage< ::std_msgs::Byte_<ContainerAllocator> > : TrueType { }; template <class ContainerAllocator> struct IsMessage< ::std_msgs::Byte_<ContainerAllocator> const> : TrueType { }; template <class ContainerAllocator> struct HasHeader< ::std_msgs::Byte_<ContainerAllocator> > : FalseType { }; template <class ContainerAllocator> struct HasHeader< ::std_msgs::Byte_<ContainerAllocator> const> : FalseType { }; template<class ContainerAllocator> struct MD5Sum< ::std_msgs::Byte_<ContainerAllocator> > { static const char* value() { return "ad736a2e8818154c487bb80fe42ce43b"; } static const char* value(const ::std_msgs::Byte_<ContainerAllocator>&) { return value(); } static const uint64_t static_value1 = 0xad736a2e8818154cULL; static const uint64_t static_value2 = 0x487bb80fe42ce43bULL; }; template<class ContainerAllocator> struct DataType< ::std_msgs::Byte_<ContainerAllocator> > { static const char* value() { return "std_msgs/Byte"; } static const char* value(const ::std_msgs::Byte_<ContainerAllocator>&) { return value(); } }; template<class ContainerAllocator> struct Definition< ::std_msgs::Byte_<ContainerAllocator> > { static const char* value() { return "byte data\n\ "; } static const char* value(const ::std_msgs::Byte_<ContainerAllocator>&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template<class ContainerAllocator> struct Serializer< ::std_msgs::Byte_<ContainerAllocator> > { template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) { stream.next(m.data); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct Byte_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template<class ContainerAllocator> struct Printer< ::std_msgs::Byte_<ContainerAllocator> > { template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::std_msgs::Byte_<ContainerAllocator>& v) { s << indent << "data: "; Printer<int8_t>::stream(s, indent + " ", v.data); } }; } // namespace message_operations } // namespace ros #endif // STD_MSGS_MESSAGE_BYTE_H
[ "user@users-MacBook-Pro.local" ]
user@users-MacBook-Pro.local
ed0e7712c8c55c0ef0de87f2150002c6c3303e18
385cb811d346a4d7a285fc087a50aaced1482851
/gym/100494/L/main.cpp
3bb70c51923b5d9addbc48fd8bbda9ac0ffff379
[]
no_license
NoureldinYosri/competitive-programming
aa19f0479420d8d1b10605536e916f0f568acaec
7739344404bdf4709c69a97f61dc3c0b9deb603c
refs/heads/master
2022-11-22T23:38:12.853482
2022-11-10T20:32:28
2022-11-10T20:32:28
40,174,513
4
1
null
null
null
null
UTF-8
C++
false
false
1,611
cpp
#include <bits/stdc++.h> #define loop(i,n) for(int i = 0;i < (n);i++) #define range(i,a,b) for(int i = (a);i <= (b);i++) #define all(A) A.begin(),A.end() #define PI acos(-1) #define pb push_back #define mp make_pair #define sz(A) ((int)A.size()) #define vi vector<int> #define vl vector<long long> #define vd vector<double> #define vp vector<pair<int,int> > #define ll long long #define pi pair<int,int> #define point pair<double,double> #define pl pair<ll,ll> #define popcnt(x) __builtin_popcount(x) #define LSOne(x) ((x) & (-(x))) #define xx first #define yy second #define PQ priority_queue #define print(A,t) cerr << #A << ": "; copy(all(A),ostream_iterator<t>(cerr," " )); cerr << endl #define prp(p) cerr << "(" << (p).first << " ," << (p).second << ")"; #define prArr(A,n,t) cerr << #A << ": "; copy(A,A + n,ostream_iterator<t>(cerr," " )); cerr << endl #define PRESTDIO() cin.tie(0),cerr.tie(0),ios_base::sync_with_stdio(0) using namespace std; int main(){ int T; scanf("%d",&T); range(t,1,T){ queue<int> atA,atB; queue<int> A,B; int turn,NA,NB; scanf("%d %d %d",&turn,&NA,&NB); loop(i,NA){ int h,m; scanf("%d:%d",&h,&m); A.push(h*60 + m); } loop(i,NB){ int h,m; scanf("%d:%d",&h,&m); B.push(h*60 + m); } while(!A.empty() || !B.empty()){ int t; if(A.empty()) t = B.front(),B.pop(); else if(B.empty()) t = A.front(),A.pop(); else if(A.front() > B.front()) t = B.front(),B.pop(); else t = A.front(),A.pop(); int x = atA.empty() ? 3600 : atA.front(),y = atB.empty() ? 3600 : atB.front(); } printf("%d\n",atA.size() + atB.size()); } return 0; }
[ "noureldinyosri@gmail.com" ]
noureldinyosri@gmail.com
0e2b333f813431c5af883a5f0dae5642534f1667
d4014d7b7555afb29806827c8bc036e3b20ea876
/src/state/State.cpp
6733bc1ec0739e09dbd9d9dd0f09accf28342aa8
[ "Apache-2.0" ]
permissive
renzhengeek/Faasm
ff89865208e927ad5ab8cda6403c171334a69b95
7c3f081e21064d8dbd4664212916170ea87f76fd
refs/heads/master
2022-04-26T18:52:39.940370
2020-04-24T15:47:14
2020-04-24T15:47:14
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,716
cpp
#include "State.h" #include "UserState.h" #include <util/config.h> #include <util/locks.h> #include <unistd.h> using namespace util; namespace state { /** * Global state (can hold many users' state) */ State &getGlobalState() { static State s; return s; } void State::forceClearAll() { userStateMap.clear(); } size_t State::getStateSize(const std::string &user, const std::string &keyIn) { if(user.empty()) { throw std::runtime_error("Attempting to access state with empty user"); } std::shared_ptr<UserState> us = this->getUserState(user); return us->getSize(keyIn); } std::shared_ptr<StateKeyValue> State::getKV(const std::string &user, const std::string &key, size_t size) { if(user.empty()) { throw std::runtime_error("Attempting to access state with empty user"); } std::shared_ptr<UserState> us = this->getUserState(user); return us->getValue(key, size); } std::shared_ptr<UserState> State::getUserState(const std::string &user) { if (userStateMap.count(user) == 0) { // Lock on editing user state registry FullLock fullLock(userStateMapMutex); // Double check it still doesn't exist if (userStateMap.count(user) == 0) { auto s = new UserState(user); userStateMap.emplace(UserStatePair(user, s)); } } return userStateMap[user]; } size_t State::getKVCount() { size_t total = 0; for(auto &p : userStateMap) { total += p.second->getKeyCount(); } return total; } }
[ "noreply@github.com" ]
renzhengeek.noreply@github.com
3814e132be66eb1de4e470c91ee75ba28bbb7bf9
850a39e68e715ec5b3033c5da5938bbc9b5981bf
/drgraf4_0/MMgrPat/Loft_Com.cpp
a91ffb0448e29d2ee46fbf74c392dd41a99296d5
[]
no_license
15831944/drProjects
8cb03af6d7dda961395615a0a717c9036ae1ce0f
98e55111900d6a6c99376a1c816c0a9582c51581
refs/heads/master
2022-04-13T12:26:31.576952
2020-01-04T04:18:17
2020-01-04T04:18:17
null
0
0
null
null
null
null
UTF-8
C++
false
false
8,465
cpp
#include "stdafx.h" #include "DListMgr.h" #include "DrCurve.h" #include "Def_MouseAct.h" /////////////////// #include "Loft_Com.h" #ifdef _DEBUG #undef THIS_FILE static char BASED_CODE THIS_FILE[] = __FILE__; #endif IMPLEMENT_DYNAMIC(CLoft_Compat, CObject) //////////////////// BOOL CLoft_Compat::AreCurvesCompatible(CDListMgr* pCurveList,CList<CURVELATCH,CURVELATCH>* pLatchList) { BOOL bClosed; int nDim_S; int nTopDegree; //////////////////////////////////////////////////////////// ALL Closed or Open if(!IsCompat_Closed(pCurveList,bClosed)) return FALSE; //////////////////////////////////////////////////////////// Segment Compatibility PreProcessCurvesControlInfo(pCurveList,nDim_S,nTopDegree); // TopDegree? etc //////////////////////////////////////////////////////////// Do it int nCon_BZ; int nBezSeg; // Total Expected CNodes of EACH Curve if(!IsCompat_NumberOfCNodes(pCurveList,nTopDegree,nBezSeg,nCon_BZ) ) return FALSE; //////////////////////////////////////////////////////////// Output Compatibility if(!IsCompat_OutputInfo(pCurveList,pLatchList) ) // ElPerSegList etc return FALSE; ////////// return TRUE; } BOOL CLoft_Compat::IsCompat_Closed(CDListMgr* pCurveList,BOOL& bClosed) { /////////////////////////////////////// Is ALL Closed or Open? CDListMgr* pList = pCurveList; bClosed = FALSE; int i = -1; //////////////////////////////////////////////////////////// Find Highest Degree for (POSITION pos = pList->GetFirstObjectPos();pos !=NULL;) { CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos); if(!pCurve) return FALSE; ///////////////////////////////////////////// IsClosed i++; if(i<=0) bClosed = pCurve->IsClosed_S(); else if(bClosed != pCurve->IsClosed_S()) return FALSE; ///// } //////////// return TRUE; } int CLoft_Compat::PreProcessCurvesControlInfo(CDListMgr* pCurveList,int& nDim_S,int& nTopDegree) { /////////////////////////////////////// Rational? nDim_S = 3; if(IsRational(pCurveList)) nDim_S = 4; /////////////////////////////////////// Find Highest Degree nTopDegree = GetTopDegree(pCurveList); //////////// return MA_OK; } BOOL CLoft_Compat::IsRational(CDListMgr* pCurveList) { CDListMgr* pList = pCurveList; //////////////////////////////////////////////////////////// Find Highest Degree for (POSITION pos = pList->GetFirstObjectPos();pos !=NULL;) { CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos); if(!pCurve) continue; ///////////////////////////////////////////// Get Degree/Update int nDim = pCurve->GetnDim_S(); if(4 == nDim) return TRUE; ///// } return FALSE; } int CLoft_Compat::GetTopDegree(CDListMgr* pCurveList) { CDListMgr* pList = pCurveList; ////////////////////////////// int nDegree=0,nDeg_C; //////////////////////////////////////////////////////////// Find Highest Degree for (POSITION pos = pList->GetFirstObjectPos();pos !=NULL;) { CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos); if(!pCurve) continue; ///////////////////////////////////////////// Get Degree/Update nDeg_C = (pCurve->GetOrder_S()) - 1; if(nDeg_C>nDegree) nDegree = nDeg_C; ///// } return nDegree; } BOOL CLoft_Compat::IsCompat_NumberOfCNodes(CDListMgr* pCurveList,int nTopDegree, int& nCurveSeg,int& nConBZ) { // Check All Curves Have Same Number of CNodes after Elevation ////////////////////////////////////////////////////////////// CDListMgr* pList = pCurveList; // Curves making up Profile int nDeg_C,nElev,nCon; int nConBZOld; // BOOL bClosed; //////////////////////////////////////////////////////////// Total CNodes int k = 0; for (POSITION pos = pList->GetFirstObjectPos();pos !=NULL;) { CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos); if(!pCurve) return FALSE; // error //// k++; nConBZ = 0; ///////////////////////////////////////////// Get Degree/Update nDeg_C = (pCurve->GetOrder_S()) - 1; nElev = nTopDegree - nDeg_C; // How many Elevations nCon = pCurve->GetMaxCNodes_S(); nCurveSeg = pCurve->GetMaxBezSegments_S(); // bClosed = pCurve->IsClosed_S(); ///////////////////////////////////////////// Update Total Control Nodes nConBZ = nCon; if(nElev>0) nConBZ += nElev * nCurveSeg; // nElev Cnodes per Curve Segment ///////////////////////////////////////////// Check Compatibility if(k<=1) nConBZOld = nConBZ; // first time else if(nConBZOld != nConBZ) // InCompatible return FALSE; } /////////////// return TRUE; } BOOL CLoft_Compat::IsCompat_OutputInfo(CDListMgr* pCurveList, CList<CURVELATCH,CURVELATCH>* pLatchList) { POSITION pos,posL; BOOL bCompareBKward = FALSE; CURVELATCH LatchOld; CURVELATCH Latch; int nOut,nOutOld,nBezSegs; pINT pNum; pINT pNumOld; /////////////////////////////////////// Is ALL Output Info same? CDListMgr* pList = pCurveList; int i= -1,j; //////////////////////////////////////////////////////////// Find Highest Degree for (pos = pList->GetFirstObjectPos(),posL = pLatchList->GetHeadPosition();pos !=NULL;) { CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos); if(!pCurve) return FALSE; Latch = pLatchList->GetNext(posL); nOut = (int)pCurve->GetLongOutPts(); pNum = pCurve->GetNum_tPointer_S(); ///////////////////////////////////////////// i++; if(i<=0) { nBezSegs = pCurve->GetMaxBezSegments_S(); pNumOld = pNum; LatchOld = Latch; nOutOld = nOut; ///////// continue; } else { if(nOutOld != nOut) return FALSE; ///////////////////////////////////////// SegmentWise bCompareBKward = (LatchOld == Latch)? FALSE:TRUE; ///////////////////////////////////////////// go over the list if(bCompareBKward) { for (j=0;j<nBezSegs;j++) { //// int nElems = pNum[(nBezSegs-1)-j]; /////// int nElemsOld = pNumOld[j]; ///////////////////////////////////////////////// same if(nElemsOld != nElems) return FALSE; } } else { for (j=0;j<nBezSegs;j++) { //// int nElems = pNum[j]; /////// int nElemsOld = pNumOld[j]; ///////////////////////////////////////////////// same if(nElemsOld != nElems) return FALSE; } } } } //////////// return TRUE; /* POSITION pos,posL; BOOL bCompareBKward = FALSE; CURVELATCH LatchOld; CURVELATCH Latch; /////////////////////////////////////// Is ALL Output Info same? CDListMgr* pList = pCurveList; CList<int,int>* pElperSegList; CList<int,int>* pElperSegListOld; int i= -1,j; //////////////////////////////////////////////////////////// Find Highest Degree for (pos = pList->GetFirstObjectPos(),posL = pLatchList->GetHeadPosition();pos !=NULL;) { CDrCurve* pCurve = (CDrCurve*)pList->GetNextObject(pos); if(!pCurve) return FALSE; Latch = pLatchList->GetNext(posL); pElperSegList = pCurve->GetElperSegList_S(); ///////////////////////////////////////////// ElperSegList i++; if(i<=0) { pElperSegListOld = pElperSegList; LatchOld = Latch; /// if(pElperSegList->IsEmpty()) // must have some Elems return FALSE; else continue; } else { ///////////////////////////////////////////// same count of indices? if(pElperSegList->GetCount() != pElperSegListOld->GetCount()) return FALSE; ///////////////////////////////////////////////// bCompareBKward = (LatchOld == Latch)? FALSE:TRUE; ///////////////////////////////////////////// go over the list if(bCompareBKward) { j = -1; for (POSITION posI = pElperSegList->GetTailPosition( );posI !=NULL;) { j++; //// int nElems = pElperSegList->GetPrev(posI); /////// POSITION posOld = pElperSegListOld->FindIndex(j); int nElemsOld = pElperSegList->GetAt(posOld); ///////////////////////////////////////////////// same if(nElemsOld != nElems) return FALSE; } } else { j = -1; for (POSITION posI = pElperSegList->GetHeadPosition( );posI !=NULL;) { j++; //// int nElems = pElperSegList->GetNext(posI); /////// POSITION posOld = pElperSegListOld->FindIndex(j); int nElemsOld = pElperSegList->GetAt(posOld); ///////////////////////////////////////////////// same if(nElemsOld != nElems) return FALSE; } } } } //////////// return TRUE; */ } ////////////////////////////// end of Module ////////////////////////
[ "sray12345678@gmail.com" ]
sray12345678@gmail.com
710a30813723c4efce5004b7cf7fb28afcae47a6
5446d232249fb394900a458af2bb7e9aaa9c5a76
/leetcode/single-number-ii.h
95d51f2bede697788c09266d31e356ff3c739ad4
[]
no_license
huozhi/algorithm
32b54dbf3578929dbe18db789dea0c8b15ed433c
ba722e2341a10ef6f7948b70f3b2d7bfd7ca4584
refs/heads/master
2021-01-20T00:40:16.429935
2018-07-21T08:33:08
2018-07-21T08:37:12
18,261,041
1
0
null
null
null
null
UTF-8
C++
false
false
1,055
h
/* Given an array of integers, every element appears three times except for one. Find that single one. */ // Solution 1, use hash table class Solution { public: int singleNumber(int A[], int n) { if (n <= 0) return -1; else if(n == 1) return A[0]; unordered_map<int, int> um; for(int i=0; i<n; i++) { if (um.count(A[i])) { if (um[A[i]] == 2) um.erase(A[i]); else ++um[A[i]]; } else { um[A[i]] = 1; } } return um.begin()->first; } }; // Solution 2 class Solution { public: int singleNumber(int A[], int n) { int ones = 0, twos = 0, xthrees = 0; for(int i = 0; i < n; ++i) { twos |= (ones & A[i]); ones ^= A[i]; xthrees = ~(ones & twos); ones &= xthrees; twos &= xthrees; } return ones; } };
[ "gilesliu12@gmail.com" ]
gilesliu12@gmail.com
be229d671775fd8dc8b337eb34a0b85f98af4d71
fb26c19ead12a893e04ecdec4281d30ddb54278f
/VitalsOneProj/VitalsOneProj/Forest/Forest.cpp
2da15be8c4daf80a63ca3a3ac3c04b4e34554fad
[]
no_license
TLadd/SeniorDesign
2b90b39529314e19cbaeb82190aac0fba8bfb4ac
a40ac21efc8c6dca57aeabd6de69e0fbed63284e
refs/heads/master
2021-01-06T20:45:28.157179
2014-04-19T06:50:22
2014-04-19T06:50:22
null
0
0
null
null
null
null
UTF-8
C++
false
false
13,838
cpp
#include "Forest.h" #include "NodeFactory.h" #include <boost/thread/thread.hpp> #include <ctime> #include <qdebug.h> using namespace std; using namespace cv; using namespace boost; Forest::Forest(){} Forest::Forest(string fileName) { } Forest::Forest(int _numClasses, int _depth, int _numFeatures, int _numThresh, double _subSampleRatio, int _minNumInNode, double _backgroundPenalty, std::pair<double, double> _featureRange, std::pair<double, double> _thresholdRange) { numClasses = _numClasses; depth = _depth; numFeatures = _numFeatures; numThresh = _numThresh; subSampleRatio = _subSampleRatio; minNumInNode = _minNumInNode; backgroundPenalty = _backgroundPenalty; featureRange = _featureRange; thresholdRange = _thresholdRange; trees = vector<ITreeNode *>(); } /* * Gets an integer array whose contents are from 0 to n-1 and shuffled randomly */ vector<int> getRandVector(int n) { vector<int> retVec(n); int i; for(i=0; i < n; i++) { retVec.at(i) = i; } random_shuffle(retVec.begin(), retVec.end()); return retVec; } /* * Gets an integer array whose contents are from 0 to n-1 and shuffled randomly */ vector<int> getRandPixels(Mat classifiedImage) { vector<int> retVec = vector<int>(); int width = classifiedImage.size().width; int height = classifiedImage.size().height; int counter = 0; for(int i=0; i < height; i++) { for(int j =0; j < width; j++) { if(classifiedImage.at<uchar>(i, j) != 0) { retVec.push_back(counter); } counter++; } } random_shuffle(retVec.begin(), retVec.end()); return retVec; } Mat Forest::computePrediction2(HistogramMatrix histograms, int width, int height, vector<pair<int,int>> pixels) { int zeroCount = 0; int oneCount = 0; Mat classifiedImage = Mat(height, width, CV_8UC1); // Initially set all predictions to 0 classifiedImage.setTo(0); // Iterate through every pixel for(pair<int,int> pixel : pixels) { // Compute the max class double maxTally = -1; int maxIndex = -1; vector<double> hist = histograms.getHistogram(pixel.first, pixel.second); for(int n=0; n < numClasses; n++) { if(hist.at(n) > maxTally) { maxTally = hist.at(n); maxIndex = n; } } if(maxIndex == 0) { zeroCount++; } else if(maxIndex == 1) { oneCount++; } // Set the pixel to the max class classifiedImage.at<uchar>(pixel.first,pixel.second) = maxIndex+1; } return classifiedImage; } /* * Takes the vector of histogram matrices and averages them for each pixel, and then * chooses the maximum count as the class for the pixel */ Mat Forest::computePrediction(vector<HistogramMatrix> matrices, int width, int height, vector<pair<int,int>> pixels) { int zeroCount = 0; int oneCount = 0; Mat classifiedImage = Mat(height, width, CV_8UC1); // Initially set all predictions to 0 classifiedImage.setTo(0); // Iterate through every pixel for(pair<int,int> pixel : pixels) { // Keep a sum of the histogram counts vector<double> sum = vector<double>(numClasses, 0); // Iterate through each matrix of histograms for(int k = 0; k < matrices.size(); k++) { // Get the histogram for this pixel and histogram matrix vector<double> hist = matrices.at(k).getHistogram(pixel.first, pixel.second); // Sum up all the classes in the histogram for(int m = 0; m < hist.size(); m++) { sum.at(m) += hist.at(m); } } // Compute the max class double maxTally = -1; int maxIndex = -1; for(int n=0; n < numClasses; n++) { if(sum.at(n) > maxTally) { maxTally = sum.at(n); maxIndex = n; } } if(maxIndex == 0) { zeroCount++; } else if(maxIndex == 1) { oneCount++; } // Set the pixel to the max class classifiedImage.at<uchar>(pixel.first,pixel.second) = maxIndex+1; } return classifiedImage; } void Forest::makeTreeOperation(vector<Mat> &allInputDepthImages, vector<Mat> &allInputClassifiedImages, int numImages, int numTrees, vector<ITreeNode *> *addedTrees, int index) { vector<int> imageSelector = getRandVector(allInputDepthImages.size()); vector<Mat> inputDepthImages = vector<Mat>(); vector<Mat> inputClassifiedImages = vector<Mat>(); for(int j = 0; j < numImages; j++) { int selectedIndex = imageSelector.at(j); inputDepthImages.push_back(allInputDepthImages.at(selectedIndex)); inputClassifiedImages.push_back(allInputClassifiedImages.at(selectedIndex)); } ITreeNode *node = makeTree(inputDepthImages, inputClassifiedImages); addedTrees->at(index) = node; } /* * Utility method to make making multiple trees at once easier. Makes numTrees trees by following this process: * Takes in two vectors of filenames and selects numImages of them randomly. * The images are then placed in a vector and a tree is added with that training data */ void Forest::makeTrees(vector<Mat> &allInputDepthImages, vector<Mat> &allInputClassifiedImages, int numImages, int numTrees) { vector<thread *> waitingThreads; vector<ITreeNode *> addedTrees = vector<ITreeNode *>(numTrees); for(int i=0; i < numTrees; i++) { thread *t = new thread(&Forest::makeTreeOperation, this, allInputDepthImages, allInputClassifiedImages, numImages, numTrees, &addedTrees, i); waitingThreads.push_back(t); } for(thread *tj : waitingThreads) { tj->join(); delete tj; } for(ITreeNode * tree : addedTrees) { trees.push_back(tree); } } void predictOperation(ITreeNode *node, int index, vector<HistogramMatrix> *matrices, int width, int height, Mat &inputDepth, vector<pair<int,int>> pixels) { // Construct a container for the matrix of histograms HistogramMatrix histMat = HistogramMatrix(width, height); // Delegate to the tree. ClassifiedImage will have the results. node->predict(inputDepth, histMat, pixels); matrices->at(index) = histMat; } vector<HistogramMatrix> traverseTreeParallel(vector<ITreeNode *> trees, int width, int height, Mat &inputDepth, vector<pair<int,int>> pixels) { vector<HistogramMatrix> matrices = vector<HistogramMatrix>(trees.size()); vector<thread *> waitingThreads = vector<thread *>(); for(int k = 0; k < trees.size(); k++) { ITreeNode *node = trees.at(k); thread *t = new thread(predictOperation, node, k, &matrices, width, height, inputDepth, pixels); waitingThreads.push_back(t); } for(thread *tj : waitingThreads) { tj->join(); delete tj; } return matrices; } vector<HistogramMatrix> traverseTreeSerial(vector<ITreeNode *> trees, int width, int height, Mat &inputDepth, vector<pair<int,int>> pixels) { vector<HistogramMatrix> matrices = vector<HistogramMatrix>(); for(ITreeNode *node : trees) { // Construct a container for the matrix of histograms HistogramMatrix histMat = HistogramMatrix(width, height); // Delegate to the tree. ClassifiedImage will have the results. node->predict(inputDepth, histMat, pixels); matrices.push_back(histMat); } return matrices; } /* * Takes in an input depth image and outputs a Mat where each pixel corresponds to the classification * of the corresponding pixel in the depth image */ Mat Forest::classifyImage(Mat &inputDepth) { int width = inputDepth.size().width; int height = inputDepth.size().height; vector<pair<int,int>> pixels = vector<pair<int,int>>(); // Make a vector of foreground pixels for(int i=0; i < inputDepth.size().height; i++) { for(int j = 0; j < inputDepth.size().width; j++) { if(inputDepth.at<uchar>(i,j) != 0) { pixels.push_back(pair<int,int>(i, j)); } else { //cout << "Hi"; } } } int timed, times; times = clock(); vector<HistogramMatrix> matrices = traverseTreeParallel(trees, width, height, inputDepth, pixels); timed = clock(); cout << "Going through tree took "<< (timed-times) <<" ticks.\n"<< endl; times = clock(); Mat classifiedImage = computePrediction(matrices, width, height, pixels); timed = clock(); cout << "Summing histograms took "<< (timed-times) <<" ticks.\n"<< endl; return classifiedImage; } Mat Forest::classifyImageSparse(Mat &inputDepth, int boxWidth, int boxHeight) { int timed, times; times = clock(); int width = inputDepth.size().width; int height = inputDepth.size().height; vector<pair<int,int>> pixels = vector<pair<int,int>>(); vector<pair<int,int>> startingPoints = vector<pair<int,int>>(); // Make a sparse vector of foreground pixels for(int i=0; i < inputDepth.size().height; i=i+boxHeight) { for(int j = 0; j < inputDepth.size().width; j=j+boxWidth) { int centerRow = min(height-1, i+boxHeight/2); int centerCol = min(width-1, j+boxWidth/2); if(inputDepth.at<uchar>(centerRow,centerCol) != 0) { pixels.push_back(pair<int,int>(centerRow, centerCol)); startingPoints.push_back(pair<int,int>(i, j)); } else { //cout << "Hi"; } } } ITreeNode *node = trees.at(2); // Construct a container for the matrix of histograms HistogramMatrix histMat = HistogramMatrix(width, height); // Delegate to the tree. ClassifiedImage will have the results. node->predict(inputDepth, histMat, pixels); Mat classifiedImage = Mat(height, width, CV_8UC1); // Initially set all predictions to 0 classifiedImage.setTo(0); for(int k=0; k < startingPoints.size(); k++) { pair<int,int> pnt = startingPoints.at(k); int centerRow = min(height-1, pnt.first+boxHeight/2); int centerCol = min(width-1, pnt.second+boxWidth/2); vector<double> sum = histMat.getHistogram(centerRow, centerCol); double maxTally = -1; int maxIndex = -1; for(int n=0; n < numClasses; n++) { if(sum.at(n) > maxTally) { maxTally = sum.at(n); maxIndex = n; } } for(int i=pnt.first; i < pnt.first+boxHeight; i++) { for(int j = pnt.second; j < pnt.second+boxWidth; j++) { if(inputDepth.at<uchar>(centerRow,centerCol) != 0) { // Set the pixel to the max class classifiedImage.at<uchar>(i,j) = maxIndex+1; } } } } timed = clock(); QString poop = QString::number((timed-times)); //qDebug() << poop; return classifiedImage; } Mat Forest::classifyImageSparseAllTrees(Mat &inputDepth, int boxWidth, int boxHeight) { int timed, times; times = clock(); int width = inputDepth.size().width; int height = inputDepth.size().height; vector<pair<int,int>> pixels = vector<pair<int,int>>(); vector<pair<int,int>> startingPoints = vector<pair<int,int>>(); // Make a sparse vector of foreground pixels for(int i=0; i < inputDepth.size().height; i=i+boxHeight) { for(int j = 0; j < inputDepth.size().width; j=j+boxWidth) { int centerRow = min(height-1, i+boxHeight/2); int centerCol = min(width-1, j+boxWidth/2); if(inputDepth.at<uchar>(centerRow,centerCol) != 0) { pixels.push_back(pair<int,int>(centerRow, centerCol)); startingPoints.push_back(pair<int,int>(i, j)); } else { //cout << "Hi"; } } } vector<HistogramMatrix> matrices = traverseTreeSerial(trees, width, height, inputDepth, pixels); Mat classifiedImage = Mat(height, width, CV_8UC1); // Initially set all predictions to 0 classifiedImage.setTo(0); for(int m=0; m < startingPoints.size(); m++) { pair<int,int> pnt = startingPoints.at(m); int centerRow = min(height-1, pnt.first+boxHeight/2); int centerCol = min(width-1, pnt.second+boxWidth/2); // Keep a sum of the histogram counts vector<double> sum = vector<double>(numClasses, 0); // Iterate through each matrix of histograms for(int k = 0; k < matrices.size(); k++) { // Get the histogram for this pixel and histogram matrix vector<double> hist = matrices.at(k).getHistogram(centerRow, centerCol); // Sum up all the classes in the histogram for(int m = 0; m < hist.size(); m++) { sum.at(m) += hist.at(m); } } // Compute the max class double maxTally = -1; int maxIndex = -1; for(int n=0; n < numClasses; n++) { if(sum.at(n) > maxTally) { maxTally = sum.at(n); maxIndex = n; } } for(int i=pnt.first; i < pnt.first+boxHeight; i++) { for(int j = pnt.second; j < pnt.second+boxWidth; j++) { if(inputDepth.at<uchar>(centerRow,centerCol) != 0) { // Set the pixel to the max class classifiedImage.at<uchar>(i,j) = maxIndex+1; } } } } return classifiedImage; } /* * Adds a single tree using the specified training images */ ITreeNode * Forest::makeTree(vector<Mat> inputDepthImages, vector<Mat> inputClassifiedImages) { // Randomly selected pixels container vector<TripletWrapper> relevantPixels = vector<TripletWrapper>(); // Iterate through all the depth images for(int j=0; j < inputDepthImages.size(); j++) { Mat image = inputDepthImages.at(j); int width = image.size().width; int height = image.size().height; int numPossible = width * height; double numGen = numPossible * subSampleRatio; // Shuffled vector os possible indexes to select images from vector<int> pixelSelector = getRandPixels(inputClassifiedImages.at(j)); // Grabs the apropriate number of pixels and places them in relevantPixels for(int k=0; k < numGen; k++) { int row = pixelSelector.at(k) / width; int column = pixelSelector.at(k) % width; relevantPixels.push_back(TripletWrapper(j, pair<int,int>(row, column))); } } // Creates a tree from the selected pixels NodeFactory nodeFac = NodeFactory(); ITreeNode *node = nodeFac.makeNode(numClasses, depth, 0, numFeatures, numThresh, minNumInNode, backgroundPenalty, featureRange, thresholdRange, inputDepthImages, inputClassifiedImages, relevantPixels); return node; } /* * Adds a single tree using the specified training images */ void Forest::addTree(vector<Mat> inputDepthImages, vector<Mat> inputClassifiedImages) { ITreeNode *node = makeTree(inputDepthImages, inputClassifiedImages); trees.push_back(node); }
[ "thomas.rye.ladd@gmail.com" ]
thomas.rye.ladd@gmail.com
3299bc5ada4ec1a58cdd2e244edc961a99d325b7
fdebc7dbab00dc23baa3f5eb1b7138153d85cfeb
/src/model/input/SyntheticSource.hpp
2b949c3abd21c52980c92b1e5e1764d94b46c3a6
[]
no_license
ipapaste/Capit2
5aaa38170977e11521306d6c613afaf47185f7f6
a105c9e8b0e1d67626a0624814f58f7319cdac6d
refs/heads/master
2021-05-30T11:56:07.815843
2012-03-13T23:10:26
2012-03-13T23:10:26
null
0
0
null
null
null
null
UTF-8
C++
false
false
1,795
hpp
/* * SyntheticSource.hpp * * Created on: Jan 23, 2012 * Author: issle */ #ifndef SYNTHETICSOURCE_HPP_ #define SYNTHETICSOURCE_HPP_ #include <iostream> #include <vector> #include "AbstractSource.hpp" #include "ActiveFlow.hpp" #include "commons/math/Rnd.hpp" #include <boost/lexical_cast.hpp> #include "../IMatrix.hpp" using namespace std; class SyntheticSource:public AbstractSource { IMatrix& markovMatrix_; IMatrix& delayMatrix_; int port_; int count_; public: SyntheticSource(IMatrix& markovMatrix, IMatrix& delay, int port, int count):markovMatrix_(markovMatrix),delayMatrix_(delay) { port_ = port; count_ = count; } int getPort() { return port_; } IMatrix& getDelayMatrix() { return delayMatrix_; } int getCount() { return count_; } void print() { cout << "SyntheticSource info:" << endl; cout << "Port: " << port_ << " Clients: " << count_ << endl; cout << "Delay matrix:" << endl; delayMatrix_.print(); cout <<"Probability matrix:" << endl; markovMatrix_.print(); } void replay() { for(int i = 0; i < count_; i++) { int sourcePort = Rnd::getInt(1024 , 12000); string sourceIp(""); for(int i =0; i< 4; i++) { int chunk = Rnd::getInt(10,255); sourceIp.append(boost::lexical_cast<string>(chunk)); if( i != 3) sourceIp.append("."); } cout << sourceIp << endl; string targetIp = ClientManagerInstance::getInstance().getTargetIp(); int targetPort = port_; bool result = markovMatrix_.validate(); if(result == 0) continue; ActiveFlow* aflow = new ActiveFlow(sourceIp, targetIp, sourcePort, targetPort, markovMatrix_, delayMatrix_); cout << "Scheduling a flow" << endl; aflow->execute(2000); } } void extract() { } }; #endif /* SYNTHETICSOURCE_HPP_ */
[ "ipapaste@gmail.com" ]
ipapaste@gmail.com
f3167c270c0ba12672fb1743855a163ddff57f14
560090526e32e009e2e9331e8a2b4f1e7861a5e8
/Compiled/blaze-3.2/blazetest/src/mathtest/dmatsmatsub/MDaHCb.cpp
da3f5839915e174bef84ff35712c4da3dc8b4c10
[ "BSD-3-Clause" ]
permissive
jcd1994/MatlabTools
9a4c1f8190b5ceda102201799cc6c483c0a7b6f7
2cc7eac920b8c066338b1a0ac495f0dbdb4c75c1
refs/heads/master
2021-01-18T03:05:19.351404
2018-02-14T02:17:07
2018-02-14T02:17:07
84,264,330
2
0
null
null
null
null
UTF-8
C++
false
false
4,158
cpp
//================================================================================================= /*! // \file src/mathtest/dmatsmatsub/MDaHCb.cpp // \brief Source file for the MDaHCb dense matrix/sparse matrix subtraction math test // // Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You can redistribute it and/or modify it under // the terms of the New (Revised) BSD License. Redistribution and use in source and binary // forms, with or without modification, are permitted provided that the following conditions // are met: // // 1. Redistributions of source code must retain the above copyright notice, this list of // conditions and the following disclaimer. // 2. Redistributions in binary form must reproduce the above copyright notice, this list // of conditions and the following disclaimer in the documentation and/or other materials // provided with the distribution. // 3. Neither the names of the Blaze development group nor the names of its contributors // may be used to endorse or promote products derived from this software without specific // prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES // OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT // SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED // TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR // BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH // DAMAGE. */ //================================================================================================= //************************************************************************************************* // Includes //************************************************************************************************* #include <cstdlib> #include <iostream> #include <blaze/math/CompressedMatrix.h> #include <blaze/math/DynamicMatrix.h> #include <blaze/math/HermitianMatrix.h> #include <blazetest/mathtest/Creator.h> #include <blazetest/mathtest/dmatsmatsub/OperationTest.h> #include <blazetest/system/MathTest.h> //================================================================================================= // // MAIN FUNCTION // //================================================================================================= //************************************************************************************************* int main() { std::cout << " Running 'MDaHCb'..." << std::endl; using blazetest::mathtest::NumericA; using blazetest::mathtest::NumericB; try { // Matrix type definitions typedef blaze::DynamicMatrix<NumericA> MDa; typedef blaze::HermitianMatrix< blaze::CompressedMatrix<NumericB> > HCb; // Creator type definitions typedef blazetest::Creator<MDa> CMDa; typedef blazetest::Creator<HCb> CHCb; // Running tests with small matrices for( size_t i=0UL; i<=6UL; ++i ) { for( size_t j=0UL; j<=i*i; ++j ) { RUN_DMATSMATSUB_OPERATION_TEST( CMDa( i, i ), CHCb( i, j ) ); } } // Running tests with large matrices RUN_DMATSMATSUB_OPERATION_TEST( CMDa( 67UL, 67UL ), CHCb( 67UL, 7UL ) ); RUN_DMATSMATSUB_OPERATION_TEST( CMDa( 128UL, 128UL ), CHCb( 128UL, 16UL ) ); } catch( std::exception& ex ) { std::cerr << "\n\n ERROR DETECTED during dense matrix/sparse matrix subtraction:\n" << ex.what() << "\n"; return EXIT_FAILURE; } return EXIT_SUCCESS; } //*************************************************************************************************
[ "jonathan.doucette@alumni.ubc.ca" ]
jonathan.doucette@alumni.ubc.ca
6988c08d1a42f2fb1019f8635507ad5713ef3b92
d0c44dd3da2ef8c0ff835982a437946cbf4d2940
/cmake-build-debug/programs_tiling/function13748/function13748_schedule_26/function13748_schedule_26_wrapper.cpp
5f8d9818369ce4066a9f20400a41b942b86f8dad
[]
no_license
IsraMekki/tiramisu_code_generator
8b3f1d63cff62ba9f5242c019058d5a3119184a3
5a259d8e244af452e5301126683fa4320c2047a3
refs/heads/master
2020-04-29T17:27:57.987172
2019-04-23T16:50:32
2019-04-23T16:50:32
176,297,755
1
2
null
null
null
null
UTF-8
C++
false
false
1,544
cpp
#include "Halide.h" #include "function13748_schedule_26_wrapper.h" #include "tiramisu/utils.h" #include <cstdlib> #include <iostream> #include <time.h> #include <fstream> #include <chrono> #define MAX_RAND 200 int main(int, char **){ Halide::Buffer<int32_t> buf00(1024); Halide::Buffer<int32_t> buf01(256, 1024); Halide::Buffer<int32_t> buf02(256); Halide::Buffer<int32_t> buf03(256, 1024); Halide::Buffer<int32_t> buf04(256); Halide::Buffer<int32_t> buf05(256); Halide::Buffer<int32_t> buf06(256, 1024); Halide::Buffer<int32_t> buf07(256); Halide::Buffer<int32_t> buf08(1024); Halide::Buffer<int32_t> buf09(256, 1024); Halide::Buffer<int32_t> buf0(256, 256, 1024); init_buffer(buf0, (int32_t)0); auto t1 = std::chrono::high_resolution_clock::now(); function13748_schedule_26(buf00.raw_buffer(), buf01.raw_buffer(), buf02.raw_buffer(), buf03.raw_buffer(), buf04.raw_buffer(), buf05.raw_buffer(), buf06.raw_buffer(), buf07.raw_buffer(), buf08.raw_buffer(), buf09.raw_buffer(), buf0.raw_buffer()); auto t2 = std::chrono::high_resolution_clock::now(); std::chrono::duration<double> diff = t2 - t1; std::ofstream exec_times_file; exec_times_file.open("../data/programs/function13748/function13748_schedule_26/exec_times.txt", std::ios_base::app); if (exec_times_file.is_open()){ exec_times_file << diff.count() * 1000000 << "us" <<std::endl; exec_times_file.close(); } return 0; }
[ "ei_mekki@esi.dz" ]
ei_mekki@esi.dz
6a0d91ffafe15b76c535c2958b8162b81d1e4b26
95ccfcabf9e5a7c46016135a4ea88d1236a0a3b2
/AVL tree/include/BSTNode.h
3adea6f521bcc2ce14d11abec75456117914522c
[]
no_license
jfhr1999/MaterialTecComputacion
db3ebd2a8459191e473e94f1f7bfac4604a98d1f
2028ec0f7d7fe9343506bcb4db0ac28486c7c7f6
refs/heads/master
2020-04-08T17:46:40.422099
2018-11-29T00:11:16
2018-11-29T00:11:16
159,580,456
0
1
null
null
null
null
UTF-8
C++
false
false
1,050
h
#ifndef BSTNODE_H #define BSTNODE_H class BSTNode{ public: BSTNode(E element, BTSNode<E> *left = NULL, BTSNode<E> *right = NULL){ this->element = element; this->left = left; this->right = right; } ~BSTNode(){} void setElement(E pElement){ this->element = pElement; } E getElement(){ return element; } void setLeft(BSTNode<E> *pLeft){ this->left = pLeft; } BSTNode<E> * getLeft(){ return left; } void setRight(BSTNode<E> *pRight){ this->right = pRigth; } BSTNode<E> * getRight(){ return rigth; } bool isLeaf(){ return left == NULL && right == NULL; } int childrenCount(){ return (left == NULL? 0:1) + (right == NULL? 0:1); } protected: private: E element; BSTNode<E> *left; BSTNode<E> *right; }; #endif // BSTNODE_H
[ "33138600+chaos20@users.noreply.github.com" ]
33138600+chaos20@users.noreply.github.com
8d8ebcd72c186be13ea4946193d1ec4464a558d8
91a882547e393d4c4946a6c2c99186b5f72122dd
/Source/XPSP1/NT/com/oleutest/stgbvt/comtools/h/syncwrap.hxx
ac9d88737aabe1022fa13fc496399b8582960234
[]
no_license
IAmAnubhavSaini/cryptoAlgorithm-nt5src
94f9b46f101b983954ac6e453d0cf8d02aa76fc7
d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2
refs/heads/master
2023-09-02T10:14:14.795579
2021-11-20T13:47:06
2021-11-20T13:47:06
null
0
0
null
null
null
null
UTF-8
C++
false
false
20,743
hxx
//+------------------------------------------------------------------- // // File: syncwrap.hxx // // Contents: Wrapper classes for Win32 synchronization objects. // // Classes: CMutex - Creates/destroys a Mutex object // CSemaphore - Creates/destroys a Semaphore object // CEvent - Creates/destroys an Event object // CCritSec - Creates/destroys a critical section // CTCLock - Locks/Unlock one of the above // // Functions: // // History: 31-Jan-92 BryanT Created // 04-Feb-92 BryanT Added Critical section support // 23-Feb-92 BryanT Add OS/2 support for a Critical // section-like synchronization object. // Code is stolen from tom\dispatcher // semaphore class. // 26-Jun-92 DwightKr Added ifndef MIDL // 29-Jun-93 DwightKr Changed MIDL to MIDL_PASS * // 08-Nov-93 DarrylA Changed __WIN32__ to WIN32 // 16-Mar-95 NaveenB Changed NO_ERROR to ERROR_SUCCESS // and added facility to check the // status of the constructor using // QueryError functions in CMutex, // CSemaphone, CEvent and CTCLock // //-------------------------------------------------------------------- #ifndef SYNCWRAP_HXX #define SYNCWRAP_HXX #ifndef MIDL_PASS #if defined (WIN32) // Make sure windows.h has been included prior to this #if !defined (_WINDOWS_) #error windows.h must be included prior to syncwrap.hxx... Aborting. #endif #define CMUTEX 1 #define CSEMAPHORE 2 #define CEVENT 3 #define CCRITSEC 4 #ifndef STATUS_POSSIBLE_DEADLOCK typedef LONG NTSTATUS; #define STATUS_POSSIBLE_DEADLOCK ((NTSTATUS)0xC0000194L) #endif //+------------------------------------------------------------------- // // Class: CMutex // // Purpose: Wrapper for Win32 Mutexes. Creates an un-named, un-owned // mutex in an un-signaled state and makes sure it is cleaned // up when destructed. // // Interface: CMutex(lpsa, fInitialOwner, lpszMutexName, fCreate) - // See CreateMutex/OpenMutex in the Win32 api for the // definition of the first three arguments. The last // one indicates if a new mutex should be created // (TRUE) or an existing one opened (FALSE). If no name // is used, this flag will be ignored and an unnamed // mutex will be created. // By default, the arguments are set to NULL, FALSE, NULL, // and TRUE to create an unowned, unnamed mutex with // no particular security attributes. // // ~CMutex() - Destroys the handle that is created in the // constructor. If this is the last instance of // a handle to this Mutex, the OS will destroy // the mutex. // // History: 31-Jan-92 BryanT Created // // Notes: The error code of the constructor can be obtained by // calling the QueryError function and if everything // goes well, the ERROR_SUCCESS is returned by the call // to QueryError. // It is important that no virtual pointers are defined // in this class and the member varaible _mutex is the first // variable defined in this class. // //-------------------------------------------------------------------- class CMutex { friend class CTCLock; public: inline CMutex( LPSECURITY_ATTRIBUTES lpsa = NULL, BOOL fInitialOwner = FALSE, LPTSTR lpszMutexName = NULL, BOOL fCreate = TRUE) { if ((FALSE == fCreate) && (NULL != lpszMutexName)) { _mutex = OpenMutex(MUTANT_ALL_ACCESS, FALSE, lpszMutexName); } else { _mutex = CreateMutex(lpsa, fInitialOwner, lpszMutexName); } _dwLastError = (_mutex == NULL) ? GetLastError() : ERROR_SUCCESS; } inline ~CMutex() { CloseHandle(_mutex); } inline DWORD QueryError() { return _dwLastError; } private: HANDLE _mutex; DWORD _dwLastError; }; //+------------------------------------------------------------------- // // Class: CSemaphore // // Purpose: Wrapper for Win32 semaphores. Creates a semaphore in the // constructor. Deletes it in the destructor. // // Interface: CSemaphore( lpsa, cSemInitial, cSemMax, lpszSemName, fCreate) // See CreateSemaphore in Win32 API docs for detail // of the first three arguments. The last indicates // if a new semaphore should be created (TRUE) or an // existing one opened (FALSE). In the case of // opening an existing semaphore, all access rights // will be requested and the handle will not be // inherited by any child processes that are created // by the calling process. By default, an // unnamed semaphore with a initial count of 1 (not // used) a maximum count of 1 and no security // attributes will be created. // // ~CSemaphore - Destroys the semaphore // // History: 31-Jan-92 BryanT Created // // Notes: The error code of the constructor can be obtained by // calling the QueryError function and if everything // goes well, the ERROR_SUCCESS is returned by the call // to QueryError. // It is important that no virtual pointers are defined // in this class and the member varaible _semaphore is the first // variable defined in this class. // //-------------------------------------------------------------------- class CSemaphore { friend class CTCLock; public: inline CSemaphore( LPSECURITY_ATTRIBUTES lpsa = NULL, LONG cSemInitial = 1, LONG cSemMax = 1, LPTSTR lpszSemName = NULL, BOOL fCreate = TRUE) { if ((FALSE == fCreate) && (lpszSemName != NULL)) { _semaphore = OpenSemaphore(SEMAPHORE_ALL_ACCESS, FALSE, lpszSemName); } else { _semaphore = CreateSemaphore(lpsa, cSemInitial, cSemMax, lpszSemName); } _dwLastError = (_semaphore == NULL) ? GetLastError() : ERROR_SUCCESS; } inline ~CSemaphore() { CloseHandle(_semaphore); } inline DWORD QueryError() { return _dwLastError; } private: HANDLE _semaphore; DWORD _dwLastError; }; //+------------------------------------------------------------------- // // Class: CEvent // // Purpose: Wrapper for Win32 Events. Creates an event in the constructor. // deletes it in the destructor. // // Interface: CEvent(lpsa, fManualReset, fInitialState, lpszName, fCreate) // See Win32 API docs for details of first three // arguments. The last argument inicates whether a new // event should be created (TRUE) or an existing named // event should be opened. It no name is specified, // an unnamed event will be created and this argument is // ignored. By default, an unnamed, unowned event // will be created with no security attributes. It // will automatically reset. // // ~CEvent() - Destroys the event. // // History: 31-Jan-92 BryanT Created // // Notes: The error code of the constructor can be obtained by // calling the QueryError function and if everything // goes well, the ERROR_SUCCESS is returned by the call // to QueryError. // It is important that no virtual pointers are defined // in this class and the member varaible _event is the first // variable defined in this class. // //-------------------------------------------------------------------- class CEvent { friend class CTCLock; public: inline CEvent(LPSECURITY_ATTRIBUTES lpsa = NULL, BOOL fManualReset = FALSE, BOOL fInitialState = FALSE, LPTSTR lpszName = NULL, BOOL fCreate = TRUE) { if ((FALSE == fCreate) && (lpszName != NULL)) { _event = OpenEvent(EVENT_ALL_ACCESS, FALSE, lpszName); } else { _event = CreateEvent(lpsa, fManualReset, fInitialState, lpszName); } _dwLastError = (_event == NULL) ? GetLastError() : ERROR_SUCCESS; } inline ~CEvent() { CloseHandle(_event); } inline DWORD QueryError() { return _dwLastError; } private: HANDLE _event; DWORD _dwLastError; }; //+------------------------------------------------------------------- // // Class: CCritSec // // Purpose: Wrapper for Win32 Critical Sections. Creates an critical // section in the constructor and deletes it in the destructor. // // Interface: CCritSec() - Creates a critical section // // ~CCritSec() - Destroys the critical section // // History: 04-Feb-92 BryanT Created // // Notes: For this code, there really isn't any exceptions that // I can trap (or return). Therefore, this class is finished. // //-------------------------------------------------------------------- class CCritSec { friend class CTCLock; public: inline CCritSec() { InitializeCriticalSection(&_CritSec); } inline ~CCritSec() { DeleteCriticalSection( &_CritSec ); } private: CRITICAL_SECTION _CritSec; }; //+------------------------------------------------------------------- // // Class: CTCLock // // Purpose: Provide lock/unlock capabilities for one of the // synchrnization objects (CMutex, CSemaphore, CEvent, or // CCritSec). If no timeout is specified, INFINITE timeout is // used. In the case of an event, no lock is actually obtained. // Instead, we wait till the event occurs. For a critical // section object, no timeout argument is needed. // // Interface: CTCLock(CMutex, dwTimeOut) - Obtain a lock on a mutex. // CTCLock(CSemaphore, dwTimeOut) - Obtain a lock on a semaphore. // CTCLock(CEvent, dwTimeOut) - Wait for this event to occur. // CTCLock(CCritSec) - Enter this critical section. // // ~CTCLock() - Release/leave the object // // _dwLastError - // The error code from the last operation on this // object. If successfully constructed/destructed // it should be ERROR_SUCCESS. // // History: 31-Jan-92 BryanT Created // 23-Feb-92 BryanT Add _dwLastError in order to be // compatible with the OS/2 version. // 29-Jan-93 BryanT Continue the Critical Section if it times // out (340 does this now). // 26-Apr-96 MikeW Mac doesn't support SEH so #ifdef out // the continue. // // Notes: The error code of the constructor can be obtained by // calling the QueryError function and if everything // goes well, the ERROR_SUCCESS is returned by the call // to QueryError. // //-------------------------------------------------------------------- class CTCLock { public: inline CTCLock(CMutex& cm, DWORD dwTimeOut = INFINITE) { if ((_dwLastError = cm.QueryError()) == ERROR_SUCCESS) { _lock = cm._mutex; _idLock = CMUTEX; _dwLastError = WaitForSingleObject(_lock, dwTimeOut); } } inline CTCLock(CSemaphore& cs, DWORD dwTimeOut = INFINITE) { if ((_dwLastError = cs.QueryError()) == ERROR_SUCCESS) { _lock = cs._semaphore; _idLock = CSEMAPHORE; _dwLastError = WaitForSingleObject(_lock, dwTimeOut); } } inline CTCLock(CEvent& ce, DWORD dwTimeOut = INFINITE) { if ((_dwLastError = ce.QueryError()) == ERROR_SUCCESS) { _lock = ce._event; _idLock = CEVENT; _dwLastError = WaitForSingleObject(_lock, dwTimeOut); } } inline CTCLock(CCritSec& ccs) { _idLock = CCRITSEC; _lpcs = &ccs._CritSec; #ifndef _MAC _try #endif { EnterCriticalSection(_lpcs); } #ifndef _MAC _except (GetExceptionCode() == STATUS_POSSIBLE_DEADLOCK ? EXCEPTION_CONTINUE_EXECUTION : EXCEPTION_CONTINUE_SEARCH){} #endif _dwLastError = ERROR_SUCCESS; } inline ~CTCLock() { switch (_idLock) { case CMUTEX: if (ReleaseMutex(_lock) == TRUE) _dwLastError = ERROR_SUCCESS; else _dwLastError = GetLastError(); break; case CSEMAPHORE: if (ReleaseSemaphore(_lock, 1, NULL) == TRUE) _dwLastError = ERROR_SUCCESS; else _dwLastError = GetLastError(); break; case CEVENT: _dwLastError = ERROR_SUCCESS; break; case CCRITSEC: LeaveCriticalSection(_lpcs); _dwLastError = ERROR_SUCCESS; break; } } inline DWORD QueryError() { return _dwLastError; } private: union { HANDLE _lock; LPCRITICAL_SECTION _lpcs; }; INT _idLock; DWORD _dwLastError; }; #elif defined (__OS2__) // defined (WIN32) #ifndef SEM_TIMEOUT #define SEM_TIMEOUT SEM_INDEFINITE_WAIT #endif #ifndef _MT #error ERROR: Must Build for Multi-thread. #endif #ifndef _INC_STDDEF #include <stddef.h> // For _threadid in CTCLock code #endif #include <assert.h> // For assert() code //+------------------------------------------------------------------- // // Class: CCritSec // // Purpose: Define an OS/2 version of a Win32 critical section. In // other words, define a synchronization onject that can be // entered any number of times by one thread without waiting. // Keeps a count of number of times it is entered and the TID // of who currently has access. // // Interface: CCritSec() - Creates a critical section // // ~CCritSec() - Destroys the critical section // // History: 23-Feb-92 BryanT Created // // Notes: For this code, there really isn't any exceptions that // I can trap (or return). Therefore, this class is finished. // //-------------------------------------------------------------------- class CCritSec { friend class CTCLock; public: inline CCritSec() { // Initialize everything to zero. hSem = 0; tid = 0; cLockCount = 0; } inline ~CCritSec() { #if defined(TRACE) if (cLockCount != 0) { fprintf(stderr, "CCritSec object destructed with %d locks", cLockCount); fprintf(stderr, " outstanding by TID: %x\n", tid); } #endif } private: HSEM hSem; // Exclusive use RAM semaphore TID tid; // The thread owning the semaphore USHORT cLockCount; // # times semaphore locked }; //+------------------------------------------------------------------- // // Class: CTCLock // // Purpose: Provide OS/2 lock/unlock capabilities for a CCritSec // synchrnization object. // // Interface: CTCLock(CCritSec) - Enter this critical section. // // ~CTCLock() - Release/leave the object // // _usLastError - The error code from the last operation on this // object. If successfully constructed/destructed // it should be ERROR_SUCCESS. // // History: 23-Feb-92 BryanT Created // // Notes: This is the OS/2 version of Win32 critical sections. // By default, the timeout will be SEM_INDEFINITE_WAIT. If // you wish to change this, merely define SEM_TIMEOUT before // including this file. // //-------------------------------------------------------------------- class CTCLock { public: inline CTCLock(CCritSec& ccs) { // Is the semaphore already in use? if (ERROR_SEM_TIMEOUT == (_usLastError = DosSemRequest(&ccs.hSem, SEM_IMMEDIATE_RETURN))) { // If it's us, increment the counter and return. if (ccs.tid == *_threadid) { ccs.cLockCount++; // Increment the lock counter _usLastError = ERROR_SUCCESS; _pCritSec = &ccs; return; } } // Either it's not in use or we don't own it. Wait for access. // Once obtained, store the appropriate data and return. if ((ERROR_SUCCESS == _usLastError) || (ERROR_SUCCESS == (_usLastError = DosSemRequest(&ccs.hSem,SEM_TIMEOUT)))) { ccs.tid = *_threadid; ccs.cLockCount = 1; _pCritSec = &ccs; } else { _pCritSec = NULL; // Indicate we don't have it } return; } inline ~CTCLock() { // // The lock counter should always be > 0. If not, then we don't // have a matching lock for every unlock. // if (_pCritSec == NULL) { _usLastError = ERROR_SUCCESS; return; } assert (_pCritSec->cLockCount > 0); _pCritSec->cLockCount--; if (_pCritSec->cLockCount == 0) { _pCritSec->tid = 0; _usLastError = DosSemClear(&(_pCritSec->hSem)); return; } else { _usLastError = ERROR_SUCCESS; return; } } USHORT _usLastError; private: CCritSec * _pCritSec; }; #endif // Defined __OS2__ or WIN32 #endif // ifndef MIDL_PASS #endif // #ifndef SYNCWRAP_HXX
[ "support@cryptoalgo.cf" ]
support@cryptoalgo.cf
a6c62d7db6c5056d423ccc506fb9e9721d9de103
d2d60b3fbb1bbe612cee41e0356e04f4e245c312
/ZigZagConversion.cpp
628725e671fc7aad565a68f4a89034e13edb0461
[]
no_license
xiaoningyb/leetcode
3bc90fac1563a4c5c17d3262971190b7fd262c79
f6b8db74d45ad985cbd24be903f018efe2f7198e
refs/heads/master
2016-09-06T11:43:22.405866
2015-11-12T07:00:19
2015-11-12T07:00:19
9,593,926
0
0
null
null
null
null
UTF-8
C++
false
false
836
cpp
#include <string> #include <iostream> using namespace std; string convert(string s, int nRows) { // Start typing your C/C++ solution below // DO NOT write int main() function if(nRows < 2) return s; string ret; int step = (nRows - 1) * 2; for(int j = 0; j < nRows; ++j) { int count = 0; if((j%step == 0) || ((j+1)%step == 0)) count = step; else count = 2*j; for(int i = j; i < s.size(); i += count ) { ret += s[i]; if(count != step) count = step - count; } } return ret; } int main() { string src = "PAYPALISHIRING"; cout<<"2 :"<<convert(src, 2)<<endl; cout<<"3 :"<<convert(src, 3)<<endl; cout<<"4 :"<<convert(src, 4)<<endl; }
[ "ning.xiao@nebutown.com" ]
ning.xiao@nebutown.com
58bc57515fdbe0d8372174b1c7471d0ab70cfd06
b312a2dbfa4bdc7c6468c398d600708b9ca483db
/test/test.cc
9d0359e84bc2b39fc4db5e36c51a5747a2259fc4
[]
no_license
tiestoparabola/test
925cacafde0071cb6587b78e254f85d5fe0b12dd
2ac2ab6916ef2fc8fb4b0787fd310a345d2e8794
refs/heads/master
2020-04-02T01:17:13.943709
2015-05-07T21:32:45
2015-05-07T21:32:45
35,244,512
0
0
null
2015-05-07T21:30:25
2015-05-07T21:30:25
null
UTF-8
C++
false
false
306
cc
#include <iostream> using namespace std; int main() { vector<int> v(10); for (int i = 0; i < 10; ++i) cin >> v[i]; for (int i = 0; i < 10; ++i) cout << v[i] << endl; cout << "Hello World" << endl; cout << "Hola" << endl; cout << "გამარჯობა" << endl; }
[ "Yoh0xFF@gmail.com" ]
Yoh0xFF@gmail.com
b258cedb4878bbc385beca41533ad8a523447ac8
38f09b5c6556286355f7ede2d147f7e6031aa2f8
/src/conversion/onnx_to_krnl/math/elementwise.cpp
55d4cdad03df2a4ccd4e10ca4c6154e4a1b25f48
[ "Apache-2.0" ]
permissive
Joejiong/ONNF
928650af48eec14231a4e61d087b9d0ef0e00101
5357fc1421333391522fe694612bacd3e00da953
refs/heads/master
2022-04-10T23:02:08.830220
2020-02-26T17:03:24
2020-02-26T17:03:24
null
0
0
null
null
null
null
UTF-8
C++
false
false
27,108
cpp
//===----- elementwise.cpp - Elementwise Ops ------------------------------===// // // Copyright 2019 The IBM Research Authors. // // ============================================================================= // // This file lowers ONNX element-wise operators to Krnl dialect. // //===----------------------------------------------------------------------===// #include "src/conversion/onnx_to_krnl/onnx_to_krnl_common.hpp" using namespace mlir; template <> struct ScalarOp<ONNXAddOp> { using FOp = AddFOp; using IOp = AddIOp; }; template <> struct ScalarOp<ONNXMulOp> { using FOp = MulFOp; using IOp = MulIOp; }; template <> struct ScalarOp<ONNXDivOp> { using FOp = DivFOp; using IOp = SignedDivIOp; }; template <> struct ScalarOp<ONNXSubOp> { using FOp = SubFOp; using IOp = SubIOp; }; template <> struct ScalarOp<ONNXAndOp> { using FOp = AndOp; // not use using IOp = AndOp; }; template <> struct ScalarOp<ONNXOrOp> { using FOp = OrOp; // not use using IOp = OrOp; }; template <> struct ScalarOp<ONNXXorOp> { using FOp = XOrOp; // not use using IOp = XOrOp; }; template <> struct ScalarOp<ONNXExpOp> { using FOp = ExpOp; using IOp = ExpOp; // not use }; template <> struct ScalarOp<ONNXSumOp> { using FOp = AddFOp; using IOp = AddIOp; }; template <> struct ScalarOp<ONNXTanhOp> { using FOp = TanhOp; using IOp = TanhOp; // not use }; template <> struct ScalarOp<ONNXCosOp> { using FOp = CosOp; using IOp = CosOp; // not use }; template <> struct ScalarOp<ONNXLogOp> { using FOp = LogOp; using IOp = LogOp; // not use }; template <> struct ScalarOp<ONNXSqrtOp> { using FOp = SqrtOp; using IOp = SqrtOp; // not use }; //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXSinhOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXSinhOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXSinhOp(%X) = DivFOp(SubFOp(ExpOp(%X), ExpOp(NegFOp(%X))), // ConstantOp 2) auto loc = op->getLoc(); Value operand = operands[0]; auto elementType = result_types[0]; auto zero = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 0)); auto two = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 2)); auto neg = rewriter.create<SubFOp>(loc, zero, operand); auto exp = rewriter.create<ExpOp>(loc, operand); auto negExp = rewriter.create<ExpOp>(loc, neg); auto result = rewriter.create<DivFOp>( loc, rewriter.create<SubFOp>(loc, exp, negExp), two); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXCoshOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXCoshOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXCoshOp(%X) = DivFOp(AddFOp(ExpOp(%X), ExpOp(NegFOp(%X))), // ConstantOp 2) auto loc = op->getLoc(); Value operand = operands[0]; auto elementType = result_types[0]; auto zero = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 0)); auto two = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 2)); auto neg = rewriter.create<SubFOp>(loc, zero, operand); auto exp = rewriter.create<ExpOp>(loc, operand); auto negExp = rewriter.create<ExpOp>(loc, neg); auto result = rewriter.create<DivFOp>( loc, rewriter.create<AddFOp>(loc, exp, negExp), two); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXSigmoidOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXSigmoidOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXSigmoidOp(%X) = DivFOp(ConstantOp 1, // AddFOp(ConstantOp 1, ExpOp(NegFOp(%X)))) auto loc = op->getLoc(); Value operand = operands[0]; auto elementType = result_types[0]; auto zero = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 0)); auto one = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 1)); auto neg = rewriter.create<SubFOp>(loc, zero, operand); auto negExp = rewriter.create<ExpOp>(loc, neg); auto result = rewriter.create<DivFOp>( loc, one, rewriter.create<AddFOp>(loc, one, negExp)); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXHardSigmoidOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXHardSigmoidOp>( Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // %Y = AddFOp(MulFOp(alpha, %X), beta) // %Z = SelectOp(CmpFOp(OGT, %Y, Constant 0), // %Y, // Constant 0) // ONNXHardSigmoidOp(%X) = SelectOp(CmpFOp(OLT, %Z, Constant 1), // %Z, // Constant 1) auto loc = op->getLoc(); Value operand = operands[0]; auto alphaAttribute = FloatAttr::get(rewriter.getF32Type(), llvm::dyn_cast<ONNXHardSigmoidOp>(op).alpha().convertToFloat()); auto betaAttribute = FloatAttr::get(rewriter.getF32Type(), llvm::dyn_cast<ONNXHardSigmoidOp>(op).beta().convertToFloat()); auto elementType = result_types[0]; auto zero = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 0)); auto one = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 1)); auto alpha = rewriter.create<ConstantOp>(loc, alphaAttribute); auto beta = rewriter.create<ConstantOp>(loc, betaAttribute); auto add = rewriter.create<AddFOp>( loc, rewriter.create<MulFOp>(loc, alpha, operand), beta); auto maxPredicate = rewriter.create<CmpFOp>(loc, CmpFPredicate::OGT, add, zero); auto max = rewriter.create<SelectOp>(loc, maxPredicate, add, zero); auto minPredicate = rewriter.create<CmpFOp>(loc, CmpFPredicate::OLT, max, one); auto result = rewriter.create<SelectOp>(loc, minPredicate, max, one); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXEluOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXEluOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXEluOp(%X) = SelectOp(CmpFOp(OLT, %X, ConstantOp 0), // MulFOp(alpha, SubFOp(ExpOp(%X), 1)), // %X) auto loc = op->getLoc(); Value operand = operands[0]; auto elementType = result_types[0]; auto alphaAttribute = FloatAttr::get(rewriter.getF32Type(), llvm::dyn_cast<ONNXEluOp>(op).alpha().convertToFloat()); auto zero = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 0)); auto one = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 1)); auto alpha = rewriter.create<ConstantOp>(loc, alphaAttribute); auto exp = rewriter.create<ExpOp>(loc, operand); auto lessThanZero = rewriter.create<CmpFOp>(loc, CmpFPredicate::OLT, operand, zero); auto result = rewriter.create<SelectOp>( loc, lessThanZero, rewriter.create<MulFOp>(loc, alpha, rewriter.create<SubFOp>(loc, exp, one)), operand); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXReluOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXReluOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXReluOp(%X) = SelectOp(CmpFOp(OLT, %X, ConstantOp 0), // ConstantOp 0, // %X) auto loc = op->getLoc(); Value operand = operands[0]; auto elementType = result_types[0]; auto zero = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 0)); auto lessThanZero = rewriter.create<CmpFOp>(loc, CmpFPredicate::OLT, operand, zero); auto result = rewriter.create<SelectOp>(loc, lessThanZero, zero, operand); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXLeakyReluOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXLeakyReluOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXLeakyReluOp(%X) = SelectOp(CmpFOp(OLT, %X, ConstantOp 0), // MulFOp(alpha, %X), // %X) auto loc = op->getLoc(); Value operand = operands[0]; auto elementType = result_types[0]; auto alphaAttribute = FloatAttr::get(rewriter.getF32Type(), llvm::dyn_cast<ONNXLeakyReluOp>(op).alpha().convertToFloat()); auto zero = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 0)); auto alpha = rewriter.create<ConstantOp>(loc, alphaAttribute); auto lessThanZero = rewriter.create<CmpFOp>(loc, CmpFPredicate::OLT, operand, zero); auto result = rewriter.create<SelectOp>( loc, lessThanZero, rewriter.create<MulFOp>(loc, alpha, operand), operand); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXSeluOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXSeluOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXSeluOp(%X) = SelectOp(CmpFOp(OGT, %X, ConstantOp 0), // MulFOp(gamma, %X), // MulFOp(gamma, // SubFOp(MulFOp(alpha, ExpOp(%X)), // alpha))) auto loc = op->getLoc(); Value operand = operands[0]; auto alphaAttribute = FloatAttr::get(rewriter.getF32Type(), llvm::dyn_cast<ONNXSeluOp>(op).alpha().convertToFloat()); auto gammaAttribute = FloatAttr::get(rewriter.getF32Type(), llvm::dyn_cast<ONNXSeluOp>(op).gamma().convertToFloat()); auto elementType = result_types[0]; auto zero = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 0)); auto alpha = rewriter.create<ConstantOp>(loc, alphaAttribute); auto gamma = rewriter.create<ConstantOp>(loc, gammaAttribute); auto exp = rewriter.create<ExpOp>(loc, operand); auto greaterThanZero = rewriter.create<CmpFOp>(loc, CmpFPredicate::OGT, operand, zero); auto select = rewriter.create<SelectOp>( loc, greaterThanZero, operand, rewriter.create<SubFOp>(loc, rewriter.create<MulFOp>(loc, alpha, exp), alpha)); auto result = rewriter.create<MulFOp>(loc, gamma, select); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXReciprocalOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXReciprocalOp>( Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXReciprocalOp(%X) = DivFOp(ConstantOp 1, %X) auto loc = op->getLoc(); Value operand = operands[0]; auto elementType = result_types[0]; auto one = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 1)); auto result = rewriter.create<DivFOp>(loc, one, operand); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXSoftplusOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXSoftplusOp>( Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXSoftplusOp(%X) = LogOp(AddFOp(ExpOp(%X), ConstantOp 1)) auto loc = op->getLoc(); Value operand = operands[0]; auto elementType = result_types[0]; auto exp = rewriter.create<ExpOp>(loc, operand); auto one = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 1)); auto add = rewriter.create<AddFOp>(loc, exp, one); auto result = rewriter.create<LogOp>(loc, add); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXSoftsignOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXSoftsignOp>( Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXSoftsignOp(%X) = DivFOp(ConstantOp 1, %X) auto loc = op->getLoc(); Value operand = operands[0]; auto elementType = result_types[0]; auto abs = rewriter.create<AbsFOp>(loc, operand); auto one = rewriter.create<ConstantOp>(loc, FloatAttr::get(elementType, 1)); auto add = rewriter.create<AddFOp>(loc, abs, one); auto result = rewriter.create<DivFOp>(loc, operand, add); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXSignOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXSignOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { auto loc = op->getLoc(); Value operand = operands[0]; Type element_type = operands.front().getType(); // TODO: unsigned int should be supported separately? if (element_type.isa<IntegerType>()) { // %Y = SelectOP(CmpIOp(GT, %X, ConstantOp 0), // ConstantOp 1, // COnstantOp -1) // ONNXSignOp(%X) = SelectOP(CmpIOp(EQ, %X, ConstantOp 0), // ConstantOp 0, // %Y) auto zero = rewriter.create<ConstantOp>(loc, rewriter.getI32IntegerAttr(0)); auto one = rewriter.create<ConstantOp>(loc, rewriter.getI32IntegerAttr(1)); auto minusOne = rewriter.create<ConstantOp>(loc, rewriter.getI32IntegerAttr(-1)); auto plusPredicate = rewriter.create<CmpIOp>(loc, CmpIPredicate::sgt, operand, zero); auto plusSelect = rewriter.create<SelectOp>(loc, plusPredicate, one, minusOne); auto zeroPredicate = rewriter.create<CmpIOp>(loc, CmpIPredicate::eq, operand, zero); auto result = rewriter.create<SelectOp>(loc, zeroPredicate, zero, plusSelect); return result; } else if (element_type.isa<FloatType>()) { // %Y = SelectOP(CmpFOp(OGT, %X, ConstantOp 0), // ConstantOp 1, // ConstantOp -1) // ONNXSignOp(%X) = SelectOP(CmpFOp(OEQ, %X, ConstantOp 0), // ConstantOp 0, // %Y) auto zero = rewriter.create<ConstantOp>(loc, rewriter.getF32FloatAttr(0.0f)); auto one = rewriter.create<ConstantOp>(loc, rewriter.getF32FloatAttr(1.0f)); auto minusOne = rewriter.create<ConstantOp>(loc, rewriter.getF32FloatAttr(-1.0f)); auto plusPredicate = rewriter.create<CmpFOp>(loc, CmpFPredicate::OGT, operand, zero); auto plusSelect = rewriter.create<SelectOp>(loc, plusPredicate, one, minusOne); auto zeroPredicate = rewriter.create<CmpFOp>(loc, CmpFPredicate::OEQ, operand, zero); auto result = rewriter.create<SelectOp>(loc, zeroPredicate, zero, plusSelect); return result; } else { emitError(loc, "unsupported element type"); } } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXMaxOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXMaxOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXMaxOp(%X, %Y) = SelectOp(CmpFOp(OGT, %X, %Y), // %X, // %Y) auto loc = op->getLoc(); Value lhs = operands[0]; Value rhs = operands[1]; auto max = rewriter.create<CmpFOp>(loc, CmpFPredicate::OGT, lhs, rhs); auto result = rewriter.create<SelectOp>(loc, max, lhs, rhs); return result; } //===----------------------------------------------------------------------===// // Scalar unary ops for lowering ONNXMinOp //===----------------------------------------------------------------------===// template <> Value mapToLowerScalarOp<ONNXMinOp>(Operation *op, ArrayRef<Type> result_types, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) { // ONNXMinOp(%X, %Y) = SelectOp(CmpFOp(OLT, %X, %Y), // %X, // %Y) auto loc = op->getLoc(); Value lhs = operands[0]; Value rhs = operands[1]; auto min = rewriter.create<CmpFOp>(loc, CmpFPredicate::OLT, lhs, rhs); auto result = rewriter.create<SelectOp>(loc, min, lhs, rhs); return result; } // Element-wise unary ops lowering to Krnl dialect. //===----------------------------------------------------------------------===// template <typename ElementwiseUnaryOp> struct ONNXElementwiseUnaryOpLowering : public ConversionPattern { ONNXElementwiseUnaryOpLowering(MLIRContext *ctx) : ConversionPattern(ElementwiseUnaryOp::getOperationName(), 1, ctx) {} PatternMatchResult matchAndRewrite(Operation *op, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) const final { // TODO: Check that the types are valid. // An element-wise unary operation must have all operands and the result of // the same type. This should have been verified by the verifier. auto loc = op->getLoc(); // Insert an allocation and deallocation for the result of this operation. auto memRefType = convertToMemRefType(*op->result_type_begin()); // If the output has a dynamic dimension, pass the operands required for // each dynamic dimension to the AllocOp. The first operand of the // operation is used. The operands of the op need to match in terms of // dimensions with the result at this pre-optimization phase. // TODO: verify that dimensions match. // TODO: can the dimension of the result differ after optimizations? Value alloc; bool insertDealloc = checkInsertDealloc(op); if (hasAllConstantDimensions(memRefType)) alloc = insertAllocAndDealloc(memRefType, loc, rewriter, insertDealloc); else alloc = insertAllocAndDealloc(memRefType, loc, rewriter, insertDealloc, {operands[0]}); std::vector<Value> originalLoops; KrnlOptimizeLoopsOp optimizedLoopsOp; KrnlIterateOp iterateOp; emitKrnlLoopsAndIterationForOperand( rewriter, loc, operands[0], originalLoops, optimizedLoopsOp, iterateOp); Block &optimizationBlock = optimizedLoopsOp.region().front(); Block &iterationBlock = iterateOp.bodyRegion().front(); // 1. Insert any optimizations in the KrnlOptimizeLoopsOp body. rewriter.setInsertionPointToEnd(&optimizationBlock); // Return from KrnlOptimizeLoopsOp body. // When no optimizations are present we just return the loops // unchaged. rewriter.create<KrnlReturnLoopsOp>(loc, originalLoops); // 2. Insert instructions inside the KernelIterateOp body. rewriter.setInsertionPointToStart(&iterationBlock); // Handle the operation: SmallVector<Value, 4> loopIVs; for (auto arg : iterationBlock.getArguments()) loopIVs.push_back(arg); auto loadedVal = rewriter.create<LoadOp>(loc, operands[0], loopIVs); auto loweredOpResult = mapToLowerScalarOp<ElementwiseUnaryOp>( op, memRefType.getElementType(), {loadedVal}, rewriter); // Store result in the resulting array. rewriter.create<StoreOp>(loc, loweredOpResult, alloc, loopIVs); rewriter.replaceOp(op, alloc); return matchSuccess(); } }; // Element-wise variadic ops lowering to Krnl dialect. //===----------------------------------------------------------------------===// template <typename ElementwiseVariadicOp> struct ONNXElementwiseVariadicOpLowering : public ConversionPattern { ONNXElementwiseVariadicOpLowering(MLIRContext *ctx) : ConversionPattern(ElementwiseVariadicOp::getOperationName(), 1, ctx) {} PatternMatchResult matchAndRewrite(Operation *op, ArrayRef<Value> operands, ConversionPatternRewriter &rewriter) const final { // TODO: Check that the types are valid. // An element-wise variadic operation must have all operands and the result // of the same type. This should have been verified by the verifier. auto loc = op->getLoc(); auto numArgs = op->getNumOperands(); // Insert an allocation and deallocation for the result of this operation. auto memRefType = convertToMemRefType(*op->result_type_begin()); Value alloc; bool insertDealloc = checkInsertDealloc(op); // If the output has a dynamic dimension, we compute its dimension at // runtime by using dimensions from the operands. // In particular, we need to know from which operand a result dimension // comes from. // TODO: can the dimension of the result differ after optimizations? if (hasAllConstantDimensions(memRefType)) alloc = insertAllocAndDealloc(memRefType, loc, rewriter, insertDealloc); else alloc = insertAllocAndDealloc(memRefType, loc, rewriter, insertDealloc, operands); // Get run-time dimension information for unknown dimensions used for // broadcasting. std::map<int, std::map<int, Value>> broadcastedDimInfo = getBroadcastedDimInfo(loc, rewriter, memRefType, operands); std::vector<Value> originalLoops; KrnlOptimizeLoopsOp optimizedLoopsOp; KrnlIterateOp iterateOp; emitKrnlLoopsAndIterationForOperand( rewriter, loc, alloc, originalLoops, optimizedLoopsOp, iterateOp); Block &optimizationBlock = optimizedLoopsOp.region().front(); Block &iterationBlock = iterateOp.bodyRegion().front(); // 1. Insert any optimizations in the KrnlOptimizeLoopsOp body. rewriter.setInsertionPointToEnd(&optimizationBlock); // Return from KrnlOptimizeLoopsOp body. // When no optimizations are present we just return the loops unchaged. rewriter.create<KrnlReturnLoopsOp>(loc, originalLoops); // 2. Insert instructions inside the KernelIterateOp body. rewriter.setInsertionPointToStart(&iterationBlock); // Handle the operation: SmallVector<Value, 4> loopIVs; for (auto arg : iterationBlock.getArguments()) loopIVs.push_back(arg); // Fold over operands for each of their scalar values Value accumulated, next; auto accumulatedLoopIVs = getLoopIVsForBroadcasting( loc, rewriter, loopIVs, operands[0], broadcastedDimInfo[0]); accumulated = rewriter.create<LoadOp>(loc, operands[0], accumulatedLoopIVs); for (unsigned i = 1; i < numArgs; i++) { auto nextLoopIVs = getLoopIVsForBroadcasting( loc, rewriter, loopIVs, operands[i], broadcastedDimInfo[i]); next = rewriter.create<LoadOp>(loc, operands[i], nextLoopIVs); accumulated = mapToLowerScalarOp<ElementwiseVariadicOp>( op, memRefType.getElementType(), {accumulated, next}, rewriter); } // Store result in the resulting array. rewriter.create<StoreOp>(loc, accumulated, alloc, loopIVs); rewriter.replaceOp(op, alloc); return matchSuccess(); } }; void populateLoweringONNXElementwiseOpPattern( OwningRewritePatternList &patterns, MLIRContext *ctx) { patterns.insert<ONNXElementwiseVariadicOpLowering<mlir::ONNXAddOp>, ONNXElementwiseVariadicOpLowering<mlir::ONNXAndOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXCosOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXCoshOp>, ONNXElementwiseVariadicOpLowering<mlir::ONNXDivOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXEluOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXExpOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXHardSigmoidOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXLeakyReluOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXLogOp>, ONNXElementwiseVariadicOpLowering<mlir::ONNXMaxOp>, ONNXElementwiseVariadicOpLowering<mlir::ONNXMinOp>, ONNXElementwiseVariadicOpLowering<mlir::ONNXMulOp>, ONNXElementwiseVariadicOpLowering<mlir::ONNXOrOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXReciprocalOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXReluOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXSeluOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXSigmoidOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXSignOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXSinhOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXSoftplusOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXSoftsignOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXSqrtOp>, ONNXElementwiseVariadicOpLowering<mlir::ONNXSubOp>, ONNXElementwiseVariadicOpLowering<mlir::ONNXSumOp>, ONNXElementwiseUnaryOpLowering<mlir::ONNXTanhOp>, ONNXElementwiseVariadicOpLowering<mlir::ONNXXorOp>>(ctx); }
[ "noreply@github.com" ]
Joejiong.noreply@github.com
5a345d24927d3c671524207372a60015bcdc03b6
ad5b72656f0da99443003984c1e646cb6b3e67ea
/src/core/shape_inference/include/sequnce_generator.hpp
c7a5ae7de3da688528e8b7c20197de689c271e20
[ "Apache-2.0" ]
permissive
novakale/openvino
9dfc89f2bc7ee0c9b4d899b4086d262f9205c4ae
544c1acd2be086c35e9f84a7b4359439515a0892
refs/heads/master
2022-12-31T08:04:48.124183
2022-12-16T09:05:34
2022-12-16T09:05:34
569,671,261
0
0
null
null
null
null
UTF-8
C++
false
false
868
hpp
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once namespace ov { /** \brief Enumerate directions */ enum Direction : uint8_t { FORWARD, BACKWARD }; /** * \brief Infinite generator of sequence increasing values. * * Start value can be specified. * * \tparam T Type of sequence values (must support `++` or '--' operators). */ template <class T, Direction D = Direction::FORWARD> class SeqGen { T _counter; public: constexpr SeqGen(const T& start) : _counter{start} {} template <Direction Di = D, typename std::enable_if<Di == Direction::FORWARD>::type* = nullptr> T operator()() { return _counter++; } template <Direction Di = D, typename std::enable_if<Di == Direction::BACKWARD>::type* = nullptr> T operator()() { return _counter--; } }; } // namespace ov
[ "noreply@github.com" ]
novakale.noreply@github.com
96ecee63320e1c52d4e7bb0f171cfd03e92414ae
1d4abaef87c708ab68be6642660283b94e4c69e7
/Problem56/Problem56.cpp
920687dd73fece9a1d1bf02878f321e7574b0974
[]
no_license
yulotomorrow/Project-Euler-100
93b698dd0935e5ceb32761757288d7d54cac24f6
e040dabbda06a70fc3678a39882dac271bd07351
refs/heads/main
2023-07-16T04:36:57.540531
2021-08-26T05:23:46
2021-08-26T05:23:46
386,851,185
0
0
null
null
null
null
UTF-8
C++
false
false
2,886
cpp
#include <iostream> #include <string> #include <array> #include <vector> #include <deque> #include <chrono> using namespace std; deque<int> BigIntSum(deque<int> num1, deque<int> num2) { deque<int> sumResult = {}; auto itr1 = num1.crbegin(); auto itr2 = num2.crbegin(); int additional = 0; while (itr1 != num1.crend() && itr2 != num2.crend()) { int newDigit = (*itr1 + *itr2 + additional) % 10; sumResult.push_front(newDigit); additional = (*itr1 + *itr2 + additional) / 10; ++itr1; ++itr2; } while (itr1 != num1.crend() && itr2 == num2.crend()) { int newDigit = (*itr1 + additional) % 10; sumResult.push_front(newDigit); additional = (*itr1 + additional) / 10; ++itr1; } while (itr1 == num1.crend() && itr2 != num2.crend()) { int newDigit = (*itr2 + additional) % 10; sumResult.push_front(newDigit); additional = (*itr2 + additional) / 10; ++itr2; } if (additional != 0) sumResult.push_front(additional); return sumResult; } deque<int> SingleDigitMultiplyNew(deque<int> multiplier, int digit) { deque<int> multiplyResult = {}; auto itr = multiplier.crbegin(); int additional = 0; while (itr != multiplier.crend()) { int newDigit = (*itr * digit) % 10; multiplyResult.push_front(newDigit + additional); additional = (*itr * digit) / 10; ++itr; } if (additional != 0) multiplyResult.push_front(additional); return multiplyResult; } deque<int> GeneralMultiply(deque<int> multiplier1, deque<int> multiplier2) { auto itr = multiplier2.crbegin(); deque<int> multiplyResult = {}; int digitPos = 0; while (itr != multiplier2.crend()) { deque<int> nextDigitMulti = SingleDigitMultiplyNew(multiplier1, *itr); if (digitPos > 0) { for (int i = 0; i < digitPos; ++i) { nextDigitMulti.push_back(0); } } deque<int> tempList = BigIntSum(nextDigitMulti, multiplyResult); multiplyResult.assign(tempList.begin(), tempList.end()); ++digitPos; ++itr; } return multiplyResult; } deque<int> IntToContainer(int num) { deque<int> container = {}; string storageTemp = to_string(num); for (auto& a : storageTemp) { container.push_back(a - '0'); } return container; } void MaxDigitSum() { int maxSum = 0; for (int i = 2; i < 100; ++i) { for (int j = 2; j < 100; ++j) { deque<int> multiplier1 = IntToContainer(i); deque<int> multiplier2 = IntToContainer(i); int times = j - 1; while (times > 0) { multiplier1 = GeneralMultiply(multiplier1, multiplier2); --times; } int sum = 0; for (auto& a : multiplier1) { sum += a; } if (sum > maxSum) { maxSum = sum; } } } cout << maxSum << "\n"; } int main() { auto startTime = chrono::system_clock::now(); MaxDigitSum(); auto endTime = chrono::system_clock::now(); auto runTime = chrono::duration_cast<chrono::milliseconds>(endTime - startTime).count(); cout << runTime / 1000.0 << "\n"; }
[ "yulotomorrow@gmail.com" ]
yulotomorrow@gmail.com
a0d9f715358de6c17e6307de8d37486d01036050
b42e8fae99402454ec567b868cd7c6800f44b739
/poj/2887 Big String.cpp
0639677e57282b8373e50f3604d34c7521f1ef31
[]
no_license
GadyPu/OnlineJudge
a0799a47454f351e94c9ad8ed20fd2d5ed7e40be
0740f8e5e7d6e923ac51baec783a6b40cd24260e
refs/heads/master
2021-01-01T05:06:55.238653
2016-05-21T12:54:09
2016-05-21T12:54:09
59,358,276
0
0
null
null
null
null
UTF-8
C++
false
false
3,861
cpp
#include<algorithm> #include<iostream> #include<cstdlib> #include<cstring> #include<cstdio> #include<vector> #include<set> using std::set; using std::sort; using std::pair; using std::swap; using std::vector; using std::multiset; #define pb(e) push_back(e) #define sz(c) (int)(c).size() #define mp(a, b) make_pair(a, b) #define all(c) (c).begin(), (c).end() #define iter(c) __typeof((c).begin()) #define cls(arr, val) memset(arr, val, sizeof(arr)) #define cpresent(c, e) (find(all(c), (e)) != (c).end()) #define rep(i, n) for(int i = 0; i < (int)n; i++) #define tr(c, i) for(iter(c) i = (c).begin(); i != (c).end(); ++i) const int N = 1 << 20; char buf[N]; struct Node { int s; char dat; Node *fa, *ch[2]; inline void set(int i, char j, Node *p) { s = i, dat = j; fa = ch[0] = ch[1] = p; } inline void push_up() { s = ch[0]->s + ch[1]->s + 1; } inline bool dir() const { return fa->ch[0] == this; } inline void link(Node *x, bool d) { ch[d] = x; x->fa = this; } }; struct SplayTree { Node *root, *tail, *null, stack[N]; inline void init(int n) { tail = &stack[0]; null = tail++; null->set(0, '.', NULL); root = newNode('.'); root->link(newNode('.'), 1); Node *x = built(1, n); root->ch[1]->link(x, 0); root->ch[1]->push_up(); root->push_up(); splay(x, null); } inline Node *built(int l, int r) { if(l > r) return null; int mid = (l + r) >> 1; Node *p = newNode(buf[mid - 1]); p->ch[0] = built(l, mid -1); if(p->ch[0] != null) p->ch[0]->fa = p; p->ch[1] = built(mid + 1, r); if(p->ch[1] != null) p->ch[1]->fa = p; p->push_up(); return p; } inline Node *newNode(char dat) { Node *p = tail++; p->set(1, dat, null); return p; } inline void rotate(Node *&x, bool d) { Node *y = x->fa; y->ch[!d] = x->ch[d]; x->fa = y->fa; if(x->ch[d]->s) x->ch[d]->fa = y; if(y->fa->s) y->fa->ch[!y->dir()] = x; x->ch[d] = y; y->fa = x, y->push_up(); if (y == root) root = x; } inline void splay(Node *x, Node *f) { if(x == root) return; while(x->fa != f) { if(x->fa->fa == f) { rotate(x, x->dir()); } else { bool d = x->fa->dir(); if(d == x->dir()) rotate(x->fa, d), rotate(x, d); else rotate(x, !d), rotate(x, d); } } x->push_up(); } inline Node *select(Node *x, int k) { for(int t = 0; x->s; ) { t = x->ch[0]->s; if(t == k) break; else if(k < t) x = x->ch[0]; else k -= t + 1, x = x->ch[1]; } return x; } inline void insert(char dat, int k) { if(k > root->s) k = root->s - 2; k--; splay(select(root, k), null); splay(select(root, k + 1), root); Node *x = newNode(dat); root->ch[1]->link(x, 0); root->ch[1]->push_up(); root->push_up(); splay(x, null); } inline char operator[](int k) { splay(select(root, k), null); return root->dat; } }spt; int main() { #ifdef LOCAL freopen("in.txt", "r", stdin); freopen("out.txt", "w+", stdout); #endif int q, k; char op, dat; while(~scanf("%s", buf)) { scanf("%d", &q); spt.init(strlen(buf)); while(q--) { getchar(); scanf("%c", &op); if(op == 'Q') { scanf(" %d", &k); printf("%c\n", spt[k]); } else { scanf(" %c %d", &dat, &k); spt.insert(dat, k); } } } return 0; }
[ "GadyPu@gmail.com" ]
GadyPu@gmail.com
c280f9cffb3ce264214f1bbfcd4619602b7895d5
e3f64b5dea5e0c8137b3dd84afbd948a5c585ba6
/gazebo/gui/BoxMaker.cc
e1706cf618b1dc45d84a0c8585aaded4b1999c43
[ "Apache-2.0" ]
permissive
Karandaras/scene-reconstruction-gazebo
40a99d9ae8820ba76b1d298ceabb91813b91402e
8fdfc66ee5a73a0d18e36cf85e965f964e1ad15d
refs/heads/master
2020-12-24T15:40:04.385097
2013-01-24T08:05:01
2013-01-24T08:05:01
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,791
cc
/* * Copyright 2011 Nate Koenig * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ #include <sstream> #include "msgs/msgs.hh" #include "common/Console.hh" #include "gui/GuiEvents.hh" #include "math/Quaternion.hh" #include "common/MouseEvent.hh" #include "rendering/UserCamera.hh" #include "transport/Publisher.hh" #include "gui/BoxMaker.hh" using namespace gazebo; using namespace gui; unsigned int BoxMaker::counter = 0; BoxMaker::BoxMaker() : EntityMaker() { this->state = 0; this->visualMsg = new msgs::Visual(); this->visualMsg->mutable_geometry()->set_type(msgs::Geometry::BOX); this->visualMsg->mutable_material()->mutable_script()->set_uri( "gazebo://media/materials/scripts/gazebo.material"); this->visualMsg->mutable_material()->mutable_script()->set_name( "Gazebo/TurquoiseGlowOutline"); msgs::Set(this->visualMsg->mutable_pose()->mutable_orientation(), math::Quaternion()); } BoxMaker::~BoxMaker() { this->camera.reset(); delete this->visualMsg; } void BoxMaker::Start(const rendering::UserCameraPtr _camera) { this->camera = _camera; std::ostringstream stream; stream << "__GZ_USER_box_" << counter++; this->visualMsg->set_name(stream.str()); this->state = 1; } void BoxMaker::Stop() { msgs::Request *msg = msgs::CreateRequest("entity_delete", this->visualMsg->name()); this->requestPub->Publish(*msg); delete msg; this->state = 0; gui::Events::moveMode(true); } bool BoxMaker::IsActive() const { return this->state > 0; } void BoxMaker::OnMousePush(const common::MouseEvent &_event) { if (this->state == 0) return; this->mousePushPos = _event.pressPos; } ///////////////////////////////////////////////// void BoxMaker::OnMouseRelease(const common::MouseEvent &_event) { if (this->state == 0) return; this->state++; this->mouseReleasePos = _event.pos; if (this->state == 3) { this->CreateTheEntity(); this->Stop(); } } ///////////////////////////////////////////////// void BoxMaker::OnMouseMove(const common::MouseEvent &_event) { if (this->state != 2) return; math::Vector3 p = msgs::Convert(this->visualMsg->pose().position()); math::Vector3 scale = msgs::Convert(this->visualMsg->geometry().box().size()); scale.z = (this->mouseReleasePos.y - _event.pos.y)*0.01; if (!_event.shift) scale.z = rint(scale.z); p.z = scale.z/2.0; msgs::Set(this->visualMsg->mutable_pose()->mutable_position(), p); msgs::Set(this->visualMsg->mutable_geometry()->mutable_box()->mutable_size(), scale); this->visPub->Publish(*this->visualMsg); } ///////////////////////////////////////////////// void BoxMaker::OnMouseDrag(const common::MouseEvent &_event) { if (this->state != 1) return; math::Vector3 norm(0, 0, 1); math::Vector3 p1, p2; if (!this->camera->GetWorldPointOnPlane(this->mousePushPos.x, this->mousePushPos.y, math::Plane(norm), p1)) { gzerr << "Invalid mouse point\n"; return; } p1 = this->GetSnappedPoint(p1); if (!this->camera->GetWorldPointOnPlane( _event.pos.x, _event.pos.y , math::Plane(norm), p2)) { gzerr << "Invalid mouse point\n"; return; } p2 = this->GetSnappedPoint(p2); msgs::Set(this->visualMsg->mutable_pose()->mutable_position(), p1); math::Vector3 scale = p1-p2; math::Vector3 p = msgs::Convert(this->visualMsg->pose().position()); scale.z = 0.01; p.x = p1.x - scale.x/2.0; p.y = p1.y - scale.y/2.0; msgs::Set(this->visualMsg->mutable_pose()->mutable_position(), p); msgs::Set(this->visualMsg->mutable_geometry()->mutable_box()->mutable_size(), scale.GetAbs()); this->visPub->Publish(*this->visualMsg); } ///////////////////////////////////////////////// std::string BoxMaker::GetSDFString() { std::ostringstream newModelStr; newModelStr << "<sdf version ='1.3'>" << "<model name='unit_box_" << counter << "'>" << "<pose>0 0 0.5 0 0 0</pose>" << "<link name ='link'>" << "<inertial><mass>1.0</mass></inertial>" << "<collision name ='collision'>" << "<geometry>" << "<box>" << "<size>1.0 1.0 1.0</size>" << "</box>" << "</geometry>" << "</collision>" << "<visual name ='visual'>" << "<geometry>" << "<box>" << "<size>1.0 1.0 1.0</size>" << "</box>" << "</geometry>" << "<material>" << "<script>" << "<uri>file://media/materials/scripts/gazebo.material</uri>" << "<name>Gazebo/Grey</name>" << "</script>" << "</material>" << "</visual>" << "</link>" << "</model>" << "</sdf>"; return newModelStr.str(); } void BoxMaker::CreateTheEntity() { msgs::Factory msg; math::Vector3 p = msgs::Convert(this->visualMsg->pose().position()); math::Vector3 size = msgs::Convert(this->visualMsg->geometry().box().size()); msg.set_sdf(this->GetSDFString()); msgs::Request *requestMsg = msgs::CreateRequest("entity_delete", this->visualMsg->name()); this->requestPub->Publish(*requestMsg); delete requestMsg; this->makerPub->Publish(msg); this->camera.reset(); }
[ "bastian.klingen@rwth-aachen.de" ]
bastian.klingen@rwth-aachen.de
eaf723e9df5046190a320f0f0a2213e093c9c7cc
0888a19865566ddca5ae404fd7d3d389bce2943b
/task.cpp
eea0add36a93e0040bfbded0dcd0d0a705e06dc2
[ "MIT" ]
permissive
Perveance/ThreadPool
8c51c457b331b4c1d55933c62b5be0371f2f397b
81e2068d7ab1cf3762d8c1cb065565290ccc6e0f
refs/heads/master
2021-01-10T16:01:22.670250
2016-04-24T20:17:12
2016-04-24T20:17:12
55,917,975
0
0
null
null
null
null
UTF-8
C++
false
false
154
cpp
#include "task.h" Task::Task(func_type f, void *args) : m_func(f), m_args(args) { } Task::~Task() { } void Task::execute() { m_func(m_args); }
[ "mszhidko@gmail.com" ]
mszhidko@gmail.com
b7b9af52c21884880a01b57b25a62feed8342989
98839220fc95805dd54153be3407b53a939a5812
/Source/ablastr/utils/Serialization.H
87f1e94d185e978295098a80f0bd59d57626122f
[ "BSD-3-Clause-LBNL", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause" ]
permissive
kngott/WarpX
9c16dc0554a6230ee1668556276a3c5da00c7ad0
eb62c182c6dc82f35efdaae0ce0fb6f2ea763ac1
refs/heads/master
2023-08-07T03:31:58.199409
2022-09-08T16:42:49
2022-09-08T16:42:49
206,874,688
0
0
NOASSERTION
2019-09-06T21:11:29
2019-09-06T21:11:29
null
UTF-8
C++
false
false
5,367
h
/* Copyright 2021 Luca Fedeli * * This file is part of WarpX. * * License: BSD-3-Clause-LBNL */ #ifndef ABLASTR_MSG_LOGGER_SERIALIZATION_H_ #define ABLASTR_MSG_LOGGER_SERIALIZATION_H_ #include <algorithm> #include <array> #include <cstring> #include <string> #include <type_traits> #include <vector> namespace ablastr::utils::serialization { /** * This function transforms a variable of type T into a vector of chars holding its * byte representation and it appends this vector at the end of an * existing vector of chars. T must be either a trivially copyable type or an std::string * * @tparam T the variable type * @param[in] val a variable of type T to be serialized * @param[in, out] vec a reference to the vector to which the byte representation of val is appended */ template <typename T> void put_in(const T &val, std::vector<char> &vec) { if constexpr (std::is_same<T, std::string>()) { const char *c_str = val.c_str(); const auto length = static_cast<int>(val.size()); put_in(length, vec); vec.insert(vec.end(), c_str, c_str + length); } else { static_assert(std::is_trivially_copyable<T>(), "Cannot serialize non-trivally copyable types, except std::string."); const auto *ptr_val = reinterpret_cast<const char *>(&val); vec.insert(vec.end(), ptr_val, ptr_val + sizeof(T)); } } /** * This function transforms an std::vector<T> into a vector of chars holding its * byte representation and it appends this vector at the end of an * existing vector of chars. T must be either a trivially copyable type or an std::string. * A specialization exists in case val is a vector of chars. * * @tparam T the variable type * @param[in] val a variable of type T to be serialized * @param[in, out] vec a reference to the vector to which the byte representation of val is appended */ template <typename T> void put_in_vec(const std::vector<T> &val, std::vector<char> &vec) { if constexpr (std::is_same<T, char>()) { put_in(static_cast<int>(val.size()), vec); vec.insert(vec.end(), val.begin(), val.end()); } else { static_assert(std::is_trivially_copyable<T>() || std::is_same<T, std::string>(), "Cannot serialize vectors of non-trivally copyable types" ", except vectors of std::string."); put_in(static_cast<int>(val.size()), vec); for (const auto &el : val) put_in(el, vec); } } /** * This function extracts a variable of type T from a byte vector, at the position * given by a std::vector<char> iterator. The iterator is then advanced according to * the number of bytes read from the byte vector. T must be either a trivially copyable type * or an std::string. * * @tparam T the variable type (must be trivially copyable) * @param[in, out] it the iterator to a byte vector * @return the variable extracted from the byte array */ template <typename T> T get_out(std::vector<char>::const_iterator &it) { if constexpr (std::is_same<T, std::string>()) { const auto length = get_out<int>(it); const auto str = std::string{it, it + length}; it += length; return str; } else { static_assert(std::is_trivially_copyable<T>(), "Cannot extract non-trivally copyable types from char vectors," " with the exception of std::string."); auto temp = std::array<char, sizeof(T)>{}; std::copy(it, it + sizeof(T), temp.begin()); it += sizeof(T); T res; std::memcpy(&res, temp.data(), sizeof(T)); return res; } } /** * This function extracts an std::vector<T> from a byte vector, at the position * given by a std::vector<char> iterator. The iterator is then advanced according to * the number of bytes read from the byte vector. T must be either a trivially copyable type * or an std::string. * * @tparam T the variable type (must be trivially copyable) * @param[in, out] it the iterator to a byte vector * @return the variable extracted from the byte array */ template <typename T> std::vector<T> get_out_vec(std::vector<char>::const_iterator &it) { if constexpr (std::is_same<T, std::string>()) { const auto length = get_out<int>(it); std::vector<char> res(length); std::copy(it, it + length, res.begin()); it += length; return res; } else { static_assert(std::is_trivially_copyable<T>() || std::is_same<T, std::string>(), "Cannot extract non-trivally copyable types from char vectors," " with the exception of std::string."); const auto length = get_out<int>(it); std::vector<T> res(length); for (int i = 0; i < length; ++i) res[i] = get_out<T>(it); return res; } } } #endif //ABLASTR_MSG_LOGGER_SERIALIZATION_H_
[ "noreply@github.com" ]
kngott.noreply@github.com
70d23a28ecb7788e05b9d440cd5eed72274d5c63
5722b41690ccff7280821d38a947f5a13efd0ad4
/L4/a.1.cpp
ffc980599480ec4de57a0e2969f4fab0b89c0959
[]
no_license
Cr1stalf/Cpp
b1af4c9c92589850884d55334e4749b8def0d136
4771e611e0b6796152f524c772d1726b4a700bb9
refs/heads/main
2023-08-16T08:41:33.352909
2021-10-14T15:10:47
2021-10-14T15:10:47
410,743,170
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
475
cpp
#include <iostream> using namespace std; // заменить все элементы массива противоположными числами void print(int mas[], int a) { for (int i = 0; i < a; i++) { cout << mas[i] << " "; } cout << endl; } int main() { int a[10]; for (int i = 0; i < 10; i++) { cin >> a[i]; } print(a, 10); for (int i = 0; i < 10; i++) { if (a[i] > 0) a[i] = -a[i]; } print(a, 10); return 0; }
[ "noreply@github.com" ]
Cr1stalf.noreply@github.com
dc3542624cac78286dfbdd7f4e39688a457db850
a75bfdb61d2bfa20f71d2a1548188db18a8e5e6d
/Codeforces/352/a.cpp
26a7dc48c4d1a97643a1ba55971eacc16cd31910
[]
no_license
Ra1nWarden/Online-Judges
79bbe269fd35bfb1b4a5b3ea68b806fb39b49e15
6d8516bb1560f3620bdc2fc429863a1551d60e6a
refs/heads/master
2022-05-01T17:50:00.253901
2022-04-18T06:55:25
2022-04-18T06:55:25
18,355,773
0
0
null
null
null
null
UTF-8
C++
false
false
239
cpp
#include <cstdio> #include <sstream> using namespace std; int main() { int n; scanf("%d", &n); stringstream ss; for(int i = 1; ss.tellp() < n && i <= 1000; i++) { ss << i; } printf("%c\n", ss.str()[n - 1]); return 0; }
[ "wzh19921016@gmail.com" ]
wzh19921016@gmail.com
31d858f2dbff84b2beb04b21c0737406c153c809
559401eefd912bd66c56541cd202a3be54b20bbf
/dominio/atividade.cpp
bb80afda930c21182e8281217e34af7b61dd01fc
[]
no_license
faakit/Trabalho_ProgIII_Cpp
3ed9f927d213487c3e0e2572fcda5966182b581f
19a68c94829fa524b734d8f988e6620717dff522
refs/heads/master
2023-01-31T08:56:09.855204
2020-12-10T18:58:59
2020-12-10T18:58:59
316,269,062
0
0
null
null
null
null
UTF-8
C++
false
false
1,350
cpp
#include "atividade.h" namespace dominio{ atividade::atividade(int numero, string nome, bool sincrona, double cargaHoraria) { this->numero = numero; this->nome = move(nome); this->sincrona = sincrona; this->cargaHoraria = cargaHoraria; } string atividade::getNome() const { return this->nome; } int atividade::getNumero() const { return this->numero; } void atividade::addNota(const string& matricula, nota* notaDoAluno) { this->notas.emplace(matricula, notaDoAluno); this->notas.find(matricula)->second->getAluno()->incrementaAvaliacoes(notaDoAluno->getNota()); } bool atividade::isSincrona() const { return this->sincrona; } string atividade::getData(const string& dateFormat) { return ""; } double atividade::getCargaHoraria() const { return this->cargaHoraria; } bool atividade::existeNota(const string& matricula) const { if(notas.count(matricula) > 0) return true; else return false; } bool atividade::compareTo(atividade *o) { return (this->getData(utils::DATE_FORMAT_STRCMP) < o->getData(utils::DATE_FORMAT_STRCMP) || (this->getData(utils::DATE_FORMAT_STRCMP) < o->getData(utils::DATE_FORMAT_STRCMP)) && (this->nome < o->nome)); } }
[ "64740422+faakit@users.noreply.github.com" ]
64740422+faakit@users.noreply.github.com
9cb305502f5cbba0ce0385f5893054986e3a16f9
53dfa57b214d2a735e9b4ff72945a5377e236743
/Chapter4/fence8.cpp
67bfb63b82ab28c9a5e6ed7bb5b8f2e0638eb3be
[]
no_license
sangoblin/USACO
8e033562b0bc32feee0d600805e3e3dc90881349
e687dda00a743ef5cd1c60dcffb9bf2a9f69f660
refs/heads/master
2020-04-06T14:07:23.614652
2013-10-21T16:02:44
2013-10-21T16:02:44
null
0
0
null
null
null
null
GB18030
C++
false
false
3,303
cpp
/* ID: sangobl1 PROG: fence8 LANG: C++ */ #include <fstream> #include <algorithm> #include <numeric> #include <vector> #include <cstdlib> using namespace std; const int nN = 50; const int nR = 1023; int N, R; int boards[nN], rails[nR]; bool e2f[nR]; //int remains[nR+1]; int waste; int upper, ans; bool result = false; //bool can[nN][nN][nR][nR]; //表示从i到j的boards能否容纳下m到n的木板 //我在搜索的过程中搜索了很多对称的存放方式,此点可以通过剪枝进行避免 //pollution用来表示已经有哪些board被使用了,不过些法似乎只能用于boards的长度均相同时 //现在只能换一种剪枝的方法了,即通过我们需要的rail中有很多相同的尺寸的,因此start用于记录相同大小的rail的第一个出现的位置 bool search(/*vector<int>&,*/ /*vector<int>&,*/ int depth, /*int w,*/ int start); int main(int argc, char** argv) { ifstream in("fence8.in"); ofstream out("fence8.out"); in >> N; for (int i = 0; i < N; ++ i) in >> boards[i]; in >> R; for (int i = 0; i < R; ++ i) in >> rails[i]; in.clear(); in.close(); //sort(boards, boards+N, greater<int>()); sort(boards, boards+N, greater<int>()); sort(rails, rails+R); //因为如果有无法放入board当中的rail,那么这个rail一定是非常长的,可以用贪心算法得出该结论 //int sum = 0; int sum_b = accumulate(boards, boards+N, 0), sum = 0; e2f[0] = false; for (int i = 1; i < R; ++ i) { if (rails[i] == rails[i-1]) e2f[i] = true; else e2f[i] = false; } //remains[R] = rails[R]; while (sum < sum_b) { sum += rails[upper++]; //upper if (upper >= R) break; } ans = (sum>sum_b)?--upper:upper; while (!result) { //vector<int> vBoards(boards, boards+N); vector<int> vRails(rails, rails+ans); /*remains[ans] = vRails[ans-1]; for (int i = ans-1; i >= 1; --i) { remains[i] = remains[i+1]+vRails[i-1]; }*/ //int sum_r = accumulate(vRails.begin(), vRails.end(), 0); int sum_r = accumulate(rails, rails+ans, 0); waste = sum_b-sum_r; //最多只能允许这么多的空间被浪费掉 //sort(vRails.begin(), vRails.end(), greater<int>()); result = search(/*vBoards, *//*vRails,*/ 0, /*0,*/ 0); if(!result) --ans; } out << ans << endl; out.clear(); out.close(); return EXIT_SUCCESS; } bool search(/*vector<int>& boards, *//*vector<int>& rails,*/ int depth, /*int w,*/ int start) { bool result; int start_ = 0, anotherw = 0; if (depth == ans) return true; for (int i = 0; i < N; ++i) if (boards[i] < rails[0]) anotherw += boards[i]; if (anotherw > waste) return false; for (int j = start; j < N; ++ j) { if (boards[j] >= rails[ans-depth-1]) { //backrail = rails[depth]; boards[j] -= rails[ans-depth-1]; //rails.erase(rails.begin()); //if (depth+1<rails.size() && rails[depth+1] == rails[depth]) //result = search(boards, rails, depth-1, w, j); if (e2f[depth+1]) start_ = j; result = search(/*boards,*/ /*rails,*/ depth+1, /*w,*/ start_); if (result) return true; else { boards[j] += rails[ans-depth-1]; } } //else //the shortest rail cannot be set to this board, then it cannot be utilized any more //{ // w += boards[j]; // if (w > waste) // return false; //} } return false; }
[ "sangoblin@gmail.com" ]
sangoblin@gmail.com
17bd4721433c0f6897aaf94840cd528c712d5eea
108e8c1d61302433c242c0918f66e6efc7d8b668
/inputValidation.hpp
b15e7c8a06a547c54868c4850c69eeeb7df550c9
[]
no_license
lukesterbu/finalproject
30314c7999c0ff193cb14afd774fcef4b2925cea
54a3c0b7fa83454c05c34056bf6dc2a8a5ea7649
refs/heads/master
2020-03-26T06:18:21.930011
2018-08-16T02:50:41
2018-08-16T02:50:41
null
0
0
null
null
null
null
UTF-8
C++
false
false
466
hpp
/***************************************************************************** ** Author: Luke Burris ** Date: 7/14/2018 ** Description: inputValidation function declaration ******************************************************************************/ #ifndef INPUTVALIDATION_HPP #define INPUTVALIDATION_HPP int inputValidation(); // no params int inputValidation(int); // only max param int inputValidation(int, int); // min and max params #endif
[ "noreply@github.com" ]
lukesterbu.noreply@github.com
d09d6d4026f0b1ea750258e86ffd8a1622298895
9a3b9d80afd88e1fa9a24303877d6e130ce22702
/src/Providers/UNIXProviders/ConfigurationComponent/UNIX_ConfigurationComponent.h
a62a06d7d14e85a4a1a85426143cfdf27887bf70
[ "MIT" ]
permissive
brunolauze/openpegasus-providers
3244b76d075bc66a77e4ed135893437a66dd769f
f24c56acab2c4c210a8d165bb499cd1b3a12f222
refs/heads/master
2020-04-17T04:27:14.970917
2015-01-04T22:08:09
2015-01-04T22:08:09
19,707,296
0
0
null
null
null
null
UTF-8
C++
false
false
4,358
h
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor licenses this file to you under the OpenPegasus Open // Source License; you may not use this file except in compliance with the // License. // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, merge, publish, distribute, sublicense, // and/or sell copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. // IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY // CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, // TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE // SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // ////////////////////////////////////////////////////////////////////////// // //%///////////////////////////////////////////////////////////////////////// /* **** Association *** */ /* TRUE */ /* **** Deprecated *** */ /* CIM_ConcreteComponent */ /* **** Aggregation *** */ /* TRUE */ /* **** Version *** */ /* 2.10.0 */ /* **** UMLPackagePath *** */ /* CIM::Core::Settings */ /* **** Description *** */ /* Note: The Configuration class is being deprecated in lieu of using a ConcreteComponent relationship to indicate a hierarchy of instances of Setting or SettingData. Deprecated description: ConfigurationComponent aggregates "lower-level" Configuration objects into a "high-level" Configuration. This association enables the assembly of complex configurations by grouping together simpler ones. For example, a logon policy for the United States could consist of two Configuration groups, one for the East Coast and one for the West Coast. Each of these groups could in turn consist of multiple Configurations to handle different aspects of the logon process. */ /* *** Properties *** UNIX_ConfigurationComponent: ConfigGroup Reference ConfigComponent Reference */ /* *** Methods *** UNIX_ConfigurationComponent: */ #ifndef __UNIX_CONFIGURATIONCOMPONENT_H #define __UNIX_CONFIGURATIONCOMPONENT_H #include "CIM_ClassBase.h" #include "UNIX_ConfigurationComponentDeps.h" #ifndef PROPERTY_CONFIG_GROUP #define PROPERTY_CONFIG_GROUP \ "ConfigGroup" #endif #ifndef PROPERTY_CONFIG_COMPONENT #define PROPERTY_CONFIG_COMPONENT \ "ConfigComponent" #endif class UNIX_ConfigurationComponent : public CIM_ClassBase { public: UNIX_ConfigurationComponent(); ~UNIX_ConfigurationComponent(); virtual Boolean initialize(); virtual Boolean load(int&); virtual Boolean finalize(); virtual Boolean find(const Array<CIMKeyBinding>&); virtual Boolean validateKey(CIMKeyBinding&) const; virtual void setScope(CIMName); virtual void setCIMOMHandle(CIMOMHandle&); virtual void clearInstance(); virtual Boolean loadInstance(const CIMInstance&); virtual Boolean createInstance(const OperationContext&); virtual Boolean modifyInstance(const OperationContext&); virtual Boolean deleteInstance(const OperationContext&); virtual Boolean validateInstance(); virtual Boolean getConfigGroup(CIMProperty&) const; virtual CIMInstance getConfigGroup() const; virtual void setConfigGroup(CIMInstance&); virtual Boolean getConfigComponent(CIMProperty&) const; virtual CIMInstance getConfigComponent() const; virtual void setConfigComponent(CIMInstance&); private: CIMName currentScope; CIMOMHandle _cimomHandle; CIMInstance _configGroup; CIMInstance _configComponent; # include "UNIX_ConfigurationComponentPrivate.h" }; #endif /* UNIX_CONFIGURATIONCOMPONENT */
[ "brunolauze@msn.com" ]
brunolauze@msn.com
6bafcf01cf3f2fadfd208808e1e0d39b81585463
5898d3bd9e4cb58043b40fa58961c7452182db08
/part3/ch24/24-4-4-Totally_ordered/src/user.cpp
9f6ac0f34849c473e9b1943986cbe6a47401362c
[]
no_license
sasaki-seiji/ProgrammingLanguageCPP4th
1e802f3cb15fc2ac51fa70403b95f52878223cff
2f686b385b485c27068328c6533926903b253687
refs/heads/master
2020-04-04T06:10:32.942026
2017-08-10T11:35:08
2017-08-10T11:35:08
53,772,682
2
0
null
null
null
null
UTF-8
C++
false
false
1,316
cpp
/* * user.cpp * * Created on: 2017/06/20 * Author: sasaki */ #include "totally_ordered.h" using namespace Estd; #include <vector> #include <memory> #include <complex> #include <iostream> using namespace std; void test_single_type() { cout << "-- test_single_type() --\n"; bool b1 = Totally_ordered<int>(); bool b2 = Totally_ordered<vector<int>>(); bool b3 = Totally_ordered<unique_ptr<int>>(); bool b4 = Totally_ordered<complex<double>>(); bool b5 = Totally_ordered<istream>(); cout << boolalpha; cout << "Totally_ordered<int>(): " << b1 << endl; cout << "Totally_ordered<vector<int>>(): " << b2 << endl; cout << "Totally_ordered<unique_ptr<int>>(): " << b3 << endl; cout << "Totally_ordered<complex<double>>(): " << b4 << endl; cout << "Totally_ordered<istream>(): " << b5 << endl; } void test_type_pair() { cout << "-- test_type_pair() --\n"; bool b1 = Totally_ordered<int,double>(); bool b2 = Totally_ordered<double,complex<double>>(); bool b3 = Equality_comparable<vector<int>,vector<double>>(); cout << boolalpha; cout << "Totally_ordered<int,double>(): " << b1 << endl; cout << "Totally_ordered<double,complex<double>>(): " << b2 << endl; cout << "Totally_ordered<vector<int>,vector<double>>(): " << b3 << endl; } int main() { test_single_type(); test_type_pair(); }
[ "sasaki-seiji@msj.biglobe.ne.jp" ]
sasaki-seiji@msj.biglobe.ne.jp
f5ebeb4e1e03b48d7e7ffa0d681a42d537c4c64c
d344de8e32f82bc2596a01eac6ca1b109884bd06
/Competive Programming/coding blocks/coding blocks/stl assignments/median.cpp
598c8ba9af2182fa53f47a218aedafb0650e5119
[]
no_license
vijaygwala/MyCodingStyle-
214e9149ccbb33b21d2132dd0a7d85272d438f16
39d75463ec8af798df7d013efc940de89a447009
refs/heads/master
2022-10-06T07:55:46.928080
2020-06-05T15:55:31
2020-06-05T15:55:31
268,440,527
0
0
null
null
null
null
UTF-8
C++
false
false
289
cpp
#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; int a[n],b[n],c[2*n],k=0; for(int i=0;i<n;i++) { cin>>a[i]; c[k++]=a[i]; } for(int i=0;i<n;i++) { cin>>b[i]; c[k++]=b[i]; } sort(c,c+(2*n)); int median=((0+(2*n)-1))/2; cout<<c[median]<<endl; }
[ "vijaygwala97@gmail.com" ]
vijaygwala97@gmail.com
260c7291167b33d1259493f03849cd3edb8fc287
cd945137f34d309e8f02ccf15f99e0900ea4143b
/Projet-INF8702/StringUtils.cpp
f623f1584d88aa99a90650c7f7d4e3da662ffcc4
[]
no_license
Rodyll/Ray-Tracing-GPU
7dba80fcc08a366fcf7e89b26e1989b070b9323e
2a192543c940f9b923913248e3296ed8474adf6d
refs/heads/master
2021-01-10T15:29:08.509791
2015-12-07T20:05:55
2015-12-07T20:05:55
52,723,680
1
0
null
null
null
null
UTF-8
C++
false
false
480
cpp
#include "StringUtils.h" string CStringUtils::TrimRight( const string& Source, const string& T ) { string Str = Source; return Str.erase( Str.find_last_not_of ( T ) + 1 ) ; } string CStringUtils::TrimLeft( const string& Source, const string& T ) { string Str = Source; return Str.erase( 0 , Source.find_first_not_of ( T ) ) ; } string CStringUtils::Trim( const string& Source, const string& T ) { string Str = Source; return TrimLeft( TrimRight( Str , T ), T ); }
[ "seb.m18@gmail.com" ]
seb.m18@gmail.com
e685f6e0fe58a003663e3fa95fb9daf2d571cb1f
e98093aeb2a37264aed69cd7ca2fc9def445498c
/static_assert/config.hpp
f618896b99ef81c3ecb553e59de47a6bc5341a05
[ "BSD-3-Clause" ]
permissive
mocsy/playground
5f0e65378e7d3154484874a8f777f8f94f32f908
326d2dfaeb47a4e7f2b6787487fcde32e4cdf8b6
refs/heads/master
2020-04-06T06:22:58.581040
2016-02-13T20:11:42
2016-02-13T20:11:42
19,531,433
0
0
null
null
null
null
UTF-8
C++
false
false
1,998
hpp
// Boost config.hpp configuration header file ------------------------------// // (C) Copyright John Maddock 2002. // Use, modification and distribution are subject to the // Boost Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // See http://www.boost.org/libs/config for most recent version. // Boost config.hpp policy and rationale documentation has been moved to // http://www.boost.org/libs/config // // CAUTION: This file is intended to be completely stable - // DO NOT MODIFY THIS FILE! // #ifndef BOOST_CONFIG_HPP #define BOOST_CONFIG_HPP // if we don't have a user config, then use the default location: #if !defined(BOOST_USER_CONFIG) && !defined(BOOST_NO_USER_CONFIG) # define BOOST_USER_CONFIG <user.hpp> #endif // include it first: #ifdef BOOST_USER_CONFIG # include BOOST_USER_CONFIG #endif // if we don't have a compiler config set, try and find one: #if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) && !defined(BOOST_NO_CONFIG) # include <select_compiler_config.hpp> #endif // if we have a compiler config, include it now: #ifdef BOOST_COMPILER_CONFIG # include BOOST_COMPILER_CONFIG #endif // if we don't have a std library config set, try and find one: #if !defined(BOOST_STDLIB_CONFIG) && !defined(BOOST_NO_STDLIB_CONFIG) && !defined(BOOST_NO_CONFIG) && defined(__cplusplus) # include <select_stdlib_config.hpp> #endif // if we have a std library config, include it now: #ifdef BOOST_STDLIB_CONFIG # include BOOST_STDLIB_CONFIG #endif // if we don't have a platform config set, try and find one: #if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) && !defined(BOOST_NO_CONFIG) # include <select_platform_config.hpp> #endif // if we have a platform config, include it now: #ifdef BOOST_PLATFORM_CONFIG # include BOOST_PLATFORM_CONFIG #endif // get config suffix code: #include <suffix.hpp> #endif // BOOST_CONFIG_HPP
[ "amocsy@gmail.com" ]
amocsy@gmail.com
846e20d5421348d27811734dfc8bd7bd40e85041
f81124e4a52878ceeb3e4b85afca44431ce68af2
/re110_2/51/uniform/time
da28f5c609b5d16212540f6150d9ec192c9eb34f
[]
no_license
chaseguy15/coe-of2
7f47a72987638e60fd7491ee1310ee6a153a5c10
dc09e8d5f172489eaa32610e08e1ee7fc665068c
refs/heads/master
2023-03-29T16:59:14.421456
2021-04-06T23:26:52
2021-04-06T23:26:52
355,040,336
0
1
null
null
null
null
UTF-8
C++
false
false
823
/*--------------------------------*- C++ -*----------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "51/uniform"; object time; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // value 51.0000000000163638; name "51"; index 25500; deltaT 0.002; deltaT0 0.002; // ************************************************************************* //
[ "chaseguy15" ]
chaseguy15
37e13704bd58b0d4945025e53de8b389fbba2fae
d6135170e6156a12d4f64cff0373ee0b00ca644b
/tensorflow/compiler/xla/service/gpu/ir_emission_utils.h
4e0e828eee2a8497ebdcb278a3ad0d7f2313e96d
[ "Apache-2.0" ]
permissive
eladeban/tensorflow
12499b0972b8aafde277b61da7bbdb1c59aa1d2a
0d4485677356a761f21ad7223759cd89bcc9034c
refs/heads/master
2020-06-04T03:28:24.373618
2019-06-13T22:37:52
2019-06-13T22:49:52
191,843,388
4
1
Apache-2.0
2019-06-13T22:54:36
2019-06-13T22:54:36
null
UTF-8
C++
false
false
9,793
h
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_COMPILER_XLA_SERVICE_GPU_IR_EMISSION_UTILS_H_ #define TENSORFLOW_COMPILER_XLA_SERVICE_GPU_IR_EMISSION_UTILS_H_ #include <utility> #include "llvm/IR/IRBuilder.h" #include "llvm/IR/Value.h" #include "tensorflow/compiler/xla/service/hlo_instruction.h" #include "tensorflow/compiler/xla/service/hlo_instructions.h" // TODO(jlebar): Move functions related to cublas/cudnn to a separate file; they // don't belong in "ir_emission_utils". namespace xla { namespace gpu { // Different types of convolutions supported by cudnn. // // A way to think about these is that a convolution is defined by three arrays // -- the "input", the "filter", and the "output" -- and given any two of these, // we can compute the third. For example, a backward-input convolution takes as // input a filter and an "output" and produces an "input" such that if one were // to do a forward convolution of "input" using filter, the result would be // something with the same shape as "output". // // This way of thinking is not correct if you look at the values produced. For // example, a backward-input convolution is not actually the mathematical // inverse of a forward convolution. But it's right as far as the shapes and // "connectivity" (i.e. which elements of the input affect which elements of // the output) are concerned. enum class CudnnConvKind { kForward, // input + filter => output kBackwardInput, // filter + output => input kBackwardFilter, // input + output => filter kForwardActivation, // activation(conv(input, filter) + broadcast(bias) + // (optionally) side_input) => output }; StatusOr<CudnnConvKind> GetCudnnConvKind(const HloCustomCallInstruction* instr); // Converts a CudnnConvKind value to a string. string CudnnConvKindToString(CudnnConvKind kind); constexpr int64 kWarpSize = 32; // Returns true if `hlo` will be implemented as a call to BLAS gemm. // // Precondition: `hlo` is in an "unnested context", meaning, it lives within the // entry computation, within the either of a while loop's subcomputations, // within any of a conditional's subcomputations, etc., but *does not* live // within a reduce subcomputation, a map subcomputation, a fusion // subcomputation, etc. It's OK if `hlo` *is* a fusion. bool ImplementedAsGemm(const HloInstruction& hlo); // A call to cuDNN for batch normalization is represented as CustomCall HLO with // a call target equal to one of these strings. // // The operands to and outputs of these calls are the same as those of the // corresponding HLOs, except: // // - epsilon and feature_index are proper operands, at the end of the operands // list. They must be HLO constants. // - The cuDNN forward training call returns inv_stddev = // 1/sqrt(variance + epsilon) in place of plain variance. // - Similarly, BatchNormGrad accepts inv_stddev in place of the variance // operand. extern const char* const kCudnnBatchNormForwardInferenceCallTarget; extern const char* const kCudnnBatchNormForwardTrainingCallTarget; extern const char* const kCudnnBatchNormBackwardCallTarget; // Returns true if `hlo` will be implemented as a call to a cuDNN batch // normalization routine. // // This returns true if `hlo` is a CustomCall HLO with a call target equal to // one of the kCudnnBatchNormFoo constants above, but returns *false* for HLOs // with one of the kBatchNorm opcodes, because these are lowered either to a // sequence of generic HLOs or to a cuDNN CustomCall. bool IsCustomCallToDnnBatchNorm(const HloInstruction& hlo); // A call to cuDNN for convolution (forward, backward filter, or backward input) // is represented as a CustomCall HLO with a call target equal to one of these // strings. // // These CustomCalls have window() and convolution_dimension_numbers() set like // regular convolution ops. They have the same LHS and RHS operands, plus two // additional constant operands: an int64 operand for the cudnn algorithm and // a bool operand for whether tensor_ops is enabled. A value of -1 for the cudnn // algorithm means that the implementation is free to choose the best algorithm // it can. // // These calls output a tuple (conv_result, scratch_memory), where conv_result // is the actual result of the convolution, and scratch_memory is temporary // memory used by cudnn. Callers shouldn't inspect scratch_memory, as its value // is not well-defined. // // CudnnConvRewriter lowers kConvolution HLOs to these custom calls. // When it does so, it chooses algorithm -1 and 0 bytes of scratch space. Later // on in the pipeline, CudnnConvAlgorithmChooser chooses an explicit // algorithm for each conv and sets the amount of scratch space needed. // // (Representing the scratch memory as an output may seem strange at first, but // it's quite sensible, from a certain point of view. The scratch buffer is a // location in memory that the conv can write into, but which it can't legally // read from, at least until it's written something first. But that's exactly // the definition of an output buffer.) extern const char* const kCudnnConvForwardCallTarget; extern const char* const kCudnnConvBackwardInputCallTarget; extern const char* const kCudnnConvBackwardFilterCallTarget; extern const char* const kCudnnConvBiasActivationForwardCallTarget; // Returns true if `hlo` will be implemented as a call to a cuDNN convolution // routine. // // This returns true if `hlo` is a CustomCall HLO with a call target equal to // one of the kCudnnConvFoo constants above, but returns *false* for HLOs with a // kConvolution opcode. bool IsCustomCallToDnnConvolution(const HloInstruction& hlo); // Returns true if `hlo` will be implemented as a call to a cuSolver routine. // // This returns true if `hlo` is a CustomCall HLO with a call target equal to // one of the kCusolver... constants, but returns *false* for HLOs with // say, a kCholesky opcode. bool IsCustomCallToCusolver(const HloInstruction& hlo); // Cholesky decomposition. Takes a (batched) matrix as input, and returns a // tuple of (result, workspace, info), where result is the result of the // Cholesky decomposition, workspace is scratch space for cuSolver, and info // is a success/failure code per batch element. extern const char* const kCusolverCholeskyCallTarget; // Returns true if `hlo` will be implemented as a library call, e.g. cuBLAS gemm // or cuDNN convolution. bool ImplementedAsLibraryCall(const HloInstruction& hlo); // Returns true if either the dimensions being reduced or the dimensions being // kept are contiguous in the input of the reduce instruction. bool IsReductionFromOrToContiguousDimensions(const HloInstruction& reduce); // Given the input shape and dimensions to reduce for a reduction, returns // <is_row_reduction, DimensionVector>: // is_row_reduction: indicates whether the reduction is a row reduction or a // column reduction. // DimensionVector: contains the size of the three contiguous components for the // reduction [depth, height, width]. For row reduction, height is the size of // the dimensions to keep, depth is the size of the dimensions to reduce that // are more major than the dimensions to keep, and width is the size of the // dimensions to reduce that are more minor than the dimensions to keep. For // column reduction, height is the size of dimensions to reduce, depth is the // the size of the dimensions to keep that are more major than the dimensions // to reduce, and width is the size of the dimensions to keep that are more // minor than the dimensions to reduce. // // Prerequisite: the reduction instruction passes the check // IsReductionFromOrToContiguousDimensions, which guarantees either the // dimensions to reduce or the dimensions to keep are consecutive. std::pair<bool, DimensionVector> GetReductionKindAndContiguousComponents( const Shape& input_shape, absl::Span<const int64> dims_to_reduce); // Emits call to "vprintf" with given format and arguments. llvm::Value* EmitPrintf(absl::string_view fmt, absl::Span<llvm::Value* const> arguments, llvm::IRBuilder<>* builder); // Emits code to shuffle data between threads of a warp. This has the same // semantics as the PTX "shfl.sync.down" instruction but works for values that // aren't 32 bits in size. The last operand of the emitted "shfl" is // `kWarpSize - 1`. // // This function emits a "full-warp" shuffle, which all threads of a warp // participate in. *Do not use this function from a divergent context:* You // can't correctly do so on both Volta and earlier GPUs. // // https://docs.nvidia.com/cuda/parallel-thread-execution/#data-movement-and-conversion-instructions-shfl-sync llvm::Value* EmitFullWarpShuffleDown(llvm::Value* value, llvm::Value* offset, llvm::IRBuilder<>* builder); // Emits code that determines whether the current thread is thread 0 within // block 0 of the kernel. llvm::Value* IsBlock0Thread0(llvm::IRBuilder<>* b); } // namespace gpu } // namespace xla #endif // TENSORFLOW_COMPILER_XLA_SERVICE_GPU_IR_EMISSION_UTILS_H_
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
097a29a5deabab1e1f0256912733de32a7eeeab4
b716098bd5191720f33ddd6fcda818568f004412
/AMS/ThridParty/Lib_Best/default_head_message.h
6661ac64487a85309333b762d2e1895c92c81743
[]
no_license
lucky5237/AMS
624888c52a2b7e1cb1b38cd8777e77c4d11f8138
70fc5267ccf28a6267938a220625945bfd22952e
refs/heads/master
2020-04-03T15:17:29.219297
2018-12-26T08:54:22
2018-12-26T08:54:22
155,357,951
0
1
null
null
null
null
GB18030
C++
false
false
4,038
h
#ifndef DEFAULT_HEAD_MESSAGE_H #define DEFAULT_HEAD_MESSAGE_H #include"best_message.h" #include <list> #include <map> #include <string> #include "atomic_count.h" #include "default_bestIteror.h" #include "default_message_pool.h" #include "default_best_data_message.h" #include "default_best_field.h" #include <string.h> using namespace best_protocol; #pragma pack(1) typedef struct BestHeadStruct_t { BestHeadStruct_t() { memset(this, 0, sizeof(BestHeadStruct_t)); } int32 head_length; int32 content_length; }BestHeadStruct; #pragma pack() class DefaultBestHeadMessage :public IBestHeadMessage { private: atomic_count m_ref; PROTOCAL_TYPE m_protocol_type; DefaultBestDataMessage* m_data_msg; public: DefaultBestHeadMessage() { m_status = 0; m_best_buffer = NULL; m_data_msg = NULL; memset(&m_best_head_struct, 0, sizeof(BestHeadStruct)); m_defaultIterator.Initail(&m_best_field_map); } virtual ~DefaultBestHeadMessage(){} ///获取头部长度,0表示当前无法获取头部长度 virtual int32 BEST_FUNCTION_CALL_MODE GetHeadLength(); ///获取数据长度,0表示当前无法获取数据长度 virtual int32 BEST_FUNCTION_CALL_MODE GetDataLength(); virtual void BEST_FUNCTION_CALL_MODE SetDataLength(int32 data_lenght); /******************************************设置数据层******************************************/ ///设置数据层消息 virtual int32 BEST_FUNCTION_CALL_MODE SetDataMessage(IBestDataMessage* data_msg); ///获取数据层消息 virtual IBestDataMessage* BEST_FUNCTION_CALL_MODE GetDataMessage(); ///从另一个消息复制到自身 virtual int32 BEST_FUNCTION_CALL_MODE CopyFrom(const IBestHeadMessage* other); ///复制自身 virtual IBestHeadMessage* BEST_FUNCTION_CALL_MODE Clone(); /**********************************获取和设置*************************/ ///获取$tag的字段,NULL表示不存在 virtual IBestField* BEST_FUNCTION_CALL_MODE GetField(const int32& tag); ///设置$tag的字段 virtual void BEST_FUNCTION_CALL_MODE SetField(const int32& tag, IBestField* field); ///判断$tag的字段是否存在 virtual bool BEST_FUNCTION_CALL_MODE IsExistField(const int32& tag); ///获取字段迭代器 virtual BestIterator* BEST_FUNCTION_CALL_MODE GetIterator(){ return &m_defaultIterator; } //获取当前字段的协议 virtual const PROTOCAL_TYPE BEST_FUNCTION_CALL_MODE GetProtocal(); private: DefaultBestMapIterator m_defaultIterator; BestBuffer* m_best_buffer; int32 m_status; public: std::map<int, IBestField*> m_best_field_map; BestHeadStruct m_best_head_struct; public: /************************IBestBase接口*************************/ ///增加引用计数,返回自身 virtual IBestBase* BEST_FUNCTION_CALL_MODE AddRef(); ///减少引用计数,当为0时释放自身 virtual uint64 BEST_FUNCTION_CALL_MODE Release(); ///返回BEST对象类型 virtual BEST_OBJECT_TYPE BEST_FUNCTION_CALL_MODE GetBestType(){ return OBJ_NONE; } ///设置所属对象 virtual int32 BEST_FUNCTION_CALL_MODE SetOwner(IBestBase* best_base){ return 0; } ///获取所属对象 virtual IBestBase* BEST_FUNCTION_CALL_MODE GetOwner(){ return 0; } /****************************IBestStream接口******************************/ ///序列化对象 virtual const void* BEST_FUNCTION_CALL_MODE Serialize(int32* len); ///反序列化 virtual int32 BEST_FUNCTION_CALL_MODE Deserialize(); ///设置流 virtual int32 BEST_FUNCTION_CALL_MODE SetBuffer(const void* buffer, const int32& len); ///获取流 virtual void* BEST_FUNCTION_CALL_MODE GetBuffer(int32* len); ///返回流状态. 1:可用 0:不可用 virtual int32 BEST_FUNCTION_CALL_MODE Status(){ return m_status; } ///设置序列化器 virtual int32 BEST_FUNCTION_CALL_MODE SetBestSerializer(IBestSerializer* serializer){ return 0; } ///获取序列化器 virtual IBestSerializer* BEST_FUNCTION_CALL_MODE GetBestSerializer(){ return 0; } virtual int32 BEST_FUNCTION_CALL_MODE SetProtocal(PROTOCAL_TYPE protpcal); int ReleaseBuffer(); }; #endif
[ "815093244@qq.com" ]
815093244@qq.com
18e384cfda60ab9691b008f492a3162612208a87
a114b97fbc3b1a46e5c7f0f9053611205c98ebf4
/interfaces/socket-interface/src/socket-interface.cpp
021073c3574f4dc475181090edfe5fbeef4ccaa8
[]
no_license
forme12/qualnet-
d4a76f0916623227dfd51b4ed6d23af052e3a69d
4d8fd82b9d16633f8773f7953c8cc2e0b60a230f
refs/heads/master
2021-11-03T08:47:08.491807
2019-03-25T11:40:26
2019-03-25T11:40:26
177,569,714
2
1
null
null
null
null
UTF-8
C++
false
false
327,250
cpp
// Copyright (c) 2001-2009, Scalable Network Technologies, Inc. All Rights Reserved. // 6100 Center Drive // Suite 1250 // Los Angeles, CA 90045 // sales@scalable-networks.com // // This source code is licensed, not sold, and is subject to a written // license agreement. Among other things, no portion of this source // code may be copied, transmitted, disclosed, displayed, distributed, // translated, used as the basis for a derivative work, or used, in // whole or in part, for any program or purpose other than its intended // use in compliance with the license agreement as part of the QualNet // software. This source code and certain of the algorithms contained // within it are confidential trade secrets of Scalable Network // Technologies, Inc. and may not be used as the basis for any other // software, hardware, product or service. #include <iostream> #include <vector> #include <math.h> #include <list> #include <map> using namespace std; #ifndef _WIN32 /* unix/linux */ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <errno.h> #ifdef sgi #include <unistd.h> #endif #endif #ifdef _WIN32 /* windows */ #include <winsock2.h> #endif #include "api.h" #include "app_util.h" #include "partition.h" #include "WallClock.h" #include "mac_csma.h" #include "mac_tdma.h" #include "antenna.h" #include "socket-interface.h" #include "messageapi.h" #include "platform.h" #include "interfaceutil.h" #include "network_ip.h" #ifdef JNE_LIB #include "routing_ces_malsr.h" #include "network_ces_subnet.h" #include "configparser.h" #endif #include "entity.h" #include "dynamic.h" #if defined(_WIN32) static clocktype llround(double x) { double xx = floor(x + 0.5); clocktype xxx = (clocktype)xx; return xxx; } #endif /* _WIN32 */ // The gHaveSocketIface variable is used ONLY for propagation logging, static bool gHaveSocketIface = false; #define DEBUG_MESSAGE_SENT 0 // SocketInterface_Sockets constructor SocketInterface_Sockets::SocketInterface_Sockets() { numPorts = 0; numConnections = 0; pthread_mutex_init(&socketMutex, NULL); pthread_mutex_init(&receiverMutex, NULL); pthread_cond_init(&receiverNotFull, NULL); pthread_cond_init(&receiverNotEmpty, NULL); pthread_mutex_init(&senderMutex, NULL); pthread_cond_init(&senderNotFull, NULL); pthread_cond_init(&senderNotEmpty, NULL); } // Returns the simulation time from the MTS perspective // Subtracts warmup time // This function should be used any place when dealing with external time static clocktype SocketInterface_Timestamp(EXTERNAL_Interface* iface) { return EXTERNAL_QuerySimulationTime(iface) - EXTERNAL_QueryWarmupTime(iface); } // Returns the simulation time for a message from the MTS // Add warmup time // This function should be used any place when scheduling a messae static clocktype SocketInterface_TimestampToQualNet(EXTERNAL_Interface* iface, SocketInterface_TimeType time) { SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data; if (data->simulationState == SocketInterface_StateType_Standby || data->simulationState == SocketInterface_StateType_Warmup) { return (clocktype) llround(time * SECOND); } else if (EXTERNAL_QueryWarmupTime(iface) == -1) { return (clocktype) llround(time * SECOND); } else { return (clocktype) llround(time * SECOND + EXTERNAL_QueryWarmupTime(iface)); } } // Static functions SocketInterface_RequestHash::SocketInterface_RequestHash() { nextId = 1; } Int32 SocketInterface_RequestHash::HashRequest(SocketInterface_PacketData* packetData) { Int32 requestId = nextId++; int index = requestId % SOCKET_INTERFACE_REQUEST_HASH_SIZE; ERROR_Assert(index >= 0 && index < SOCKET_INTERFACE_REQUEST_HASH_SIZE, "Invalid index"); hash[index][requestId] = packetData; return requestId; } BOOL SocketInterface_RequestHash::CheckHash(Int32 id) { int index = id % SOCKET_INTERFACE_REQUEST_HASH_SIZE; std::map<Int32, SocketInterface_PacketData*>::iterator it; ERROR_Assert(index >= 0 && index < SOCKET_INTERFACE_REQUEST_HASH_SIZE, "Invalid index"); it = hash[index].find(id); if (it == hash[index].end()) { return FALSE; } else { return TRUE; } } void SocketInterface_RequestHash::RemoveHash(Int32 id) { int index = id % SOCKET_INTERFACE_REQUEST_HASH_SIZE; std::map<Int32, SocketInterface_PacketData*>::iterator it; it = hash[index].find(id); if (it != hash[index].end()) { // Remove it and return hash[index].erase(it); } } SocketInterface_PacketData* SocketInterface_RequestHash::PeekRequest(Int32 id) { int index = id % SOCKET_INTERFACE_REQUEST_HASH_SIZE; std::map<Int32, SocketInterface_PacketData*>::iterator it; SocketInterface_PacketData* data; it = hash[index].find(id); if (it == hash[index].end()) { return NULL; } else { // Return data without removing data = it->second; return data; } } static void StringSplit( std::string* str, char* delim, std::vector<std::string>* out) { unsigned pos = 0; unsigned next; out->clear(); // Get each token before up to the last space next = str->find(delim, pos); while (next != -1) { if (next != pos) { out->push_back(str->substr(pos, next - pos)); } pos = next + 1; next = str->find(delim, pos); } // Get the token after the final space if (pos < str->size()) { out->push_back(str->substr(pos)); } } static void SocketInterface_ScheduleMessage( EXTERNAL_Interface* iface, SocketInterface_Message* message, clocktype timestamp) { Message* delayedMessage; clocktype delay; delayedMessage = MESSAGE_Alloc( iface->partition->firstNode, EXTERNAL_LAYER, EXTERNAL_SOCKET, MSG_EXTERNAL_SOCKET_INTERFACE_DelayedMessage); // Add the message to the info field MESSAGE_InfoAlloc( iface->partition->firstNode, delayedMessage, sizeof(SocketInterface_Message*)); memcpy(MESSAGE_ReturnInfo(delayedMessage), &message, sizeof(SocketInterface_Message*)); // Compute delay if (timestamp < EXTERNAL_QuerySimulationTime(iface)) { delay = 0; } else { delay = timestamp - EXTERNAL_QuerySimulationTime(iface); } MESSAGE_Send( iface->partition->firstNode, delayedMessage, delay); } void SocketInterface_SendMessage( EXTERNAL_Interface* iface, SocketInterface_Message* message, int socketId) { SocketInterface_InterfaceData* data; SocketInterface_MessageList* node; data = (SocketInterface_InterfaceData*) iface->data; // Create linked list node node = new SocketInterface_MessageList; node->message = message->Duplicate(); node->socketId = socketId; node->next = NULL; // Wait until the buffer is not full pthread_mutex_lock(&data->sockets.senderMutex); if (data->numOutgoingMessages >= SOCKET_INTERFACE_MAX_QUEUE_SIZE) { pthread_cond_wait( &data->sockets.senderNotFull, &data->sockets.senderMutex); } // Add to outgoing queue if (data->outgoingMessages == NULL) { data->outgoingMessages = node; } else { data->lastOutgoingMessage->next = node; } data->lastOutgoingMessage = node; data->numOutgoingMessages++; pthread_mutex_unlock(&data->sockets.senderMutex); // Signal that the sending thread is not empty pthread_cond_signal(&data->sockets.senderNotEmpty); } static void SocketInterface_HandleSimulationStateMessage( EXTERNAL_Interface* iface, SocketInterface_StateType oldState, SocketInterface_StateType newState) { SocketInterface_InterfaceData* data; data = (SocketInterface_InterfaceData*) iface->data; // Create a simulation state response message. SocketInterface_SimulationStateMessage *stateResponse; if (data->clientProtocolVersion >= 6) { stateResponse = new SocketInterface_SimulationStateMessage(newState, oldState, SocketInterface_Timestamp(iface) / (double)SECOND); } else { stateResponse = new SocketInterface_SimulationStateMessage(newState, oldState); } // Now to send the message to all the active connections. for (unsigned i = 0; i < data->sockets.connections.size(); i++) { if (data->sockets.activeConnections[i] && EXTERNAL_SocketValid(data->sockets.connections[i])) { // Found an active connection send the warning. SocketInterface_SendMessage(iface, stateResponse, i); data->responses++; } } // Print to the response log std::string str; stateResponse->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); delete stateResponse; } static void SocketInterface_ChangeSimulationState( EXTERNAL_Interface* iface, SocketInterface_StateType newState) { SocketInterface_InterfaceData *data = (SocketInterface_InterfaceData*) iface->data; // First check for valid transition switch (newState) { case SocketInterface_StateType_Warmup: if (data->simulationState != SocketInterface_StateType_Standby) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidTransition, "Warmup state may only be transitioned to from Standby"); } break; case SocketInterface_StateType_Initialized: if (data->simulationState != SocketInterface_StateType_Standby && data->simulationState != SocketInterface_StateType_Warmup) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidTransition, "Initialized state may only be transitioned to from Standby or Warmup"); } // Update the bit for Initialization Phase data->inInitializePhase = TRUE; break; case SocketInterface_StateType_Paused: if (data->simulationState != SocketInterface_StateType_Initialized && data->simulationState != SocketInterface_StateType_Executing) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidTransition, "Paused state may only be transitioned to from Initialized or Executing"); } // If pausing from the executing state record the pause time if (data->simulationState == SocketInterface_StateType_Executing) { // We pause time only if the parameter // SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME is set to NO, //else if do not pause time. We change the state either way. if (!data->pauseAdvanceSimTime) { EXTERNAL_Pause(iface); } data->paused = TRUE; } break; case SocketInterface_StateType_Executing: if (data->simulationState != SocketInterface_StateType_Paused && data->simulationState != SocketInterface_StateType_Initialized) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidTransition, "Executing state may only be transitioned to from Paused or Initialized"); } if (data->paused) { // We unpause time only if the parameter // SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME is set to NO, //else if do not pause time. We change the state either way. if (!data->pauseAdvanceSimTime) { EXTERNAL_Resume(iface); } data->paused = FALSE; } else if (data->simulationState == SocketInterface_StateType_Paused) { SocketInterface_InitializeRealTime(iface); } else if (data->simulationState == SocketInterface_StateType_Initialized) { SocketInterface_InitializeRealTime(iface); } break; case SocketInterface_StateType_Stopping: break; case SocketInterface_StateType_Resetting: break; default: throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidTransition, "Unknown state"); break; } // Save the old state for the response message SocketInterface_StateType oldState = data->simulationState; // Set new state data->simulationState = newState; // send the response for the change of state SocketInterface_HandleSimulationStateMessage(iface, oldState, newState); } static void SocketInterface_HandleAdvanceTime( EXTERNAL_Interface *iface, SocketInterface_AdvanceTimeMessage *advanceMessage) { SocketInterface_InterfaceData *data; clocktype advanceDelay; int i; int numBoundaries; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); // Print warning if qualnet in real time mode. if (data->timeManagement == SocketInterface_TimeManagementType_RealTime) { printf ("Warning: QualNet in realTime mode\n"); return; } if (!data->gotFirstAdvance) { data->gotFirstAdvance = TRUE; printf("SOCKET-INTERFACE received first time advance to %f.\n", advanceMessage->m_TimeAllowance); } data->timeAllowance = SocketInterface_TimestampToQualNet(iface, advanceMessage->m_TimeAllowance); // Since we just received a time advance we are no longer waiting // for a time advance (duh). This value is set to TRUE when an // idle state is sent back to the MTS, and also at the start of // the simulation. See SocketInterface_SimulationHorizon. data->waitingForTimeAdvance = FALSE; data->inIdleResponse = FALSE; // Make sure the time the idle message was sent is valid. It will be // invalid for the first time advance we get. if (data->idleSentRealTime != 0) { advanceDelay = EXTERNAL_QueryRealTime(iface) - data->idleSentRealTime; // If this is the first recorded boundary if (data->firstBoundary == -1) { data->boundaryTimes[0] = advanceDelay; data->firstBoundary = 0; data->lastBoundary = 0; } else { // If the boundary buffer is full numBoundaries = data->lastBoundary - data->firstBoundary + 1; if (numBoundaries == data->advanceBoundaries) { // Get rid of the earliest boundary, and move the rest down for (i = 0; i < numBoundaries - 1; i++) { data->boundaryTimes[i] = data->boundaryTimes[i + 1]; } // Replace the last boundary data->boundaryTimes[numBoundaries - 1] = advanceDelay; data->firstBoundary++; data->lastBoundary++; } else { // Add in the last boundary data->boundaryTimes[numBoundaries] = advanceDelay; data->lastBoundary++; } } } } static void SocketInterface_HandleReceiverMessage( EXTERNAL_Interface *iface, SocketInterface_Message *message, int socketId) { SocketInterface_InterfaceData *data; SocketInterface_Message* messageToQueue = NULL; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); message->SetSocketId(socketId); messageToQueue = message; // If we need to queue a message for the main thread if (messageToQueue != NULL) { SocketInterface_MessageList* node; // Create linked list node node = new SocketInterface_MessageList; memset(node, 0, sizeof(SocketInterface_MessageList)); node->message = messageToQueue; node->socketId = socketId; // Add to incoming message list pthread_mutex_lock(&data->sockets.receiverMutex); // If running in real time it is possible for us to get overloaded // with messages. If we've filled up the queue then wait. if (data->timeManagement == SocketInterface_TimeManagementType_RealTime && data->numIncomingMessages >= SOCKET_INTERFACE_MAX_QUEUE_SIZE) { pthread_cond_wait( &data->sockets.receiverNotFull, &data->sockets.receiverMutex); } if (data->incomingMessages == NULL) { data->incomingMessages = node; } else { data->lastIncomingMessage->next = node; data->lastIncomingMessage = node; } data->lastIncomingMessage = node; data->numIncomingMessages++; pthread_mutex_unlock(&data->sockets.receiverMutex); // Signal that the receiver is not empty pthread_cond_signal(&data->sockets.receiverNotEmpty); } } void SocketInterface_HandleDynamicCommandException( EXTERNAL_Interface* iface, D_Exception* exception, SocketInterface_Message* message, int socketId, SocketInterface_ErrorType errType) { SocketInterface_InterfaceData* data; std::string str; std::string errorString; errorString = exception->GetError(); SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(errType, &errorString); error->SetMessage(message); SocketInterface_SendMessage(iface, error, socketId); data = (SocketInterface_InterfaceData*) iface->data; error->Print(&str); str += "\n"; SocketInterface_PrintLog(iface, data->errorsLogFile, str.c_str()); delete error; } static void GetMulticastGroups(Node* node, std::string& out) { NetworkDataIp *ip = (NetworkDataIp *) node->networkData.networkVar; ListItem *item = ip->multicastGroupList->first; NetworkIpMulticastGroupEntry *entry; char addr[MAX_STRING_LENGTH]; BOOL first = TRUE; int size = 0; // Initially no output out = ""; // Go through the group list while (item) { entry = (NetworkIpMulticastGroupEntry *) item->data; size++; // Group already exists, so incrememt member count. if (entry->memberCount > 0) { if (first) { // Initialize out with group address IO_ConvertIpAddressToString(entry->groupAddress, addr); out += std::string(addr); first = FALSE; } else { // Create string " xxx.xxx.xxx.xxx" and append to out IO_ConvertIpAddressToString(entry->groupAddress, addr); out += std::string(" ") + std::string(addr); } } item = item->next; } } void SocketInterface_HandleException( EXTERNAL_Interface* iface, SocketInterface_Exception* exception, SocketInterface_Message* message, int socketId) { SocketInterface_InterfaceData* data; std::string str; std::string errorString; // NOTE: Might need extra function for sender thread SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(exception->GetError(), &exception->GetErrorString()); error->SetMessage(message); SocketInterface_SendMessage(iface, error, socketId); data = (SocketInterface_InterfaceData*) iface->data; error->Print(&str); str += "\n"; SocketInterface_PrintLog(iface, data->errorsLogFile, str.c_str()); delete error; } void SocketInterface_HandleException( EXTERNAL_Interface* iface, SocketInterface_Exception* exception, SocketInterface_SerializedMessage* message, int socketId) { SocketInterface_InterfaceData* data; std::string str; std::string errorString; // NOTE: Might need extra function for sender thread SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(exception->GetError(), &exception->GetErrorString()); error->SetSerializedMessage(message); SocketInterface_SendMessage(iface, error, socketId); data = (SocketInterface_InterfaceData*) iface->data; error->Print(&str); str += "\n"; SocketInterface_PrintLog(iface, data->errorsLogFile, str.c_str()); delete error; } void* SocketInterface_ReceiverThread(void* voidIface) { EXTERNAL_Interface* iface = (EXTERNAL_Interface*) voidIface; SocketInterface_InterfaceData* socketData = (SocketInterface_InterfaceData*) iface->data; SocketInterface_SerializedMessage data; int err; unsigned i; fd_set readSet; int max; timeval t; BOOL gotData; char str[MAX_STRING_LENGTH]; // Continue receiving until end of program while (socketData->simulationState != SocketInterface_StateType_Shutdown) { // Create set of all input sockets FD_ZERO(&readSet); max = -1; for (i = 0; i < (unsigned)socketData->sockets.numPorts; i++) { FD_SET( (unsigned int) socketData->sockets.listeningSockets[i]->socketFd, &readSet); if (socketData->sockets.listeningSockets[i]->socketFd > max) { max = socketData->sockets.listeningSockets[i]->socketFd; } } // If CPU hog return from select immediately. If not cpu hog then // wait for 1 milli second. if (socketData->cpuHog) { t.tv_sec = 0; t.tv_usec = 0; } else { t.tv_sec = 0; t.tv_usec = 1000; } // Select for readable sockets err = select(max + 1, &readSet, NULL, NULL, &t); if (err == -1) { #ifndef _WIN32 // In unix EINTR is interrupted system call. This means that the // select call did not finish waiting which is not an error, // so set available to false and return no error. if (errno == EINTR) { continue; } perror("Error calling select"); return NULL; #endif } // Now see which sockets have new data for (i = 0; i < (unsigned)socketData->sockets.numPorts; i++) { //cout << "Socket fd is " << socketData->sockets.listeningSockets[i]->socketFd << endl; if (EXTERNAL_SocketValid(socketData->sockets.listeningSockets[i]) && FD_ISSET(( unsigned int) socketData->sockets.listeningSockets[i]->socketFd, &readSet)) { CreateNewConnection( iface, &socketData->sockets, i, str); if (str[0] != 0) { printf(str); fflush(stdout); } // Send state to new connection SocketInterface_SimulationStateMessage* state = new SocketInterface_SimulationStateMessage( socketData->simulationState, socketData->simulationState); SocketInterface_SendMessage(iface, state, socketData->sockets.connections.size() - 1); delete state; } } for (i = 0; i < socketData->sockets.connections.size(); i++) { bool avail = FALSE; if (socketData->sockets.activeConnections[i]) { if (!EXTERNAL_SocketValid(socketData->sockets.connections[i])) { HandleSocketError( iface, &socketData->sockets, i, EXTERNAL_SocketError, str); } EXTERNAL_SocketDataAvailable( socketData->sockets.connections[i], &avail); if (avail) { do { gotData = FALSE; try { SocketInterface_ReceiveSerializedMessage( socketData->sockets.connections[i], &data); } catch (SocketInterface_Exception& e) { gotData = FALSE; if (e.GetError() == SocketInterface_ErrorType_SocketError) { HandleSocketError( iface, &socketData->sockets, i, EXTERNAL_SocketError, str); } SocketInterface_HandleException(iface, &e, &data, i); } if (data.m_Size >= SOCKET_INTERFACE_HEADER_SIZE) { // Deserialize the message gotData = TRUE; SocketInterface_Message* message = NULL; try { message = data.Deserialize(); } catch (SocketInterface_Exception& e) { gotData = FALSE; SocketInterface_HandleException(iface, &e, &data, i); } // Handle the message if (gotData) { try { SocketInterface_HandleReceiverMessage(iface, message, i); } catch (SocketInterface_Exception& e) { gotData = FALSE; SocketInterface_HandleException(iface, &e, message, i); delete message; } } } else { gotData = FALSE; } } while (gotData); } } } } return NULL; } void* SocketInterface_SenderThread(void* voidIface) { EXTERNAL_Interface* iface = (EXTERNAL_Interface*) voidIface; SocketInterface_InterfaceData* socketData = (SocketInterface_InterfaceData*) iface->data; //EXTERNAL_VarArray data; EXTERNAL_SocketErrorType err; SocketInterface_MessageList* node; int numOutgoing; char errString[MAX_STRING_LENGTH]; char str[MAX_STRING_LENGTH]; SocketInterface_SerializedMessage* serializedMessage; //EXTERNAL_VarArrayInit(&data); // Loop until end of program //while (socketData->simulationState != SocketInterface_StateType_Stopping && socketData->simulationState != SocketInterface_StateType_Resetting) while (socketData->simulationState != SocketInterface_StateType_Shutdown) { // Handle any messages pthread_mutex_lock(&socketData->sockets.senderMutex); if (socketData->outgoingMessages == NULL) { pthread_cond_wait( &socketData->sockets.senderNotEmpty, &socketData->sockets.senderMutex); } while (socketData->outgoingMessages == NULL && socketData->simulationState != SocketInterface_StateType_Shutdown) { pthread_cond_wait( &socketData->sockets.senderNotEmpty, &socketData->sockets.senderMutex); } if (socketData->simulationState == SocketInterface_StateType_Shutdown) { break; } // Remove from outgoing list node = (SocketInterface_MessageList*) socketData->outgoingMessages; assert(node != NULL); socketData->outgoingMessages = node->next; if (node->next == NULL) { socketData->lastOutgoingMessage = NULL; } socketData->numOutgoingMessages--; numOutgoing = socketData->numOutgoingMessages; pthread_mutex_unlock(&socketData->sockets.senderMutex); if (numOutgoing < SOCKET_INTERFACE_MAX_QUEUE_SIZE * 0.9) { pthread_cond_signal(&socketData->sockets.senderNotFull); } // If socket is valid if (EXTERNAL_SocketValid(socketData->sockets.connections[node->socketId])) { // Send the message // First Serialize the message if (DEBUG_MESSAGE_SENT) { std::string temp; node->message->Print(&temp); printf ("%s\n", temp.c_str()); } serializedMessage = node->message->Serialize(); if (serializedMessage->m_Data == NULL) { sprintf (errString, "Unknown message type\n"); SocketInterface_PrintLog(iface, socketData->errorsLogFile, errString); delete node->message; delete node; return NULL; } err = EXTERNAL_SocketSend( socketData->sockets.connections[node->socketId], (char*) serializedMessage->m_Data, serializedMessage->m_Size); if (err != 0) { HandleSocketError( iface, &socketData->sockets, node->socketId, EXTERNAL_SocketError, str); } delete serializedMessage; } // Now free memory delete node->message; delete node; } return NULL; } static void SocketInterface_SendCommEffectsResponseZeroDelay( EXTERNAL_Interface* iface, Node* node, NodeAddress receiverAddress, std::string receiver, SocketInterface_PacketData *packetData, int socketId) { SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data; if (receiverAddress == ANY_ADDRESS) { for (int i = 0; i < node->numberInterfaces; i++) { NodeAddress subnetAddr = MAPPING_GetSubnetAddressForInterface( node, node->nodeId, i); for (unsigned j = 0; j < data->subnetNodeMap[subnetAddr].size(); j++) { NodeId receiverId = data->subnetNodeMap[subnetAddr][j]; // If it's not us and there is a platform mapped to this ID send a response if (receiverId != node->nodeId) { EntityData* rec; rec = EntityMappingLookup(&data->entityMapping, receiverId); if (rec != NULL) { std::string entityId = rec->entityId; SocketInterface_CommEffectsResponseMessage* response = new SocketInterface_CommEffectsResponseMessage(packetData->id1, packetData->id2, &packetData->originator, &entityId, SocketInterface_Status_Success, (double) SocketInterface_Timestamp(iface) / SECOND, 0.0); response->SetDescription(packetData->description); if (EXTERNAL_SocketValid(data->sockets.connections[socketId])) { SocketInterface_SendMessage( iface, response, packetData->socketId); data->responses++; data->successes++; } std::string str; response->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); delete response; } } } } // Get subnet address } else if (NetworkIpIsMulticastAddress(iface->partition->firstNode, receiverAddress)) { // Loop over all platform mappings. // If platform is a member of this multicast group then send a response EntityData* mapping; BOOL isInGroup; std::string receiverId; // Loop over all platform mappings std::map<std::string, EntityData*>::iterator platformit; for (platformit = data->entityMapping.entities.begin(); platformit != data->entityMapping.entities.end(); platformit++) { mapping = platformit->second; isInGroup = FALSE; // Ignore if the mapping is us if (mapping->entityId == packetData->originator) { continue; } std::map<NodeId, Entity_NodeData>::iterator entityit; for (entityit = mapping->nodes.begin(); entityit != mapping->nodes.end(); entityit++) { Entity_NodeData entity = entityit->second; // Check if platform is in group std::vector<MulticastGroup>::iterator it; for (it = entity.multicastGroups.begin(); it != entity.multicastGroups.end(); it++) { if (it->group == receiver) { receiverId = mapping->entityId; isInGroup = TRUE; break; } } // If it's in the group then send response if (isInGroup) { // Send warmup response SocketInterface_CommEffectsResponseMessage* response = new SocketInterface_CommEffectsResponseMessage(packetData->id1, packetData->id2, &packetData->originator, &receiverId, SocketInterface_Status_Success, (double) SocketInterface_Timestamp(iface) / SECOND, 0.0); response->SetDescription(packetData->description); // Source response, send response to source if (data->sourceResponsibleMulticast) { if (EXTERNAL_SocketValid(data->sockets.connections[socketId])) { SocketInterface_SendMessage( iface, response, packetData->socketId); data->responses++; data->successes++; } } else { // Destination response, send response to all subscribers for (unsigned j = 0; j < it->socketSubscribers.size(); j++) { if (EXTERNAL_SocketValid(data->sockets.connections[it->socketSubscribers[j]])) { SocketInterface_SendMessage( iface, response, it->socketSubscribers[j]); data->responses++; data->successes++; } } } std::string str; response->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); delete response; } } } } else { // Send warmup response SocketInterface_CommEffectsResponseMessage* response = new SocketInterface_CommEffectsResponseMessage(packetData->id1, packetData->id2, &packetData->originator, &packetData->receiver, SocketInterface_Status_Success, (double) SocketInterface_Timestamp(iface) / SECOND, 0.0); response->SetDescription(packetData->description); if (EXTERNAL_SocketValid(data->sockets.connections[socketId])) { SocketInterface_SendMessage( iface, response, packetData->socketId); data->responses++; data->successes++; } std::string str; response->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); delete response; } } static void SocketInterface_SendCommEffectsRequest( EXTERNAL_Interface* iface, Node* node, SocketInterface_CommEffectsRequestMessage *requestMessage, NodeAddress receiverAddress, int socketId, clocktype delay) { SocketInterface_PacketData *packetData; SocketInterface_InterfaceData *data; NodeAddress receiverNodeId; char *messageData; char *tmpMessageData; int messageSize; int tmpPktSize; // The actual packet will contain the message hash id as well as the // failure timeout window. // TODO: remove the failure timeout window. It doesn't make sense here. UInt32 actualPacketSize = sizeof(SocketInterface_PacketHeader); char err[MAX_STRING_LENGTH]; char receiverString[MAX_STRING_LENGTH]; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); // Add space for network packet indicator if (data->useStatisticalModel) { actualPacketSize += sizeof(BOOL); } #ifdef DEBUG { char senderBuf [MAX_STRING_LENGTH]; char receiverBuf [MAX_STRING_LENGTH]; strcpy (senderBuf, requestMessage->m_SenderId.c_str ()); strcpy (receiverBuf, requestMessage->m_ReceiverId.c_str ()); printf("Message #%d request from %s to %s p = %d t = %f\n", (int)requestMessage->m_Id1, senderBuf, receiverBuf, requestMessage->m_Protocol, requestMessage->m_SendTime); } #endif NodeAddress originatorAddress = MappingGetSingleNodeAddress(iface->partition, &data->entityMapping, requestMessage->m_SenderId); if (originatorAddress == 0) { sprintf(err, "SocketInterface_SendCommEffectsRequest Invalid Sender node (no node address): %s", requestMessage->m_SenderId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err); } // Allocate message data. This is temporary and will be freed by the // call to EXTERNAL_CreateMessageAppLayer. The message data will contain // a pointer to the SocketInterface_PacketData structure which has information about // the comm effects request message and a pointer to the // EXTERNAL_TreeNode structure that keeps track of all packets in the // simulation. The memory referenced by messageData will be placed // inside a message, and then freed. if (requestMessage->m_Size < actualPacketSize) { messageSize = actualPacketSize; } else { messageSize = requestMessage->m_Size; } messageData = (char*) MEM_malloc(sizeof(SocketInterface_PacketHeader)); memset(messageData, 0, sizeof(SocketInterface_PacketHeader)); // Construct packet data packetData = new SocketInterface_PacketData; packetData->id1 = requestMessage->m_Id1; packetData->id2 = requestMessage->m_Id2; packetData->size = requestMessage->m_Size; packetData->waveform = requestMessage->m_Waveform; packetData->route = requestMessage->m_Route; packetData->waveformSpecified = requestMessage->m_WaveformSpecified; packetData->routeSpecified = requestMessage->m_RouteSpecified; packetData->protocol = requestMessage->m_Protocol; packetData->description = requestMessage->m_Description.c_str(); packetData->socketId = socketId; packetData->multicast = receiverAddress == ANY_ADDRESS || NetworkIpIsMulticastAddress(iface->partition->firstNode, receiverAddress); // Initialize packetData's receivers effects hashmap if ((data->useStatisticalModel == TRUE) && (packetData->multicast)) { packetData->effects = new SocketInterface_MulticastModeledReceiversCommEffects(); } else { packetData->effects = NULL; } // Determine the receiver for this request std::string receiver; receiverNodeId = MAPPING_GetNodeIdFromInterfaceAddress( node, receiverAddress); if (receiverNodeId == INVALID_MAPPING) { // If it's an invalid mapping check if it is a multicast address. if (packetData->multicast) { IO_ConvertIpAddressToString( receiverAddress, receiverString); receiver = (std::string)receiverString; } else { throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidReceiverId, "Invalid receiver address in SocketInterface_SendCommEffectsRequest"); } } else { // Get the receiver entity id receiver = MappingGetEntityId( &data->entityMapping, receiverNodeId); if (strcmp(receiver.c_str(), "") == 0) { throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidReceiverId, "Receiver in SocketInterface_SendCommEffectsRequest is not a mapped entity"); } } // Allocate receiver packetData->receiver = receiver; // Note, these times are going to be wrong if the // request came in asking for a delay. packetData->originator = requestMessage->m_SenderId; packetData->beginProcessingTime = EXTERNAL_QuerySimulationTime(iface); packetData->beginProcessingRealTime = EXTERNAL_QueryRealTime(iface); packetData->beginProcessingCPUTime = EXTERNAL_QueryCPUTime(iface); packetData->boundary = data->lastBoundary + 1; EXTERNAL_TreeNode* record; if (packetData->multicast) { record = EXTERNAL_TreeAllocateNode(&data->multicastTree); } else { record = EXTERNAL_TreeAllocateNode(&data->requestTree); } packetData->treeNode = record; record->data = (void*) packetData; // NOTE: record time set later depending on UDP/TCP // Hash the request packetData->hashId = data->requestHash.HashRequest(packetData); // Store the header inside the message SocketInterface_PacketHeader* header = (SocketInterface_PacketHeader*) messageData; header->hashId = packetData->hashId; header->failureTimeout = data->udpFailureTimeout; header->id1 = requestMessage->m_Id1; header->id2 = requestMessage->m_Id2; // Update tos if specified TosType tos = 0; if (requestMessage->m_PrecedenceSpecified || requestMessage->m_DscpSpecified || requestMessage->m_TosSpecified) { if (requestMessage->m_PrecedenceSpecified) { tos = requestMessage->m_Precedence << 5; } else if (requestMessage->m_DscpSpecified) { tos = requestMessage->m_Dscp << 2; } else if (requestMessage->m_TosSpecified) { tos = requestMessage->m_Tos; } } // Determine how to handle the request if (data->simulationState == SocketInterface_StateType_Standby) { // Ignore during pause and standby, invalid message. Send // error message instead MEM_free(messageData); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSimulationState, "Cannot accept CommEffectsRequest during Standby state"); } else if (data->simulationState == SocketInterface_StateType_Paused && data->pauseSendZeroDelay) { // Send an immediate comm response during warmup and // pause state if SOCKET-INTERFACE-PAUSE-REPLY-ZERO-DELAY is YES. After sending the // response free the message data and exit this function, no further // processing is needed. SocketInterface_SendCommEffectsResponseZeroDelay( iface, node, receiverAddress, receiver, packetData, socketId); MEM_free(messageData); return; } else if (requestMessage->m_Protocol == SocketInterface_ProtocolType_ProtocolTCP) { SocketInterface_UnicastModelingParameters params; BOOL statResult; // Determine failure timeout depending on whether the message has a // timestamp if (requestMessage->m_SendTimeSpecified) { if (requestMessage->m_FailureTimeoutSpecified) { record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime) + (clocktype) (requestMessage->m_FailureTimeout * SECOND); packetData->failureTimeout = (double) (requestMessage->m_FailureTimeout); } else { record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime) + data->tcpFailureTimeout; packetData->failureTimeout = ((double) data->tcpFailureTimeout)/SECOND; } } else { if (requestMessage->m_FailureTimeoutSpecified) { record->time = getSimTime(node) + (clocktype) (requestMessage->m_FailureTimeout * SECOND); if (data->deterministicTiming) { record->time = iface->horizon + (clocktype) (requestMessage->m_FailureTimeout * SECOND); } packetData->failureTimeout = (double) (requestMessage->m_FailureTimeout); } else { record->time = getSimTime(node) + data->tcpFailureTimeout; if (data->deterministicTiming) { record->time = iface->horizon + data->tcpFailureTimeout; } packetData->failureTimeout = ((double) data->tcpFailureTimeout)/SECOND; } } // TCP cannot be multicast if (packetData->multicast) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidProtocol, "Multicast messages may not be sent using TCP"); } // If running in distributed qualnet mode, send responses and update stats // based on statistical model. Also, update message accordingly if (data->useStatisticalModel) { // Add the network packet indicator to the message BOOL isNetworkPacket = FALSE; memcpy( messageData + sizeof(Int32) + sizeof(clocktype), &isNetworkPacket, sizeof(BOOL)); params.protocol = SocketInterface_ProtocolType_ProtocolTCP; params.senderNodeAddress = originatorAddress; params.receiverNodeAddress = receiverAddress; params.sendTime = EXTERNAL_QuerySimulationTime(iface); statResult = SocketInterface_SendModeledResponses( iface, packetData, (void *)&params); tmpMessageData = messageData; tmpPktSize = actualPacketSize; actualPacketSize += (sizeof(BOOL) + sizeof(BOOL) + sizeof(SocketInterface_UnicastModelingParameters)); if (requestMessage->m_Size < actualPacketSize) { messageSize = actualPacketSize; } else { messageSize = requestMessage->m_Size; } messageData = (char *) MEM_malloc(messageSize); memset(messageData, 0, messageSize); memcpy( messageData, tmpMessageData, tmpPktSize); memcpy( messageData + tmpPktSize, &statResult, sizeof(BOOL)); memcpy( messageData + tmpPktSize + sizeof(BOOL), &(packetData->multicast), sizeof(BOOL)); memcpy( messageData + tmpPktSize + sizeof(BOOL) + sizeof(BOOL), &params, sizeof(SocketInterface_UnicastModelingParameters)); MEM_free(tmpMessageData); } if (requestMessage->m_TtlSpecified) { // Send TCP message EXTERNAL_SendVirtualDataAppLayerTCP( iface, originatorAddress, receiverAddress, messageData, sizeof(SocketInterface_PacketHeader), messageSize - sizeof(SocketInterface_PacketHeader), EXTERNAL_QuerySimulationTime(iface) + delay, requestMessage->m_TTL); } else { // Send TCP message EXTERNAL_SendVirtualDataAppLayerTCP( iface, originatorAddress, receiverAddress, messageData, sizeof(SocketInterface_PacketHeader), messageSize - sizeof(SocketInterface_PacketHeader), EXTERNAL_QuerySimulationTime(iface) + delay); } } else if (requestMessage->m_Protocol == SocketInterface_ProtocolType_ProtocolUDP) { SocketInterface_UnicastModelingParameters uParams; SocketInterface_MulticastModelingParameters mParams; size_t paramSize; BOOL statResult; // Determine failure timeout depending on whether the message has a // timestamp if (requestMessage->m_SendTimeSpecified) { if (requestMessage->m_FailureTimeoutSpecified) { record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime) + (clocktype) (requestMessage->m_FailureTimeout * SECOND); packetData->failureTimeout = (double) (requestMessage->m_FailureTimeout); } else { record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime) + data->udpFailureTimeout; packetData->failureTimeout = ((double) data->udpFailureTimeout)/SECOND; } } else { if (requestMessage->m_FailureTimeoutSpecified) { record->time = getSimTime(node) + (clocktype) (requestMessage->m_FailureTimeout * SECOND); if (data->deterministicTiming) { record->time = iface->horizon + (clocktype) (requestMessage->m_FailureTimeout * SECOND); } packetData->failureTimeout = (double) (requestMessage->m_FailureTimeout); } else { record->time = getSimTime(node) + data->udpFailureTimeout; if (data->deterministicTiming) { record->time = iface->horizon + data->udpFailureTimeout; } packetData->failureTimeout = ((double) data->udpFailureTimeout)/SECOND; } } // If running in distributed qualnet mode, send responses and update stats // based on statistical model. Also, update message accordingly if (data->useStatisticalModel) { // Add the network packet indicator to the message BOOL isNetworkPacket = FALSE; memcpy( messageData + sizeof(Int32) + sizeof(clocktype), &isNetworkPacket, sizeof(BOOL)); if (packetData->multicast) { mParams.protocol = SocketInterface_ProtocolType_ProtocolUDP; mParams.senderNodeAddress = originatorAddress; mParams.receiverNodeAddress = receiverAddress; mParams.sendTime = EXTERNAL_QuerySimulationTime(iface); statResult = SocketInterface_SendModeledResponses( iface, packetData, (void *)&mParams); paramSize = sizeof(SocketInterface_MulticastModelingParameters); } else { uParams.protocol = SocketInterface_ProtocolType_ProtocolUDP; uParams.senderNodeAddress = originatorAddress; uParams.receiverNodeAddress = receiverAddress; uParams.sendTime = EXTERNAL_QuerySimulationTime(iface); statResult = SocketInterface_SendModeledResponses( iface, packetData, (void *)&uParams); paramSize = sizeof(SocketInterface_UnicastModelingParameters); } tmpMessageData = messageData; tmpPktSize = actualPacketSize; actualPacketSize += (sizeof(BOOL) + sizeof(BOOL) + paramSize); if (requestMessage->m_Size < actualPacketSize) { messageSize = actualPacketSize; } else { messageSize = requestMessage->m_Size; } messageData = (char *) MEM_malloc(messageSize); memset(messageData, 0, messageSize); memcpy( messageData, tmpMessageData, tmpPktSize); memcpy( messageData + tmpPktSize, &statResult, sizeof(BOOL)); memcpy( messageData + tmpPktSize + sizeof(BOOL), &(packetData->multicast), sizeof(BOOL)); if (packetData->multicast) { memcpy( messageData + tmpPktSize + sizeof(BOOL) + sizeof(BOOL), &mParams, paramSize); } else { memcpy( messageData + tmpPktSize + sizeof(BOOL) + sizeof(BOOL), &uParams, paramSize); } MEM_free(tmpMessageData); } if (requestMessage->m_TtlSpecified) { // Send UDP message EXTERNAL_SendVirtualDataAppLayerUDP( iface, originatorAddress, receiverAddress, messageData, sizeof(SocketInterface_PacketHeader), messageSize - sizeof(SocketInterface_PacketHeader), EXTERNAL_QuerySimulationTime(iface) + delay, APP_FORWARD, TRACE_FORWARD, tos, requestMessage->m_TTL); } else { // Send UDP message EXTERNAL_SendVirtualDataAppLayerUDP( iface, originatorAddress, receiverAddress, messageData, sizeof(SocketInterface_PacketHeader), messageSize - sizeof(SocketInterface_PacketHeader), EXTERNAL_QuerySimulationTime(iface) + delay, APP_FORWARD, TRACE_FORWARD, tos); } } else if (requestMessage->m_Protocol == SocketInterface_ProtocolType_ProtocolNetwork) { // Add the network packet indicator to the message if (data->useStatisticalModel) { BOOL isNetworkPacket = TRUE; memcpy( messageData + sizeof(Int32) + sizeof(clocktype), &isNetworkPacket, sizeof(BOOL)); } if (requestMessage->m_TtlSpecified) { EXTERNAL_SendVirtualDataNetworkLayer( iface, originatorAddress, originatorAddress, receiverAddress, tos, IPPROTO_EXTERNAL, requestMessage->m_TTL, // ttl messageData, sizeof(SocketInterface_PacketHeader), messageSize - sizeof(SocketInterface_PacketHeader), EXTERNAL_QuerySimulationTime(iface) + delay); } else { EXTERNAL_SendVirtualDataNetworkLayer( iface, originatorAddress, originatorAddress, receiverAddress, tos, IPPROTO_EXTERNAL, IPDEFTTL, // default ttl messageData, sizeof(SocketInterface_PacketHeader), messageSize - sizeof(SocketInterface_PacketHeader), EXTERNAL_QuerySimulationTime(iface) + delay); } // Determine failure timeout depending on whether the message has a // timestamp if (requestMessage->m_SendTimeSpecified) { if (requestMessage->m_FailureTimeoutSpecified) { record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime) + (clocktype) (requestMessage->m_FailureTimeout * SECOND); } else { record->time = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime) + data->udpFailureTimeout; } } else { if (requestMessage->m_FailureTimeoutSpecified) { record->time = getSimTime(node) + (clocktype) (requestMessage->m_FailureTimeout * SECOND); if (data->deterministicTiming) { record->time = iface->horizon + (clocktype) (requestMessage->m_FailureTimeout * SECOND); } } else { record->time = getSimTime(node) + data->udpFailureTimeout; if (data->deterministicTiming) { record->time = iface->horizon + data->udpFailureTimeout; } } } } else { MEM_free(messageData); sprintf(err, "Unknown protocol \"%d\"", requestMessage->m_Protocol); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, err); } // Insert the comm request into the request tree if (packetData->multicast) { EXTERNAL_TreeInsert(&data->multicastTree, record); } else { EXTERNAL_TreeInsert(&data->requestTree, record); } MEM_free(messageData); } static void SocketInterface_HandleStopSimulation( EXTERNAL_Interface* iface, SocketInterface_StopSimulationMessage* stopMessage) { char errString[MAX_STRING_LENGTH]; SocketInterface_InterfaceData* data; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); // Check for timeStamp if (stopMessage->m_StopSpecified) { // timestamp is specified. Now to make sure that // the time is not past. if (SocketInterface_TimestampToQualNet(iface, stopMessage->m_StopTime) < EXTERNAL_QuerySimulationTime(iface)) { if (data->timeManagement == SocketInterface_TimeManagementType_RealTime) { EXTERNAL_SetSimulationEndTime( iface, EXTERNAL_QuerySimulationTime(iface)); } else { // In non-real-time this is an error -- we should never receive // a message in the past. sprintf(errString, "Invalid Stop time: %fs", stopMessage->m_StopTime); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidStopTime, errString); } } else { // set the new maxSimClock; EXTERNAL_SetSimulationEndTime( iface, SocketInterface_TimestampToQualNet(iface, stopMessage->m_StopTime)); } } else { // No timeStamp, that is, stop immediately. EXTERNAL_SetSimulationEndTime( iface, EXTERNAL_QuerySimulationTime(iface)); } } static void SocketInterface_HandleResetSimulation( EXTERNAL_Interface* iface, SocketInterface_ResetSimulationMessage* reset) { // Create the reponse message. SocketInterface_InterfaceData *data; char errString[MAX_STRING_LENGTH]; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); // Check for timeStamp if (reset->m_ResetSpecified) { // timestamp is specified. Now to make sure that // the time is not past. if (SocketInterface_TimestampToQualNet(iface, reset->m_ResetTime) < EXTERNAL_QuerySimulationTime(iface)) { if (data->timeManagement == SocketInterface_TimeManagementType_RealTime) { EXTERNAL_SetSimulationEndTime( iface, SocketInterface_TimestampToQualNet(iface, reset->m_ResetTime)); } else { // In non-real-time this is an error -- we should never receive // a message in the past. sprintf( errString, "Invalid Stop time: %fs", reset->m_ResetTime); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidStopTime, errString); } } else { // set the new maxSimClock; EXTERNAL_SetSimulationEndTime( iface, SocketInterface_TimestampToQualNet(iface, reset->m_ResetTime)); } } else { // No timeStamp, that is, stop immediately. EXTERNAL_SetSimulationEndTime( iface, EXTERNAL_QuerySimulationTime(iface)); } data->resetting = TRUE; } static void SocketInterface_HandleDynamicResponse( EXTERNAL_Interface* iface, SocketInterface_DynamicCommandMessage* dynamic, int socketId, std::string* result) { // Create the reponse message. SocketInterface_InterfaceData *data; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); SocketInterface_DynamicResponseMessage* response; response = new SocketInterface_DynamicResponseMessage(dynamic->m_Type, &dynamic->m_Path, &dynamic->m_Args, result); // Check for the socket data if (EXTERNAL_SocketValid(data->sockets.connections[socketId])) { SocketInterface_SendMessage( iface, response, socketId); data->responses++; } std::string str; response->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); // delete the message that was created. delete response; } // Robust Interface client uses Dynamic Commands to read and write parameters // controlling the robust protocol. // The localDynamicRead and localDynamicWrite handle these commands even if // the scenario does not enable the dynamic hierarchy static bool localDynamicRead(EXTERNAL_Interface* iface, const std::string &path, std::string &result) { SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data; std::stringstream rs; if (path == "/CESSocketInterface/ServerProtocolVersion") { rs << data->serverProtocolVersion; rs >> result; return true; } else if (path == "/CESSocketInterface/ClientProtocolVersion") { rs << data->clientProtocolVersion; rs >> result; return true; } else return false; } static bool localDynamicWrite(EXTERNAL_Interface* iface, const std::string &path, const std::string &args) { SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data; std::istringstream is(args); if (path == "/CESSocketInterface/ClientProtocolVersion") { int v; is >> v; data->clientProtocolVersion = v; return true; } else return false; } static void SocketInterface_HandleDynamicCommand( EXTERNAL_Interface* iface, SocketInterface_DynamicCommandMessage* dynamic, int socketId) { char errString[MAX_STRING_LENGTH]; std::string result; D_Hierarchy* h = &iface->partition->dynamicHierarchy; std::string encodedPath = ""; try { encodedPath = h->EncodePath(dynamic->m_Path); } catch (D_Exception) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidDynamicCommand, "Invalid Path for the Dynamic Command"); } // Check the type for the command switch(dynamic->m_Type) { case SocketInterface_OperationType_Read: { try { // Robust Interface if (!localDynamicRead(iface, encodedPath, result)) { // Use the encoded path h->ReadAsString( encodedPath.c_str(), result); } // Need to send a response back to the socket SocketInterface_HandleDynamicResponse( iface, dynamic, socketId, &result); } catch (D_Exception& d) { // We have an exception. SocketInterface_HandleDynamicCommandException(iface, &d, (SocketInterface_Message*)dynamic, socketId, SocketInterface_ErrorType_InvalidDynamicCommand); } break; } case SocketInterface_OperationType_Write: { try { // Robust Interface if (!localDynamicWrite(iface, encodedPath, dynamic->m_Args)) { // Use the encoded path h->WriteAsString( encodedPath.c_str(), dynamic->m_Args.c_str()); } } catch (D_Exception& d) { SocketInterface_HandleDynamicCommandException(iface, &d, (SocketInterface_Message*)dynamic, socketId, SocketInterface_ErrorType_InvalidDynamicCommand); } break; } case SocketInterface_OperationType_Execute: { try { // Use the encoded path h->ExecuteAsString( encodedPath.c_str(), dynamic->m_Args.c_str(), result); // Send a response for the command above SocketInterface_HandleDynamicResponse( iface, dynamic, socketId, &result); } catch (D_Exception& d) { SocketInterface_HandleDynamicCommandException(iface, &d, (SocketInterface_Message*)dynamic, socketId, SocketInterface_ErrorType_InvalidDynamicCommand); } break; } default: sprintf( errString, "Unknown operation type \"%d\"", dynamic->m_Type); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidOperationType, errString); break; } } // /** // FUNCTION :: SocketInterface_CheckWaveformValidity // PURPOSE :: Checks if the waveform and route inputs // are valid. // PARAMETERS :: // iface : Pointer to external interface. // waveform : waveform type // waveformSpecified : Bool specifying whether waveform is present // routeSpecified : Bool specifying whether route is present // RETURN :: Void : NULL. // **/ void SocketInterface_CheckWaveformValidity( EXTERNAL_Interface* iface, SocketInterface_WaveformType waveform, BOOL waveformSpecified, BOOL routeSpecified) { char errString[MAX_STRING_LENGTH]; assert(iface != NULL); if (routeSpecified && !waveformSpecified) { sprintf(errString, "Invalid Message, Route cannot be secified without Waveform"); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString); } if (waveformSpecified) { if (waveform == SocketInterface_WaveformType_SRW && routeSpecified) { sprintf(errString, "Invalid Message, Route cannot be secified with SRW"); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString); } if (waveform == SocketInterface_WaveformType_WNW && !routeSpecified) { sprintf(errString, "Invalid Message, WNW waveform requires a route"); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString); } } } static void SocketInterface_HandleCommEffectsRequest( EXTERNAL_Interface *iface, SocketInterface_CommEffectsRequestMessage *requestMessage, int socketId) { char errString[MAX_STRING_LENGTH]; Node *sendNode; NodeAddress originatorAddress; clocktype delay; SocketInterface_InterfaceData *data; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); SocketInterface_CheckWaveformValidity( iface, requestMessage->m_Waveform, requestMessage->m_WaveformSpecified, requestMessage->m_RouteSpecified); #ifdef DEBUG printf("request t = %f sim = %f\n", requestMessage->m_SendTime, (double) EXTERNAL_QuerySimulationTime(iface) / SECOND); #endif // Determine sendNode, allowed to be node on remote partition sendNode = MappingGetSingleNodePointer( iface->partition, &data->entityMapping, requestMessage->m_SenderId); if (sendNode == NULL) { sprintf(errString, "SocketInterface_HandleCommEffectsRequest Invalid Sender node: %s", requestMessage->m_SenderId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, errString); } else { // check if the sender is mapped std::string senderEntityId = ""; senderEntityId = MappingGetEntityId( &data->entityMapping, (NodeAddress)sendNode->nodeId); if (strcmp(senderEntityId.c_str(), "") == 0) { throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, "Sender in SocketInterface_SendCommEffectsRequest is not a mapped entity"); } } originatorAddress = MappingGetSingleNodeAddress(iface->partition, &data->entityMapping, requestMessage->m_SenderId); if (originatorAddress == 0) { sprintf(errString, "SocketInterface_HandleCommEffectsRequest Invalid Sender node (no node address): %s", requestMessage->m_SenderId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, errString); } // Check if send time is specified if (requestMessage->m_SendTimeSpecified) { // Check if the request is occuring in the past (ie, its sendTime is // before the simulation time) if (SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime) < EXTERNAL_QuerySimulationTime(iface)) { if (data->timeManagement == SocketInterface_TimeManagementType_RealTime) { // In real-time this is OK, just send the message as soon as // possible delay = 0; if (data->deterministicTiming) { delay = (iface->horizon - EXTERNAL_QuerySimulationTime (iface)); } } else { // In non-real-time this is an error -- we should never receive // a message in the past. sprintf(errString, "Invalid Send time: %fs", requestMessage->m_SendTime); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSendTime, errString); } } else { delay = SocketInterface_TimestampToQualNet(iface, requestMessage->m_SendTime) - EXTERNAL_QuerySimulationTime(iface); } } else { // We have no send time. Send immediately delay = 0; if (data->deterministicTiming) { delay = (iface->horizon - EXTERNAL_QuerySimulationTime(iface)); } } // TODO JDL: I don't know why SocketInterface_HandleCommEffectsReceiver is a separate function. It also has a weird name. // What do you think about combining the two functions? SocketInterface_HandleCommEffectsReceiver( iface, sendNode, requestMessage, socketId, delay); } static void HandleCartesianCoordinateValidity( EXTERNAL_Interface* iface, double coord1, double coord2, double coord3) { assert(iface != NULL); char errString[MAX_STRING_LENGTH]; struct cartesian_coordinates origin; struct cartesian_coordinates dimensions; origin = iface->partition->terrainData->getOrigin().cartesian; dimensions = iface->partition->terrainData->getDimensions().cartesian; if (coord1 < origin.x) { sprintf( errString, "X out of range: %f (minimum is %f)", coord1, origin.x); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } else if (coord1 > dimensions.x) { sprintf( errString, "X out of range: %f (maximum is %f)", coord1, dimensions.x); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } if (coord2 < origin.y) { sprintf( errString, "Y out of range: %f (minimum is %f)", coord2, origin.y); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } else if (coord2 > dimensions.y) { sprintf( errString, "Y out of range: %f (maximum is %f)", coord2, dimensions.y); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } if (coord3 < origin.z) { sprintf( errString, "Z out of range: %f (minimum is %f)", coord3, origin.z); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } else if (coord3 > dimensions.z) { sprintf( errString, "Z out of range: %f (maximum is %f)", coord3, dimensions.z); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } } static void HandleLatLonAltCoordinateValidity( EXTERNAL_Interface* iface, double coord1, double coord2, double coord3) { assert(iface != NULL); char errString[MAX_STRING_LENGTH]; struct common_coordinates origin; struct common_coordinates dimensions; origin = iface->partition->terrainData->getOrigin().common; dimensions = iface->partition->terrainData->getDimensions().common; if (coord1 < origin.c1) { sprintf( errString, "Latitude out of range: %f (minimum is %f)", coord1, origin.c1); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } else if (coord1 > origin.c1 + dimensions.c1) { sprintf( errString, "Latitude out of range: %f (maximum is %f)", coord1, origin.c1 + dimensions.c1); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } if (coord2 < origin.c2) { sprintf( errString, "Longitude out of range: %f (minimum is %f)", coord2, origin.c2); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } else if (coord2 > origin.c2 + dimensions.c2) { sprintf( errString, "Longitude out of range: %f (maximum is %f)", coord2, origin.c2 + dimensions.c2); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } if (coord3 < origin.c3) { sprintf( errString, "Altitude out of range: %f (minimum is %f)", coord3, origin.c3); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } else if (coord3 > origin.c3 + dimensions.c3) { sprintf( errString, "Altitude out of range: %f (maximum is %f)", coord3, origin.c3 + dimensions.c3); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidCoordinates, errString); } } void SocketInterface_HandleMulticastChange( EXTERNAL_Interface* iface, Node* node, clocktype eventTime, std::string entityId, int socketId, std::vector<std::string>* joinGroups, std::vector<std::string>* leaveGroups) { SocketInterface_InterfaceData *data; unsigned i; std::string join; std::string leave; data = (SocketInterface_InterfaceData*) iface->data; // Add each multicast group in sequential mode. This is handled in // SocketInterface_PARALLEL_HandleCreatePlatformNotice when running in parallel. // Note that MappingAddMulticastGroup // checks to make sure the platform is not already in the group. NodeAddress group; int hostBits; BOOL isNodeId; if (joinGroups != NULL) { for (i = 0; i < joinGroups->size(); i++) { IO_ParseNodeIdHostOrNetworkAddress( (*joinGroups)[i].c_str(), &group, &hostBits, &isNodeId); if (NetworkIpIsMulticastAddress(node, group)) { // If it's a multicast address then join the group join += (*joinGroups)[i] + " "; } else if (group != ANY_ADDRESS) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidGroup, "Invalid multicast group"); } // Update the number of memebers in the group. if (data->listOfMulticastGroups.size() <= 0) { // No members in the list. data->listOfMulticastGroups.insert(make_pair((*joinGroups)[i], 1)); //data->listOfMulticastGroups[(*joinGroups)[i]] = 1; } else { // the list is not empty. int tempCount; std::map<std::string, int>::iterator iter; iter = data->listOfMulticastGroups.find((*joinGroups)[i]); if (iter != data->listOfMulticastGroups.end()) { // the element exists in the list. tempCount = data->listOfMulticastGroups[(*joinGroups)[i]]; tempCount++; data->listOfMulticastGroups[(*joinGroups)[i]] = tempCount; } else { // this element is not in the list. Add it data->listOfMulticastGroups.insert(make_pair((*joinGroups)[i], 1)); } } // At this point it is either multicast or broadcast. Add it // to the entity mapping MappingAddMulticastGroup( &data->entityMapping, (std::string)entityId, &(*joinGroups)[i], socketId); } } if (leaveGroups != NULL) { // Leave each multicast group. Note that Socket_MappingRemoveMulticastGroup // checks to make sure the platform is in the group. for (i = 0; i < leaveGroups->size(); i++) { IO_ParseNodeIdHostOrNetworkAddress( (*leaveGroups)[i].c_str(), &group, &hostBits, &isNodeId); if (NetworkIpIsMulticastAddress(node, group)) { leave += (*leaveGroups)[i] + " "; } else { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidGroup, "Invalid multicast group"); } // update the member count. int tempCount; tempCount = data->listOfMulticastGroups[(*leaveGroups) [i]]; if (tempCount <= 0) { data->listOfMulticastGroups[(*leaveGroups) [i]] = 0; } else { tempCount--; data->listOfMulticastGroups[(*leaveGroups) [i]] = tempCount; } MappingRemoveMulticastGroup( &data->entityMapping, (std::string)entityId, &(*leaveGroups)[i]); } } // Send message to node that will add it to multicast groups Message* multicastMsg; multicastMsg = MESSAGE_Alloc( iface->partition->firstNode, EXTERNAL_LAYER, EXTERNAL_SOCKET, MSG_EXTERNAL_SOCKET_INTERFACE_MulticastGroup); // Fill message info with join/leave groups as follows // 4 bytes: size of join string (N) // 4 bytes: size of leave string (M) // N + 1 bytes: join string + trailing 0 // M + 1 bytes: leave string + trailing 0 UInt32 n = 0; UInt32 m = 0; if (joinGroups != NULL) { n = join.size(); } if (leaveGroups != NULL) { m = leave.size(); } char* info = MESSAGE_InfoAlloc( iface->partition->firstNode, multicastMsg, sizeof(UInt32) * 2 + n + m + 2); memcpy(info, &n, sizeof(UInt32)); info += sizeof(UInt32); memcpy(info, &m, sizeof(UInt32)); info += sizeof(UInt32); if (n > 0) { memcpy(info, join.c_str(), n); info += n; *info++ = 0; } if (m > 0) { memcpy(info, leave.c_str(), m); info += m; *info++ = 0; } clocktype delay; if (getSimTime(node) > eventTime) { delay = 0; } else { delay = eventTime - getSimTime(node); } EXTERNAL_MESSAGE_SendAnyNode( iface, node, multicastMsg, delay, EXTERNAL_SCHEDULE_SAFE); } //#define TEST_EXTERNAL_REMOTESEND #ifdef TEST_EXTERNAL_REMOTESEND class SocketInterface_ExternalPingInfo { public: int msgNumber; int sourcePartition; }; #define MSG_EXTERNAL_RemoteTest 40000 #endif static void SocketInterface_HandleCreatePlatform( EXTERNAL_Interface *iface, SocketInterface_CreatePlatformMessage *message) { SocketInterface_InterfaceData *data; EntityData* rec; std::list<Entity_NodeData> entities; char errString[MAX_STRING_LENGTH]; double c1; double c2; double c3; double v1 = 0; //velocity v1, v2, v3 double v2 = 0; double v3 = 0; clocktype eventTime; #ifdef TEST_EXTERNAL_REMOTESEND // bleair - simple unit test to send an external message to partition 1 assert (iface->partition->isRunningInParallel()); static int g_pingCount = 1000; // allocate a simple message Message * externalPingMessage; externalPingMessage = MESSAGE_Alloc( iface->partition->firstNode, EXTERNAL_LAYER, // special layer EXTERNAL_SOCKET, // EXTERNAL_SOCKET, // protocol MSG_EXTERNAL_RemoteTest); // Create the info to communicate in our 'Ping" message. SocketInterface_ExternalPingInfo * pingInfo; pingInfo = (SocketInterface_ExternalPingInfo *)MESSAGE_InfoAlloc( iface->partition->firstNode, externalPingMessage, sizeof(SocketInterface_ExternalPingInfo)); pingInfo->sourcePartition = iface->partition->partitionId; pingInfo->msgNumber = g_pingCount++; // Send it to our external interafce that is on partition 1 EXTERNAL_MESSAGE_RemoteSend (iface, 1, externalPingMessage, 0, EXTERNAL_SCHEDULE_SAFE); // externalPingMessage, 0, EXTERNAL_SCHEDULE_SAFE); printf ("DEBUG - at %lld sending a remote message %d\n", iface->partition->theCurrentTime, g_pingCount); #endif assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); std::string entityId = message->m_EntityId; #ifdef DEBUG printf("SocketInterface_HandleCreatePlatform for entityId %s\n", entityId.c_str()); fflush(stdout); #endif if (strcmp(message->m_EntityId.c_str(), "") == 0) { // Invalid paramter, should have an entity id. // Throw an exception sprintf( errString, "Invalid Entity Id Parameter \"%s\"", entityId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString); } rec = EntityMappingLookup(&data->entityMapping, entityId); if (data->entityMapping.dynamic) { // At his point we have a node, as well as a valid entity Id. // Now to check if the mapping for the entity exists. // If the mapping already exists, then we have a problem. // For the dynamic case, assume one-to-one mapping if (rec != NULL) { sprintf( errString, "Mapping for the EntityId already exists \"%s\"", entityId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString); } // Add the new entity Id to QualNet. // Create a new mapping rec = DynamicMappingAdd( &data->entityMapping, message->m_EntityId); if (rec == NULL) { sprintf( errString, "Mapping Failure, Free Nodes unavailable \"%s\"", entityId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString); } } else // static case { // Record should already exist (inactive) if (rec == NULL) { // Mapping does not exists. We have an error. sprintf( errString, "Mapping does not exit for platform \"%s\"", message->m_EntityId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString); } } if (rec->isActive) { // Node is already created, duplicate creation error. sprintf( errString, "Duplicate node creation for platform \"%s\"", message->m_EntityId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString); } // Set the generic data for the entity. The data that is common // to the entity and not specific to the mapping modes. rec->isActive = TRUE; // Check for invalid damage state if (message->m_State > SocketInterface_PlatformStateType_Damaged) { sprintf(errString, "Invalid State \"%d\"", message->m_State); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidState, errString); } // Fill in the entity data information rec->damageState = message->m_State; #ifdef DEBUG printf("(orig)damage state for entity %s create is [%d]\n", rec->entityId.c_str(), message->m_State); fflush(stdout); #endif // Set generic data. This is only used for printing the graph log and // nowhere else. rec->commTypes = 0; // Check for the coordinate system. Convert the system // if necessary, also convert velocity if speficied. if (data->coordinateSystem == SocketInterface_CoordinateSystemType_GccCartesian) { ConvertGCCCartesianToGCC( message->m_Position.m_C1, message->m_Position.m_C2, message->m_Position.m_C3, &c1, &c2, &c3); if (message->m_VelocitySpecified) { ConvertGCCCartesianVelocityToGCC( message->m_Position.m_C1, message->m_Position.m_C2, message->m_Position.m_C2, message->m_Velocity.m_C1, message->m_Velocity.m_C2, message->m_Velocity.m_C3, &v1, &v2, &v3); } } else { c1 = message->m_Position.m_C1; c2 = message->m_Position.m_C2; c3 = message->m_Position.m_C3; if (message->m_VelocitySpecified) { v1 = message->m_Velocity.m_C1; v2 = message->m_Velocity.m_C2; v3 = message->m_Velocity.m_C3; } } // Check if the message contains valid coordinates. If the // coordinates are not in range throw exception. The function below // checks for coordinates. if (data->coordinateSystem == SocketInterface_CoordinateSystemType_LatLonAlt) { HandleLatLonAltCoordinateValidity(iface, c1, c2, c3); } else if (data->coordinateSystem == SocketInterface_CoordinateSystemType_Cartesian) { HandleCartesianCoordinateValidity(iface, c1, c2, c3); } // Check for and assign the platform type. // Note: this is repeated for each node in the for loop if (message->m_TypeSpecified) { // Check for the type, if type = SocketInterface_PlatformType_Ground then set // MOBILITY-GROUND-NODE to true, else if the type is // SocketInterface_PlatformType_Air then set MOBILITY-GROUND-NODE to false. if (message->m_Type == SocketInterface_PlatformType_Ground) { rec->type = SocketInterface_PlatformType_Ground; } else if (message->m_Type == SocketInterface_PlatformType_Air) { rec->type = SocketInterface_PlatformType_Air; } else { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidMessage, "Platform type not supported yet"); } } else { // Default to ground rec->type = SocketInterface_PlatformType_Ground; } if (data->deterministicTiming) { // Parallel or not, this schedules the creation at the next // external-interface federation time. This adds delay, but // the delay will be consistent between par and seq. For example // a qualnet - interface step of 500 msecs will delay this create // to the next time advance. eventTime = EXTERNAL_QueryExternalTime(iface) + 1; } else { // Request the creation for right now. The ChangeNodePosition // event will be delayed by safeTime when running in parallel. eventTime = EXTERNAL_QuerySimulationTime(iface) + 1; } data->creates++; // Now update all node-specific data std::map<NodeId, Entity_NodeData>::iterator entityit; for (entityit = rec->nodes.begin(); entityit != rec->nodes.end(); entityit++) { Node* node = (entityit->second.node); // Check for and assign the platform type. // Note: this is done for the entire platform above the for loop if (message->m_TypeSpecified) { // Check for the type, if type = SocketInterface_PlatformType_Ground then set // MOBILITY-GROUND-NODE to true, else if the type is // SocketInterface_PlatformType_Air then set MOBILITY-GROUND-NODE to false. if (message->m_Type == SocketInterface_PlatformType_Ground) { node->mobilityData->groundNode = TRUE; } else if (message->m_Type == SocketInterface_PlatformType_Air) { node->mobilityData->groundNode = FALSE; } else { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidMessage, "Platform type not supported yet"); } } else { // Default to ground node->mobilityData->groundNode = TRUE; } #ifdef PARALLEL //Parallel { // Now Notify any other partitions so that they may also update // their mapping table. // Allocate a message for partition communication to signal // all the other platforms that we are creating an QualNet platform. // Info of this message is a copy of the QualNet creation message // PLUS the nodeId that has just been assigned for this entity Id. Message* createNotifyMsg = MESSAGE_Alloc( iface->partition->firstNode, PARTITION_COMMUNICATION, // special layer data->createPlatformCommunicator, // protocol PARTITION_MSG_CREATE_PLATFORM_NOTICE); MESSAGE_InfoAlloc( iface->partition->firstNode, createNotifyMsg, sizeof(SocketInterface_CreatePlatformNotificationInfo)); SocketInterface_CreatePlatformNotificationInfo* notificationMessage = (SocketInterface_CreatePlatformNotificationInfo*) MESSAGE_ReturnInfo(createNotifyMsg); notificationMessage->nodeId = node->nodeId; strcpy(notificationMessage->entityId, rec->entityId.c_str()); notificationMessage->damageState = rec->damageState; //message->m_State; notificationMessage->typeSpecified = SocketInterface_PlatformType_Unspecified; if (message->m_TypeSpecified) { notificationMessage->typeSpecified = message->m_Type; } // This triggers the receiving partitions to receive callbacks to // SocketInterface_PARALLEL_HandleCreatePlatformNotice () PARTITION_COMMUNICATION_SendToAllPartitions (iface->partition, createNotifyMsg, 0); } #endif //Parallel // Check for damage state condition. // If the state is damaged then do not activate the node. if (rec->damageState == SocketInterface_PlatformStateType_Undamaged) { EXTERNAL_ActivateNode(iface, node, EXTERNAL_SCHEDULE_SAFE); } // Add the system Group Stats. InitInterfaceSysStats( iface, node, rec, SocketInterface_TimestampToQualNet(iface, message->m_CreateTime)); SocketInterface_HandleMulticastChange( iface, node, eventTime, message->m_EntityId.c_str(), message->GetSocketId(), &message->m_MulticastGroups, NULL); // Now check for mobility condition. If the MOBILITY // parameter is set in QualNet, then external interface has // problem. The MOBILITY parameter must be set to NONE, // for the node to be mobilized using the EXTERNAL INTERFACE. if (node->mobilityData->mobilityType != NO_MOBILITY) { sprintf( errString, "Mobility is not NONE in the QualNet config file for node %d", node->nodeId); throw SocketInterface_Exception(SocketInterface_ErrorType_ConfigurationError, errString); } #ifdef DEBUG printf( "moving (creating) node %d to %f %f %f\n", node->nodeId, message->m_Position.m_C1, message->m_Position.m_C2, message->m_Position.m_C3); #endif // update the node position based on the CreatePlatform message // This will relocate the node regardless of what partition it is // on. Update orientation and velocity if specified. if (message->m_VelocitySpecified == FALSE) { EXTERNAL_ChangeNodePositionAtSimTime( iface, node, c1, c2, c3, eventTime); } else { EXTERNAL_ChangeNodePositionOrientationAndVelocityAtTime( iface, node, eventTime, c1, c2, c3, 0, //azimuth 0, //elevation v1, v2, v3); } } //end for each node in the platform } static void SocketInterface_HandleUpdatePlatform( EXTERNAL_Interface *iface, SocketInterface_UpdatePlatformMessage *message) { SocketInterface_InterfaceData *data; Coordinates coords; Vector3 velocity; char s[MAX_STRING_LENGTH]; char errString[MAX_STRING_LENGTH]; clocktype eventTime; Node* node = NULL; std::string entityId = message->m_EntityId; bool isIpAddress = false; // in case entityId in message is actually IP Address #ifdef DEBUG printf("SocketInterface_HandleUpdatePlatform for entityId %s\n", entityId.c_str()); #endif assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); if (!IsEntityIdString(entityId)) { // check if the entityId is an ip address NodeAddress nadd; //ip address BOOL isNodeId; IO_ParseNodeIdOrHostAddress(entityId.c_str(), &nadd, &isNodeId); if (!isNodeId && nadd != INVALID_MAPPING) { // lookup the nodeId that belongs to this Ip Address NodeId nodeId = MAPPING_GetNodeIdFromInterfaceAddress( iface->partition->firstNode, nadd); #ifdef DEBUG std::cout << "(SocketInterface_HandleUpdatePlatform) MAPPING_GetNodeIdFromInterfaceAddress returned " << nadd << " for entityId " << entityId << std::endl; #endif isIpAddress = true; // lookup Node* from nodeId node = EntityNodeLookup(&data->entityMapping, nodeId); } // else this is an entityId } data->updates++; if (data->deterministicTiming) { // Parallel or not, this schedules the update at the next // external-interface federation time. This adds delay, but // the delay will be consistent between par and seq. For example // a qualnet - interface step of 500 msecs will delay this update msg // until the next time advance. eventTime = iface->horizon + 1; } else { // Request the be scheduled update for right now. FYI, // The _ChangeNodePosition will delay by safeTime when running in parallel. eventTime = EXTERNAL_QuerySimulationTime(iface) + 1; } // Check if there is a later event time if (message->m_UpdateTimeSpecified) { clocktype messageTime = SocketInterface_TimestampToQualNet( iface, message->m_UpdateTime); if (messageTime > eventTime) { eventTime = messageTime; } } if (isIpAddress) { if (node != NULL) { SocketInterface_HandleMulticastChange( iface, node, eventTime, entityId.c_str(), message->GetSocketId(), &message->m_JoinMulticastGroups, &message->m_LeaveMulticastGroups); } } else // not by ip address --> update everything { EntityData* mapping = EntityMappingLookup(&data->entityMapping, (std::string)entityId); if (mapping == NULL) { sprintf( errString, "Mapping Failure for entity \"%s\"\n", entityId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, s); } if (message->m_SpeedSpecified) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidMessage, "Speed not supported yet"); } std::map<NodeId, Entity_NodeData>::iterator entityit; for (entityit = mapping->nodes.begin(); entityit != mapping->nodes.end(); entityit++) { node = (entityit->second.node); if (node == NULL) { sprintf(s, "Invalid Node in mapping: %s", entityId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, s); } // Update node in platform if state if specified if (message->m_StateSpecified) { // Check for invalid damage state if (message->m_State > SocketInterface_PlatformStateType_Damaged) { sprintf(s, "Invalid State \"%d\"", message->m_State); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidState, s); } if (mapping->damageState == SocketInterface_PlatformStateType_Undamaged && message->m_State == SocketInterface_PlatformStateType_Damaged) { EXTERNAL_DeactivateNode(iface, node, EXTERNAL_SCHEDULE_SAFE, eventTime); } else if (mapping->damageState == SocketInterface_PlatformStateType_Damaged && message->m_State == SocketInterface_PlatformStateType_Undamaged) { EXTERNAL_ActivateNode(iface, node, EXTERNAL_SCHEDULE_SAFE, eventTime); } } // Update position if specified in the message if (message->m_PositionSpecified) { // Check if Mobility is set to NONE if (node->mobilityData->mobilityType == NO_MOBILITY) { // Convert coordinates if necessary if (data->coordinateSystem == SocketInterface_CoordinateSystemType_GccCartesian) { ConvertGCCCartesianToGCC( message->m_Position.m_C1, message->m_Position.m_C2, message->m_Position.m_C3, &coords.common.c1, &coords.common.c2, &coords.common.c3); } else { coords.common.c1 = message->m_Position.m_C1; coords.common.c2 = message->m_Position.m_C2; coords.common.c3 = message->m_Position.m_C3; } #ifdef DEBUG printf("%lld p%d is moving %d to %f %f %f at event time %d\n", iface->partition->theCurrentTime, iface->partition->partitionId, node->nodeId, coords.common.c1, coords.common.c2, coords.common.c3, eventTime); #endif // Check for coordinate range validity if (data->coordinateSystem == SocketInterface_CoordinateSystemType_LatLonAlt) { HandleLatLonAltCoordinateValidity(iface, coords.common.c1, coords.common.c2, coords.common.c3); } // if velocity is specified, position update // will be handled in velocity update call if (message->m_VelocitySpecified == FALSE) { // Update the node's position EXTERNAL_ChangeNodePositionAtSimTime( iface, node, coords.common.c1, coords.common.c2, coords.common.c3, eventTime); } } else { sprintf( errString, "QualNet mobility is not set to NONE in QualNet configuration file."); throw SocketInterface_Exception(SocketInterface_ErrorType_ConfigurationError, errString); } } if (message->m_VelocitySpecified) { // Check if Mobility is set to NONE if (node->mobilityData->mobilityType == NO_MOBILITY) { // Convert coordinates if necessary if (data->coordinateSystem == SocketInterface_CoordinateSystemType_GccCartesian) { //if position is not specified, get current position //coordinates for conversion if (message->m_PositionSpecified == FALSE) { MOBILITY_ReturnCoordinates(node,&coords); } ConvertGCCCartesianVelocityToGCC( coords.common.c1, coords.common.c2, coords.common.c3, message->m_Velocity.m_C1, message->m_Velocity.m_C2, message->m_Velocity.m_C3, (double*) &velocity.x, (double*) &velocity.y, (double*) &velocity.z); } else { velocity.x = (double) message->m_Velocity.m_C1; velocity.y = (double) message->m_Velocity.m_C2; velocity.z = (double) message->m_Velocity.m_C3; } #ifdef DEBUG printf("%lld p%d is moving %d with velocity %fx %fy %fz\n", iface->partition->theCurrentTime, iface->partition->partitionId, node->nodeId, (double) velocity.x, (double) velocity.y, (double) velocity.z); #endif if (message->m_PositionSpecified) { EXTERNAL_ChangeNodePositionOrientationAndVelocityAtTime( iface, node, eventTime, coords.common.c1, coords.common.c2, coords.common.c3, 0, //azimuth 0, //elevation (double) velocity.x, (double) velocity.y, (double) velocity.z); } else { EXTERNAL_ChangeNodeVelocityAtTime( iface, node, eventTime, (double) velocity.x, (double) velocity.y, (double) velocity.z); } } else { sprintf( errString, "QualNet mobility is not set to NONE in QualNet configuration file."); throw SocketInterface_Exception(SocketInterface_ErrorType_ConfigurationError, errString); } } SocketInterface_HandleMulticastChange( iface, node, eventTime, message->m_EntityId.c_str(), message->GetSocketId(), &message->m_JoinMulticastGroups, &message->m_LeaveMulticastGroups); } // end for each node in the entity platform // Finally update the platform state if specified if (message->m_StateSpecified) { // Store state mapping->damageState = message->m_State; } } } static void SocketInterface_HandleRequestFailure( EXTERNAL_Interface *iface, EXTERNAL_TreeNode *record) { SocketInterface_PacketData *packetData; SocketInterface_CommEffectsResponseMessage* response; SocketInterface_InterfaceData *data; SocketInterface_Status state; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); packetData = (SocketInterface_PacketData*) record->data; if (data->alwaysSuccess) { state = SocketInterface_Status_Success; } else { state = SocketInterface_Status_Failure; } // Send a failure Response SocketInterface_TimeType latency; std::string receiver; std::string originator; receiver = packetData->receiver; originator = packetData->originator; latency = ((double) EXTERNAL_QuerySimulationTime(iface) - packetData->beginProcessingTime) / SECOND; response = new SocketInterface_CommEffectsResponseMessage(packetData->id1, packetData->id2, &originator, &receiver, state, (double) SocketInterface_Timestamp(iface) / SECOND, latency); response->SetDescription(packetData->description); if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId])) { SocketInterface_SendMessage(iface, response, packetData->socketId); // Update statistics data->responses++; data->failures++; } std::string str; response->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); // Set data to NULL so we know this was freed record->data = NULL; // Remove from request hash SocketInterface_PacketData* packetData2; packetData2 = data->requestHash.PeekRequest(packetData->hashId); assert(packetData2 == packetData); data->requestHash.RemoveHash(packetData->hashId); // Free memory delete packetData; // delete the response message delete response; } // non-static functions void SocketInterface_CreateLogFiles(EXTERNAL_Interface* iface, char* dir) { SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data; char fileName[MAX_STRING_LENGTH]; // Create driver log file sprintf(fileName, "%s/driver.log", dir); data->driverLogFile = fopen(fileName, "w"); ERROR_Assert(data->driverLogFile != NULL, "Could not create Socket Interface driver log file"); // Create responses log file sprintf(fileName, "%s/responses.log", dir); data->responsesLogFile = fopen(fileName, "w"); ERROR_Assert(data->responsesLogFile != NULL, "Could not create Socket Interface responses log file"); // Print header for the responses file SocketInterface_PrintLog( iface, data->responsesLogFile, "Socket Interface Responses Logfile\n", FALSE); // Create stats log file sprintf(fileName, "%s/stats.log", dir); data->statsLogFile = fopen(fileName, "w"); ERROR_Assert(data->statsLogFile != NULL, "Could not create Socket Interface stats log file"); // Print header for the stats file SocketInterface_PrintLog(iface, data->statsLogFile, "Socket Interface Stats Logfile\n", FALSE); // Create graph log file sprintf(fileName, "%s/graph.log", dir); data->graphLogFile = fopen(fileName, "w"); ERROR_Assert(data->graphLogFile != NULL, "Could not create QualNet graph log file"); // Print header for the graph file SocketInterface_PrintLog(iface, data->graphLogFile, "Socket Interface Graph Log\n", FALSE); // Create errors log file sprintf(fileName, "%s/errors.log", dir); data->errorsLogFile = fopen(fileName, "w"); ERROR_Assert(data->errorsLogFile != NULL, "Could not create Socket Interface errors log file"); // Print header for the graph file SocketInterface_PrintLog( iface, data->errorsLogFile, "Socket Interface Errors Logfile\n", FALSE); if (data->logPropagation) { // Create propagation log file sprintf(fileName, "%s/propagation.log", dir); data->propagationLogFile = fopen(fileName, "w"); ERROR_Assert(data->propagationLogFile != NULL, "Could not create Socket Interface propagation log file"); // Print header for the graph file SocketInterface_PrintLog( iface, data->propagationLogFile, "Socket Interface Propagation Logfile\n", FALSE); } } void SocketInterface_PrintLog(EXTERNAL_Interface *iface, FILE *f, const char *s, BOOL printTimestamp) { SocketInterface_InterfaceData *data; data = (SocketInterface_InterfaceData*) iface->data; // If file is NULL, logging is disabled if (f == NULL) { return; } if (!printTimestamp) { fprintf( f, "%s", s); } else if (data->logPrintRealTime) { fprintf( f, "[%10f %10f] %s", SocketInterface_Timestamp(iface) / 1000000000.0, iface->partition->wallClock->getTrueRealTimeAsDouble(), s); } else { fprintf( f, "[%10f] %s", SocketInterface_Timestamp(iface) / 1000000000.0, s); } if (data->automaticFlush) { fflush(f); } } struct NodeList { NodeAddress nodeId; int subnetId; std::vector<NodeAddress> nodes; std::vector<NodeAddress> raps; }; bool RegionComp(const NodeList& a, const NodeList& b) { return a.subnetId < b.subnetId; } static void SocketInterface_HandlePrintGraphLog( EXTERNAL_Interface* iface, EntityMapping* entityMapping, FILE* f) { SocketInterface_InterfaceData* socketData; Node *node; Coordinates coords; char s[200*MAX_STRING_LENGTH]; std::string multiAddrString = ""; unsigned i; std::vector<NodeList> regionMembership; std::vector<NodeAddress> inOtherRegion; std::map<int, std::vector<NodeAddress> > gateways; std::vector<NodeList>::iterator it; std::vector<NodeList>::iterator it2; std::vector<NodeAddress>::iterator it3; assert(iface != NULL); socketData = (SocketInterface_InterfaceData*) iface->data; assert(socketData != NULL); // If file is NULL, logging is disabled if (f == NULL) { return; } sprintf(s, "=============================================================\n"); SocketInterface_PrintLog(iface, f, s); EntityData* mapping; for (node = iface->partition->firstNode; node != NULL; node = node->nextNodeData) { // Skip this node if it doesn't map to an entity, or if the entity // is not yet created mapping = EntityMappingLookup( entityMapping, node->nodeId); if (mapping == NULL) { continue; } if (!mapping->isActive) { continue; } std::map<NodeId, Entity_NodeData>::iterator entityit; for (entityit = mapping->nodes.begin(); entityit != mapping->nodes.end(); entityit++) { Node* entityNode = (entityit->second.node); if (entityNode != node) { continue; } sprintf( s, "EntityID: %-15s NodeID: %d\n", mapping->entityId.c_str(), entityNode->nodeId ); SocketInterface_PrintLog(iface, f, s); MOBILITY_ReturnCoordinates(node, &coords); if (socketData->coordinateSystem == SocketInterface_CoordinateSystemType_Cartesian) { sprintf( s, " Location: X = %f, Y = %f, Z = %f\n", coords.common.c1, coords.common.c2, coords.common.c3); } else { sprintf( s, " Location: LAT = %f, LON = %f, ALT = %f\n", coords.common.c1, coords.common.c2, coords.common.c3); } SocketInterface_PrintLog(iface, f, s); sprintf(s, " Type: "); SocketInterface_PrintLog(iface, f, s); if (mapping->type == SocketInterface_PlatformType_Ground) { fputs("Ground\n", f); } else if (mapping->type == SocketInterface_PlatformType_Air) { fputs("Air\n", f); } else { fputs("Unknown\n", f); } } // Check that routing protocol is part of JNE #ifdef JNE_LIB NetworkDataIp *ip = (NetworkDataIp *) node->networkData.networkVar; RoutingCesMalsrData* malsrData = ip->routingCesMalsrData; EntityData* rec; BOOL routingProtocolUsed = TRUE; int nodeID; int subnetId; char addressString[MAX_STRING_LENGTH]; Address address; NodeList* list; assert (ip != NULL); if (malsrData == NULL) { routingProtocolUsed = FALSE; } if (routingProtocolUsed) { // Now to Print the RAP for (int i = 0; i < node->numberInterfaces; i++) { if (malsrData->activeOnInterfaceList[i]) { if (NetworkCesRegionIsRap(node, i)) { //Print the interface Address. NetworkGetInterfaceInfo(node, i , &address); IO_ConvertIpAddressToString(&address, addressString); sprintf(s, " Interface: %s ", addressString); SocketInterface_PrintLog(iface, f, s); //Print the subnet id subnetId = NetworkCesSubnetGetId (node, i); sprintf(s, " Subnet Id: %d [RAP]", subnetId); fputs(s, f); sprintf(s, " Members: "); fputs (s, f); RoutingCesMalsrInterface* malsr = &malsrData->iface[i]; // Create region list list = new NodeList; list->nodeId = node->nodeId; list->subnetId = subnetId; list->nodes.push_back(node->nodeId); list->raps.push_back(node->nodeId); vector<NodeAddress>::iterator iter; #ifdef MEMBER_UPDATE RoutingCesMalsrUpdateRegionMemberList(node, i); #endif if (malsr->regionMemberList) { if (malsr->numRegionMembers > 0) { iter = malsr->regionMemberList->begin(); while (iter != malsr->regionMemberList->end()) { nodeID = *iter; rec = EntityMappingLookup(entityMapping, nodeID); if (rec == NULL) { continue; } sprintf (s, "%s ", rec->entityId.c_str()); fputs (s, f); list->nodes.push_back(nodeID); ++iter; } } } // Add region list regionMembership.push_back(*list); delete list; fputs ("\n", f); } else { //Print the interface Address. NetworkGetInterfaceInfo(node, i , &address); IO_ConvertIpAddressToString(&address, addressString); sprintf(s, " Interface: %s ", addressString); SocketInterface_PrintLog(iface, f, s); //Print the subnet id subnetId = NetworkCesSubnetGetId (node, i); sprintf(s, " Subnet Id: %d ", subnetId); fputs(s, f); fputs ("\n", f); } } } } #endif //fputs ("\n", data->graphLogFile); sprintf(s, " Is Gateway: "); SocketInterface_PrintLog(iface, f, s); BOOL isGateway = FALSE; #ifdef JNE_LIB if (routingProtocolUsed) { if (NetworkCesSubnetIsTrueGateway(node)) { for (int i = 0; i < node->numberInterfaces; i++) { subnetId = NetworkCesSubnetGetId (node, i); if (!isGateway) { fputs(" Yes, subnets", f); isGateway = TRUE; } sprintf(s, " %d", subnetId); fputs (s, f); gateways[subnetId].push_back(node->nodeId); } } } #endif if (!isGateway) { fputs("No\n", f); } else { fputs("\n", f); } // Print multicast groups // TODO: this code has a buffer overflow strcpy(s, " Multicast Groups: "); GetMulticastGroups(node, multiAddrString); strcat(s, multiAddrString.c_str()); strcat(s, "\n"); SocketInterface_PrintLog(iface, f, s); } if (regionMembership.size() > 0) { // Sort region for (it = regionMembership.begin(); it != regionMembership.end(); it++) { sort(it->nodes.begin(), it->nodes.end()); } // Check for identical regions for (it = regionMembership.begin(); it != regionMembership.end(); it++) { for (it2 = it + 1; it2 != regionMembership.end(); it2++) { // Compare different regions that are the same size if (it->nodes.size() == it2->nodes.size()) { BOOL same = TRUE; for (i = 0; i < it->nodes.size(); i++) { if (it->nodes[i] != it2->nodes[i]) { same = FALSE; break; } } // If they are the same, get rid of other region if (same) { inOtherRegion.push_back(it2->nodeId); it->raps.push_back(it2->nodeId); } } } } // Sort regions by subnet sort(regionMembership.begin(), regionMembership.end(), RegionComp); //f = stdout; SocketInterface_PrintLog(iface, f, "Region Summary. Platforms in parenthesis are RAPs.\n"); int lastSubnet = -1; for (it = regionMembership.begin(); it != regionMembership.end(); it++) { NodeAddress regionId = it->nodeId; if (find(inOtherRegion.begin(), inOtherRegion.end(), regionId) != inOtherRegion.end()) { continue; } if (it->subnetId != lastSubnet) { sprintf(s, " Subnet %d", it->subnetId); SocketInterface_PrintLog(iface, f, s); lastSubnet = it->subnetId; if (gateways[it->subnetId].size() > 0) { fprintf(f, ", gateways"); for (it3 = gateways[it->subnetId].begin(); it3 != gateways[it->subnetId].end(); it3++) { mapping = EntityMappingLookup( entityMapping, *it3); if (mapping == NULL) { continue; } if (!mapping->isActive) { continue; } fprintf(f, " %s", mapping->entityId.c_str()); } } fprintf(f, "\n"); } // Print RAPs for this region. The node list nodeId will always // be equal o the first member of the rap list mapping = EntityMappingLookup( entityMapping, it->nodeId); if (mapping == NULL) { continue; } if (!mapping->isActive) { continue; } sprintf(s, " (%s", mapping->entityId.c_str()); SocketInterface_PrintLog(iface, f, s); // Print rest of RAPs for this region for (i = 1; i < it->raps.size(); i++) { mapping = EntityMappingLookup( entityMapping, it->raps[i]); if (mapping == NULL) { continue; } if (!mapping->isActive) { continue; } fprintf(f, " %s", mapping->entityId.c_str()); } fprintf(f, ")"); for (i = 0; i < it->nodes.size(); i++) { NodeAddress nodeId = it->nodes[i]; // Only print if it's not a rap for this region if (find(it->raps.begin(), it->raps.end(), nodeId) == it->raps.end()) { mapping = EntityMappingLookup( entityMapping, nodeId); if (mapping == NULL) { continue; } if (!mapping->isActive) { continue; } fprintf(f, " %s", mapping->entityId.c_str()); } } fprintf(f, "\n"); } } } void SocketInterface_PrintGraph( EXTERNAL_Interface *iface, EntityMapping* entityMapping, FILE *f) { assert(iface != NULL); SocketInterface_InterfaceData* socketData; socketData = (SocketInterface_InterfaceData*) iface->data; assert(socketData != NULL); //Helper function for printing graph SocketInterface_HandlePrintGraphLog(iface,entityMapping, f); #ifdef PARALLEL //Parallel { Message* graphPrintNotifyMsg = MESSAGE_Alloc ( iface->partition->firstNode, PARTITION_COMMUNICATION, // special layer socketData->printGraphLogCommunicator, // protocol PARTITION_MSG_PRINT_GRAPHLOG_NOTICE); // This triggers the receiving partitions to receive callbacks to PARTITION_COMMUNICATION_SendToAllPartitions (iface->partition, graphPrintNotifyMsg, 0); } #endif //Parallel } void SocketInterface_PrintStats(EXTERNAL_Interface *iface) { SocketInterface_InterfaceData *data; int totalMessages; double realTimePassed; double lastRealTimePassed; char s[MAX_STRING_LENGTH]; char s2[MAX_STRING_LENGTH]; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); sprintf(s, "Performance Stats for Time Interval: SimTime = %f\n", (double) SocketInterface_Timestamp(iface) / SECOND); SocketInterface_PrintLog(iface, data->statsLogFile, s); realTimePassed = (double) (EXTERNAL_QueryRealTime(iface) - data->firstStatsUpdateRealTime) / SECOND; lastRealTimePassed = (double) (EXTERNAL_QueryRealTime(iface) - data->lastStatsUpdateRealTime) / SECOND; sprintf( s, "Current Sim Time[s] = %14.2f Real Time[s] = %7.2f\n", (double) SocketInterface_Timestamp(iface) / SECOND, (double) realTimePassed); SocketInterface_PrintLog(iface, data->statsLogFile, s); fputs(s, stdout); totalMessages = data->creates + data->updates + data->requests; sprintf( s, " Creates = %d, Updates = %d, Requests = %d, Messages = %d\n", data->creates, data->updates, data->requests, totalMessages); SocketInterface_PrintLog(iface, data->statsLogFile, s); fputs(s, stdout); sprintf( s, " Responses = %d, Successes = %d, Failures = %d\n", data->successes + data->failures, data->successes, data->failures); SocketInterface_PrintLog(iface, data->statsLogFile, s); fputs(s, stdout); sprintf( s, " Avg Mesg/Sec = %.2f, Succ = %.2f, Fail = %.2f (%.2f late)\n", totalMessages / realTimePassed, data->successes / realTimePassed, data->failures / realTimePassed, data->successfulFailures / realTimePassed); SocketInterface_PrintLog(iface, data->statsLogFile, s); fputs(s, stdout); sprintf( s, " Last Mesg/sec = %.2f, Succ = %.2f, Fail = %.2f (%.2f late)\n", (totalMessages - data->lastTotalMessages) / lastRealTimePassed, (data->successes - data->lastSuccesses) / lastRealTimePassed, (data->failures - data->lastFailures) / lastRealTimePassed, (data->successfulFailures - data->lastSuccessfulFailures) / lastRealTimePassed); SocketInterface_PrintLog(iface, data->statsLogFile, s); fputs(s, stdout); if (data->totalPackets > 0) { sprintf( s, " Avg Real Time Speed = %.2f, ", 1.0 / (data->totalRealTimeSpeed / data->totalPackets)); } else { sprintf( s, " Avg Real Time Speed = No Packets, "); } if (data->totalPackets - data->lastTotalPackets > 0) { sprintf( s2, "Last Real Time Speed = %.2f\n", 1.0 / ((data->totalRealTimeSpeed - data->lastTotalRealTimeSpeed) / (data->totalPackets - data->lastTotalPackets))); } else { sprintf( s2, "Last Real Time Speed = No Packets\n"); } strcat(s, s2); SocketInterface_PrintLog(iface, data->statsLogFile, s); fputs(s, stdout); data->lastTotalMessages = totalMessages; data->lastTotalPackets = data->totalPackets; data->lastTotalRealTimeSpeed = data->totalRealTimeSpeed; data->lastResponses = data->responses; data->lastSuccesses = data->successes; data->lastFailures = data->failures; data->lastSuccessfulFailures = data->successfulFailures; } void SocketInterface_ReceiveSerializedMessage( EXTERNAL_Socket* s, SocketInterface_SerializedMessage* message) { SocketInterface_Header header; unsigned int length; unsigned int recvLength; UInt32 messageLength; EXTERNAL_SocketErrorType err; if (s->socketFd < 0) { throw SocketInterface_Exception( SocketInterface_ErrorType_SocketError, "Invalid socket in SocketInterface_ReceiveSerializedMessage"); } // Attempt to receive the message header. If not then return with an // empty message size. message->m_Size = 0; length = SOCKET_INTERFACE_HEADER_SIZE; err = EXTERNAL_SocketRecv( s, (char*) &header, SOCKET_INTERFACE_HEADER_SIZE, &recvLength, FALSE); if (err == EXTERNAL_NoSocketError && recvLength == 0) { // No data, return message->m_Size = 0; return; } else if (err != EXTERNAL_NoSocketError || length != recvLength) { throw SocketInterface_Exception( SocketInterface_ErrorType_SocketError, "Error receiving message header"); } messageLength = header.messageSize; EXTERNAL_ntoh(&messageLength, sizeof(UInt32)); // Make sure message can hold enough info and add header if (messageLength < sizeof(SocketInterface_Header)) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidMessage, "Received a QualNet header packet with too small of size."); } message->Resize(messageLength); message->AddData((UInt8*) &header, sizeof(SocketInterface_Header), FALSE); // Receive rest of message (if more than a header) if (message->m_Size > SOCKET_INTERFACE_HEADER_SIZE) { // Read the rest of the message into the array length = message->m_Size - SOCKET_INTERFACE_HEADER_SIZE; err = EXTERNAL_SocketRecv( s, (char*) &message->m_Data[SOCKET_INTERFACE_HEADER_SIZE], length, &recvLength); if (err != EXTERNAL_NoSocketError || length != recvLength) { message->m_Size = 0; throw SocketInterface_Exception( SocketInterface_ErrorType_SocketError, "Error receiving message body"); } } } void SocketInterface_HandlePropagationFailureSender( PartitionData *partition, NodeAddress destNodeId, Message *msg, double pathloss) { SocketInterface_InterfaceData *data; Node *node; Node *destNode; Coordinates nodeCoords; Coordinates destNodeCoords; char str[MAX_STRING_LENGTH]; CoordinateType d; // gHaveSocketIface will be NULL if this interface is not being used if (!gHaveSocketIface) { return; } EXTERNAL_Interface * socketIface; socketIface = partition->interfaceTable [EXTERNAL_SOCKET]; // Extract the QualNet data from this interface data = (SocketInterface_InterfaceData*) socketIface->data; // Only log if parameter is set if (!data->logPropagation) { return; } // Get the pointer to the source/destination node node = MAPPING_GetNodePtrFromHash( partition->nodeIdHash, msg->originatingNodeId); destNode = MAPPING_GetNodePtrFromHash( partition->nodeIdHash, destNodeId); // Check the MAC header to make sure it is being sent to this node if (!IsMyMac(destNode, msg)) { return; } // Get the node coordinates MOBILITY_ReturnCoordinates(node, &nodeCoords); MOBILITY_ReturnCoordinates(destNode, &destNodeCoords); // Calculate distance between 2 positions COORD_CalcDistance( partition->terrainData->getCoordinateSystem(), &nodeCoords, &destNodeCoords, &d); sprintf( str, "PS: N1: %s N2: %s D: %f TPL: %f\n", (MappingGetEntityId(&data->entityMapping, msg->originatingNodeId)).c_str(), (MappingGetEntityId(&data->entityMapping, destNodeId)).c_str(), d, pathloss); SocketInterface_PrintLog(socketIface, data->propagationLogFile, str); sprintf(str, " C1: (%f, %f %f) C2: (%f, %f, %f)\n", nodeCoords.common.c1, nodeCoords.common.c2, nodeCoords.common.c3, destNodeCoords.common.c1, destNodeCoords.common.c2, destNodeCoords.common.c3); SocketInterface_PrintLog(socketIface, data->propagationLogFile, str); sprintf(str, " S: N\n"); SocketInterface_PrintLog(socketIface, data->propagationLogFile, str); } static double CalculatePathloss( Node *node1, Node *node2, Message *msg) { const int channelIndex = MESSAGE_GetInstanceId(msg); assert(channelIndex < node1->numberChannels); const int txNodeListId = node1->propData[channelIndex].nodeListId; PropPathProfile *profile = &(node1->propData[channelIndex].pathProfile[txNodeListId]); PropChannel *propChannel = &(node1->partitionData->propChannel[channelIndex]); double wavelength = propChannel->profile->wavelength; float txAntennaHeight; float rxAntennaHeight; double pathloss_dB; // should be time and phy dependent txAntennaHeight = ANTENNA_ReturnHeight(node1, 0); rxAntennaHeight = ANTENNA_ReturnHeight(node2, 0); // The urban prop models require the txAntennaGain and txPower double txPower_dBm; double txPower_mW; double txAntennaGain_dBi; PHY_GetTransmitPower(node2, channelIndex, &txPower_mW); txPower_dBm = 10.*log10(txPower_mW); txAntennaGain_dBi = ANTENNA_GainForThisDirectionWithPatternIndex( node2, channelIndex, ANTENNA_OMNIDIRECTIONAL_PATTERN, profile->txDOA); PROP_CalculatePathloss( node1, node1->nodeId, node2->nodeId, channelIndex, wavelength, txAntennaHeight, rxAntennaHeight, profile, &pathloss_dB); return pathloss_dB; } void SocketInterface_HandlePropagationFailureReceiver( Node *node, Message *msg, double sinr) { SocketInterface_InterfaceData *data; Node *sourceNode; Coordinates nodeCoords; Coordinates sourceNodeCoords; char str[MAX_STRING_LENGTH]; CoordinateType d; double pathloss; // gCesIface will be NULL if this interface is not being used if (!gHaveSocketIface) { return; } // Extract the QualNet data from this interface EXTERNAL_Interface * socketIface; socketIface = node->partitionData->interfaceTable [EXTERNAL_SOCKET]; data = (SocketInterface_InterfaceData*) socketIface->data; // Only log if parameter is set if (!data->logPropagation) { return; } // Get the pointer to the source/destination node sourceNode = MAPPING_GetNodePtrFromHash( node->partitionData->nodeIdHash, msg->originatingNodeId); // Check the MAC header to make sure it is being sent to this node if (!IsMyMac(node, msg)) { return; } // Get the node coordinates MOBILITY_ReturnCoordinates(node, &nodeCoords); MOBILITY_ReturnCoordinates(sourceNode, &sourceNodeCoords); // Calculate distance between 2 positions COORD_CalcDistance( node->partitionData->terrainData->getCoordinateSystem(), &nodeCoords, &sourceNodeCoords, &d); // Calculate pathloss pathloss = CalculatePathloss( sourceNode, node, msg); sprintf( str, "PR: N1: %s N2: %s D: %f TPL: %f\n", (MappingGetEntityId(&data->entityMapping, msg->originatingNodeId)).c_str(), (MappingGetEntityId(&data->entityMapping, node->nodeId)).c_str(), d, pathloss); SocketInterface_PrintLog(socketIface, data->propagationLogFile, str); sprintf(str, " C1: (%f, %f %f) C2: (%f, %f, %f)\n", sourceNodeCoords.common.c1, sourceNodeCoords.common.c2, sourceNodeCoords.common.c3, nodeCoords.common.c1, nodeCoords.common.c2, nodeCoords.common.c3); SocketInterface_PrintLog(socketIface, data->propagationLogFile, str); sprintf(str, " SINR: %f S: N\n", sinr); SocketInterface_PrintLog(socketIface, data->propagationLogFile, str); } void SocketInterface_HandlePropagationSuccessReceiver( Node *node, Message *msg, double sinr) { SocketInterface_InterfaceData *data; Node *sourceNode; Coordinates nodeCoords; Coordinates sourceNodeCoords; char str[MAX_STRING_LENGTH]; CoordinateType d; double pathloss; // gCesIface will be NULL if this interface is not being used if (!gHaveSocketIface) { return; } EXTERNAL_Interface * socketIface; socketIface = node->partitionData->interfaceTable [EXTERNAL_SOCKET]; // Extract the QualNet data from this interface data = (SocketInterface_InterfaceData*) socketIface->data; // Only log if parameter is set if (!data->logPropagation) { return; } // Get the pointer to the source/destination node sourceNode = MAPPING_GetNodePtrFromHash( node->partitionData->nodeIdHash, msg->originatingNodeId); // Check the MAC header to make sure it is being sent to this node if (!IsMyMac(node, msg)) { return; } // Get the node coordinates MOBILITY_ReturnCoordinates(node, &nodeCoords); MOBILITY_ReturnCoordinates(sourceNode, &sourceNodeCoords); // Calculate distance between 2 positions COORD_CalcDistance( node->partitionData->terrainData->getCoordinateSystem(), &nodeCoords, &sourceNodeCoords, &d); // Calculate pathloss pathloss = CalculatePathloss( sourceNode, node, msg); std::string originatorentityid = MappingGetEntityId(&data->entityMapping, msg->originatingNodeId); std::string nodeentityid = MappingGetEntityId(&data->entityMapping, node->nodeId); sprintf( str, "PR: N1: %s N2: %s D: %f TPL: %f\n", originatorentityid.c_str(), nodeentityid.c_str(), d, pathloss); SocketInterface_PrintLog(socketIface, data->propagationLogFile, str); sprintf(str, " C1: (%f, %f %f) C2: (%f, %f, %f)\n", sourceNodeCoords.common.c1, sourceNodeCoords.common.c2, sourceNodeCoords.common.c3, nodeCoords.common.c1, nodeCoords.common.c2, nodeCoords.common.c3); SocketInterface_PrintLog(socketIface, data->propagationLogFile, str); sprintf(str, " SINR: %f S: Y\n", sinr); SocketInterface_PrintLog(socketIface, data->propagationLogFile, str); } // Partition 0 has sent us notification that a platform has been created. // We will update our entity mapping data structure so that we know // the associations between the node id and the entity id static void SocketInterface_HandleCreatePlatformNotification( EXTERNAL_Interface *iface, SocketInterface_CreatePlatformNotificationInfo* notificationMessage) { SocketInterface_InterfaceData *data; char errString[MAX_STRING_LENGTH]; ERROR_Assert(iface != NULL, "Interface undefined!"); data = (SocketInterface_InterfaceData*) iface->data; ERROR_Assert(data != NULL, "SocketInterface_InterfaceData undefined!"); std::string entityId = notificationMessage->entityId; #ifdef DEBUG printf("[partition %d] SocketInterface_HandleCreatePlatformNotification for entityId %s & node %d\n", iface->partition->partitionId, entityId.c_str(), notificationMessage->nodeId); fflush(stdout); #endif if (strcmp( notificationMessage->entityId, "") == 0) { // Invalid paramter, should have an entity id. // Throw an exception sprintf( errString, "Invalid Entity Id Parameter \"%s\"", notificationMessage->entityId); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString); } //EntityData* rec = data->entityMapping.entities[notificationMessage->entityId]; EntityData* rec = EntityMappingLookup(&data->entityMapping, notificationMessage->entityId); if (data->entityMapping.dynamic) { // For the dynamic case, assume one-to-one mapping // If the mapping already exists, then we have a problem if (rec != NULL) { sprintf( errString, "Mapping for the EntityId already exists \"%s\"", notificationMessage->entityId); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString); } // Assign the entityId for the node ID that we've from the notificaiton. rec = EntityMappingAddToPlatform( &data->entityMapping, (std::string)notificationMessage->entityId, notificationMessage->nodeId); if (rec == NULL) { sprintf(errString, "Mapping Failure, Free Nodes unavailable \"%s\"", errString); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString); } } else // static case { // Record should already exist if (rec == NULL) { // Mapping does not exists. We have an error. sprintf(errString, "Mapping does not exist for platform \"%s\"", notificationMessage->entityId); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidEntityId, errString); } } #ifdef DEBUG printf("damage state for node %d is [%d]\n", notificationMessage->nodeId, notificationMessage->damageState); fflush(stdout); #endif // Check for invalid damage state if (notificationMessage->damageState > SocketInterface_PlatformStateType_Damaged) { sprintf(errString, "Invalid Damage State \"%d\" for node %d", notificationMessage->damageState, notificationMessage->nodeId); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidState, errString); } // Fill in the entity data information rec->damageState = notificationMessage->damageState; // Check for the entity Id vs the message Id if (rec->entityId == notificationMessage->entityId) { // Match found, set the node active. rec->isActive = TRUE; } /* temp // Deal with node type if the create platform indicated a type. if (notificationMessage->typeSpecified != SocketInterface_PlatformType_Unspecified) { if (notificationMessage->typeSpecified == SocketInterface_PlatformType_Ground) { rec->type = SocketInterface_PlatformType_Ground; } else if (notificationMessage->typeSpecified == SocketInterface_PlatformType_Air) { rec->type = SocketInterface_PlatformType_Air; } } else { // Default to ground node rec->type = SocketInterface_PlatformType_Ground; } */ std::map<NodeId, Entity_NodeData>::iterator entityit; for (entityit = rec->nodes.begin(); entityit != rec->nodes.end(); entityit++) { Node* node = (entityit->second.node); // Deal with node type if the create platform indicated a type. if (notificationMessage->typeSpecified != SocketInterface_PlatformType_Unspecified) { if (notificationMessage->typeSpecified == SocketInterface_PlatformType_Ground) { node->mobilityData->groundNode = TRUE; rec->type = SocketInterface_PlatformType_Ground; } else if (notificationMessage->typeSpecified == SocketInterface_PlatformType_Air) { node->mobilityData->groundNode = FALSE; rec->type = SocketInterface_PlatformType_Air; } } else { // Default to ground node node->mobilityData->groundNode = TRUE; rec->type = SocketInterface_PlatformType_Ground; } } // end for each node in the platform } void SocketInterface_HandleGraphLogNotification( EXTERNAL_Interface *iface) { EntityMapping* entityMapping; FILE* f; SocketInterface_InterfaceData* socketData; std::vector<NodeList> regionMembership; std::vector<NodeAddress> inOtherRegion; std::map<int, std::vector<NodeAddress> > gateways; std::vector<NodeList>::iterator it; std::vector<NodeList>::iterator it2; std::vector<NodeAddress>::iterator it3; assert(iface != NULL); socketData = (SocketInterface_InterfaceData*) iface->data; assert(socketData != NULL); entityMapping = &socketData->entityMapping; f = socketData->graphLogFile; SocketInterface_HandlePrintGraphLog(iface, entityMapping, f); } /* * FUNCTION UpdateMulticastModelSingleReceiver * PURPOSE Handles updates to multicast comm.effects model for a single receiver, * for a specific multicast packet's comm. effects * Parameters: * packetData: Pointer to the SocketInterface_PacketData structure, * effects: Pointer to the multicast modeled effects structure for a single receiver. */ void SocketInterface_UpdateTempMulticastModelSingleReceiver( SocketInterface_PacketData *packetData, SocketInterface_MulticastModeledReceiverCommEffects *effects) { SocketInterface_MulticastModeledReceiverCommEffects *tempEffects; SocketInterface_MulticastModeledReceiversCommEffects::iterator it; assert(packetData != NULL); assert(effects != NULL); assert(packetData->multicast == TRUE); assert(packetData->effects != NULL); // Insert if the effects hashmap is empty if (packetData->effects->empty()) { tempEffects = (SocketInterface_MulticastModeledReceiverCommEffects*) MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); memcpy(tempEffects,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); packetData->effects->insert(pair<const NodeAddress *, SocketInterface_MulticastModeledReceiverCommEffects *> (&(tempEffects->receivingPlatformAddress), tempEffects)); } else { it = packetData->effects->find(&(effects->receivingPlatformAddress)); // Insert if effects hashmap is non-empty but does not contain the receiver model if (it == packetData->effects->end()) { tempEffects = (SocketInterface_MulticastModeledReceiverCommEffects*) MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); memcpy(tempEffects,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); packetData->effects->insert(pair<const NodeAddress *, SocketInterface_MulticastModeledReceiverCommEffects *> (&(tempEffects->receivingPlatformAddress), tempEffects)); } // Update if effects hashmap is non-empty and does contain the receiver model else { if (it->second == NULL) { it->second = (SocketInterface_MulticastModeledReceiverCommEffects*) MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); } memcpy(it->second,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); } } } /* * This function is a callback that is invoked when , SocketInterface_HandleCreatePlatform (), * (on partition 0) sends a partition communication message to notify * all partitions about the creation of the platform. */ static void SocketInterface_PARALLEL_HandleCreatePlatformNotice (PartitionData * partitionData, Message * message) { // We are being notified (by partition 0) that a platform has // been created - perform all the normal steps when creating a // platform, _except_ we are being told wihch nodeId has been // assigned for the entityId. EXTERNAL_Interface * iface = partitionData->interfaceTable [EXTERNAL_SOCKET]; SocketInterface_CreatePlatformNotificationInfo * notificationMessage = (SocketInterface_CreatePlatformNotificationInfo *) MESSAGE_ReturnInfo ( message); SocketInterface_HandleCreatePlatformNotification(iface, notificationMessage); MESSAGE_Free(partitionData->firstNode, message); } static void SocketInterface_PARALLEL_HandleGraphLogNotice (PartitionData * partitionData, Message * message) { EXTERNAL_Interface * iface = partitionData->interfaceTable [EXTERNAL_SOCKET]; SocketInterface_HandleGraphLogNotification(iface); MESSAGE_Free(partitionData->firstNode, message); } //--------------------------------------------------------------------------- // External Interface API Functions //--------------------------------------------------------------------------- void SocketInterface_Initialize( EXTERNAL_Interface *iface, NodeInput *nodeInput) { SocketInterface_InterfaceData *data; // Verify sizes assert(sizeof(SocketInterface_Header) == SOCKET_INTERFACE_HEADER_SIZE); assert(sizeof(SocketInterface_OptionHeader) == SOCKET_INTERFACE_OPTION_HEADER_SIZE); assert(sizeof(SocketInterface_Coordinates) == SOCKET_INTERFACE_COORDINATE_SIZE); gHaveSocketIface = true; // Create SocketInterface_InterfaceData for this iface data = new SocketInterface_InterfaceData; #ifdef PARALLEL //Parallel data->createPlatformCommunicator = PARTITION_COMMUNICATION_RegisterCommunicator(iface->partition, "SOCKET-INTERFACe notice create platform", SocketInterface_PARALLEL_HandleCreatePlatformNotice); data->printGraphLogCommunicator = PARTITION_COMMUNICATION_RegisterCommunicator(iface->partition, "SOCKET-INTERFACE notice Socket_Print graph", SocketInterface_PARALLEL_HandleGraphLogNotice); #endif //Parallel // Initial state is standby data->simulationState = SocketInterface_StateType_Standby; // Initial state is NoServer data->qualnetMode = SocketInterface_ModeType_NoBootStrap; // At the start of the simulation we should wait for a time advance // before we begin processing events data->waitingForTimeAdvance = TRUE; // Set the default values. Some of these will be over-ridden by the user // in the InitializeNodes function. data->timeManagement = SocketInterface_TimeManagementType_TimeManaged; data->paused = FALSE; data->resetting = FALSE; data->idleSentRealTime = 0; data->timeAllowance = 0; data->idleWhenResponseSent = FALSE; data->doWarmup = FALSE; data->inIdleResponse = FALSE; data->alwaysSuccess = FALSE; data->cpuHog = FALSE; data->firstBoundary = 0; data->lastBoundary = 0; data->totalPackets = 0; data->totalRealTimeSpeed = 0.0; data->firstStatsUpdateRealTime = 0; data->firstStatsUpdateSimTime = 0; data->nextStatsUpdate = 0; data->lastTotalMessages = 0; data->lastTotalRealTimeSpeed = 0.0; data->lastTotalPackets = 0; data->lastResponses = 0; data->lastSuccesses = 0; data->lastFailures = 0; data->lastSuccessfulFailures = 0; data->lastStatsUpdateRealTime = 0; data->lastStatsUpdateSimTime = 0; data->nextGraphUpdate = 0; data->printPerPacketStats = FALSE; data->gotFirstAdvance = FALSE; data->creates = 0; data->updates = 0; data->requests = 0; data->responses = 0; data->successes = 0; data->failures = 0; data->successfulFailures = 0; data->deterministicTiming = 0; //memset(&data->entityMapping, 0, sizeof(data->entityMapping)); memset(&data->requestTree, 0, sizeof(data->requestTree)); memset(&data->multicastTree, 0, sizeof(data->multicastTree)); data->tcpFailureTimeout = SOCKET_INTERFACE_DEFAULT_TCP_FAILURE_TIMEOUT; data->udpFailureTimeout = SOCKET_INTERFACE_DEFAULT_UDP_FAILURE_TIMEOUT; data->advanceBoundaries = SOCKET_INTERFACE_DEFAULT_ADVANCE_BOUNDARIES; data->coordinateSystem = SocketInterface_CoordinateSystemType_Cartesian; data->automaticFlush = TRUE; data->driverLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE; data->responsesLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE; data->statsLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE; data->graphLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE; data->errorsLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE; data->propagationLogFile = SOCKET_INTERFACE_DEFAULT_LOG_FILE; data->logPrintRealTime = FALSE; data->statsPrintRealTime = SOCKET_INTERFACE_DEFAULT_STATS_PRINT_REAL_TIME; data->statsPrintInterval = SOCKET_INTERFACE_DEFAULT_STATS_PRINT_INTERVAL; data->firstStatsUpdate = TRUE; data->graphPrintRealTime = SOCKET_INTERFACE_DEFAULT_GRAPH_PRINT_REAL_TIME; data->graphPrintInterval = SOCKET_INTERFACE_DEFAULT_GRAPH_PRINT_INTERVAL; data->firstGraphUpdate = TRUE; data->logPropagation = FALSE; data->inInitializePhase = FALSE; // Initialize socket structure. Will be completed in InitializeNodes. data->sockets.numPorts = 0; data->pauseSendZeroDelay = FALSE; data->pauseAdvanceSimTime = FALSE; // Tree must use it's memory pool (tree nodes are recycled) so that // data field of nodes can be read from post-free. EXTERNAL_TreeInitialize(&data->requestTree, TRUE, 0); EXTERNAL_TreeInitialize(&data->multicastTree, TRUE, 0); // Add this data to the iface iface->data = data; // Allocating memory for the nodes in QualNet. // printf ("The number of nodes is %i\n",node->partitionData->numNodes); // Look up the node // SocketInterface_BootStrap (int argc, char * argv [], // will have changed the simulation time, so the simulation ends only // when it receives the stopSimulation message. data->incomingMessages = NULL; data->lastIncomingMessage = NULL; data->numIncomingMessages = 0; data->outgoingMessages = NULL; data->lastOutgoingMessage = NULL; data->numOutgoingMessages = 0; // Robust Interface protocol parameters data->serverProtocolVersion = 6; data->clientProtocolVersion = 3; try { D_Hierarchy *h = &iface->partition->dynamicHierarchy; std::string path; if (h->CreateExternalInterfacePath("CESSocketInterface", "ServerProtocolVersion", path)) { D_Object* obj = new D_Int32Obj(&data->serverProtocolVersion); h->AddObject(path, obj); h->SetWriteable(path, FALSE); } if (h->CreateExternalInterfacePath("CESSocketInterface", "ClientProtocolVersion", path)) { D_Object* obj = new D_Int32Obj(&data->clientProtocolVersion); h->AddObject(path, obj); h->SetWriteable(path, TRUE); } } catch (D_Exception& d) { // Not an error. The scenario doesn't enable the dynamic hierarchy. } data->onlyDisableMappedNodes = false; } static void SocketInterface_AddEntityMapping(Node*& node, SocketInterface_InterfaceData*& data) { ERROR_Assert(node, "invalid node"); ERROR_Assert(data, "invalid interfacedata"); #ifdef DEBUG sprintf("SocketInterface_AddEntityMapping for node %d\n"); #endif Entity_NodeData entity; entity.node = node; data->entityMapping.unmappedNodes[entity.node->nodeId] = entity; } static BOOL SocketInterface_IsDynamicCommandOnDifferentPartition( EXTERNAL_Interface* iface, std::string* path, int* partition, BOOL* isPlatformPath, std::string* nodePath) { #ifdef PARALLEL //TODO JESSE std::list<Node*> nodes; Node* node; std::vector<std::string> tokens; char nodeIdString[MAX_STRING_LENGTH]; // Same partition by default *partition = iface->partition->partitionId; *isPlatformPath = FALSE; // Check for /node/nodeId or /platform/entityId StringSplit( path, "/", &tokens); if (tokens.size() >= 2) { if (tokens[0] == "node") { // Get node id. First check local partition for node, then // check remote partition. NodeAddress nodeId = atoi(tokens[1].c_str()); node = MAPPING_GetNodePtrFromHash( iface->partition->nodeIdHash, nodeId); if (node == NULL) { // Try find node using the shadow node hash. node = MAPPING_GetNodePtrFromHash( iface->partition->remoteNodeIdHash, nodeId); if (node == NULL) { throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidDynamicCommand, "invalid node"); } } } else if (tokens[0] == "platform") { SocketInterface_InterfaceData* data; data = (SocketInterface_InterfaceData*) iface->data; node = MappingGetSingleNodePointer( iface->partition, &data->entityMapping, tokens[1]); if (node == NULL) { throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidDynamicCommand, "invalid platform"); } *isPlatformPath = TRUE; tokens[0] = "/node"; sprintf(nodeIdString, "%d", node->nodeId); tokens[1] = nodeIdString; *nodePath = tokens[0]; for (unsigned i = 1; i < tokens.size(); i++) { *nodePath += "/" + tokens[i]; } } else { // It is not a platform or node string. Return false (it is // probably on the same partition) return FALSE; } // Check that we got a valid node pointer. If not return that it is // on the same partition since we don't know. This will probably // end up with an invalid path. If it's on the same partition also // return false. If it's a different partition set the partition and // return true. if (node == NULL) { return FALSE; } else if (node->partitionId == iface->partition->partitionId) { return FALSE; } else { *partition = node->partitionId; return TRUE; } } else { // There are less than 2 paths so it's not a /node/xxx or // a /platform/xxx path. Return false (same partition). return FALSE; } #else *partition = iface->partition->partitionId; return FALSE; #endif /* PARTITION */ } static void SocketInterface_SendMessageToOtherPartition( EXTERNAL_Interface* iface, SocketInterface_Message* message, BOOL isNodePath, int partition) { // Allocate a message for the remote partition Message* msg; msg = MESSAGE_Alloc( iface->partition->firstNode, EXTERNAL_LAYER, EXTERNAL_SOCKET, MSG_EXTERNAL_RemoteMessage); // Serialize the message we are to send and it it to the remote message. // The first 4 bytes will be the socket id, the remainder bytes will be // the serialized message. SocketInterface_SerializedMessage* serialized = message->Serialize(); UInt32 socketId = message->GetSocketId(); MESSAGE_PacketAlloc( iface->partition->firstNode, msg, serialized->m_Size + sizeof(UInt32) + sizeof(BOOL), TRACE_SOCKET_EXTERNAL); memcpy( MESSAGE_ReturnPacket(msg), &socketId, sizeof(UInt32)); memcpy( MESSAGE_ReturnPacket(msg) + sizeof(UInt32), &isNodePath, sizeof(BOOL)); memcpy( MESSAGE_ReturnPacket(msg) + sizeof(UInt32) + sizeof(BOOL), serialized->m_Data, serialized->m_Size); // Send it to our external interafce that is on the other partition EXTERNAL_MESSAGE_RemoteSend( iface, partition, msg, 0, EXTERNAL_SCHEDULE_SAFE); } void SocketInterface_InitializeRealTime( EXTERNAL_Interface* iface) { SocketInterface_InterfaceData *data; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); if (data->inInitializePhase) { // We are transitioning to Execution state, and we need to // resume the real time clock and set the interface // initialization time to the current time. EXTERNAL_Resume(iface); iface->initializeTime = EXTERNAL_QueryRealTime(iface); data->inInitializePhase = FALSE; } } static void SocketInterface_HandleFirstStatsUpdate( EXTERNAL_Interface* iface) { SocketInterface_InterfaceData *data; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); if (data->simulationState == SocketInterface_StateType_Executing) { if (data->statsPrintRealTime) { if (data->firstStatsUpdate) { data->firstStatsUpdate = FALSE; data->firstStatsUpdateRealTime = EXTERNAL_QueryRealTime(iface); data->firstStatsUpdateSimTime = EXTERNAL_QuerySimulationTime(iface); data->lastStatsUpdateRealTime = data->firstStatsUpdateRealTime; data->lastStatsUpdateSimTime = data->firstStatsUpdateSimTime; data->nextStatsUpdate = data->lastStatsUpdateRealTime + data->statsPrintInterval; } } else { if (data->firstStatsUpdate) { data->firstStatsUpdate = FALSE; data->firstStatsUpdateRealTime = EXTERNAL_QueryRealTime(iface); data->firstStatsUpdateSimTime = EXTERNAL_QuerySimulationTime(iface); data->lastStatsUpdateRealTime = data->firstStatsUpdateRealTime; data->lastStatsUpdateSimTime = data->firstStatsUpdateSimTime; data->nextStatsUpdate = EXTERNAL_QuerySimulationTime(iface) + data->statsPrintInterval; } } // Handle graph log update if (data->graphPrintRealTime) { if (data->firstGraphUpdate) { data->firstGraphUpdate = FALSE; data->nextGraphUpdate = EXTERNAL_QueryRealTime(iface) + data->graphPrintInterval; } } else { if (data->firstGraphUpdate) { data->firstGraphUpdate = FALSE; data->nextGraphUpdate = EXTERNAL_QuerySimulationTime(iface) + data->graphPrintInterval; } } } } static void SocketInterface_LogMessage(EXTERNAL_Interface* iface, SocketInterface_Message* message) { SocketInterface_InterfaceData *data = (SocketInterface_InterfaceData*) iface->data; std::string str; message->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->driverLogFile, str.c_str()); } static BOOL SocketInterface_HandleMessage( EXTERNAL_Interface* iface, SocketInterface_Message* message) { SocketInterface_InterfaceData *data; char errString[MAX_STRING_LENGTH]; BOOL scheduled = FALSE; clocktype t; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); switch (message->GetType()) { case SocketInterface_MessageType_InitializeSimulation: { SocketInterface_InitializeSimulationMessage* initialize; initialize = (SocketInterface_InitializeSimulationMessage*) message; // Set coordinate system if (initialize->m_CoordinateSpecified) { data->coordinateSystem = initialize->m_CoordinateSystem; } // Get time management mode data->timeManagement = initialize->m_TimeManagementMode; if (data->timeManagement == SocketInterface_TimeManagementType_RealTime) { // Set the time management to real-time with 0 lookahead EXTERNAL_SetTimeManagementRealTime( iface, 0); } // Make sure config file matches coordinate system if (data->coordinateSystem == SocketInterface_CoordinateSystemType_GccCartesian && iface->partition->terrainData->getCoordinateSystem() != LATLONALT) { throw SocketInterface_Exception( SocketInterface_ErrorType_ConfigurationError, "GCC Cartesian coordinates may only be converted to " "lat/lon/alt. Make sure the QualNet config file uses " "the LATLONALT COORDINATE-SYSTEM."); } if (data->coordinateSystem == SocketInterface_CoordinateSystemType_Cartesian && iface->partition->terrainData->getCoordinateSystem() != CARTESIAN) { throw SocketInterface_Exception( SocketInterface_ErrorType_ConfigurationError, "Interface is configured to use cartesian coordinates but " "QualNet configuration is not cartesian. Make sure " "COORDINATE-SYSTEM is set to CARESIAN"); } else if (data->coordinateSystem == SocketInterface_CoordinateSystemType_LatLonAlt && iface->partition->terrainData->getCoordinateSystem() != LATLONALT) { throw SocketInterface_Exception( SocketInterface_ErrorType_ConfigurationError, "Interface is configured to use lat/lon/alt coordinates but" " QualNet configuration is not lat/lon/alt. Make sure " "COORDINATE-SYSTEM is set to LATLONALT"); } // Set Source Response Multicast if (initialize->m_SourceResponseMulticastEnabled) { data->sourceResponsibleMulticast = initialize->m_SourceResponseMulticastEnabled; } else { data->sourceResponsibleMulticast = 0; } // Should only be sent when not using Server mode. if (SocketInterface_GetModeType(iface) == SocketInterface_ModeType_NoBootStrap) { if (initialize->m_Scenario.size() > 0) { throw SocketInterface_Exception( SocketInterface_ErrorType_InvalidMessage, "Initialization scenario not supported in this mode"); } } SocketInterface_LogMessage(iface, message); // If we are doing a warmup then go to the warmup phase. This // block of code will wait for a warmup message then move to the // warmup phase. When the warmup phase is over QualNet will move to // the intialize phase. if (data->doWarmup) { SocketInterface_HandleWaitForWarmup(iface); } else { // Change state to initialized SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Initialized); } break; } case SocketInterface_MessageType_BeginWarmup: { SocketInterface_BeginWarmupMessage* beginWarmup; SocketInterface_LogMessage(iface, message); beginWarmup = (SocketInterface_BeginWarmupMessage*) message; // Change state to SocketInterface_StateType_Warmup. This will cause QualNet to leave // the SocketInterface_HandleWaitForWarmup routine (which calls this // function) SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Warmup); EXTERNAL_BeginWarmup(iface); break; } case SocketInterface_MessageType_PauseSimulation: { SocketInterface_PauseSimulationMessage* pause; SocketInterface_LogMessage(iface, message); pause = (SocketInterface_PauseSimulationMessage*) message; if (pause->m_PauseTimeSpecified) { t = SocketInterface_TimestampToQualNet(iface, pause->m_PauseTime); if (t > EXTERNAL_QuerySimulationTime(iface)) { SocketInterface_ScheduleMessage( iface, message, t); scheduled = TRUE; } } if (!scheduled) { SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Paused); } break; } case SocketInterface_MessageType_ExecuteSimulation: { SocketInterface_ExecuteSimulationMessage* execute; SocketInterface_LogMessage(iface, message); execute = (SocketInterface_ExecuteSimulationMessage*) message; // Change state to executing SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Executing); // Handle the print stats. SocketInterface_HandleFirstStatsUpdate(iface); break; } case SocketInterface_MessageType_StopSimulation: SocketInterface_LogMessage(iface, message); SocketInterface_HandleStopSimulation( iface, (SocketInterface_StopSimulationMessage*) message); break; case SocketInterface_MessageType_ResetSimulation: SocketInterface_LogMessage(iface, message); SocketInterface_HandleResetSimulation( iface, (SocketInterface_ResetSimulationMessage*) message); break; case SocketInterface_MessageType_AdvanceTime: SocketInterface_LogMessage(iface, message); SocketInterface_HandleAdvanceTime( iface, (SocketInterface_AdvanceTimeMessage*) message); break; case SocketInterface_MessageType_CommEffectsRequest: { SocketInterface_CommEffectsRequestMessage* request = (SocketInterface_CommEffectsRequestMessage*) message; SocketInterface_LogMessage(iface, message); data->requests++; if (request->m_SendTimeSpecified) { t = SocketInterface_TimestampToQualNet(iface, request->m_SendTime); if (t > EXTERNAL_QuerySimulationTime(iface)) { SocketInterface_ScheduleMessage( iface, message, t); scheduled = TRUE; } } if (!scheduled) { SocketInterface_HandleCommEffectsRequest( iface, (SocketInterface_CommEffectsRequestMessage*) message, message->GetSocketId()); } break; } case SocketInterface_MessageType_CreatePlatform: { SocketInterface_CreatePlatformMessage* create = (SocketInterface_CreatePlatformMessage*) message; SocketInterface_LogMessage(iface, message); if (create->m_CreateTimeSpecified) { t = SocketInterface_TimestampToQualNet(iface, create->m_CreateTime); if (t > EXTERNAL_QuerySimulationTime(iface)) { SocketInterface_ScheduleMessage( iface, message, t); scheduled = TRUE; } } if (!scheduled) { SocketInterface_HandleCreatePlatform( iface, (SocketInterface_CreatePlatformMessage*) message); } break; } case SocketInterface_MessageType_UpdatePlatform: { SocketInterface_UpdatePlatformMessage* update = (SocketInterface_UpdatePlatformMessage*) message; SocketInterface_LogMessage(iface, message); // Schedule the update if it has a timestamp SocketInterface_HandleUpdatePlatform( iface, update); break; } case SocketInterface_MessageType_DynamicCommand: { SocketInterface_DynamicCommandMessage* dynamic = (SocketInterface_DynamicCommandMessage*) message; SocketInterface_LogMessage(iface, message); SocketInterface_HandleDynamicCommand( iface, dynamic, message->GetSocketId()); /*int partition; BOOL isPlatformPath; std::string nodePath; BOOL otherPartition = SocketInterface_IsDynamicCommandOnDifferentPartition( iface, &dynamic->m_Path, &partition, &isPlatformPath, &nodePath); if (otherPartition) { // If it's a platform path send the node path to the other // partition. This is a temp hack because the other partition // doesn't know about the entity link. if (isPlatformPath) { SocketInterface_DynamicCommandMessage* nodeDynamic = new SocketInterface_DynamicCommandMessage(dynamic->m_Type, &nodePath, &dynamic->m_Args); nodeDynamic->SetSocketId(dynamic->GetSocketId()); SocketInterface_SendMessageToOtherPartition( iface, nodeDynamic, isPlatformPath, partition); delete nodeDynamic; } else { SocketInterface_SendMessageToOtherPartition( iface, message, isPlatformPath, partition); } } else { SocketInterface_HandleDynamicCommand( iface, dynamic, message->GetSocketId()); }*/ break; } case SocketInterface_MessageType_QuerySimulationState: { SocketInterface_LogMessage(iface, message); SocketInterface_HandleSimulationStateMessage(iface, data->simulationState, data->simulationState); break; } default: sprintf( errString, "Unknown message type \"%d\"", message->GetType()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString); break; } return scheduled; } void SocketInterface_InitializeNodes( EXTERNAL_Interface *iface, NodeInput *nodeInput) { SocketInterface_InterfaceData *data; char errString[MAX_STRING_LENGTH]; char buf[MAX_STRING_LENGTH]; int intBuf; BOOL retVal; BOOL boolVal; int i; int numPorts = 1; Node *node; EXTERNAL_SocketErrorType err; std::map<std::string, NodeIdList> hostNodes; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); // Create EntintyMappingRecords for all nodes, this will // result in the createplatform selecting nodes whose node Ids // will match regarldess of being local or remote, so that events // are equal between par and seq. NodePointerCollectionIter nodeIter; nodeIter = iface->partition->allNodes->begin(); node = *nodeIter; int index = 0; for (nodeIter = iface->partition->allNodes->begin (); nodeIter != iface->partition->allNodes->end (); nodeIter++) { node = *nodeIter; assert(node != NULL); SocketInterface_AddEntityMapping(node, data); #ifdef DEBUG printf("NodeId %d has hostname %s\n", node->nodeId, node->hostname); fflush(stdout); #endif std::string hostname; if (node->hostname != NULL) { hostname = node->hostname; } else // sometimes when running in parallel, node->hostname is null { BOOL wasFound = false; char name[MAX_STRING_LENGTH]; IO_ReadString(node->nodeId, ANY_ADDRESS, nodeInput, "HOSTNAME", &wasFound, name); if (!wasFound) { sprintf(name, "host %d", node->nodeId); //default } node->hostname = name; hostname = node->hostname; } std::map<std::string, NodeIdList>::iterator hostmapIt; hostmapIt = hostNodes.find(hostname); if (hostmapIt != hostNodes.end()) { hostmapIt->second.push_back(node->nodeId); } else { NodeIdList nlist; nlist.push_back(node->nodeId); hostNodes[node->hostname] = nlist; } // Testing //cout << "NodeId is " << node->nodeId << " index is " << data->table->nodeMap[node->nodeId]<< endl; index++; } // Check for sockets from bootstrap phase std::vector<int>* ports; std::vector<EXTERNAL_Socket*>* listeningSockets; std::vector<EXTERNAL_Socket*>* connections; std::vector<SocketInterface_Message*>* messages; listeningSockets = (std::vector<EXTERNAL_Socket*>*) PARTITION_ClientStateFind( iface->partition, "Socket_ListeningSockets"); ports = (std::vector<int>*) PARTITION_ClientStateFind( iface->partition, "Socket_ListeningPorts"); connections = (std::vector<EXTERNAL_Socket*>*) PARTITION_ClientStateFind( iface->partition, "Socket_Connections"); messages = (std::vector<SocketInterface_Message*>*) PARTITION_ClientStateFind( iface->partition, "Socket_Messages"); if (listeningSockets != NULL && ports != NULL && connections != NULL && messages != NULL) { // QualNet is running in bootstrap mode. // Change the QualNet mode. data->qualnetMode = SocketInterface_ModeType_BootStrap; data->sockets.listeningSockets = *listeningSockets; data->sockets.listenPorts = *ports; data->sockets.numPorts = ports->size(); // Add connections. All are initially active. data->sockets.connections = *connections; data->sockets.numConnections = connections->size(); for (i = 0; i < data->sockets.numConnections; i++) { data->sockets.activeConnections.push_back(TRUE); } } bool isLegacyCES = false; //first check if interface is to be used IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE", &retVal, buf); if (!retVal) { //Backwards compatibility check IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-SOCKET", &retVal, buf); if (!retVal || strcmp(buf, "YES") != 0) { return; } ERROR_ReportWarning("CES-SOCKET has been deprecated, \ please replace with SOCKET-INTERFACE"); isLegacyCES = true; } if (retVal && strcmp(buf, "YES") != 0) { return; } // Read the number of listening sockets to create if (isLegacyCES) { IO_ReadInt( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-SOCKET-NUM-PORTS", &retVal, &intBuf); if (retVal) { ERROR_ReportWarning("CES-SOCKET-NUM-PORTS has been deprecated, \ please replace with SOCKET-INTERFACE-NUM-PORTS"); } } else { IO_ReadInt( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-NUM-PORTS", &retVal, &intBuf); } if (retVal) { numPorts = intBuf; } for (i = 0; i < numPorts; i++) { // Read the port for each socket if (isLegacyCES) { IO_ReadIntInstance( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-SOCKET-PORT", i, TRUE, &retVal, &intBuf); if (retVal) { ERROR_ReportWarning("CES-SOCKET-PORT has been deprecated, \ please replace with SOCKET-INTERFACE-PORT"); } } else { IO_ReadIntInstance( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-PORT", i, TRUE, &retVal, &intBuf); } if (retVal) { // Do nothing, port will be added below } else { // If port is not specified, it's an error if there are multiple // ports. If there is one port use the default port. if (numPorts > 1) { ERROR_ReportError( "Must specify a port for every QualNet listening socket"); } else { intBuf = SOCKET_INTERFACE_DEFAULT_PORT; } } // Open listening ports if on partition 0, and this port wasn't // already opened in bootstrap phase std::vector<int>::iterator it; it = std::find( data->sockets.listenPorts.begin(), data->sockets.listenPorts.end(), intBuf); if (iface->partition->partitionId == 0 && it == data->sockets.listenPorts.end()) { EXTERNAL_Socket *tempSocket = (EXTERNAL_Socket*) MEM_malloc(sizeof(EXTERNAL_Socket)); data->sockets.listeningSockets.push_back(tempSocket); data->sockets.listenPorts.push_back(intBuf); data->sockets.numPorts++; do { err = EXTERNAL_SocketInitListen( tempSocket, intBuf, FALSE, TRUE); if (err != EXTERNAL_NoSocketError) { sprintf( errString, "Unable to open socket on port %d. Trying again in 3 seconds.", intBuf); ERROR_ReportWarning(errString); EXTERNAL_Sleep(3 * SECOND); } } while (err != EXTERNAL_NoSocketError); } } // Read TCP failure timeout if present if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-TCP-FAILURE-TIMEOUT", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-TCP-FAILURE-TIMEOUT has been deprecated, \ please replace with SOCKET-INTERFACE-TCP-FAILURE-TIMEOUT"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-TCP-FAILURE-TIMEOUT", &retVal, buf); } if (retVal) { data->tcpFailureTimeout = TIME_ConvertToClock(buf); } // Read UDP failure timeout if presen if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-UDP-FAILURE-TIMEOUT", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-UCP-FAILURE-TIMEOUT has been deprecated, \ please replace with SOCKET-INTERFACE-UCP-FAILURE-TIMEOUT"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-UDP-FAILURE-TIMEOUT", &retVal, buf); } if (retVal) { data->udpFailureTimeout = TIME_ConvertToClock(buf); } // Read warm up time if present if (iface->partition->partitionId == 0) { if (EXTERNAL_WarmupTimeEnabled(iface)) { data->doWarmup = TRUE; } } // Read SOCKET-INTERFACE-ALWAYS-SUCCESS if present if (isLegacyCES) { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-ALWAYS-SUCCESS", &retVal, &boolVal); if (retVal) { ERROR_ReportWarning("CES-ALWAYS-SUCCESS has been deprecated, \ please replace with SOCKET-INTERFACE-ALWAYS-SUCCESS"); } } else { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-ALWAYS-SUCCESS", &retVal, &boolVal); } if (retVal) { data->alwaysSuccess = boolVal; } // Read SOCKET-INTERFACE-CPU-HOG if present if (isLegacyCES) { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-CPU-HOG", &retVal, &boolVal); if (retVal) { ERROR_ReportWarning("CES-CPU-HOG has been deprecated, \ please replace with SOCKET-INTERFACE-CPU-HOG"); } } else { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-CPU-HOG", &retVal, &boolVal); } if (retVal) { data->cpuHog = boolVal; if (data->cpuHog) { EXTERNAL_SetCpuHog(iface); } } // Read SOCKET-INTERFACE-PAUSE-REPLY-ZERO-DELAY if present if (isLegacyCES) { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-PAUSE-REPLY-ZERO-DELAY", &retVal, &boolVal); if (retVal) { ERROR_ReportWarning("CES-PAUSE-REPLY-ZERO-DELAY has been deprecated, \ please replace with SOCKET-INTERFACE-PAUSE-REPLY-ZERO-DELAY"); } } else { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-PAUSE-REPLY-ZERO-DELAY", &retVal, &boolVal); } if (retVal) { data->pauseSendZeroDelay = boolVal; } // Read SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME if present if (isLegacyCES) { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-PAUSE-ADVANCE-SIMULATION-TIME", &retVal, &boolVal); if (retVal) { ERROR_ReportWarning("CES-PAUSE-ADVANCE-SIMULATION-TIME has been deprecated, \ please replace with SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME"); } } else { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-PAUSE-ADVANCE-SIMULATION-TIME", &retVal, &boolVal); } if (retVal) { data->pauseAdvanceSimTime = boolVal; } // Read SOCKET-INTERFACE-IDLE-WHEN-RESPONSE-SENT if present if (isLegacyCES) { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-IDLE-WHEN-RESPONSE-SENT", &retVal, &boolVal); if (retVal) { ERROR_ReportWarning("CES-IDLE-WHEN-RESPONSE-SENT has been deprecated, \ please replace with SOCKET-INTERFACE-IDLE-WHEN-RESPONSE-SENT"); } } else { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-IDLE-WHEN-RESPONSE-SENT", &retVal, &boolVal); } if (retVal) { data->idleWhenResponseSent = boolVal; } // Read advance boundaries if present if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-ADVANCE-BOUNDARIES", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-ADVANCE-BOUNDARIES has been deprecated, \ please replace with SOCKET-INTERFACE-ADVANCE-BOUNDARIES"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-ADVANCE-BOUNDARIES", &retVal, buf); } if (retVal) { data->advanceBoundaries = atoi(buf); } // Read print per packet stats if present if (isLegacyCES) { //Backwards compatibility check IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-PRINT-PER-PACKET-STATS", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-PRINT-PER-PACKET-STATS has been deprecated, \ please replace with SOCKET-INTERFACE-PRINT-PER-PACKET-STATS"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-PRINT-PER-PACKET-STATS", &retVal, buf); } if (retVal) { data->printPerPacketStats = TRUE; // Create the output file if (strcmp(buf, "STDOUT") == 0) { data->statsFile = stdout; } else { data->statsFile = fopen(buf, "w"); if (data->statsFile == NULL) { printf ("Can not create the per packet stats file\n"); exit(0); } //assert(data->statsFile != NULL); } } // Read the log propagation option if (isLegacyCES) { //Backwards compatibility check IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-LOG-PROPAGATION", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-LOG-PROPAGATION has been deprecated, \ please replace with SOCKET-INTERFACE-LOG-PROPAGATION"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-LOG-PROPAGATION", &retVal, buf); } if (retVal) { if (strcmp(buf, "1") == 0) { data->logPropagation = TRUE; } if (strcmp(buf, "YES") == 0) { data->logPropagation = TRUE; } } // Read the log file option if (isLegacyCES) { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-LOG-AUTOMATIC-FLUSH", &retVal, &boolVal); if (retVal) { ERROR_ReportWarning("CES-LOG-AUTOMATIC-FLUSH has been deprecated, \ please replace with SOCKET-INTERFACE-LOG-AUTOMATIC-FLUSH"); } } else { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-LOG-AUTOMATIC-FLUSH", &retVal, &boolVal); } if (retVal) { data->automaticFlush = boolVal; } // Read the log file option if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-LOG", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-LOG has been deprecated, \ please replace with SOCKET-INTERFACE-LOG"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-LOG", &retVal, buf); } if (!retVal || (strcmp(buf, "FILE") == 0)) { if (isLegacyCES) { MakeDirectories("CES-SOCKET_", buf, iface->partition->partitionId); } else { MakeDirectories("SOCKET-INTERFACE_", buf, iface->partition->partitionId); } SocketInterface_CreateLogFiles(iface, buf); } else if (strcmp(buf, "STDOUT") == 0) { data->driverLogFile = stdout; data->responsesLogFile = stdout; data->statsLogFile = stdout; data->graphLogFile = stdout; data->errorsLogFile = stdout; data->propagationLogFile = stdout; } else if (strcmp(buf, "NONE") == 0) { data->driverLogFile = NULL; data->responsesLogFile = NULL; data->statsLogFile = NULL; data->graphLogFile = NULL; data->errorsLogFile = NULL; data->propagationLogFile = NULL; } else { if (isLegacyCES) { sprintf(errString, "Unknown CES-LOG option \"%s\"", buf); } else { sprintf(errString, "Unknown SOCKET-INTERFACE-LOG option \"%s\"", buf); } ERROR_ReportError(errString); } // Read whether stats should be printed in real time or sim time if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-STATS-PRINT-REAL-TIME", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-STATS-PRINT-REAL-TIME has been deprecated, \ please replace with SOCKET-INTERFACE-STATS-PRINT-REAL-TIME"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-STATS-PRINT-REAL-TIME", &retVal, buf); } if (retVal) { if (strcmp(buf, "0") == 0) { data->statsPrintRealTime = FALSE; } if (strcmp(buf, "NO") == 0) { data->statsPrintRealTime = FALSE; } } // Read the stats print interval if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-PRINT-REAL-TIME", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-PRINT-REAL-TIME has been deprecated, \ please replace with SOCKET-INTERFACE-PRINT-REAL-TIME"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-PRINT-REAL-TIME", &retVal, buf); } if (retVal) { if (strcmp(buf, "1") == 0) { data->logPrintRealTime = TRUE; } if (strcmp(buf, "YES") == 0) { data->logPrintRealTime = TRUE; } } // Read the stats print interval if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-STATS-PRINT-INTERVAL", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-STATS-PRINT-INTERVAL has been deprecated, \ please replace with SOCKET-INTERFACE-STATS-PRINT-INTERVAL"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-STATS-PRINT-INTERVAL", &retVal, buf); } if (retVal) { data->statsPrintInterval = atoi(buf) * SECOND; // Create timer for the print interval if printing in sim time if (!data->statsPrintRealTime && iface->partition->partitionId == 0) { Message* timer; timer = MESSAGE_Alloc( iface->partition->firstNode, EXTERNAL_LAYER, EXTERNAL_SOCKET, MSG_EXTERNAL_SOCKET_INTERFACE_StatsLogTimer); MESSAGE_Send( iface->partition->firstNode, timer, data->statsPrintInterval); } } // Read whether graph should be printed in real time or sim tim if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-GRAPH-PRINT-REAL-TIME", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-GRAPH-PRINT-REAL-TIME has been deprecated, \ please replace with SOCKET-INTERFACE-GRAPH-PRINT-REAL-TIME"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-GRAPH-PRINT-REAL-TIME", &retVal, buf); } if (retVal) { if (strcmp(buf, "0") == 0) { data->graphPrintRealTime = FALSE; } if (strcmp(buf, "NO") == 0) { data->graphPrintRealTime = FALSE; } } // Read the stats print interval if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-GRAPH-PRINT-INTERVAL", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-GRAPH-PRINT-INTERVAL has been deprecated, \ please replace with SOCKET-INTERFACE-GRAPH-PRINT-INTERVAL"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-GRAPH-PRINT-INTERVAL", &retVal, buf); } if (retVal) { data->graphPrintInterval = atoi(buf) * SECOND; if (!data->graphPrintRealTime && iface->partition->partitionId == 0) { Message* timer; timer = MESSAGE_Alloc( iface->partition->firstNode, EXTERNAL_LAYER, EXTERNAL_SOCKET, MSG_EXTERNAL_SOCKET_INTERFACE_GraphLogTimer); MESSAGE_Send( iface->partition->firstNode, timer, data->graphPrintInterval); } } // Read the entity mapping file if present if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-ENTITY-MAPPING-FILE", &retVal, buf); if (!retVal) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-ENTITY-MAPPING", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-ENTITY-MAPPING has been deprecated, \ please replace with SOCKET-INTERFACE-ENTITY-MAPPING"); } } else { ERROR_ReportWarning("CES-ENTITY-MAPPING-FILE has been deprecated, \ please replace with SOCKET-INTERFACE-ENTITY-MAPPING"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-ENTITY-MAPPING", &retVal, buf); } if (retVal) // static --> read from file { std::string errorString; BOOL fail; EntityMappingInitialize(&data->entityMapping, 31, FALSE); fail = ReadEntityMappingFile(iface, hostNodes, buf, &errorString); if (fail) { SocketInterface_PrintLog(iface, data->errorsLogFile, errorString.c_str()); } } else // dynamic --> mapping created by messages { EntityMappingInitialize(&data->entityMapping, 31, TRUE); } // Read determinstic timing behavior, if present data->deterministicTiming = TRUE; if (isLegacyCES) { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-DETERMINISTIC-TIMING", &retVal, buf); if (retVal) { ERROR_ReportWarning("CES-DETERMINISTIC-TIMING has been deprecated, \ please replace with SOCKET-INTERFACE-DETERMINISTIC-TIMING"); } } else { IO_ReadString( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-DETERMINISTIC-TIMING", &retVal, buf); } if (retVal) { if (strcmp(buf, "0") == 0) { data->deterministicTiming = FALSE; } if (strcmp(buf, "NO") == 0) { data->deterministicTiming = FALSE; } } if (data->deterministicTiming) { // Turn off lookahead. #ifdef PARALLEL //Parallel PARALLEL_SetProtocolIsNotEOTCapable (iface->partition->firstNode); #endif } // Initialize the boundaries data->boundaryTimes = (clocktype*) MEM_malloc(sizeof(clocktype) * data->advanceBoundaries); for (i = 0; i < data->advanceBoundaries; i++) { data->boundaryTimes[i] = -1; } data->firstBoundary = -1; data->lastBoundary = -1; //Check if the user wishes to deactivate only mapped nodes, ex: plan to use //DIS for unmapped nodes IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-ONLY-DEACTIVATE-MAPPED-NODES", &retVal, &data->onlyDisableMappedNodes); if (iface->partition->partitionId == 0) { // Deactivate all nodes on all partitions NodePointerCollectionIter nodeIter; for (nodeIter = iface->partition->allNodes->begin (); nodeIter != iface->partition->allNodes->end (); nodeIter++) { node = *nodeIter; //Deactive node if all are set to be diasabled //or if node is currently mapped if (!data->onlyDisableMappedNodes || data->entityMapping.unmappedNodes.find(node->nodeId) == data->entityMapping.unmappedNodes.end()) { EXTERNAL_DeactivateNode(iface, node, EXTERNAL_SCHEDULE_SAFE); } } } // Handle the initialize message received // during the preinitialization stage. It is // important to process that before the other // message. if (data->qualnetMode == SocketInterface_ModeType_BootStrap) { SocketInterface_Message* message; // Extract the message from the ClientState dictionary. message = (SocketInterface_Message*) PARTITION_ClientStateFind( iface->partition, "SocketInterface_InitializeSimulationMessage"); // Handle the initialize message SocketInterface_HandleReceiverMessage(iface, message, message->GetSocketId()); } // Process any messages any messages received during bootstrap phase if (messages != NULL) { for (i = 0; i < (int)messages->size(); i++) { // Handle the message BOOL scheduledMessage = FALSE; try { scheduledMessage = SocketInterface_HandleMessage(iface, (*messages)[i]); } catch (SocketInterface_Exception& e) { // Handle the exception SocketInterface_HandleException(iface, &e, (*messages)[i], (*messages)[i]->GetSocketId()); } // Free memory. Only delete messages that were not scheduled (ie, // messages that were already processed) if (!scheduledMessage) { delete (*messages)[i]; (*messages)[i] = NULL; } } // Free messages array delete messages; } // Set simulation to never end EXTERNAL_SetSimulationEndTime(iface, CLOCKTYPE_MAX); // Start sender/receiver threads if on partition zero if (iface->partition->partitionId == 0) { pthread_create( &data->sockets.receiverThread, NULL, SocketInterface_ReceiverThread, iface); pthread_create( &data->sockets.senderThread, NULL, SocketInterface_SenderThread, iface); } // Read in if distributed QualNet environment behavior is required, // if present and this is partition 0 data->useStatisticalModel = FALSE; data->unicastStatModel = NULL; data->multicastStatModel = NULL; if (iface->partition->partitionId == 0) { if (isLegacyCES) { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "CES-DISTRIBUTED-ENVIRONMENT", &retVal, &boolVal); if (retVal) { ERROR_ReportWarning("CES-DISTRIBUTED-ENVIRONMENT has been deprecated, \ please replace with SOCKET-INTERFACE-DISTRIBUTED-ENVIRONMENT"); } } else { IO_ReadBool( ANY_NODEID, ANY_ADDRESS, nodeInput, "SOCKET-INTERFACE-DISTRIBUTED-ENVIRONMENT", &retVal, &boolVal); } if (retVal) { // If requested, set the config value and create the // model hashmaps if (boolVal) { data->useStatisticalModel = TRUE; SocketInterface_InitializeModels(data); } } } } clocktype SocketInterface_FederationTime(EXTERNAL_Interface *iface) { SocketInterface_InterfaceData *data; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); // Return the current time return data->timeAllowance; } void SocketInterface_SimulationHorizon(EXTERNAL_Interface* iface) { SocketInterface_InterfaceData *data; int i; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); // We should never get here if running in real time mode assert(data->timeManagement != SocketInterface_TimeManagementType_RealTime); // We should not move the horizon if we are not in the // execution mode. Though there is one exception to this. // If we are in pause state and SOCKET-INTERFACE-PAUSE-ADVANCE-SIM-TIME is YES, // then we move the simulation hosrizon if (!(data->simulationState == SocketInterface_StateType_Executing || (data->pauseAdvanceSimTime && data->simulationState == SocketInterface_StateType_Paused))) { return; } // If we have been granted extra time that has not been included // into the simulation horizon, update the horizon and return. Only // do this if we are not idling because of IdleWhenResponseSent. // If we are idling because of a response then we will only change // the horizon upon receiving a new AdvanceSimulationTime message. // // The time horizon is advanced only in the execute state if (!data->inIdleResponse) { if (data->timeAllowance > iface->horizon) { iface->horizon = data->timeAllowance; return; } } // This function is called when the current horizon has been // reached. This means we are idle, and Therefore we should send a // ReportSimulationIdleState to the MTS, but only once. if (!data->waitingForTimeAdvance) { // Send a ReportSimulationIdleState message SocketInterface_SimulationIdleMessage* idle; // Create message and send it to all connections idle = new SocketInterface_SimulationIdleMessage( (double) SocketInterface_Timestamp(iface) / SECOND); for (i = 0; i < (int)data->sockets.connections.size(); i++) { if (data->sockets.activeConnections[i]) { SocketInterface_SendMessage(iface, idle, i); } } // Print to the log file std::string str; idle->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); delete idle; // Set the sent idle message flag. This flag is set to FALSE // when a time advance is received. See SocketInterface_HandleAdvanceTime. data->waitingForTimeAdvance = TRUE; data->idleSentRealTime = EXTERNAL_QueryRealTime(iface); } } static void SocketInterface_HandleDelayedMessage( EXTERNAL_Interface* iface, SocketInterface_Message* message) { char errString[MAX_STRING_LENGTH]; switch (message->GetType()) { case SocketInterface_MessageType_CreatePlatform: SocketInterface_HandleCreatePlatform( iface, (SocketInterface_CreatePlatformMessage*) message); break; case SocketInterface_MessageType_UpdatePlatform: SocketInterface_HandleUpdatePlatform( iface, (SocketInterface_UpdatePlatformMessage*) message); break; case SocketInterface_MessageType_CommEffectsRequest: { // Check if the socket id exists. if (message->HasSocketId()) { SocketInterface_HandleCommEffectsRequest( iface, (SocketInterface_CommEffectsRequestMessage*) message, message->GetSocketId()); } else { // We have a problem throw an exception. sprintf( errString, "Invalid Socket Id \"%d\"", message->GetSocketId()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSocketId, errString); } break; } case SocketInterface_MessageType_PauseSimulation: SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Paused); break; default: sprintf( errString, "Unknown message type \"%d\"", message->GetType()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidMessage, errString); break; } } void SocketInterface_HandleWaitForWarmup(EXTERNAL_Interface *iface) { SocketInterface_InterfaceData *data; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); #ifdef DEBUG printf ("partition %d: In SocketInterface_HandleWaitForWarmup\n", iface->partition->partitionId); #endif // Keep loouping until we get a BeginWarmup message while (data->simulationState == SocketInterface_StateType_Standby) { // Attempt to receive data from the socket. If successful then handle // that data. if (data->incomingMessages != NULL) { SocketInterface_MessageList* listNode; // Retrieve the message from the list pthread_mutex_lock(&data->sockets.receiverMutex); listNode = (SocketInterface_MessageList*) data->incomingMessages; data->incomingMessages = listNode->next; if (listNode->next == NULL) { data->lastIncomingMessage = NULL; } data->numIncomingMessages--; pthread_mutex_unlock(&data->sockets.receiverMutex); // If running in real time we don't want to get overloaded with // messages. Let the receiver thread know it can continue // receiving if the input queue is empty enough. if (data->timeManagement == SocketInterface_TimeManagementType_RealTime && data->numIncomingMessages < SOCKET_INTERFACE_MAX_QUEUE_SIZE * 0.1) { pthread_cond_signal(&data->sockets.receiverNotFull); } // Handle the message BOOL scheduledMessage = FALSE; try { scheduledMessage = SocketInterface_HandleMessage(iface, listNode->message); } catch (SocketInterface_Exception& e) { // Handle the exception SocketInterface_HandleException( iface, &e, listNode->message, listNode->message->GetSocketId()); } // Free memory. Only delete messages that were not scheduled (ie, // messages that were already processed) if (!scheduledMessage) { delete listNode->message; } delete listNode; } } #ifdef DEBUG printf ("partition %d: Leaving SocketInterface_HandleWaitForWarmup\n", iface->partition->partitionId); #endif } void SocketInterface_Receive(EXTERNAL_Interface *iface) { SocketInterface_InterfaceData *data; EXTERNAL_TreeNode *record; //std::list<NodeAddress> addresses; char err[MAX_STRING_LENGTH]; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); #ifdef DEBUG //printf ("partition %d: START receive msg\n", iface->partition->partitionId); #endif //printf("STATE %d sim time %f real time = %f horizon = %f\n", data->simulationState, EXTERNAL_QuerySimulationTime(iface) / 1000000000.0, EXTERNAL_QueryRealTime(iface) / 1000000000.0, iface->horizon / 1000000000.0); // If in warmup time and we reached the warmup time move to // initialized state and exit function. if (data->simulationState == SocketInterface_StateType_Warmup && !EXTERNAL_IsInWarmup(iface)) { SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Initialized); return; } else if (EXTERNAL_IsInWarmup(iface) && !data->doWarmup) { ERROR_ReportError( "QualNet socket interface must be configured for warmup if any " "external interface uses warmup time."); } // Handle statistics // Print if we are in executing state or // if we are in pause state and advancing sim time in pause state if ((data->simulationState == SocketInterface_StateType_Executing || (data->simulationState == SocketInterface_StateType_Paused && data->pauseAdvanceSimTime)) && !EXTERNAL_IsInWarmup(iface)) { if (data->statsPrintRealTime) { if (EXTERNAL_QueryRealTime(iface) > data->nextStatsUpdate) { SocketInterface_PrintStats(iface); data->lastStatsUpdateRealTime = EXTERNAL_QueryRealTime(iface); data->lastStatsUpdateSimTime = EXTERNAL_QuerySimulationTime(iface); while (EXTERNAL_QueryRealTime(iface) > data->nextStatsUpdate) { data->nextStatsUpdate += data->statsPrintInterval; } } } // Handle graph if (data->graphPrintRealTime) { if (EXTERNAL_QueryRealTime(iface) > data->nextGraphUpdate) { data->nextGraphUpdate = EXTERNAL_QueryRealTime(iface) + data->graphPrintInterval; SocketInterface_PrintGraph( iface, &data->entityMapping, data->graphLogFile); } } } // Attempt to receive data from the socket. If successful then handle // that data. while (data->incomingMessages != NULL) { SocketInterface_MessageList* listNode; // Retrieve the message from the list pthread_mutex_lock(&data->sockets.receiverMutex); listNode = (SocketInterface_MessageList*) data->incomingMessages; data->incomingMessages = listNode->next; if (listNode->next == NULL) { data->lastIncomingMessage = NULL; } data->numIncomingMessages--; pthread_mutex_unlock(&data->sockets.receiverMutex); // If running in real time we don't want to get overloaded with // messages. Let the receiver thread know it can continue // receiving if the input queue is empty enough. if (data->timeManagement == SocketInterface_TimeManagementType_RealTime && data->numIncomingMessages < SOCKET_INTERFACE_MAX_QUEUE_SIZE * 0.1) { pthread_cond_signal(&data->sockets.receiverNotFull); } // Handle the message BOOL scheduledMessage = FALSE; try { scheduledMessage = SocketInterface_HandleMessage(iface, listNode->message); } catch (SocketInterface_Exception& e) { // Handle the exception SocketInterface_HandleException( iface, &e, listNode->message, listNode->message->GetSocketId()); } // Free memory. Only delete messages that were not scheduled (ie, // messages that were already processed) if (!scheduledMessage) { delete listNode->message; } delete listNode; } // Look for expired requests record = EXTERNAL_TreePeekMin(&data->requestTree); while (record != NULL && record->time < EXTERNAL_QuerySimulationTime(iface)) { // If its time is expired, extract it EXTERNAL_TreeExtractMin(&data->requestTree); // If the data is NULL it means this was already processed as a // success. if (record->data != NULL) { SocketInterface_PacketData* packetData = (SocketInterface_PacketData*) record->data; // Update model if running in distributed qualnet mode // and this is a non-network protocol packet if ((data->useStatisticalModel) && (packetData->protocol != SocketInterface_ProtocolType_ProtocolNetwork)) { SocketInterface_UnicastModelingParameters params; SocketInterface_UnicastModeledCommEffects effects; params.senderNodeAddress = MappingGetSingleNodeAddress(iface->partition, &data->entityMapping, packetData->originator); if (params.senderNodeAddress == 0) { sprintf(err, "SocketInterface_Receive Invalid Sender node (no node address): %s", packetData->originator.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err); } params.receiverNodeAddress = MappingGetSingleNodeAddress(iface->partition, &data->entityMapping, packetData->receiver); if (params.receiverNodeAddress == 0) { sprintf(err, "SocketInterface_Receive Invalid Receiver node (no node address): %s", packetData->receiver.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err); } params.protocol = packetData->protocol; params.sendTime = packetData->beginProcessingTime; effects.latency = 0.0; effects.success = FALSE; SocketInterface_UpdateUnicastModel(data,&params,&effects); // Only send failure response if it has not already been send for this packet if (packetData->sentStatisticalModel == FALSE) { SocketInterface_HandleRequestFailure(iface, record); } else { // Set data to NULL so we know this was freed record->data = NULL; // Remove from request hash SocketInterface_PacketData* packetData2; packetData2 = data->requestHash.PeekRequest(packetData->hashId); assert(packetData2 == packetData); data->requestHash.RemoveHash(packetData->hashId); // Free memory delete packetData; } } // Send failure response otherwise else { SocketInterface_HandleRequestFailure(iface, record); } } EXTERNAL_TreeFreeNode(&data->requestTree, record); // Look at the next one record = EXTERNAL_TreePeekMin(&data->requestTree); } // Free expired multicast messages record = EXTERNAL_TreePeekMin(&data->multicastTree); while (record != NULL && record->time < EXTERNAL_QuerySimulationTime(iface)) { // If its time is expired, extract it and look at the next one EXTERNAL_TreeExtractMin(&data->multicastTree); SocketInterface_PacketData* packetData = (SocketInterface_PacketData*) record->data; //todo: get rid of this???? // Update model if running in distributed qualnet mode // and this is a non-network protocol packet if ((data->useStatisticalModel) && (packetData != NULL) && (packetData->protocol != SocketInterface_ProtocolType_ProtocolNetwork)) { SocketInterface_MulticastModelingParameters params; params.senderNodeAddress = MappingGetSingleNodeAddress(iface->partition, &data->entityMapping, packetData->originator); if (params.senderNodeAddress == 0) { sprintf(err, "SocketInterface_Receive Invalid Sender node (no node address): %s", packetData->originator.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err); } params.receiverNodeAddress = MappingGetSingleNodeAddress(iface->partition, &data->entityMapping, packetData->receiver); if (params.receiverNodeAddress == 0) { int numHostBits; BOOL isNodeId; IO_ParseNodeIdHostOrNetworkAddress( packetData->receiver.c_str(), &(params.receiverNodeAddress), &numHostBits, &isNodeId); assert(isNodeId == FALSE); } params.protocol = packetData->protocol; params.sendTime = packetData->beginProcessingTime; SocketInterface_UpdateMulticastModel(data,&params,packetData->effects); // Free allocated memory for multicast receivers effects hashmap packetData->effects->clear(); delete packetData->effects; } // Remove from request hash SocketInterface_PacketData* packetData2; packetData2 = data->requestHash.PeekRequest(packetData->hashId); assert(packetData2 == packetData); data->requestHash.RemoveHash(packetData->hashId); // Free memory EXTERNAL_TreeFreeNode(&data->multicastTree, record); delete packetData; record = EXTERNAL_TreePeekMin(&data->multicastTree); } #ifdef DEBUG //printf ("partition %d: END receive msg\n", iface->partition->partitionId); #endif } void SocketInterface_Forward( EXTERNAL_Interface *iface, Node* node, void *forwardData, int forwardSize) { SocketInterface_InterfaceData *data; Int32 requestId; SocketInterface_PacketData *packetData; SocketInterface_PacketData *treeNodePacketData; SocketInterface_CommEffectsResponseMessage* response; clocktype totalBoundaryDelay; clocktype simTime; clocktype cpuTime; clocktype interval; clocktype realTime; int i; EXTERNAL_TreeNode* treeNode; BOOL sentStatisticalModel; BOOL networkPacket = FALSE; BOOL multicast = FALSE; SocketInterface_UnicastModelingParameters uParams; SocketInterface_MulticastModelingParameters mParams; SocketInterface_UnicastModeledCommEffects uEffects; SocketInterface_MulticastModeledReceiverCommEffects mEffects; char* messageData = (char*) forwardData; ERROR_Assert(forwardData != NULL, "Invalid data"); assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); if (iface->partition->partitionId != 0) { // Re-forward this compleition to partition 0, no delay EXTERNAL_RemoteForwardData(iface, node, forwardData, forwardSize, 0, 0); return; } sentStatisticalModel = FALSE; // If running in distributed qualnet mode, read in additional // relevant parameters from message structure if (data->useStatisticalModel) { memcpy( &networkPacket, messageData+sizeof(Int32)+sizeof(clocktype), sizeof(BOOL)); if (!networkPacket) { memcpy( &sentStatisticalModel, messageData+sizeof(Int32)+sizeof(clocktype) + sizeof(BOOL), sizeof(BOOL)); memcpy( &multicast, messageData+sizeof(Int32)+sizeof(clocktype) + sizeof(BOOL) + sizeof(BOOL), sizeof(BOOL)); if (multicast) { memcpy( &mParams, messageData+sizeof(Int32)+sizeof(clocktype) + sizeof(BOOL) + sizeof(BOOL) + sizeof(BOOL), sizeof(SocketInterface_MulticastModelingParameters)); mEffects.receivingPlatformAddress = node->partitionData->EXTERNAL_lastIdToInvokeForward; mEffects.sendTime = mParams.sendTime; } else { memcpy( &uParams, messageData+sizeof(Int32)+sizeof(clocktype) + sizeof(BOOL) + sizeof(BOOL) + sizeof(BOOL), sizeof(SocketInterface_UnicastModelingParameters)); } } } // Extract message hash id SocketInterface_PacketHeader* header = (SocketInterface_PacketHeader*) messageData; requestId = header->hashId; // If the request id is not in the hash then this message was already // designated as a failure, return and do nothing. if (data->requestHash.CheckHash(requestId) == FALSE) { // Update successful failures statistic and approporiate statistical model // if running in distributed qualnet mode if (sentStatisticalModel == FALSE) { data->successfulFailures++; } if ((data->useStatisticalModel) && (!networkPacket)) { simTime = EXTERNAL_QuerySimulationTime(iface); if (multicast) { simTime -= mParams.sendTime; mEffects.effects.latency = ((double)simTime)/SECOND; mEffects.effects.success = FALSE; SocketInterface_UpdateMulticastModelSingleReceiver( data, &mParams, &mEffects); } else { simTime -= uParams.sendTime; uEffects.latency = (double) simTime / SECOND; uEffects.success = FALSE; SocketInterface_UpdateUnicastModel( data, &uParams, &uEffects); } } return; } else { // Extract the packet data based on the request id packetData = data->requestHash.PeekRequest(requestId); treeNode = packetData->treeNode; // If not multicast, remove request. This will allow other // multicast messages to come in from other platforms. if (!packetData->multicast) { data->requestHash.RemoveHash(requestId); } // If the datas don't match then it means the node has been // a failure, but the tree node has been reused for a different // comm request treeNodePacketData = (SocketInterface_PacketData*) treeNode->data; assert(treeNode->data == packetData); } // Calculate statistics packetData->finishProcessingTime = EXTERNAL_QuerySimulationTime(iface); packetData->finishProcessingRealTime = EXTERNAL_QueryRealTime(iface); packetData->finishProcessingCPUTime = EXTERNAL_QueryCPUTime(iface); simTime = packetData->finishProcessingTime - packetData->beginProcessingTime; realTime = packetData->finishProcessingRealTime - packetData->beginProcessingRealTime; cpuTime = packetData->finishProcessingCPUTime - packetData->beginProcessingCPUTime; // Calculate real time, taking boundary packets into account if (packetData->beginProcessingTime >= data->timeAllowance) { /*printf("begin = %8.4f end = %8.4f rt = %8.4f cpu = %8.4f speed = %6.2f\n", (double) packetData->beginProcessingTime / SECOND, (double) packetData->finishProcessingTime / SECOND, (double) realTime / SECOND, (double) cpuTime / SECOND, (double) realTime / simTime);*/ } else { /*printf("boundary packet begin = %6.2f end = %6.2f rt = %6.2f " "time = %6.2f\n", (double) packetData->beginProcessingTime / SECOND, (double) packetData->finishProcessingTime / SECOND, (double) realTime / SECOND, (double) data->federationTime / SECOND);*/ if (packetData->boundary >= data->firstBoundary) { totalBoundaryDelay = 0; for (i = packetData->boundary + 1; i <= data->lastBoundary; i++) { totalBoundaryDelay += data->boundaryTimes[i - data->firstBoundary]; } /*printf("boundary = %d, total delay = %f\n", packetData->boundary, (double) totalBoundaryDelay / SECOND);*/ realTime -= totalBoundaryDelay; } else { /*printf("boundary = %d out of range = %d\n", packetData->boundary, data->firstBoundary);*/ } } // Option A occurs if the process was swapped out, and the measured // cpu time is a reliable value if (cpuTime < realTime && cpuTime != 0) { if (data->printPerPacketStats) { fprintf(data->statsFile, "A\t"); } interval = cpuTime; } // Option B occurs if the process was swapped out, and the measured // cpu time is an UNreliable value, but we know that the elapsed real // time was greater than the cpu timing interval. else if (cpuTime < realTime && realTime > iface->cpuTimingInterval) { if (data->printPerPacketStats) { fprintf(data->statsFile, "B\t"); } interval = iface->cpuTimingInterval; } // Otherwise we just use real time else { if (data->printPerPacketStats) { fprintf(data->statsFile, "C\t"); } interval = realTime; } // Use when simTime is greater than 1ms. For other values it will // be too inaccurate. This is only used for display purposes so it is // okay to do this. if (simTime > 1 * MILLI_SECOND) { data->totalPackets++; data->totalRealTimeSpeed += (double) interval / simTime; } if (data->printPerPacketStats) { fprintf(data->statsFile, "Packet\t%f\t%f\t%f\t%f\t%f\n", (double) cpuTime / SECOND, (double) iface->cpuTimingInterval / SECOND, (double) realTime / SECOND, (double) simTime / SECOND, (double) interval / simTime); } #ifdef DEBUG printf("packet processed %f sim time %f real time\n", (packetData->finishProcessingTime - packetData->beginProcessingTime) / 1000000000.0, (packetData->finishProcessingRealTime - packetData->beginProcessingRealTime) / 1000000000.0); #endif // Send response and update statistics if // it hasn't already been sent based on the model if (sentStatisticalModel == FALSE) { // Send a Successful Response std::string receiver; std::string originator; SocketInterface_TimeType latency; latency = (double) EXTERNAL_QuerySimulationTime(iface) - packetData->beginProcessingTime; latency = latency / SECOND; originator = packetData->originator; receiver = packetData->receiver; EntityData* mapping = NULL; if (packetData->multicast) // --> print IP of receiving node { // If it is multicast, get the entityId and multicast owner for this // node id. If no multicast owner then send response to packet // originator. mapping = EntityMappingLookup(&data->entityMapping, node->partitionData->EXTERNAL_lastIdToInvokeForward); //receiver = mapping->entityId; //if (mapping->nodes.size() > 1) //{ NodeAddress nadd = MAPPING_GetDefaultInterfaceAddressFromNodeId( node, node->nodeId); if (nadd != INVALID_MAPPING) { char* buf = new char[MAX_STRING_LENGTH]; IO_ConvertIpAddressToString(nadd, buf); receiver = buf; } //} #ifdef DEBUG std::cout << "SocketInterface_Forward packetData->receiver = " << packetData->receiver << std::endl; std::cout << "SocketInterface_Forward node->nodeId = " << node->nodeId << std::endl; std::cout << "SocketInterface_Forward mapping->entityId = " << mapping->entityId << std::endl; std::cout << "SocketInterface_Forward receiver = " << receiver << std::endl; #endif } response = new SocketInterface_CommEffectsResponseMessage(packetData->id1, packetData->id2, &originator, &receiver, SocketInterface_Status_Success, (double) SocketInterface_Timestamp(iface) / SECOND, latency); response->SetDescription(packetData->description); BOOL sent = FALSE; if (packetData->multicast) { if (data->sourceResponsibleMulticast) { if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId])) { SocketInterface_SendMessage(iface, response, packetData->socketId); data->responses++; data->successes++; sent = TRUE; } } else { std::map<NodeId, Entity_NodeData>::iterator entityit; for (entityit = mapping->nodes.begin(); entityit != mapping->nodes.end(); entityit++) { Entity_NodeData entity = entityit->second; std::vector<MulticastGroup>::iterator it; // If multicast find the multicast group. If found, send a copy of // the successfull comm repsonse to each socket connection that is // subscribing to multicast messages. for (it = entity.multicastGroups.begin(); it != entity.multicastGroups.end(); it++) { if (it->group == packetData->receiver) { for (i = 0; i < (int)it->socketSubscribers.size(); i++) { if (EXTERNAL_SocketValid(data->sockets.connections[it->socketSubscribers[i]])) { SocketInterface_SendMessage(iface, response, it->socketSubscribers[i]); sent = TRUE; data->responses++; data->successes++; } } break; } } } } } // If the packet was not sent to a multicast owner then send it to the // request originator. This will be the case with all unicast packets // and may occur with some broadcast/multicast messages. if (!sent) { if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId])) { SocketInterface_SendMessage(iface, response, packetData->socketId); data->responses++; data->successes++; } if (!packetData->multicast) { // Don't free the tree node yet. Allow it to be removed when it is the // earlist record. But set its data to NULL so we know it was sent // already. treeNode->data = NULL; // Free memory. Note that the forwardData does not need to be freed // since this is part of the message. The packet will be removed from // the tree in SocketInterface_Receive. delete packetData; } } std::string str; response->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); // delete the message delete response; } // Otherwise just set tree node's data to null and free the packetData structure else { if (!packetData->multicast) { treeNode->data = NULL; delete packetData; } } // If running in distributed qualnet mode and if this is not a network level packet // update the appropriate model if ((data->useStatisticalModel) && (!networkPacket)) { if (multicast) { mEffects.effects.latency = ((double)simTime)/SECOND; mEffects.effects.success = TRUE; // Update the packetData's temp hashmap with this value SocketInterface_UpdateTempMulticastModelSingleReceiver( packetData, &mEffects); } else { uEffects.latency = ((double)simTime)/SECOND; uEffects.success = TRUE; SocketInterface_UpdateUnicastModel( data, &uParams, &uEffects); } } // If idle-when-response is set and not running in real-time mode then // go into idle mode if (data->idleWhenResponseSent && data->timeManagement != SocketInterface_TimeManagementType_RealTime) { SocketInterface_SimulationIdleMessage* idle; // Create message and send it to all connections idle = new SocketInterface_SimulationIdleMessage( (double) SocketInterface_Timestamp(iface) / SECOND); #ifdef DEBUG printf("Sent response, now going idle\n"); #endif iface->horizon = EXTERNAL_QuerySimulationTime(iface); ERROR_Assert(!data->waitingForTimeAdvance, "should not be idle"); // Send a ReportSimulationIdleState message to every connected // client for (i = 0; i < (int)data->sockets.connections.size(); i++) { if (data->sockets.activeConnections[i]) { SocketInterface_SendMessage(iface, idle, i); } } // Print to the log file std::string str; idle->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); // Set the sent idle message flag. This flag is set to FALSE when a // time advance is received. data->waitingForTimeAdvance = TRUE; data->inIdleResponse = TRUE; data->idleSentRealTime = EXTERNAL_QueryRealTime(iface); // delete the idle message delete idle; } } void SocketInterface_HandleCommEffectsReceiver(EXTERNAL_Interface *iface, Node* sendNode, SocketInterface_CommEffectsRequestMessage *message, int socketId, clocktype delay) { SocketInterface_InterfaceData *data; Node *node; NodeAddress nodeAddress; char receiverString[MAX_STRING_LENGTH]; char s[MAX_STRING_LENGTH]; char err[MAX_STRING_LENGTH]; char errString[10*MAX_STRING_LENGTH]; char *receiverCh; char *sCh; int numNodes = 0; data = (SocketInterface_InterfaceData*) iface->data; strcpy(receiverString, message->m_ReceiverId.c_str()); receiverCh = receiverString; // This function parses the receiver field, which looks something like // "102|103|105|19". It operates by copying characters one at a time // into the string s. Once a | or NULL is hit it will process what is // currently in s, reset s, and continue parsing. sCh = s; while (1) { // Copy a number *sCh++ = *receiverCh++; // If the next character is a | or NULL then process s if (*receiverCh == '|' || *receiverCh == 0) { // Terminate s *sCh = 0; node = MappingGetSingleNodePointer( iface->partition, &data->entityMapping, (std::string)s); if (node == NULL) { // The string is not a valid entity. Check if it is an IP // address of a node. BOOL badAddress = FALSE; #ifdef _WIN32 // windows // Convert to string using inet_addr nodeAddress = inet_addr(s); if (nodeAddress != INADDR_NONE) { EXTERNAL_ntoh(&nodeAddress, sizeof(NodeAddress)); } #else // unix/linux int err; // Convert to string using inet_aton err = inet_aton(s, (in_addr*) &nodeAddress); if (err == 0) { badAddress = TRUE; } else { nodeAddress = ntohl(nodeAddress); } #endif // Check if the string is an invalid address. If it is a // valid address and not a multicast address, make sure it // is a valid IP address of a QualNet node. Multicast // addresses are valid destination addresses. if (badAddress || (nodeAddress == ANY_ADDRESS && message->m_ReceiverId.compare("255.255.255.255") != 0)) { sprintf( errString, "Unknown Receiver node %s", message->m_ReceiverId.c_str()); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidReceiverId, errString); } else if (!(nodeAddress == ANY_ADDRESS || NetworkIpIsMulticastAddress(iface->partition->firstNode, nodeAddress))) { NodeAddress nodeId; nodeId = MAPPING_GetNodeIdFromInterfaceAddress( iface->partition->firstNode, nodeAddress); if (nodeId == INVALID_MAPPING) { // It's not an IP address. Throw an exception. sprintf( errString, "IP address %s does not map to a platform", s); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidReceiverId, errString); } } } else { nodeAddress = MappingGetSingleNodeAddress(iface->partition, &data->entityMapping, (std::string)s); if (nodeAddress == 0) { sprintf(err, "SocketInterface_HandleCommEffectsReceiver Invalid Sender node (no node address): %s", s); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidSenderId, err); } } numNodes++; // We have a receiver, now send the message SocketInterface_SendCommEffectsRequest( iface, sendNode, message, nodeAddress, socketId, delay); // If this is the end of the string then break if (*receiverCh == 0) { break; } // Otherwise continue parsing receiverCh++; sCh = s; } } if (numNodes == 0) { sprintf(errString, "ERER: O:%s C:%s", message->m_Id1, message->m_Id2); throw SocketInterface_Exception(SocketInterface_ErrorType_EmptyReceiverList, errString); } } void SocketInterface_Finalize(EXTERNAL_Interface *iface) { SocketInterface_InterfaceData *data; unsigned i; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); if (data->totalPackets > 0) { printf("QualNet average transactional real-time (per packet) = %f\n", data->totalRealTimeSpeed / data->totalPackets); } else { printf("QualNet average transactional real-time (per packet) = n/a " "(no packets)\n"); } // Send the change of Simulation state message to stopping or resetting if (data->resetting) { SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Resetting); } else { SocketInterface_ChangeSimulationState(iface, SocketInterface_StateType_Stopping); } // Wait on second for all buffers to send EXTERNAL_Sleep(1 * SECOND); // Empty the buffers for (i = 0; i < data->sockets.connections.size(); i++) { // check the socket is valid if (data->sockets.activeConnections[i]) { // Send out all the messages in the outgoing list. pthread_mutex_lock(&data->sockets.senderMutex); while (data->outgoingMessages != NULL) { pthread_cond_wait( &data->sockets.senderNotFull, &data->sockets.senderMutex); } pthread_mutex_unlock(&data->sockets.senderMutex); } } // Change the state to shut down. At this point we have cleaned // up the sender thread buffer and the outgoing message list. data->simulationState = SocketInterface_StateType_Shutdown; // Close log files the data if (data->driverLogFile != NULL) { fclose(data->driverLogFile); } if (data->responsesLogFile != NULL) { fclose(data->responsesLogFile); } if (data->errorsLogFile != NULL) { fclose(data->errorsLogFile); } if (data->statsLogFile != NULL) { fclose(data->statsLogFile); } if (data->graphLogFile != NULL) { fclose(data->graphLogFile); } // Check which partition are you on if (iface->partition->partitionId == 0) { // Close all sockets for (i = 0; i < (unsigned)data->sockets.numPorts; i++) { if (EXTERNAL_SocketValid(data->sockets.listeningSockets[i])) { EXTERNAL_SocketClose(data->sockets.listeningSockets[i]); } } for (i = 0; i < data->sockets.connections.size(); i++) { if (EXTERNAL_SocketValid(data->sockets.connections[i])) { EXTERNAL_SocketClose(data->sockets.connections[i]); } } // Wait for the sender and receiver threads to finish. Signal that // the sender has work to do so it can exit. It is most likely // currently waiting on this signal. pthread_cond_signal(&data->sockets.senderNotEmpty); pthread_join(data->sockets.senderThread, NULL); pthread_join(data->sockets.receiverThread, NULL); // Create new QualNet process if resetting if (data->resetting) { // Get command line std::vector<std::string>* command = (std::vector<std::string>*) PARTITION_ClientStateFind( iface->partition, "CesCommandLine"); if (command == NULL) { ERROR_ReportError("Invalid command line, cannot reset"); } ExecNewProcess(*command); } // Finalize model structures SocketInterface_FinalizeModels(data); } } static void NodePathToPlatformPath( EXTERNAL_Interface* iface, std::string* nodePath, std::string* platformPath) { SocketInterface_InterfaceData* data; std::vector<std::string> tokens; NodeAddress nodeId; std::string entity; data = (SocketInterface_InterfaceData*) iface->data; StringSplit( nodePath, "/", &tokens); if (tokens.size() < 3) { throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidDynamicCommand, "invalid platform path from remote partition"); } nodeId = atoi(tokens[1].c_str()); entity = MappingGetEntityId( &data->entityMapping, nodeId); if (entity == "") { throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidDynamicCommand, "invalid platform path entity from remote partition"); } tokens[0] = "/platform"; tokens[1] = entity; *platformPath = tokens[0]; for (unsigned i = 1; i < tokens.size(); i++) { *platformPath += "/" + tokens[i]; } } static void SocketInterface_ProcessExternalMessage( EXTERNAL_Interface* iface, Message* msg) { SocketInterface_SerializedMessage serialized; SocketInterface_Message* message = NULL; SocketInterface_Message* response = NULL; UInt32 socketId; BOOL isPlatformPath; // Extract serialized message from packet. The first 4 bytes of the // packet are the socketId. The remainder are the message. memcpy( &socketId, MESSAGE_ReturnPacket(msg), sizeof(UInt32)); serialized.Resize(MESSAGE_ReturnPacketSize(msg) - sizeof(UInt32) - sizeof(BOOL)); memcpy( &isPlatformPath, MESSAGE_ReturnPacket(msg) + sizeof(UInt32), sizeof(BOOL)); memcpy( serialized.m_Data, MESSAGE_ReturnPacket(msg) + sizeof(UInt32) + sizeof(BOOL), serialized.m_Size); message = serialized.Deserialize(); message->SetSocketId(socketId); switch (message->GetType()) { case SocketInterface_MessageType_DynamicCommand: { SocketInterface_DynamicCommandMessage* dynamic = (SocketInterface_DynamicCommandMessage*) message; std::string result; char errString[MAX_STRING_LENGTH]; D_Hierarchy* h = &iface->partition->dynamicHierarchy; //h->Print(); // Check the type for the command switch(dynamic->m_Type) { case SocketInterface_OperationType_Read: { try { h->ReadAsString( dynamic->m_Path.c_str(), result); // Need to send a response back to the socket response = new SocketInterface_DynamicResponseMessage( dynamic->m_Type, &dynamic->m_Path, &dynamic->m_Args, &result); } catch (D_Exception& d) { // We have an exception. std::string err = d.GetError(); SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage( SocketInterface_ErrorType_InvalidDynamicCommand, &err); error->SetMessage(message); response = error; } break; } case SocketInterface_OperationType_Write: { try { h->WriteAsString( dynamic->m_Path.c_str(), dynamic->m_Args.c_str()); } catch (D_Exception& d) { // We have an exception. std::string err = d.GetError(); SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage( SocketInterface_ErrorType_InvalidDynamicCommand, &err); error->SetMessage(message); response = error; } break; } case SocketInterface_OperationType_Execute: { try { h->ExecuteAsString( dynamic->m_Path.c_str(), dynamic->m_Args.c_str(), result); // Send a response for the command above response = new SocketInterface_DynamicResponseMessage( dynamic->m_Type, &dynamic->m_Path, &dynamic->m_Args, &result); } catch (D_Exception& d) { // We have an exception. std::string err = d.GetError(); SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage( SocketInterface_ErrorType_InvalidDynamicCommand, &err); error->SetMessage(message); response = error; } break; } default: sprintf( errString, "Unknown operation type \"%d\"", dynamic->m_Type); throw SocketInterface_Exception(SocketInterface_ErrorType_InvalidOperationType, errString); break; } // If we have a response (either a DynamicResult or Error) send // it back to partition 0 if (response != NULL) { response->SetSocketId(message->GetSocketId()); SocketInterface_SendMessageToOtherPartition( iface, response, isPlatformPath, 0); delete response; } break; } // Send responses and errors back through the socket case SocketInterface_MessageType_DynamicResponse: if (isPlatformPath) { SocketInterface_DynamicResponseMessage* response = (SocketInterface_DynamicResponseMessage*) message; std::string platformPath; NodePathToPlatformPath(iface, &response->m_Path, &platformPath); // Create new response message using the platform path SocketInterface_DynamicResponseMessage* newResponse; newResponse = new SocketInterface_DynamicResponseMessage( response->m_Type, &platformPath, &response->m_Args, &response->m_Output); newResponse->SetSocketId(response->GetSocketId()); SocketInterface_SendMessage( iface, newResponse, newResponse->GetSocketId()); delete newResponse; } else { SocketInterface_SendMessage( iface, message, message->GetSocketId()); } break; // Send responses and errors back through the socket case SocketInterface_MessageType_Error: SocketInterface_SendMessage( iface, message, message->GetSocketId()); break; default: { std::string s; message->Print(&s); printf("Unknown remote message %s\n", s.c_str()); break; } } delete message; } void SocketInterface_ProcessEvent( Node* node, Message* message) { SocketInterface_Message* delayedMessage; EXTERNAL_Interface* iface; SocketInterface_InterfaceData* data; char errString[MAX_STRING_LENGTH]; iface = node->partitionData->interfaceTable[EXTERNAL_SOCKET]; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; switch (message->eventType) { case MSG_EXTERNAL_SOCKET_INTERFACE_DelayedMessage: memcpy(&delayedMessage, MESSAGE_ReturnInfo(message), sizeof(SocketInterface_Message*)); try { SocketInterface_HandleDelayedMessage( iface, delayedMessage); } catch (SocketInterface_Exception& e) { SocketInterface_HandleException(iface, &e, delayedMessage, delayedMessage->GetSocketId()); } delete delayedMessage; break; case MSG_EXTERNAL_SOCKET_INTERFACE_MulticastGroup: { // Decode message info with join/leave groups as follows // 4 bytes: size of join string (N) // 4 bytes: size of leave string (M) // N + 1 bytes: join string + trailing 0 // M + 1 bytes: leave string + trailing 0 UInt32 n; UInt32 m; std::string join; std::string leave; std::vector<std::string> groups; NodeAddress group; BOOL isNodeId; int hostBits; unsigned i; char* info = MESSAGE_ReturnInfo(message); memcpy(&n, info, sizeof(UInt32)); info += sizeof(UInt32); memcpy(&m, info, sizeof(UInt32)); info += sizeof(UInt32); if (n > 0) { // Extract list of join groups from info message join = info; info += n + 1; StringSplit(&join, " ", &groups); // Join each group, if it's a valid multicast group for (i = 0; i < groups.size(); i++) { IO_ParseNodeIdHostOrNetworkAddress( groups[i].c_str(), &group, &hostBits, &isNodeId); // Address is valid multicast group, verified in // SocketInterface_HandleMulticastChange NetworkIpJoinMulticastGroup(node, group, 0); } } if (m > 0) { // Extract list of leave groups leave = info; info += m + 1; StringSplit(&leave, " ", &groups); // Leave each group, if it's a valid multicast group for (i = 0; i < groups.size(); i++) { IO_ParseNodeIdHostOrNetworkAddress( groups[i].c_str(), &group, &hostBits, &isNodeId); // Address is valid multicast group, verified in // SocketInterface_HandleMulticastChange NetworkIpLeaveMulticastGroup(node, group, 0); } } break; } case MSG_EXTERNAL_RemoteMessage: { SocketInterface_ProcessExternalMessage(iface, message); break; } #ifdef TEST_EXTERNAL_REMOTESEND case MSG_EXTERNAL_RemoteTest: { SocketInterface_ExternalPingInfo * pingInfo; pingInfo = (SocketInterface_ExternalPingInfo *) MESSAGE_ReturnInfo (message); printf ("At %lld p%d we've received an QualNet remoteTest message from src %d num %d\n", node->partitionData->theCurrentTime, node->partitionData->partitionId, pingInfo->sourcePartition, pingInfo->msgNumber); break; } #endif case MSG_EXTERNAL_SOCKET_INTERFACE_StatsLogTimer: { if (data->simulationState == SocketInterface_StateType_Executing || (data->simulationState == SocketInterface_StateType_Paused && data->pauseAdvanceSimTime)) { SocketInterface_PrintStats(iface); } MESSAGE_Send(node, MESSAGE_Duplicate(node, message), data->statsPrintInterval); break; } case MSG_EXTERNAL_SOCKET_INTERFACE_GraphLogTimer: { if (data->simulationState == SocketInterface_StateType_Executing || (data->simulationState == SocketInterface_StateType_Paused && data->pauseAdvanceSimTime)) { SocketInterface_PrintGraph( iface, &data->entityMapping, data->graphLogFile); } MESSAGE_Send(node, MESSAGE_Duplicate(node, message), data->graphPrintInterval); break; } default: sprintf(errString, "Unknown QualNet event type %d", message->eventType); ERROR_ReportWarning(errString); break; } MESSAGE_Free(node, message); } /* * FUNCTION SocketInterface_HandlePreInitializeException * PURPOSE Handles exception that occured during * pre-initialization stage of QualNet. * * Parameters: * exception: the error that happened. * message: serialized message that caused the exception. * socket: socket used by QualNet. */ static void SocketInterface_HandlePreInitializeException( SocketInterface_Exception* exception, SocketInterface_SerializedMessage* message, EXTERNAL_Socket* socket) { std::string str; EXTERNAL_SocketErrorType err; SocketInterface_SerializedMessage* sendMessage; // Create an error message. SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(exception->GetError(), &exception->GetErrorString()); error->SetSerializedMessage(message); // check if the socket is valid. if (EXTERNAL_SocketValid(socket)) { // Serialize the message. // Send the data back to the external interface. sendMessage = error->Serialize(); err = EXTERNAL_SocketSend(socket, (char*) sendMessage->m_Data, sendMessage->m_Size); delete sendMessage; } delete error; } /* * FUNCTION SocketInterface_HandlePreInitializeException * PURPOSE Handles exception that occured during * pre-initialization stage of QualNet. * * Parameters: * exception: the error that happened. * message: message that caused the exception. * socket: socket used by QualNet. */ static void SocketInterface_HandlePreInitializeException( SocketInterface_Exception* exception, SocketInterface_Message* message, EXTERNAL_Socket* socket) { std::string str; EXTERNAL_SocketErrorType err; SocketInterface_SerializedMessage* sendMessage; // Create an error message. SocketInterface_ErrorMessage* error = new SocketInterface_ErrorMessage(exception->GetError(), &exception->GetErrorString()); error->SetMessage(message); // check if the socket is valid. if (EXTERNAL_SocketValid(socket)) { // Serialize the message. // Send the data back to the external interface. sendMessage = error->Serialize(); err = EXTERNAL_SocketSend(socket, (char*) sendMessage->m_Data, sendMessage->m_Size); delete sendMessage; } delete error; } /* * FUNCTION SocketInterface_HandlePreInitializeSimulationMessage * PURPOSE Handles the initializeSimulation message * received at preinitialization stage. * * Parameters: * message: serialized message that caused the exception. * scenarioFile: name of the configuration file. */ static void SocketInterface_HandlePreInitializeSimulationMessage( SocketInterface_Message* message, char* scenarioFile) { char errString[MAX_STRING_LENGTH]; // Get the scenario string SocketInterface_InitializeSimulationMessage* initialize; initialize = (SocketInterface_InitializeSimulationMessage*) message; if (strcmp(initialize->m_Scenario.c_str(), "") == 0) { // Scenario string is missing, Throw an exception. sprintf(errString, "Empty Scenario String for InitializeMessage"); throw SocketInterface_Exception(SocketInterface_ErrorType_EmptyScenarioString, errString); } else { // We have a scenario for qualnet. // Copy the string into a file. // Extract the name of the file char* token = NULL; char iotoken[MAX_STRING_LENGTH]; token = IO_GetDelimitedToken(iotoken, initialize->m_Scenario.c_str(), " \t\n", NULL); token = IO_GetDelimitedToken(iotoken, iotoken, "<>", NULL); // Now we have the file name. FILE* fd; fd = fopen(iotoken, "wt"); strcpy(scenarioFile, iotoken); if (fd == NULL) { ERROR_ReportError("Error: Unable to open the configuration file!\n"); } fseek(fd, 0, SEEK_SET); fputs(initialize->m_Scenario.c_str(), fd); fclose(fd); } } /* * FUNCTION SocketInterface_PreInitializeWaitingData * PURPOSE Blocks on the socket until data is * available. * * Parameters: * connectSocket: Socket it blocks on. * avail: Boolean value. */ static void SocketInterface_PreInitializeWaitingData( EXTERNAL_Socket* connectSocket, bool* avail) { // Check to see if data is available while (!*avail) { EXTERNAL_SocketDataAvailable( connectSocket, avail); } } /* * FUNCTION SocketInterface_PreInitialize * PURPOSE Handles the preinitialization process * This function allocates memory for the * socket, and then stores the data structures for * further use in the future, and creates the scenario * from the scenario string sent using the socket. * * Parameters: * partition: Pointer to the partition data structure. * ports: Ports of listening sockes, ports[i] is sockets[i] * sockets: Vector of listening sockets * fileString: Stores the scenario filename. */ void SocketInterface_PreInitialize( PartitionData* partition, std::vector<int>* ports, std::vector<EXTERNAL_Socket*>* sockets, char* fileString) { char errString[MAX_STRING_LENGTH]; int err = 0; BOOL gotScenario = FALSE; std::vector<EXTERNAL_Socket*>* connections; std::vector<SocketInterface_Message*>* messages; bool avail; unsigned i; SocketInterface_Message* message; fd_set readSet; int max; timeval t; EXTERNAL_Socket* connectSocket = NULL; EXTERNAL_SocketErrorType socketErr; SocketInterface_SerializedMessage data; //WSADATA gWsaData; connections = new std::vector<EXTERNAL_Socket*>; messages = new std::vector<SocketInterface_Message*>; printf ("Waiting for an InitializeSimulation message in bootstrap mode\n"); // Save socket variables for later use PARTITION_ClientStateSet(partition, "Socket_ListeningSockets", (void*) sockets); PARTITION_ClientStateSet(partition, "Socket_ListeningPorts", (void*) ports); PARTITION_ClientStateSet(partition, "Socket_Connections", (void*) connections); PARTITION_ClientStateSet(partition, "Socket_Messages", (void*) messages); while (!gotScenario) { // Create set of all input sockets FD_ZERO(&readSet); max = -1; for (i = 0; i < sockets->size(); i++) { FD_SET( (unsigned int) (*sockets)[i]->socketFd, &readSet); if ((*sockets)[i]->socketFd > max) { max = (*sockets)[i]->socketFd; } } // Select for 1 ms t.tv_sec = 0; t.tv_usec = 1000; // Select for readable sockets err = select(max + 1, &readSet, NULL, NULL, &t); if (err == -1) { #ifndef _WIN32 // In unix EINTR is interrupted system call. This means that the // select call did not finish waiting which is not an error, // so set available to false and return no error. if (errno == EINTR) { continue; } perror("Error calling select"); continue; #endif } // Now see which sockets have new connection for (i = 0; i < sockets->size(); i++) { //cout << "Socket fd is " << socketData->sockets.listeningSockets[i]->socketFd << endl; if (FD_ISSET(( unsigned int) (*sockets)[i]->socketFd, &readSet)) { // Now to accept a connection // Initialize the connection socket, make it blocking and threaded. connectSocket = new EXTERNAL_Socket; EXTERNAL_SocketInit(connectSocket, TRUE, TRUE); socketErr = EXTERNAL_SocketAccept((*sockets)[i], connectSocket); if (socketErr != EXTERNAL_NoSocketError) { sprintf( errString, "Unable to accept socket on port %d", (*ports)[i]); ERROR_ReportError(errString); } connections->push_back(connectSocket); printf("Accepted a new connection in bootstrap mode\n"); // Send standby message SocketInterface_SimulationStateMessage* standby = new SocketInterface_SimulationStateMessage(SocketInterface_StateType_Standby, SocketInterface_StateType_Standby); SocketInterface_SerializedMessage* sendMessage = standby->Serialize(); err = EXTERNAL_SocketSend( connectSocket, (char*) sendMessage->m_Data, sendMessage->m_Size); delete sendMessage; delete standby; } } // Scan all connected sockets, retrieving data for (i = 0; i < connections->size(); i++) { EXTERNAL_SocketDataAvailable( (*connections)[i], &avail); if (avail) { // Try to receive data try { SocketInterface_ReceiveSerializedMessage( (*connections)[i], &data); } catch (SocketInterface_Exception& e) { // Handle the exception here. SocketInterface_HandlePreInitializeException(&e, &data, (*connections)[i]); continue; } // Continue trying to receive message later if the entire message // could not be read if (data.m_Size == 0) { continue; } // Try deserializing try { message = data.Deserialize(); message->SetSocketId(i); } catch (SocketInterface_Exception& e) { SocketInterface_HandlePreInitializeException(&e, &data, connectSocket); continue; } if (message->GetType() == SocketInterface_MessageType_InitializeSimulation) { // Handle initialize simulation message -- what we are // looking for. Loop will exit after this message. try { // Read/save scenario, save name in fileString SocketInterface_HandlePreInitializeSimulationMessage(message, fileString); } catch (SocketInterface_Exception& e) { // Catch the exception here. SocketInterface_HandlePreInitializeException(&e, message, connectSocket); continue; } // Save the message for use after QualNet has initialized. gotScenario = TRUE; PARTITION_ClientStateSet(partition, "SocketInterface_InitializeSimulationMessage", (void*) message); } else { // Save all non-initialization messages messages->push_back(message); } } } } // end of while } void CreateSocketArray( char* arg, std::vector<EXTERNAL_Socket*>** sockets, std::vector<int>** ports) { char iotoken[MAX_STRING_LENGTH]; char errString[MAX_STRING_LENGTH]; char* token; char* next; int port; EXTERNAL_Socket* s; EXTERNAL_SocketErrorType socketErr; *sockets = new std::vector<EXTERNAL_Socket*>; *ports = new std::vector<int>; // Loop overall tokens in form x,y,z token = IO_GetDelimitedToken(iotoken, arg, ",", &next); while (token != NULL) { // Create new socket and determine port s = new EXTERNAL_Socket; port = atoi(token); // Keep trying to open listening port until success do { socketErr = EXTERNAL_SocketInitListen( s, port, TRUE, TRUE); if (socketErr != EXTERNAL_NoSocketError) { sprintf( errString, "Unable to open socket on port %d. Trying again in 3 seconds.", port); ERROR_ReportWarning(errString); EXTERNAL_Sleep(3 * SECOND); } } while (socketErr != EXTERNAL_NoSocketError); // Success. Store socket in vector and get next token (*sockets)->push_back(s); (*ports)->push_back(port); token = IO_GetDelimitedToken(iotoken, next, ",", &next); } } static void HandleParserConfiguration( int argc, char* argv [], SimulationProperties* simProps) { if (simProps->noMiniParser) { return; } #ifdef JNE_LIB // Now to run the configuration file thru parser. So // get the path for the default file char defCesPath[512]; char cesConfigurationFile[512]; const char* defCesTailPath = "/libraries/ces/data/ces.default.config"; const char* defCesTailPathWin32 = "\\libraries\\ces\\data"; const char* defCesFileName = "\\ces.default.config"; const char* defSettingFileName = "\\ces.parser.rc"; const char* parserDefSettingPath = "/libraries/ces/data/ces.parser.rc"; char settingPath[512]; // create the path for the miniparser setting file strcpy(settingPath, simProps->qualnetHomePath); // create the path for qualnet default config file. strcpy(defCesPath, simProps->qualnetHomePath); //strcpy (simProps->qualnetHomePath, "C:/navin"); char* found; found = strchr(simProps->qualnetHomePath, '/'); if (found == NULL) { // We have "\" in the home path. strcat(defCesPath, defCesTailPathWin32); strcat(defCesPath, defCesFileName); strcat(settingPath, defCesTailPathWin32); strcat(settingPath, defSettingFileName); } else { // We have "/" in the path strcat(defCesPath, defCesTailPath); strcat(settingPath, parserDefSettingPath); } cout << "CONFIGFILE_PATH=" << defCesPath << endl; // Now use the parser to get the configuration file. HandleConfigurationFile(simProps->configFileName, defCesPath, cesConfigurationFile, "ces.parser.rc"); strcpy(simProps->configFileName, cesConfigurationFile); #endif } void SocketInterface_BootStrap(int argc, char * argv [], SimulationProperties * simProps, PartitionData * partitionData) { std::vector<EXTERNAL_Socket*>* serverSockets = NULL; std::vector<int>* serverPorts = NULL; BOOL serverMode = FALSE; if (partitionData->partitionId != 0) { return; } int thisArg = 1; while (thisArg < argc) { if (!strcmp(argv[thisArg], "-socketports")) { if (argc < thisArg + 1) { ERROR_ReportError("Not enough arguments to -socketports.\n" "Correct Usage:\t -socketports X[,Y,Z,...].\n"); } else { serverMode = TRUE; CreateSocketArray( argv[thisArg + 1], &serverSockets, &serverPorts); } } else if (!strcmp(argv[thisArg], "-nomini")) { simProps->noMiniParser = TRUE; } thisArg++; } // If we are running in server mode retrieve config file from socket if (serverMode) { char fileString[MAX_STRING_LENGTH]; SocketInterface_PreInitialize( partitionData, serverPorts, serverSockets, fileString); strncpy( simProps->configFileName, fileString, MAX_STRING_LENGTH); simProps->configFileName[MAX_STRING_LENGTH - 1] = '\0'; } HandleParserConfiguration(argc, argv, simProps); // Save command line. This may be necessary if QualNet receives a restart // message. std::vector<std::string>* commandLine = new std::vector<std::string>; for (thisArg = 0; thisArg < argc; thisArg++) { commandLine->push_back(argv[thisArg]); } PARTITION_ClientStateSet( partitionData, "CesCommandLine", (void*) commandLine); } SocketInterface_ModeType SocketInterface_GetModeType(EXTERNAL_Interface* iface) { SocketInterface_InterfaceData* data; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); return data->qualnetMode; } void D_Sleep::ReadAsString(std::string& out) { if (m_IsSleeping) { out = "yes"; } else { out = "no"; } } void D_Sleep::ExecuteAsString(const std::string& in, std::string& out) { ERROR_ReportWarning("UGS sleep dynamic commands are not supported"); out = ""; } void D_C2Node::ReadAsString(std::string& out) { ERROR_ReportWarning("UGS C2Node dynamic commands are not supported"); out = ""; } void D_C2Node::ExecuteAsString(const std::string& in, std::string& out) { ERROR_ReportWarning("UGS C2Node dynamic commands are not supported"); out = ""; } void D_MulticastGroups::ReadAsString(std::string& out) { GetMulticastGroups(m_Node, out); } void SocketInterface_AddNodeToSubnet(Node* node, NodeId nodeId, NodeAddress subnetAddress) { // Get external interface EXTERNAL_Interface* iface = node->partitionData->interfaceTable[EXTERNAL_SOCKET]; if (iface != NULL) { SocketInterface_InterfaceData* data = (SocketInterface_InterfaceData*) iface->data; data->subnetNodeMap[subnetAddress].push_back(nodeId); } } /* * FUNCTION SocketInterface_InitializeModels * PURPOSE Handles initialization of comm. effects statistical models * Parameters: * data: Pointer to the SocketInterface_InterfaceData (mts interface) structure. */ void SocketInterface_InitializeModels(SocketInterface_InterfaceData *data) { assert(data != NULL); // Create new hashmap for unicast model data->unicastStatModel = new SocketInterface_UnicastStatModel(); // Create new hashmap for multicast model data->multicastStatModel = new SocketInterface_MulticastStatModel(); } /* * FUNCTION SocketInterface_FinalizeModels * PURPOSE Handles finalization of comm. effects statistical models * Parameters: * data: Pointer to the SocketInterface_InterfaceData (mts interface) structure. */ void SocketInterface_FinalizeModels(SocketInterface_InterfaceData *data) { assert(data != NULL); if ((data->unicastStatModel != NULL) && (!data->unicastStatModel->empty())) { // Free all SocketInterface_UnicastModel objects in the hashmap SocketInterface_UnicastStatModel::iterator it; for (it = data->unicastStatModel->begin(); it != data->unicastStatModel->end(); ++it) { MEM_free(it->second); } // Free the hashmap data->unicastStatModel->clear(); } if ((data->multicastStatModel != NULL) && (!data->multicastStatModel->empty())) { // Free all SocketInterface_MulticastModel objects in the hashmap SocketInterface_MulticastStatModel::iterator it; for (it = data->multicastStatModel->begin(); it != data->multicastStatModel->end(); ++it) { // Free all SocketInterface_MulticastModeledReceiverCommEffects objects // in the SocketInterface_MulticastModeledReceiversCommEffects hashmap if (!it->second->effects->empty()) { SocketInterface_MulticastModeledReceiversCommEffects::iterator it2; for (it2 = it->second->effects->begin(); it2 != it->second->effects->end(); ++it2) { MEM_free(it2->second); } // Free the hashmap it->second->effects->clear(); } MEM_free(it->second); } // Free the hashmap data->multicastStatModel->clear(); } } /* * FUNCTION SocketInterface_UpdateUnicastModel * PURPOSE Handles updates to unicast comm.effects model * for a specific set of unicast model parameters * Parameters: * data: Pointer to the SocketInterface_InterfaceData (mts interface) structure, * params: Pointer to the unicast model parameters structure, * effects: Pointer to the unicast modeled effects structure. */ void SocketInterface_UpdateUnicastModel( SocketInterface_InterfaceData *data, SocketInterface_UnicastModelingParameters *params, SocketInterface_UnicastModeledCommEffects *effects) { SocketInterface_UnicastModel* returnedModel = NULL; SocketInterface_UnicastModel *model; SocketInterface_UnicastStatModel::iterator it; BOOL found = FALSE; BOOL hangingKey = FALSE; assert(params != NULL); assert(effects != NULL); assert(data != NULL); assert(data->unicastStatModel != NULL); if (!data->unicastStatModel->empty()) { it = data->unicastStatModel->find(params); // If model for corresponding parameters exist // in hashmap, modify this model if (it != data->unicastStatModel->end()) { returnedModel = (SocketInterface_UnicastModel *)it->second; if (returnedModel != NULL) { if (params->sendTime >= returnedModel->params.sendTime) { found = TRUE; } // If model reflects newer information, ignore the update and return else { return; } } // Make a note if empty model exists for corresponding parameters else { hangingKey = TRUE; } } } // If the model is found, update it. Otherwise add it into the hashmap if (found == TRUE) { returnedModel->params.sendTime = params->sendTime; memcpy(&(returnedModel->effects), effects, sizeof(SocketInterface_UnicastModeledCommEffects)); } else { model = (SocketInterface_UnicastModel*) MEM_malloc(sizeof(SocketInterface_UnicastModel)); memcpy(&(model->params), params, sizeof(SocketInterface_UnicastModelingParameters)); memcpy(&(model->effects), effects, sizeof(SocketInterface_UnicastModeledCommEffects)); if (hangingKey == FALSE) { SocketInterface_UnicastModelingParameters *p; p = &(model->params); (*data->unicastStatModel) [p] = model; } // In case of empty model, update the parameters and add the model else { it->second = model; } } } /* * FUNCTION SocketInterface_GetUnicastCommEffects * PURPOSE Returns modeled unicast comm.effects model * for a specified set of unicast model parameters * Return value: Pointer to a constant unicast modeled effects structure. * Parameters: * data: Pointer to the SocketInterface_InterfaceData (mts interface) structure, * params: Pointer to the unicast model parameters structure. */ const SocketInterface_UnicastModeledCommEffects* SocketInterface_GetUnicastCommEffects( SocketInterface_InterfaceData *data, SocketInterface_UnicastModelingParameters *params) { SocketInterface_UnicastModel *model; SocketInterface_UnicastModeledCommEffects *effects; SocketInterface_UnicastStatModel::iterator it; effects = NULL; // Search for model in hashmap, and if found return it assert(params != NULL); assert(data != NULL); assert(data->unicastStatModel != NULL); if (!data->unicastStatModel->empty()) { it = data->unicastStatModel->find(params); if (it != data->unicastStatModel->end()) { model = it->second; if (model != NULL) { effects = &(model->effects); } } } return effects; } /* * FUNCTION SocketInterface_UpdateMulticastModel * PURPOSE Handles updates to multicast comm.effects model for multiple receivers, * for a specific set of multicast model parameters * Parameters: * data: Pointer to the SocketInterface_InterfaceData (mts interface) structure, * params: Pointer to the multicast model parameters structure, * effects: Pointer to the multicast modeled effects hashmap for multiple receivers. */ void SocketInterface_UpdateMulticastModel( SocketInterface_InterfaceData *data, SocketInterface_MulticastModelingParameters *params, SocketInterface_MulticastModeledReceiversCommEffects *effects) { SocketInterface_MulticastModel* returnedModel = NULL; SocketInterface_MulticastModel *model; SocketInterface_MulticastModeledReceiversCommEffects::iterator it; SocketInterface_MulticastModeledReceiversCommEffects::iterator it2; SocketInterface_MulticastStatModel::iterator it3; BOOL found = FALSE; BOOL hangingKey = FALSE; assert(params != NULL); assert(effects != NULL); assert(data != NULL); assert(data->multicastStatModel != NULL); if (!data->multicastStatModel->empty()) { it3 = data->multicastStatModel->find(params); // If model for corresponding parameters exist // in hashmap, modify this model if (it3 != data->multicastStatModel->end()) { returnedModel = (SocketInterface_MulticastModel *)it3->second; if (returnedModel != NULL) { if (params->sendTime >= returnedModel->params.sendTime) { found = TRUE; } // If model reflects newer information, ignore the update and return else { return; } } // Make a note if empty model exists for corresponding parameters else { hangingKey = TRUE; } } } // If the model is found, update it. Otherwise add it into the hashmap if (found == TRUE) { returnedModel->params.sendTime = params->sendTime; // Create comm. effects hashmap if it doesnt already exist if (returnedModel->effects == NULL) { returnedModel->effects = new SocketInterface_MulticastModeledReceiversCommEffects(); } } else { model = (SocketInterface_MulticastModel*) MEM_malloc(sizeof(SocketInterface_MulticastModel)); memcpy(&(model->params), params, sizeof(SocketInterface_MulticastModelingParameters)); model->effects = new SocketInterface_MulticastModeledReceiversCommEffects(); if (hangingKey == FALSE) { data->multicastStatModel->insert( pair<const SocketInterface_MulticastModelingParameters *, SocketInterface_MulticastModel *>(&(model->params),model)); } // In case of empty model, update the parameters and add the model else { it3->second = model; } returnedModel = model; } // Set modeled comm. effects to default values for all existing receivers if (!returnedModel->effects->empty()) { for (it = returnedModel->effects->begin(); it != returnedModel->effects->end(); ++it) { if (it->second == NULL) { it->second = (SocketInterface_MulticastModeledReceiverCommEffects*) MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); } it->second->sendTime = params->sendTime; it->second->effects.latency = 0.0; it->second->effects.success = FALSE; } } if (!effects->empty()) { // Traverse through receivers comm. effects hashmap and update/insert values for (it = effects->begin(); it != effects->end(); ++it) { if (it->second != NULL) { if (returnedModel->effects->empty()) { returnedModel->effects->insert( pair<const NodeAddress *, SocketInterface_MulticastModeledReceiverCommEffects *> (it->first,it->second)); } else { it2 = returnedModel->effects->find(it->first); if (it2 == returnedModel->effects->end()) { returnedModel->effects->insert( pair<const NodeAddress *, SocketInterface_MulticastModeledReceiverCommEffects *> (it->first,it->second)); } else { memcpy(it2->second, it->second, sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); MEM_free(it->second); it->second = NULL; } } } } } } /* * FUNCTION SocketInterface_UpdateMulticastModelSingleReceiver * PURPOSE Handles updates to multicast comm.effects model for a single receiver, * for a specific set of multicast model parameters * Parameters: * data: Pointer to the SocketInterface_InterfaceData (mts interface) structure, * params: Pointer to the multicast model parameters structure, * effects: Pointer to the multicast modeled effects structure for a single receiver. */ void SocketInterface_UpdateMulticastModelSingleReceiver( SocketInterface_InterfaceData *data, SocketInterface_MulticastModelingParameters *params, SocketInterface_MulticastModeledReceiverCommEffects *effects) { SocketInterface_MulticastModel* returnedModel = NULL; SocketInterface_MulticastModeledReceiverCommEffects *tempEffects; SocketInterface_MulticastModeledReceiversCommEffects::iterator it; SocketInterface_MulticastStatModel::iterator it2; BOOL found = FALSE; assert(params != NULL); assert(effects != NULL); assert(data != NULL); assert(data->multicastStatModel != NULL); if (!data->multicastStatModel->empty()) { it2 = data->multicastStatModel->find(params); // If model for corresponding parameters exist // in hashmap, modify this model if (it2 != data->multicastStatModel->end()) { returnedModel = (SocketInterface_MulticastModel *)it2->second; if (returnedModel != NULL) { if (params->sendTime == returnedModel->params.sendTime) { found = TRUE; } } } } // Modify model only if it already exists in the hashmap if (found == TRUE) { if (returnedModel->effects == NULL) { returnedModel->effects = new SocketInterface_MulticastModeledReceiversCommEffects(); } // Insert if the effects hashmap is empty if (returnedModel->effects->empty()) { tempEffects = (SocketInterface_MulticastModeledReceiverCommEffects*) MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); memcpy(tempEffects,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); returnedModel->effects->insert( pair<const NodeAddress *, SocketInterface_MulticastModeledReceiverCommEffects *> (&(tempEffects->receivingPlatformAddress), tempEffects)); } else { it = returnedModel->effects->find(&(effects->receivingPlatformAddress)); // Insert if effects hashmap is non-empty but does not contain the receiver model if (it == returnedModel->effects->end()) { tempEffects = (SocketInterface_MulticastModeledReceiverCommEffects*) MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); memcpy(tempEffects,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); returnedModel->effects->insert( pair<const NodeAddress *, SocketInterface_MulticastModeledReceiverCommEffects *> (&(tempEffects->receivingPlatformAddress), tempEffects)); } // Update if effects hashmap is non-empty and does contain the receiver model else { if (it->second == NULL) { it->second = (SocketInterface_MulticastModeledReceiverCommEffects*) MEM_malloc(sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); } memcpy(it->second,effects,sizeof(SocketInterface_MulticastModeledReceiverCommEffects)); } } } } /* * FUNCTION SocketInterface_GetMulticastCommEffects * PURPOSE Returns modeled multicast comm.effects model (multiple receivers) * for a specified set of multicast model parameters * Return value: Pointer to a constant multicast modeled effects hashmap. * Parameters: * data: Pointer to the SocketInterface_InterfaceData (mts interface) structure, * params: Pointer to the multicast model parameters structure. */ const SocketInterface_MulticastModeledReceiversCommEffects* SocketInterface_GetMulticastCommEffects( SocketInterface_InterfaceData *data, SocketInterface_MulticastModelingParameters *params) { SocketInterface_MulticastModel *model; SocketInterface_MulticastModeledReceiversCommEffects *effects; SocketInterface_MulticastStatModel::iterator it; effects = NULL; // Search for model in hashmap, and if found return it assert(params != NULL); assert(data != NULL); assert(data->multicastStatModel != NULL); if (!data->multicastStatModel->empty()) { it = data->multicastStatModel->find(params); if (it != data->multicastStatModel->end()) { model = it->second; if (model != NULL) { effects = model->effects; } } } return effects; } /* * FUNCTION SocketInterface_SendModeledResponses * PURPOSE Checks and sends comm. effects responses to designated receivers * based on the availability, in the model, of comm. effects for * a specified set of unicast/multicast model parameters * Return value: Boolean value indicating whether model for corresponding * parameters were found * Parameters: * iface: Pointer to the EXTERNAL_Interface (mts interface) structure, * packetData: Pointer to the SocketInterface_PacketData structure corresponding to the packet request. * params: Pointer to the unicast/multicast model parameters structure. */ BOOL SocketInterface_SendModeledResponses( EXTERNAL_Interface *iface, SocketInterface_PacketData *packetData, void *params) { SocketInterface_InterfaceData *data; const SocketInterface_MulticastModeledReceiversCommEffects *multiEffects; const SocketInterface_UnicastModeledCommEffects *uniEffects; const SocketInterface_MulticastModeledReceiverCommEffects *multiRecEffects; SocketInterface_MulticastModeledReceiversCommEffects::const_iterator it; SocketInterface_CommEffectsResponseMessage* response; BOOL retVal; SocketInterface_TimeType latency; SocketInterface_Status state; std::string receiver; std::string originator; BOOL packetReturned; retVal = FALSE; assert(iface != NULL); data = (SocketInterface_InterfaceData*) iface->data; assert(data != NULL); assert(packetData != NULL); assert(params != NULL); if (packetData->multicast) { uniEffects = NULL; // Check if effects for parameters have been modeled multiEffects = SocketInterface_GetMulticastCommEffects( data, (SocketInterface_MulticastModelingParameters *)params); // Set packet's indicator variable based on existence of modeled comm. effects if (multiEffects == NULL) { packetData->sentStatisticalModel = FALSE; } else { packetData->sentStatisticalModel = TRUE; retVal = TRUE; originator = packetData->originator; // Iterate through multicast receiver models hashmap // and send responses for all successful receivers to all concerned // response recipients if (!multiEffects->empty()) { for (it = multiEffects->begin(); it != multiEffects->end(); ++it) { if (it->second != NULL) { multiRecEffects = (const SocketInterface_MulticastModeledReceiverCommEffects *) it->second; latency = multiRecEffects->effects.latency; // Packet receipt is successful only if the latency is less than the failure timeout // Otherwise if the model indicates that the packet was eventually receiver // it is deemed a successful failure if (latency > 0.0) { if (latency >= packetData->failureTimeout) { data->successfulFailures++; } else { EntityData* mapping; // If it is multicast, get the entityId and multicast owner for this // node id. If no multicast owner then send response to packet // originator. mapping = EntityMappingLookup( &data->entityMapping, multiRecEffects->receivingPlatformAddress); assert(mapping != NULL); receiver = mapping->entityId; // Construct a response message based on values derived from // packetdata and the model response = new SocketInterface_CommEffectsResponseMessage(packetData->id1, packetData->id2, &originator, &receiver, SocketInterface_Status_Success, (((double) ((SocketInterface_MulticastModelingParameters *)params)->sendTime) / SECOND + (double) latency), latency); response->SetDescription(packetData->description); // Send the response and update stats BOOL sent = FALSE; if (data->sourceResponsibleMulticast) { if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId])) { SocketInterface_SendMessage( iface, response, packetData->socketId); data->responses++; data->successes++; sent = TRUE; } } else { std::map<NodeId, Entity_NodeData>::iterator entityit; for (entityit = mapping->nodes.begin(); entityit != mapping->nodes.end(); entityit++) { Entity_NodeData entity = entityit->second; std::vector<MulticastGroup>::iterator it2; // If multicast find the multicast group. If found, send a copy of // the successfull comm repsonse to each socket connection that is // subscribing to multicast messages. for (it2 = entity.multicastGroups.begin(); it2 != entity.multicastGroups.end(); it2++) { if (it2->group == packetData->receiver) { for (unsigned i = 0; i < it2->socketSubscribers.size(); i++) { if (EXTERNAL_SocketValid(data->sockets.connections[it2->socketSubscribers[i]])) { SocketInterface_SendMessage( iface, response, it2->socketSubscribers[i]); sent = TRUE; data->responses++; data->successes++; } } break; } } } //end for each entity } // If the packet was not sent to a multicast owner then send it to the // request originator. This may occur with some broadcast/multicast messages. if (!sent) { if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId])) { SocketInterface_SendMessage( iface, response, packetData->socketId); data->responses++; data->successes++; } } std::string str; response->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); // delete the message delete response; } } } } } } } else { multiEffects = NULL; // Check if effects for parameters have been modeled uniEffects = SocketInterface_GetUnicastCommEffects( data, (SocketInterface_UnicastModelingParameters *)params); // Set packet's indicator variable based on existence of modeled comm. effects if (uniEffects == NULL) { packetData->sentStatisticalModel = FALSE; } else { packetData->sentStatisticalModel = TRUE; retVal = TRUE; originator = packetData->originator; receiver = packetData->receiver; latency = uniEffects->latency; // If packet was not received or it was received after the timeout, // it is deeped a failure, unless the QualNet is configured to always return successes if ((latency == 0.0) || (latency >= packetData->failureTimeout)) { packetReturned = FALSE; if (data->alwaysSuccess) { state = SocketInterface_Status_Success; } else { state = SocketInterface_Status_Failure; } latency = packetData->failureTimeout; } else { state = SocketInterface_Status_Success; packetReturned = TRUE; } // Construct a response message based on values derived from // packetdata and the model response = new SocketInterface_CommEffectsResponseMessage(packetData->id1, packetData->id2, &originator, &receiver, state, (((double) ((SocketInterface_UnicastModelingParameters *)params)->sendTime) / SECOND + (double) latency), latency); response->SetDescription(packetData->description); // Update the Mibs // Send the response and update stats if (EXTERNAL_SocketValid(data->sockets.connections[packetData->socketId])) { SocketInterface_SendMessage( iface, response, packetData->socketId); data->responses++; if (packetReturned) { data->successes++; } else { data->failures++; if (latency >= packetData->failureTimeout) { data->successfulFailures++; } } } std::string str; response->Print(&str); str += "\n"; SocketInterface_PrintLog( iface, data->responsesLogFile, str.c_str()); // delete the message delete response; } } return retVal; } /* * FUNCTION SocketInterface_GetMessageIds * PURPOSE Retrieve the two message IDs from the SocketInterface_PacketHeader * header of message from qualnet socket * Return value: BOOL indicate whether successfully or not * Parameters: * payload: Pointer to payload of message from socket interface * which contain header * size: Size of the payload. * msgId1: For returing ID1 * msgId2: For returing ID2 */ BOOL SocketInterface_GetMessageIds( char *payload, int size, UInt64 *msgId1, UInt64 *msgId2) { if (payload != NULL && size >= sizeof(SocketInterface_PacketHeader)) { SocketInterface_PacketHeader *pktHdrPtr = (SocketInterface_PacketHeader *) payload; *msgId1 = pktHdrPtr->id1; *msgId2 = pktHdrPtr->id2; return TRUE; } else { return FALSE; } } // SocketInterface_GetEntityMappingStructure is used to get the proper mapping structure // for the socket interface. EntityMapping* SocketInterface_GetEntityMappingStructure(EXTERNAL_Interface* iface) { // Check if qualnet socket is running if (iface->partition->interfaceTable[EXTERNAL_SOCKET] != NULL) { SocketInterface_InterfaceData* data2; data2 = (SocketInterface_InterfaceData*) iface->partition->interfaceTable[EXTERNAL_SOCKET]->data; return &data2->entityMapping; } else { return NULL; } }
[ "2081444098@qq.com" ]
2081444098@qq.com
03c44d1b88816c9b8a45554f1c82f0792d80b0cb
ca71a8028ae57cac5e8f9b10fa0db3333efec086
/ACC sharedmemory exposer/SDK/ACC_ABP_porsche_991ii_gt3_cup_exterior_parameters.hpp
b3409741a985c41736087fb71926c94f031552b7
[]
no_license
Sparten/ACC
42d08b17854329c245d9543e5184888d119251c1
3ee1e5c032dcd508e5913539feb575f42d74365e
refs/heads/master
2020-03-28T20:47:48.649504
2018-10-19T20:47:39
2018-10-19T20:47:39
149,102,523
0
0
null
null
null
null
UTF-8
C++
false
false
9,198
hpp
#pragma once // Assetto Corsa Competizione (0.1.0) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ACC_ABP_porsche_991ii_gt3_cup_exterior_classes.hpp" namespace SDK { //--------------------------------------------------------------------------- //Parameters //--------------------------------------------------------------------------- // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequenceEvaluator_E1DA9E1D40DA0FD6A12778BC199276C6 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequenceEvaluator_E1DA9E1D40DA0FD6A12778BC199276C6_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_F73D2C3F41661C9D5E0985A3A9765457 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_F73D2C3F41661C9D5E0985A3A9765457_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_02135F064A3A1A653C9F9699BDA00E92 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_02135F064A3A1A653C9F9699BDA00E92_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_5F46B5E0405792375C887C8AC15D9941 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_5F46B5E0405792375C887C8AC15D9941_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_00792B874F299B281A242391F29FD29F struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_00792B874F299B281A242391F29FD29F_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequencePlayer_A56EFD0848E703C8607E519B6F048273 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequencePlayer_A56EFD0848E703C8607E519B6F048273_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequencePlayer_7FA47FB14C8C76512DAEA7B39D473195 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_SequencePlayer_7FA47FB14C8C76512DAEA7B39D473195_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_1603CA1947BB9CD6E1461C812DBEDF83 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_1603CA1947BB9CD6E1461C812DBEDF83_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_7D29D7614B0F3C9ADA50169F5891F0AA struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_7D29D7614B0F3C9ADA50169F5891F0AA_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_D26195BE4975833871AE5295C601679F struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_D26195BE4975833871AE5295C601679F_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_CDD8432A46BEF361816BE2AD57AB5677 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_CDD8432A46BEF361816BE2AD57AB5677_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_9E8950DC4DA58C0B4EC470A69A0A26D7 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_9E8950DC4DA58C0B4EC470A69A0A26D7_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_A1050C40439AAF03198CFB995F6F0675 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_A1050C40439AAF03198CFB995F6F0675_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_A593F2DE4999217424AEEB8624FD4964 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_A593F2DE4999217424AEEB8624FD4964_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_200753794A9D1DC6120C0FBECAD586D1 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_200753794A9D1DC6120C0FBECAD586D1_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_86BF9A864DAE97AE6FC2318B97B4C440 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_86BF9A864DAE97AE6FC2318B97B4C440_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_8341707B4E0CE70569DDD9A017B55956 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_8341707B4E0CE70569DDD9A017B55956_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_0C282DFA456A79C9F1D670A78E5941CB struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_0C282DFA456A79C9F1D670A78E5941CB_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_TransitionResult_18BE72D7426928481A19B09457F994A1 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_TransitionResult_18BE72D7426928481A19B09457F994A1_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_130CF84A43C2CABA9FD46C9AF1B0E5A4 struct UABP_porsche_991ii_gt3_cup_exterior_C_EvaluateGraphExposedInputs_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_AnimGraphNode_ModifyBone_130CF84A43C2CABA9FD46C9AF1B0E5A4_Params { }; // Function ABP_porsche_991ii_gt3_cup_exterior.ABP_porsche_991ii_gt3_cup_exterior_C.ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior struct UABP_porsche_991ii_gt3_cup_exterior_C_ExecuteUbergraph_ABP_porsche_991ii_gt3_cup_exterior_Params { int EntryPoint; // (BlueprintVisible, BlueprintReadOnly, Parm, ZeroConstructor, IsPlainOldData) }; } #ifdef _MSC_VER #pragma pack(pop) #endif
[ "sportcorp@hotmail.com" ]
sportcorp@hotmail.com
08fce068d99e752a3bc49e087318b4d74b17950b
a1de5a7be635f601426d78b8cdbb9a3090904c98
/test/test_ReduceScatterMultiProcess.hpp
a38ddf21486bd1f6bac212331fe3769d9cebf7f2
[]
no_license
ROCmSupport/rccl
cec9ac2d7a345f33751cea87cebf004b0f3b6b18
41e47a36e706597aa4271ca3243964b5adefde65
refs/heads/master
2023-02-28T22:08:35.332426
2021-01-16T01:48:10
2021-01-16T01:48:10
null
0
0
null
null
null
null
UTF-8
C++
false
false
5,886
hpp
/************************************************************************* * Copyright (c) 2019-2021 Advanced Micro Devices, Inc. All rights reserved. * * See LICENSE.txt for license information ************************************************************************/ #ifndef TEST_REDUCE_SCATTER_MULTI_PROCESS_HPP #define TEST_REDUCE_SCATTER_MULTI_PROCESS_HPP #include "CorrectnessTest.hpp" namespace CorrectnessTests { class ReduceScatterMultiProcessCorrectnessTest : public MultiProcessCorrectnessTest { public: static void ComputeExpectedResults(Dataset& dataset, Barrier& barrier, ncclRedOp_t const op, int const rank) { // Copy all inputs to expected arrays temporarily to perform reduction on host HIP_CALL(hipMemcpy(dataset.expected[rank], dataset.inputs[rank], dataset.NumBytes(), hipMemcpyDeviceToHost)); barrier.Wait(); // Have rank 0 do the expected calculation, then send results to other processes int8_t* resultI1; if (rank == 0) { // Allocate temporary host array to accumulate results resultI1 = (int8_t *)malloc(dataset.NumBytes()); uint8_t* resultU1 = (uint8_t *)resultI1; int32_t* resultI4 = (int32_t *)resultI1; uint32_t* resultU4 = (uint32_t *)resultI1; int64_t* resultI8 = (int64_t *)resultI1; uint64_t* resultU8 = (uint64_t *)resultI1; float* resultF4 = (float *)resultI1; double* resultF8 = (double *)resultI1; rccl_bfloat16* resultB2 = (rccl_bfloat16 *)resultI1; // Initialize the result with the first device's array memcpy(resultI1, dataset.expected[0], dataset.NumBytes()); // Perform reduction on the other device arrays for (int i = 1; i < dataset.numDevices; i++) { int8_t* arrayI1 = (int8_t *)dataset.expected[i]; uint8_t* arrayU1 = (uint8_t *)arrayI1; int32_t* arrayI4 = (int32_t *)arrayI1; uint32_t* arrayU4 = (uint32_t *)arrayI1; int64_t* arrayI8 = (int64_t *)arrayI1; uint64_t* arrayU8 = (uint64_t *)arrayI1; float* arrayF4 = (float *)arrayI1; double* arrayF8 = (double *)arrayI1; rccl_bfloat16* arrayB2 = (rccl_bfloat16 *)arrayI1; for (int j = 0; j < dataset.numElements; j++) { switch (dataset.dataType) { case ncclInt8: resultI1[j] = ReduceOp(op, resultI1[j], arrayI1[j]); break; case ncclUint8: resultU1[j] = ReduceOp(op, resultU1[j], arrayU1[j]); break; case ncclInt32: resultI4[j] = ReduceOp(op, resultI4[j], arrayI4[j]); break; case ncclUint32: resultU4[j] = ReduceOp(op, resultU4[j], arrayU4[j]); break; case ncclInt64: resultI8[j] = ReduceOp(op, resultI8[j], arrayI8[j]); break; case ncclUint64: resultU8[j] = ReduceOp(op, resultU8[j], arrayU8[j]); break; case ncclFloat32: resultF4[j] = ReduceOp(op, resultF4[j], arrayF4[j]); break; case ncclFloat64: resultF8[j] = ReduceOp(op, resultF8[j], arrayF8[j]); break; case ncclBfloat16: resultB2[j] = ReduceOp(op, resultB2[j], arrayB2[j]); break; default: fprintf(stderr, "[ERROR] Unsupported datatype\n"); exit(0); } } } } barrier.Wait(); // Copy results into expected arrays size_t const byteCount = dataset.NumBytes() / dataset.numDevices; HIP_CALL(hipMemcpy(dataset.expected[rank], dataset.outputs[rank], dataset.NumBytes(), hipMemcpyDeviceToHost)); barrier.Wait(); if (rank == 0) { for (int i = 0; i < dataset.numDevices; i++) memcpy((int8_t *)dataset.expected[i] + (i * byteCount), resultI1 + (i * byteCount), byteCount); free(resultI1); } } void TestReduceScatter(int rank, Dataset& dataset) { // Prepare input / output / expected results SetUpPerProcess(rank, ncclCollAllGather, comms[rank], streams[rank], dataset); if (numDevices > numDevicesAvailable) return; if (numElements % numDevices != 0) return; Barrier barrier(rank, numDevices, std::atoi(getenv("NCCL_COMM_ID"))); // Prepare input / output / expected results FillDatasetWithPattern(dataset, rank); ComputeExpectedResults(dataset, barrier, op, rank); size_t const byteCount = dataset.NumBytes() / numDevices; size_t const recvCount = dataset.numElements / numDevices; // Launch the reduction (1 process per GPU) ncclReduceScatter(dataset.inputs[rank], (int8_t *)dataset.outputs[rank] + (rank * byteCount), recvCount, dataType, op, comms[rank], streams[rank]); // Wait for reduction to complete HIP_CALL(hipStreamSynchronize(streams[rank])); // Check results ValidateResults(dataset, rank); TearDownPerProcess(comms[rank], streams[rank]); dataset.Release(rank); } }; } #endif
[ "noreply@github.com" ]
ROCmSupport.noreply@github.com
500665ec7ecb61cd416e4dc36a915f8e96a99a68
21deed24d8bde9f3b8ec3d5a8962766f7ff1bc2f
/nnstreamer/tensor_filter/tensor_filter_nntrainer.hh
29485a9373f8ed98b1a9f80983ea9118485cf2a1
[ "LicenseRef-scancode-free-unknown", "Apache-2.0" ]
permissive
nnstreamer/nntrainer
64658cc434b42323a21871c33cdb069751770daf
08a1da0a2c22fd9495239d370cef8dc1d842a4fc
refs/heads/main
2023-08-19T09:10:39.796512
2023-08-17T08:43:39
2023-08-18T10:35:14
249,615,315
134
70
Apache-2.0
2023-09-14T12:58:28
2020-03-24T04:47:36
C++
UTF-8
C++
false
false
2,525
hh
/* SPDX-License-Identifier: Apache-2.0 */ /** * NNStreamer Tensor_Filter, nntrainer Module * Copyright (C) 2020 Jijoong Moon <jijoong.moon@samsung.com> */ /** * @file tensor_filter_nntrainer.hh * @date 09 Sept 2020 * @brief nntrainer inference module for tensor_filter gstreamer plugin header * @note The clas has been exposed from tensor_filter_nntrainer.cc to unittest * @see http://github.com/nnstreamer/nnstreamer * @author Jijoong Moon <jijoong.moon@samsung.com> * @bug No known bugs except for NYI items * * This is the per-NN-framework plugin (e.g) tensorflow-lite) for tensor_filter. * Fill in "GstTensorFilterFramework" for tensor_filter.h/c * */ #include <cstdint> #include <map> #include <memory> #include <vector> #include <nnstreamer_plugin_api.h> #include <nnstreamer_plugin_api_filter.h> #include <model.h> #include <tensor_dim.h> /** * @brief Internal data structure for nntrainer */ typedef struct { int rank; std::vector<std::int64_t> dims; } nntrainer_tensor_info_s; /** * @brief NNTrainerInference wrapper for nnstreamer filter subplugin * */ class NNTrainerInference { public: /** * @brief Construct a new NNTrainerInference object * * @param model_config_ config address */ NNTrainerInference(const std::string &model_config); /** * @brief Destroy the NNTrainerInference object * */ ~NNTrainerInference() = default; /** * @brief Get the Model Config object * * @return const char* config, do not free */ const char *getModelConfig(); /** * @brief Set the Batch Size * * @param batch batch size */ void setBatchSize(unsigned int batch) { batch_size = batch; } /** * @brief Get the Input Dimension object * * @return const std::vector<nntrainer::TensorDim> input dimensions */ const std::vector<ml::train::TensorDim> getInputDimension() { return model->getInputDimension(); } /** * @brief Get the Output Dimension object * * @return const std::vector<nntrainer::TensorDim> output dimensions */ const std::vector<ml::train::TensorDim> getOutputDimension() { return model->getOutputDimension(); } /** * @brief run inference, output * * @param input input tensor memory * @param output output tensor memory * @return int 0 if success */ int run(const GstTensorMemory *input, GstTensorMemory *output); private: void loadModel(); unsigned int batch_size; std::string model_config; std::unique_ptr<ml::train::Model> model; };
[ "jijoong.moon@samsung.com" ]
jijoong.moon@samsung.com
2a0d942311e152353b3a842a05882fd6cfe6bf74
9e8ff0cb68890e73077af50fb3cd8708a4df2a5a
/CTCI Recursion_DP/Q3.cpp
8b1741021ed58cc2baee50fba38b7f48342ffb07
[]
no_license
anoshak/CTCI-Recursion-DP
f362ebfcd308de0a1de8358813ec31ac6e9dbe6b
c3b011c696eeb1b0bf48f8067ac856b1da52109c
refs/heads/master
2021-01-23T07:21:35.959317
2015-04-16T23:46:05
2015-04-16T23:46:05
34,086,518
0
0
null
null
null
null
UTF-8
C++
false
false
223
cpp
/* * Q3.cpp * * Created on: Mar 4, 2015 * Author: Anoshak */ #include <cstdio> #include <map> #include <cstdlib> #include <iostream> #include <cstdio> #include <cstring> using namespace std;
[ "anoshak.1390@gmail.com" ]
anoshak.1390@gmail.com
bdbb5e8a97269dc5b5050cc59195622215061507
0c16c361c5d7bb93cf33813d706ed921fdad5d41
/include/burst/range/adaptor/taken_n.hpp
ea2e35e05901d75feea07fe6b52fd02c2087611b
[]
no_license
0x0all/burst
b2eca6dcff662e627839331cfb198ca67c1de65c
657b7f6c021535d344d875f919928588f5606143
refs/heads/master
2020-03-26T11:23:11.680356
2018-07-15T00:16:22
2018-07-15T00:32:29
null
0
0
null
null
null
null
UTF-8
C++
false
false
578
hpp
#ifndef BURST_RANGE_ADAPTOR_TAKEN_N_HPP #define BURST_RANGE_ADAPTOR_TAKEN_N_HPP #include <burst/range/adaptor/adaptor.hpp> #include <burst/range/take_n.hpp> namespace burst { //! Инструмент для откусывания диапазона через конвейер. /*! Вызов `range | taken_n(10)` эквивалентен вызову `take_n(range, 10)`. */ constexpr auto taken_n = make_adaptor_trigger(take_n); } // namespace burst #endif // BURST_RANGE_ADAPTOR_TAKEN_N_HPP
[ "dmitriy@izvolov.ru" ]
dmitriy@izvolov.ru
f11f603e878c6482a89792ade118bcf71fba9b5c
f9ddff93820b2880a84c55ea931f3e6cbf11602c
/src/logging/CallbackSink.cpp
47c9f2ec235e9d391a71f21cbb41ddfc648084ce
[ "MIT" ]
permissive
PetrFlajsingr/realistic_voxel_scene_rendering_in_real_time
4753844598ad4186564690a3bd8537b9fcd781aa
066fa5efa0eb5ddba50cab360219fd77b7ec9b94
refs/heads/master
2023-06-20T21:23:00.637726
2021-07-27T17:29:39
2021-07-27T17:29:39
298,024,829
0
0
null
2021-07-27T17:29:40
2020-09-23T16:09:42
C++
UTF-8
C++
false
false
732
cpp
/** * @file CallbackSink.cpp * @brief An spdlog sink which calls a function on log. * @author Petr Flajšingr * @date 2.11.20 */ #include "CallbackSink.h" #include <mutex> #include <spdlog/details/pattern_formatter.h> void CallbackSink::log(const spdlog::details::log_msg &msg) { spdlog::memory_buf_t formatted; formatter->format(msg, formatted); callback(std::string(formatted.data(), formatted.size())); } void CallbackSink::flush() {} void CallbackSink::set_pattern(const std::string &pattern) { formatter = std::unique_ptr<spdlog::formatter>(new spdlog::pattern_formatter(pattern)); } void CallbackSink::set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) { formatter = std::move(sink_formatter); }
[ "xflajs00@stud.fit.vutbr.cz" ]
xflajs00@stud.fit.vutbr.cz
3b0d20c4f61da8009d83f8078ed65f48248471c1
fa3d0479fe227ae56cbfbbd81c551cd03c19d11c
/2019_12/truck.cpp
9f4323604300a12add2042986d4f3882eb617e26
[]
no_license
jineeKim/Algorithm
d620cb2be7ac7cba7388412bc890c287f7e86c0d
7ed7c7beef00cfcab7ae86be876362c6e9386c03
refs/heads/master
2021-08-22T15:37:39.843825
2021-07-13T14:58:30
2021-07-13T14:58:30
197,169,198
0
0
null
null
null
null
UTF-8
C++
false
false
862
cpp
#include <string> #include <vector> #include <queue> using namespace std; int solution(int bridge_length, int weight, vector<int> truck_weights) { int answer = 0; queue <int> q; int max_size = 0; int size = 0; for (int i = 0; i < truck_weights.size(); i++) { size = truck_weights[i]; while (1) { if (q.empty()) { q.push(size); max_size += size; answer++; break; } else if (q.size() == bridge_length) { max_size -= q.front(); q.pop(); } else { if (size + max_size > weight) { q.push(0); answer++; } else { q.push(size); max_size += size; answer++; break; } } } } return answer + bridge_length; } int main() { int bridge_length = 2; int weight = 10; vector<int> truck_weights = { 7,4,5,6 }; solution(bridge_length, weight, truck_weights); return 0; }
[ "jin03hee16@gmail.com" ]
jin03hee16@gmail.com
900e59284ba25a350c9c388e0fe23c1f1a3d6151
92b13c76782fe6d126167f1ba7ce4a9a297529e1
/hpp/Request.hpp
f33c7e9002f9d0617e37b5bcd69ef289394eb82b
[]
no_license
AlexanderPinkerton/PoloniexAPIWrapper
ea2aad7f2a3b0f2a1a61e2ad667f0396663c1fd9
417eceeb66e3277fa8d1de4c16a404310bc76890
refs/heads/master
2021-01-22T18:50:09.028236
2017-03-15T21:11:14
2017-03-15T21:11:14
85,118,569
0
0
null
null
null
null
UTF-8
C++
false
false
507
hpp
#pragma once #include <QCoreApplication> #include <QNetworkAccessManager> #include <QNetworkRequest> #include <QNetworkReply> class Request { private: QEventLoop eventLoop; QNetworkAccessManager mgr; std::string url = ""; public: std::string response = ""; //Constructor taking the complete url to be sent to API Request(std::string & completeUrl); //This method should return false if the request was bad //It should also update the response if success bool sendRequest(); };
[ "alex@osboxes" ]
alex@osboxes
42159c2be851d6924c6ca50f71b77897534a0727
39b9571ecc80165874ea4ef2bd55d73921963da7
/tests/kernel_run_neighborhood_search_kernel/run_neighborhood_search_kernel.cpp
45c444c645d28e612dfcc6c8803d57ae6d91c56f
[ "BSD-3-Clause" ]
permissive
OrangeBaoWang/AutoTuneTMP
2b43dff6b922c2a788f6438644b7f72ddabdf44d
f5fb836778b04c2ab0fbcc4d36c466e577e96e65
refs/heads/master
2022-03-30T18:44:26.271885
2019-12-24T16:31:37
2019-12-24T16:31:37
null
0
0
null
null
null
null
UTF-8
C++
false
false
451
cpp
#include <chrono> #include <cmath> #include <iostream> #include <thread> #include "autotune_kernel.hpp" AUTOTUNE_EXPORT int run_neighborhood_search_kernel(int a) { // use quadratic cost function double value = std::fabs(static_cast<double>(PAR_1) - 2.0) + std::fabs(static_cast<double>(PAR_2) - 3.0); value *= 100; std::this_thread::sleep_for( std::chrono::milliseconds(static_cast<size_t>(value))); return a + 3; }
[ "David.Pfander@ipvs.uni-stuttgart.de" ]
David.Pfander@ipvs.uni-stuttgart.de
a5618607bda75947a902af29a39d5af41c7cba26
715c86bb9b3689cdc86300cf4fa824a3864b1b3f
/src/Distributed/dbgatewaysvc/test_sql.hpp
dfd76ee77b19b89f50ee56c25591d3eacd8a28a1
[]
no_license
Ivanhan2018/zsbbserver
cb94a2353453bd41ce237aa27865b491be04d9fd
02a3827099b93f93a2e1aeb6460f6eede57ed8ee
refs/heads/master
2022-01-30T07:48:41.497675
2022-01-15T01:04:28
2022-01-15T01:04:28
168,654,088
4
9
null
null
null
null
GB18030
C++
false
false
14,977
hpp
#ifndef __INCLUDE_TEST_SQL_H__ #define __INCLUDE_TEST_SQL_H__ #include <iostream> #include <stdio.h> #include "db_table.h" #include <time.h> #define OTL_STL #define OTL_ODBC #if defined (WIN32) #define OTL_BIGINT __int64 #else #define OTL_BIGINT long long #endif #include "otlv4.h" otl_connect db_; char buf[10000000]; template < class type, class func > void sql_test_perf(func f) { type t; db_.set_max_long_size(10000000); otl_stream o; std::string count = "select count(1) from "; count += type::getname(); int pos, i; long it, ut, dt; std::string del = "delete from "; del += type::getname(); otl_cursor::direct_exec(db_, del.c_str()); db_.commit(); pos = 0; pos += sprintf(buf, "%s", "exec(\'"); it = GetTickCount(); for (i = 0; i < 2000; i++) { f(t, i + 1); pos += t.get_insert_str(buf + pos); } pos += sprintf(buf + pos, "%s", " \')"); buf[pos] = '\0'; otl_cursor::direct_exec(db_, buf); db_.commit(); it = GetTickCount() - it; o.open(count.size(), count.c_str(), db_); o >> pos; o.close(); if (pos == 0) throw std::runtime_error("记录添加失败"); pos = 0; pos += sprintf(buf, "%s", "exec(\'"); ut = GetTickCount(); for (i = 0; i < 2000; i++) { f(t, i + 1); pos += t.get_update_str(buf + pos, t); } pos += sprintf(buf + pos, "%s", " \')"); buf[pos] = '\0'; otl_cursor::direct_exec(db_, buf); db_.commit(); ut = GetTickCount() - ut; pos = 0; pos += sprintf(buf, "%s", "exec(\'"); dt = GetTickCount(); for (i = 0; i < 2000; i++) { f(t, i + 1); pos += t.get_delete_str(buf + pos); } pos += sprintf(buf + pos, "%s", " \')"); buf[pos] = '\0'; otl_cursor::direct_exec(db_, buf); db_.commit(); dt = GetTickCount() - dt; o.open(count.size(), count.c_str(), db_); o >> pos; o.close(); if (pos != 0) throw std::runtime_error("记录删除失败"); printf("表 %s 操作次数 %d 插入耗时(%d) 更新耗时(%d) 删除耗时(%d)\n", type::getname(), i * 3, it, ut, dt); Sleep(1); } //void GameCityInfo_func(GameCityInfo & t, int i) //{ // t.setmasterid(i); // t.setdetailid(i); //} void PlayerSoldierRace_func(PlayerSoldierRace & t, int i) { t.setmasterid(i, i); t.completetimes_ = time(0); t.setdetailid(i); } void ProductionAmount_func(ProductionAmount & t, int i) { t.setmasterid(i, i, i, i); t.setdetailid(i); } //void ConstructionConfigure_func(ConstructionConfigure & t, int i) //{ // t.setid(i, i); // t.completetimes_ = time(0); //} //void ResearchConfigure_func(ResearchConfigure & t, int i) //{ // t.setmasterid(i); // t.setdetailid(i, i); // t.completetimes_ = time(0); //} void PlayerConstruction_func(PlayerConstruction & t, int i) { t.setmasterid(i, i, i); t.setdetailid(i); t.completetimes_ = time(0); } void PlayerResource_func(PlayerResource & t, int i) { t.setmasterid(i, i); t.setdetailid(i); t.completetimes_ = time(0); } void ArmyTable_func(ArmyTable & t, int i) { t.setmasterid(i); t.setdetailid(i); } void Market_func(Market & t, int i) { t.setmasterid(i, i); t.setdetailid(i); t.starttime_ = time(0); } void ConstructionBuild_func(ConstructionBuild & t, int i) { t.setmasterid(i, i, i); t.setdetailid(i, i, i); t.starttime_ = time(0); } void ProductionActivity_func(ProductionActivity & t, int i) { t.setmasterid(i, i, i, i); t.setdetailid(i, i, i); t.starttime_ = time(0); } void ConsortiaInfo_func(ConsortiaInfo & t, int i) { t.setid(i); t.createtime_ = time(0); } void ConsortiaBank_func(ConsortiaBank & t, int i) { t.setmasterid(i); t.setdetailid(i); t.itemcount_ = i; } void ConsortiaUnion_func(ConsortiaUnion & t, int i) { t.setid(i, i); } void PlayerOfficerItemTable_func(PlayerOfficerItemTable & t, int i) { t.setmasterid(i, i); t.setdetailid(i); } void PlayerItemStorageTable_func(PlayerItemStorageTable & t, int i) { t.setmasterid(i, i); t.setdetailid(i); } void SoldierParamTable_func(SoldierParamTable & t, int i) { t.setid(i); } void PlayerOfficerTable_func(PlayerOfficerTable & t, int i) { t.setmasterid(i); t.setdetailid(i); t.updatetime_ = t.gbhtime_ = time(0); } void PlayerTask_func(PlayerTask & t, int i) { t.setmasterid(i); t.setdetailid(i); t.tasktime_ = time(0); } void ConsortiaPersonnel_func(ConsortiaPersonnel & t, int i) { t.setmasterid(i); t.setdetailid(i); } void CellPrice_func(CellPrice & t, int i) { t.setid(i); } void CityAttribute_func(CityAttribute & t, int i) { t.setmasterid(i); t.setdetailid(i); } //void CreateConsortia_func(CreateConsortia & t, int i) //{ // t.setid(i); //} void ConsortiaFight_func(ConsortiaFight & t, int i) { t.setmasterid(i); t.setdetailid(i, i); t.time_ = time(0); } //void TaskBaseTable_func(TaskBaseTable & t, int i) //{ // t.setid(i); //} //void ProduceConfigure_func(ProduceConfigure & t, int i) //{ // t.setmasterid(i); // t.setdetailid(i, i); // t.completetimes_ = time(0); //} void ChatRoomTable_func(ChatRoomTable & t, int i) { t.setid(i); } void PlayerChatRoomTable_func(PlayerChatRoomTable & t, int i) { t.setid(i); } void PlayerCity_func(PlayerCity & t, int i) { t.setmasterid(i); t.setdetailid(i); } void OfficerRaceAttribute_func(OfficerRaceAttribute & t, int i) { t.setid(i); } //void WeaponAttribute_func(WeaponAttribute & t, int i) //{ // t.setmasterid(i); // t.setdetailid(i); //} //void DefendAttribute_func(DefendAttribute & t, int i) //{ // t.setid(i); //} void ArmyOutTable_func(ArmyOutTable & t, int i) { t.setmasterid(i); t.setdetailid(i); t.starttime_ = time(0); } //void OfficerTech_func(OfficerTech & t, int i) //{ // t.setmasterid(i); // t.setdetailid(i); //} void NPC_func(NPC & t, int i) { t.setid(i); } void MapInfoTable_func(MapInfoTable & t, int i) { t.setid(i); } void ResearchItem_func(ResearchItem & t, int i) { t.setmasterid(i,i); t.setdetailid(i); } void EctypeBaseTable_func(EctypeBaseTable & t, int i) { t.setid(i); } void NPCArmyTable_func(NPCArmyTable & t, int i) { t.setmasterid(i); t.setdetailid(i); } void PlayerCaptiveHero_func(PlayerCaptiveHero & t, int i) { t.setmasterid(i); t.setdetailid(i, i, i); } //void EquipAttribute_func(EquipAttribute & t, int i) //{ // t.setid(i); //} void WarNote_func(WarNote & t, int i) { t.setmasterid(i,i); t.setdetailid(i); } void PullulateNote_func(PullulateNote & t, int i) { t.setmasterid(i,i); t.setdetailid(i); } void FirendTable_func(FirendTable & t, int i) { t.setmasterid(i,i); t.setdetailid(i); } //void ConsortiaOfficial_func(ConsortiaOfficial & t, int i) //{ // t.setid(i); //} void LoadMaterial_func(LoadMaterial & t, int i) { t.setmasterid(i,i); t.setdetailid(i,i); } void Treasury_func(Treasury & t, int i) { t.setid(i); } //void CardConfig_func(CardConfig & t, int i) //{ // t.setid(i); //} void PublicBuildParamTable_func(PublicBuildParamTable & t, int i) { t.setid(i,i); } void PublicBuildTable_func(PublicBuildTable & t, int i) { t.setmasterid(i); t.setdetailid(i); } void PlayerProduceState_func(PlayerProduceState & t, int i) { t.setmasterid(i); t.setdetailid(i); } //void JobParam_func(JobParam & t, int i) //{ // t.setid(i); //} //void BinConfig_func(BinConfig & t, int i) //{ // t.setid(i); //} void EquipAntagonism_func(EquipAntagonism & t, int i) { t.setid(i,i); } void BatttleField_func(BatttleField & t, int i) { t.setid(i); } void ConsortiaCompare_func(ConsortiaCompare & t, int i) { t.setid(i); } void PlayerCompare_func(PlayerCompare & t, int i) { t.setid(i); } void Council_func(Council & t, int i) { t.setmasterid(i,i); t.setdetailid(i); } void Candidate_func(Candidate & t, int i) { t.setmasterid(i,i); t.setdetailid(i); } void Ballot_func(Ballot & t, int i) { t.setmasterid(i,i); t.setdetailid(i); } void Country_func(Country & t, int i) { t.setid(i); } void ResearchActivity_func(ResearchActivity & t, int i) { t.setmasterid(i); t.setdetailid(i,i); } void LevySoldierActivity_func(LevySoldierActivity & t, int i) { t.setmasterid(i,i,i); t.setdetailid(i); } void MailTable_func(MailTable & t, int i) { t.setmasterid(i); t.setdetailid(i); } void NewsTable_func(NewsTable & t, int i) { t.setid(i); } void OfficerJobAttribute_func(OfficerJobAttribute & t, int i) { t.setid(i); } void ChargeSvrTimer_func(ChargeSvrTimer & t, int i) { t.setmasterid(i); t.setdetailid(i); } void sql_test_mailtable() { struct mystruct { int id; char name[14]; int tel; char addr[20]; }; otl_cursor::direct_exec(db_, "delete from MailTable"); db_.commit(); MailTable t; t.setmasterid(1); t.setdetailid(1); mystruct * ms = (mystruct *)t.pertain_; ms->id = 100; strcpy(ms->name, "wangshenwang"); ms->tel = 1234567; strcpy(ms->addr, "test test"); otl_stream o; int len = t.get_insert_str(buf); otl_cursor::direct_exec(db_, buf); db_.commit(); std::string str = t.get_select_str(); o.open(str.size(), str.c_str(), db_); MailTable t1; o >> t1; mystruct * ms1; ms1 = (mystruct *)t1.pertain_; if ((ms1->id != ms->id) || (strcmp(ms1->name, ms->name)) || (ms1->tel != ms->tel) || (strcmp(ms1->addr, ms->addr))) printf("sql_test_mailtable 写内存失败\n"); else printf("sql_test_mailtable 写内存成功\n"); } void sql_test_NewsTable() { struct mystruct { int id; char name[14]; int tel; char addr[20]; }; otl_cursor::direct_exec(db_, "delete from NewsTable"); db_.commit(); NewsTable t; t.setid(1); mystruct * ms = (mystruct *)t.content_; ms->id = 100; strcpy(ms->name, "wangshenwang"); ms->tel = 1234567; strcpy(ms->addr, "test test"); otl_stream o; int len = t.get_insert_str(buf); otl_cursor::direct_exec(db_, buf); db_.commit(); std::string str = t.get_select_str(); o.open(str.size(), str.c_str(), db_); NewsTable t1; o >> t1; mystruct * ms1; ms1 = (mystruct *)t1.content_; if ((ms1->id != ms->id) || (strcmp(ms1->name, ms->name)) || (ms1->tel != ms->tel) || (strcmp(ms1->addr, ms->addr))) printf("sql_test_NewsTable 写内存失败\n"); else printf("sql_test_NewsTable 写内存成功\n"); } void sql_test_ChargeSvrTimer() { struct mystruct { int id; char name[14]; int tel; char addr[20]; }; otl_cursor::direct_exec(db_, "delete from ChargeSvrTimer"); db_.commit(); ChargeSvrTimer t; t.setmasterid(1); t.setdetailid(1); t.time_ = time(0); mystruct * ms = (mystruct *)t.param_; ms->id = 100; strcpy(ms->name, "wangshenwang"); ms->tel = 1234567; strcpy(ms->addr, "test test"); otl_stream o; int len = t.get_insert_str(buf); otl_cursor::direct_exec(db_, buf); db_.commit(); std::string str = t.get_select_str(); o.open(str.size(), str.c_str(), db_); ChargeSvrTimer t1; o >> t1; mystruct * ms1; ms1 = (mystruct *)t1.param_; if ((ms1->id != ms->id) || (strcmp(ms1->name, ms->name)) || (ms1->tel != ms->tel) || (strcmp(ms1->addr, ms->addr))) printf("sql_test_ChargeSvrTimer 写内存失败\n"); else printf("sql_test_ChargeSvrTimer 写内存成功\n"); } void test_sql_main() { otl_connect::otl_initialize(); try { db_.rlogon("UID=sa;PWD=sa;DSN=gsgamedb"); sql_test_mailtable(); sql_test_NewsTable(); sql_test_ChargeSvrTimer(); // sql_test_perf<GameCityInfo>(GameCityInfo_func); sql_test_perf<PlayerSoldierRace>(PlayerSoldierRace_func); sql_test_perf<ProductionAmount>(ProductionAmount_func); // sql_test_perf<ConstructionConfigure>(ConstructionConfigure_func); // sql_test_perf<ResearchConfigure>(ResearchConfigure_func); sql_test_perf<PlayerConstruction>(PlayerConstruction_func); sql_test_perf<PlayerResource>(PlayerResource_func); sql_test_perf<ArmyTable>(ArmyTable_func); sql_test_perf<Market>(Market_func); sql_test_perf<ConstructionBuild>(ConstructionBuild_func); sql_test_perf<ProductionActivity>(ProductionActivity_func); sql_test_perf<ConsortiaInfo>(ConsortiaInfo_func); sql_test_perf<ConsortiaBank>(ConsortiaBank_func); sql_test_perf<ConsortiaUnion>(ConsortiaUnion_func); sql_test_perf<PlayerOfficerItemTable>(PlayerOfficerItemTable_func); sql_test_perf<PlayerItemStorageTable>(PlayerItemStorageTable_func); sql_test_perf<SoldierParamTable>(SoldierParamTable_func); sql_test_perf<PlayerOfficerTable>(PlayerOfficerTable_func); sql_test_perf<PlayerTask>(PlayerTask_func); sql_test_perf<ConsortiaPersonnel>(ConsortiaPersonnel_func); sql_test_perf<CellPrice>(CellPrice_func); sql_test_perf<CityAttribute>(CityAttribute_func); // sql_test_perf<CreateConsortia>(CreateConsortia_func); sql_test_perf<ConsortiaFight>(ConsortiaFight_func); // sql_test_perf<TaskBaseTable>(TaskBaseTable_func); // sql_test_perf<ProduceConfigure>(ProduceConfigure_func); sql_test_perf<ChatRoomTable>(ChatRoomTable_func); sql_test_perf<PlayerChatRoomTable>(PlayerChatRoomTable_func); sql_test_perf<PlayerCity>(PlayerCity_func); sql_test_perf<OfficerRaceAttribute>(OfficerRaceAttribute_func); // sql_test_perf<WeaponAttribute>(WeaponAttribute_func); // sql_test_perf<DefendAttribute>(DefendAttribute_func); sql_test_perf<ArmyOutTable>(ArmyOutTable_func); // sql_test_perf<OfficerTech>(OfficerTech_func); sql_test_perf<NPC>(NPC_func); sql_test_perf<MapInfoTable>(MapInfoTable_func); sql_test_perf<ResearchItem>(ResearchItem_func); sql_test_perf<EctypeBaseTable>(EctypeBaseTable_func); sql_test_perf<NPCArmyTable>(NPCArmyTable_func); sql_test_perf<PlayerCaptiveHero>(PlayerCaptiveHero_func); // sql_test_perf<EquipAttribute>(EquipAttribute_func); sql_test_perf<WarNote>(WarNote_func); sql_test_perf<PullulateNote>(PullulateNote_func); sql_test_perf<FirendTable>(FirendTable_func); // sql_test_perf<ConsortiaOfficial>(ConsortiaOfficial_func); sql_test_perf<LoadMaterial>(LoadMaterial_func); sql_test_perf<Treasury>(Treasury_func); // sql_test_perf<CardConfig>(CardConfig_func); sql_test_perf<PublicBuildParamTable>(PublicBuildParamTable_func); sql_test_perf<PublicBuildTable>(PublicBuildTable_func); sql_test_perf<PlayerProduceState>(PlayerProduceState_func); // sql_test_perf<JobParam>(JobParam_func); // sql_test_perf<BinConfig>(BinConfig_func); sql_test_perf<EquipAntagonism>(EquipAntagonism_func); sql_test_perf<BatttleField>(BatttleField_func); sql_test_perf<ConsortiaCompare>(ConsortiaCompare_func); sql_test_perf<PlayerCompare>(PlayerCompare_func); sql_test_perf<Council>(Council_func); sql_test_perf<Candidate>(Candidate_func); sql_test_perf<Ballot>(Ballot_func); sql_test_perf<Country>(Country_func); sql_test_perf<ResearchActivity>(ResearchActivity_func); sql_test_perf<LevySoldierActivity>(LevySoldierActivity_func); sql_test_perf<MailTable>(MailTable_func); sql_test_perf<NewsTable>(NewsTable_func); sql_test_perf<ChargeSvrTimer>(ChargeSvrTimer_func); sql_test_perf<OfficerJobAttribute>(OfficerJobAttribute_func); printf("测试成功\n"); } catch (std::exception& e) { std::cerr << "Exception: " << e.what() << "\n"; } catch(otl_exception& p) { std::cerr << p.msg << std::endl; std::cerr << p.stm_text << std::endl; std::cerr << p.sqlstate << std::endl; std::cerr << p.var_info << std::endl; } db_.logoff(); } #endif /*__INCLUDE_TEST_SQL_H__*/
[ "hanxiaohua85@163.com" ]
hanxiaohua85@163.com
e545b9d1dbadfad3c3d7b27333588d4d2a75fe8d
261d5d94fb737e15680816123a6cebf110ed28da
/test/testPdu.cpp
3ceb7eb8067ea04a0adcad465a4a73807fe2698b
[]
no_license
skywb/TeamTalk
519b0440bc2c3f0dee919cf3a46b304a65074e82
ac3f7a3070478006bc9916d038db3f12f57fa083
refs/heads/master
2020-04-26T11:55:24.896857
2019-05-27T12:07:20
2019-05-27T12:07:20
173,533,421
2
0
null
null
null
null
UTF-8
C++
false
false
206
cpp
#include <iostream> #include <gtest/gtest.h> #include "IM/IMProtocol.h" TEST(testPdu, Pdu1) { auto login = std::make_shared<IM::LoginPdu> (); login->setUserId(11); login->setPassword("aaaa"); }
[ "sonky7@163.com" ]
sonky7@163.com
6d0c2e230743ba3957f1020d4eaa7911ae89f787
8e00ca74a4885cb2e7fb113579ded92a74b2e10d
/src/Matrix4.h
456677f0fba2c34bff2b2b1eae6c88d26fd69bb1
[ "Apache-2.0" ]
permissive
worktycho/MCServer
1a1993a31c837676176a7683b629f0dfbd5c3cec
84c83e0deb8c46be5bd4a25ef00515d48cf296a9
refs/heads/master
2020-12-29T02:54:50.813854
2014-06-16T14:03:07
2014-06-16T14:03:07
12,731,841
1
0
null
2014-04-07T17:04:50
2013-09-10T14:30:22
C
UTF-8
C++
false
false
3,759
h
#pragma once #define _USE_MATH_DEFINES // Enable non-standard math defines (MSVC) #include <math.h> template <typename T> // tolua_begin class Matrix4 { TOLUA_TEMPLATE_BIND((T, float, double)) // tolua_end public: T cell[16]; // tolua_begin inline Matrix4(void) { Identity(); } inline Matrix4(const Matrix4 & a_Rhs) { *this = a_Rhs; } inline Matrix4 & operator = (const Matrix4 & a_Rhs) { for (unsigned int i = 0; i < 16; ++i) { cell[i] = a_Rhs.cell[i]; } return *this; } inline T & operator [] (int a_N) { ASSERT(a_N < 16); return cell[a_N]; } inline void Identity() { cell[1] = cell[2] = cell[3] = cell[4] = 0; cell[6] = cell[7] = cell[8] = cell[9] = 0; cell[11] = cell[12] = cell[13] = cell[14] = 0; cell[0] = cell[5] = cell[10] = cell[15] = 1; } inline void Init(const Vector3<T> & a_Pos, T a_RX, T a_RY, T a_RZ) { Matrix4<T> t; t.RotateX(a_RZ); RotateY(a_RY); Concatenate(t); t.RotateZ(a_RX); Concatenate(t); Translate(a_Pos); } inline void RotateX(T a_RX) { T sx = (T) sin(a_RX * M_PI / 180); T cx = (T) cos(a_RX * M_PI / 180); Identity(); cell[5] = cx; cell[6] = sx; cell[9] = -sx; cell[10] = cx; } inline void RotateY(T a_RY) { T sy = (T) sin(a_RY * M_PI / 180); T cy = (T) cos(a_RY * M_PI / 180); Identity(); cell[0] = cy; cell[2] = -sy; cell[8] = sy; cell[10] = cy; } inline void RotateZ(T a_RZ) { T sz = (T) sin(a_RZ * M_PI / 180); T cz = (T) cos(a_RZ * M_PI / 180); Identity(); cell[0] = cz; cell[1] = sz; cell[4] = -sz; cell[5] = cz; } inline void Translate(const Vector3<T> & a_Pos) { cell[3] += a_Pos.x; cell[7] += a_Pos.y; cell[11] += a_Pos.z; } inline void SetTranslation(const Vector3<T> & a_Pos) { cell[3] = a_Pos.x; cell[7] = a_Pos.y; cell[11] = a_Pos.z; } inline void Concatenate(const Matrix4 & m2) { Matrix4 res; for (unsigned int c = 0; c < 4; ++c) { for (unsigned int r = 0; r < 4; ++r) { res.cell[r * 4 + c] = ( cell[r * 4 + 0] * m2.cell[c + 0] + cell[r * 4 + 1] * m2.cell[c + 4] + cell[r * 4 + 2] * m2.cell[c + 8] + cell[r * 4 + 3] * m2.cell[c + 12] ); } } *this = res; } inline Vector3<T> Transform(const Vector3<T> & v) const { T x = cell[0] * v.x + cell[1] * v.y + cell[2] * v.z + cell[3]; T y = cell[4] * v.x + cell[5] * v.y + cell[6] * v.z + cell[7]; T z = cell[8] * v.x + cell[9] * v.y + cell[10] * v.z + cell[11]; return Vector3<T>(x, y, z); } inline void Invert(void) { Matrix4 t; T tx = -cell[3]; T ty = -cell[7]; T tz = -cell[11]; for (unsigned int h = 0; h < 3; ++h) { for (unsigned int v = 0; v < 3; ++v) { t.cell[h + v * 4] = cell[v + h * 4]; } } for (unsigned int i = 0; i < 11; ++i) { cell[i] = t.cell[i]; } cell[3] = tx * cell[0] + ty * cell[1] + tz * cell[2]; cell[7] = tx * cell[4] + ty * cell[5] + tz * cell[6]; cell[11] = tx * cell[8] + ty * cell[9] + tz * cell[10]; } inline Vector3<T> GetXColumn(void) const { return Vector3<T>(cell[0], cell[1], cell[2]); } inline Vector3<T> GetYColumn(void) const { return Vector3<T>(cell[4], cell[5], cell[6]); } inline Vector3<T> GetZColumn(void) const { return Vector3<T>(cell[8], cell[9], cell[10]); } inline void SetXColumn(const Vector3<T> & a_X) { cell[0] = a_X.x; cell[1] = a_X.y; cell[2] = a_X.z; } inline void SetYColumn(const Vector3<T> & a_Y) { cell[4] = a_Y.x; cell[5] = a_Y.y; cell[6] = a_Y.z; } inline void SetZColumn(const Vector3<T> & a_Z) { cell[8] = a_Z.x; cell[9] = a_Z.y; cell[10] = a_Z.z; } }; // tolua_end // tolua_begin typedef Matrix4<double> Matrix4d; typedef Matrix4<float> Matrix4f; // tolua_end
[ "xdotftw@gmail.com" ]
xdotftw@gmail.com
231d7a6988d723a48d294ac4709b75da330b1d78
7ff405fee11f309e6883c68129d9c4f1a7f13728
/strategy.cpp
96009f3345c9c54b4456bd4f25a09dafb5d8336b
[]
no_license
ShowYouShowme/designPattern
f33fc4b5bca986ad7904fb4e97e38b1a450b800f
30aed8641627957fa0d836bdac0bfa15130fb41a
refs/heads/master
2020-03-19T03:55:00.228487
2018-07-01T09:09:48
2018-07-01T09:09:48
135,774,695
0
0
null
null
null
null
GB18030
C++
false
false
3,074
cpp
#include <string> #include <iostream> #include <memory> namespace StrategyPattern { struct ITravelStrategy { virtual void travel() = 0; }; class AirplaneStrategy : public ITravelStrategy { public: virtual void travel(); }; class TrainStrategy : public ITravelStrategy { public: virtual void travel(); }; class BicycleStrategy : public ITravelStrategy { public: virtual void travel(); }; class Person { private: std::shared_ptr<ITravelStrategy> m_strategy; public: void setStrategy(std::shared_ptr<ITravelStrategy> strategy); void travel(); }; void AirplaneStrategy::travel() { std::cout << "travel by airplane" + std::string("\n"); } void TrainStrategy::travel() { std::cout << "travel by train" + std::string("\n"); } void BicycleStrategy::travel() { std::cout << "travel by bicycle" + std::string("\n"); } void Person::setStrategy(std::shared_ptr<ITravelStrategy> strategy) { this->m_strategy = strategy; } void Person::travel() { this->m_strategy->travel(); } class Client { public: static void main() { std::shared_ptr<ITravelStrategy> t1 = std::make_shared<AirplaneStrategy>(); std::shared_ptr<ITravelStrategy> t2 = std::make_shared<TrainStrategy>(); std::shared_ptr<ITravelStrategy> t3 = std::make_shared<BicycleStrategy>(); std::shared_ptr<Person> p = std::make_shared<Person>(); p->setStrategy(t1); p->travel(); std::cout << "--------------------" << std::endl; p->setStrategy(t2); p->travel(); std::cout << "--------------------" << std::endl; p->setStrategy(t3); p->travel(); std::cout << "--------------------" << std::endl; } }; } //不使用策略模式的写法 namespace NoStrategy { class Person { public: //将算法硬编码进去 void travel(std::string vehicle) { if (vehicle == "Airplane") { this->airplaneTravel(); } else if (vehicle == "Train") { this->trainTravel(); } else if (vehicle == "bicycle") { this->bicycleTravel(); } } private: void airplaneTravel() { std::cout << "travel by airplane" << std::endl; } void trainTravel() { std::cout << "travel by train" << std::endl; } void bicycleTravel() { std::cout << "travel by bicycle" << std::endl; } }; } int main() { //StrategyPattern::Client::main(); std::shared_ptr<NoStrategy::Person> p = std::make_shared<NoStrategy::Person>(); p->travel("Airplane"); p->travel("Train"); p->travel("bicycle"); return 1; }
[ "861949775@qq.com" ]
861949775@qq.com
a103ad1be894687c299b01c81f8c8be1bbb53749
ba5d1d776888be6ae9688d850f0445d80973ee8f
/game/server/vehicle_base.cpp
6fdb28bb1e5c898e7f57d6222568704f425e4c54
[ "MIT" ]
permissive
BerntA/tfo-code
eb127b86111dce2b6f66e98c9476adc9ddbbd267
b82efd940246af8fe90cb76fa6a96bba42c277b7
refs/heads/master
2023-08-17T06:57:13.107323
2023-08-09T18:37:54
2023-08-09T18:37:54
41,260,457
16
5
MIT
2023-05-29T23:35:33
2015-08-23T17:52:50
C++
UTF-8
C++
false
false
43,982
cpp
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: UNDONE: Rename this to prop_vehicle.cpp !!! // // $NoKeywords: $ //=============================================================================// #include "cbase.h" #include "vcollide_parse.h" #include "vehicle_base.h" #include "ndebugoverlay.h" #include "igamemovement.h" #include "soundenvelope.h" #include "in_buttons.h" #include "npc_vehicledriver.h" #include "physics_saverestore.h" #include "saverestore_utlvector.h" #include "func_break.h" #include "physics_impact_damage.h" #include "entityblocker.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" #define SF_PROP_VEHICLE_ALWAYSTHINK 0x00000001 ConVar g_debug_vehiclebase( "g_debug_vehiclebase", "0", FCVAR_CHEAT ); extern ConVar g_debug_vehicledriver; // CFourWheelServerVehicle BEGIN_SIMPLE_DATADESC_( CFourWheelServerVehicle, CBaseServerVehicle ) DEFINE_EMBEDDED( m_ViewSmoothing ), END_DATADESC() // CPropVehicle BEGIN_DATADESC( CPropVehicle ) DEFINE_EMBEDDED( m_VehiclePhysics ), // These are necessary to save here because the 'owner' of these fields must be the prop_vehicle DEFINE_PHYSPTR( m_VehiclePhysics.m_pVehicle ), DEFINE_PHYSPTR_ARRAY( m_VehiclePhysics.m_pWheels ), DEFINE_FIELD( m_nVehicleType, FIELD_INTEGER ), #ifdef HL2_EPISODIC DEFINE_UTLVECTOR( m_hPhysicsChildren, FIELD_EHANDLE ), #endif // HL2_EPISODIC // Keys DEFINE_KEYFIELD( m_vehicleScript, FIELD_STRING, "VehicleScript" ), DEFINE_FIELD( m_vecSmoothedVelocity, FIELD_VECTOR ), // Inputs DEFINE_INPUTFUNC( FIELD_FLOAT, "Throttle", InputThrottle ), DEFINE_INPUTFUNC( FIELD_FLOAT, "Steer", InputSteering ), DEFINE_INPUTFUNC( FIELD_FLOAT, "Action", InputAction ), DEFINE_INPUTFUNC( FIELD_VOID, "HandBrakeOn", InputHandBrakeOn ), DEFINE_INPUTFUNC( FIELD_VOID, "HandBrakeOff", InputHandBrakeOff ), END_DATADESC() LINK_ENTITY_TO_CLASS( prop_vehicle, CPropVehicle ); //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- #pragma warning (disable:4355) CPropVehicle::CPropVehicle() : m_VehiclePhysics( this ) { SetVehicleType( VEHICLE_TYPE_CAR_WHEELS ); } #pragma warning (default:4355) //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- CPropVehicle::~CPropVehicle () { } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicle::Spawn( ) { CFourWheelServerVehicle *pServerVehicle = dynamic_cast<CFourWheelServerVehicle*>(GetServerVehicle()); m_VehiclePhysics.SetOuter( this, pServerVehicle ); // NOTE: The model has to be set before we can spawn vehicle physics BaseClass::Spawn(); SetCollisionGroup( COLLISION_GROUP_VEHICLE ); m_VehiclePhysics.Spawn(); if (!m_VehiclePhysics.Initialize( STRING(m_vehicleScript), m_nVehicleType )) return; SetNextThink( gpGlobals->curtime ); m_vecSmoothedVelocity.Init(); } // this allows reloading the script variables from disk over an existing vehicle state // This is useful for tuning vehicles or updating old saved game formats CON_COMMAND(vehicle_flushscript, "Flush and reload all vehicle scripts") { PhysFlushVehicleScripts(); for ( CBaseEntity *pEnt = gEntList.FirstEnt(); pEnt != NULL; pEnt = gEntList.NextEnt(pEnt) ) { IServerVehicle *pServerVehicle = pEnt->GetServerVehicle(); if ( pServerVehicle ) { pServerVehicle->ReloadScript(); } } } //----------------------------------------------------------------------------- // Purpose: Restore //----------------------------------------------------------------------------- int CPropVehicle::Restore( IRestore &restore ) { CFourWheelServerVehicle *pServerVehicle = dynamic_cast<CFourWheelServerVehicle*>(GetServerVehicle()); m_VehiclePhysics.SetOuter( this, pServerVehicle ); return BaseClass::Restore( restore ); } //----------------------------------------------------------------------------- // Purpose: Tell the vehicle physics system whenever we teleport, so it can fixup the wheels. //----------------------------------------------------------------------------- void CPropVehicle::Teleport( const Vector *newPosition, const QAngle *newAngles, const Vector *newVelocity ) { matrix3x4_t startMatrixInv; MatrixInvert( EntityToWorldTransform(), startMatrixInv ); BaseClass::Teleport( newPosition, newAngles, newVelocity ); // Calculate the relative transform of the teleport matrix3x4_t xform; ConcatTransforms( EntityToWorldTransform(), startMatrixInv, xform ); m_VehiclePhysics.Teleport( xform ); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicle::DrawDebugGeometryOverlays() { if (m_debugOverlays & OVERLAY_BBOX_BIT) { m_VehiclePhysics.DrawDebugGeometryOverlays(); } BaseClass::DrawDebugGeometryOverlays(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- int CPropVehicle::DrawDebugTextOverlays() { int nOffset = BaseClass::DrawDebugTextOverlays(); if (m_debugOverlays & OVERLAY_TEXT_BIT) { nOffset = m_VehiclePhysics.DrawDebugTextOverlays( nOffset ); } return nOffset; } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicle::InputThrottle( inputdata_t &inputdata ) { m_VehiclePhysics.SetThrottle( inputdata.value.Float() ); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicle::InputSteering( inputdata_t &inputdata ) { m_VehiclePhysics.SetSteering( inputdata.value.Float(), 2*gpGlobals->frametime ); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicle::InputAction( inputdata_t &inputdata ) { m_VehiclePhysics.SetAction( inputdata.value.Float() ); } void CPropVehicle::InputHandBrakeOn( inputdata_t &inputdata ) { m_VehiclePhysics.SetHandbrake( true ); } void CPropVehicle::InputHandBrakeOff( inputdata_t &inputdata ) { m_VehiclePhysics.ReleaseHandbrake(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicle::Think() { m_VehiclePhysics.Think(); // Derived classes of CPropVehicle have their own code to determine how frequently to think. // But the prop_vehicle entity native to this class will only think one time, so this flag // was added to allow prop_vehicle to always think without affecting the derived classes. if( HasSpawnFlags(SF_PROP_VEHICLE_ALWAYSTHINK) ) { SetNextThink(gpGlobals->curtime); } } #define SMOOTHING_FACTOR 0.9 //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicle::VPhysicsUpdate( IPhysicsObject *pPhysics ) { if ( IsMarkedForDeletion() ) return; Vector velocity; VPhysicsGetObject()->GetVelocity( &velocity, NULL ); //Update our smoothed velocity m_vecSmoothedVelocity = m_vecSmoothedVelocity * SMOOTHING_FACTOR + velocity * ( 1 - SMOOTHING_FACTOR ); // must be a wheel if (!m_VehiclePhysics.VPhysicsUpdate( pPhysics )) return; BaseClass::VPhysicsUpdate( pPhysics ); } //----------------------------------------------------------------------------- // Purpose: // Output : const Vector //----------------------------------------------------------------------------- Vector CPropVehicle::GetSmoothedVelocity( void ) { return m_vecSmoothedVelocity; } //============================================================================= #ifdef HL2_EPISODIC //----------------------------------------------------------------------------- // Purpose: Add an entity to a list which receives physics callbacks from the vehicle //----------------------------------------------------------------------------- void CPropVehicle::AddPhysicsChild( CBaseEntity *pChild ) { // Don't add something we already have if ( m_hPhysicsChildren.Find( pChild ) != m_hPhysicsChildren.InvalidIndex() ) return ; m_hPhysicsChildren.AddToTail( pChild ); } //----------------------------------------------------------------------------- // Purpose: Removes entity from physics callback list //----------------------------------------------------------------------------- void CPropVehicle::RemovePhysicsChild( CBaseEntity *pChild ) { int elemID = m_hPhysicsChildren.Find( pChild ); if ( m_hPhysicsChildren.IsValidIndex( elemID ) ) { m_hPhysicsChildren.Remove( elemID ); } } #endif //HL2_EPISODIC //============================================================================= //----------------------------------------------------------------------------- // Purpose: Player driveable vehicle class //----------------------------------------------------------------------------- IMPLEMENT_SERVERCLASS_ST(CPropVehicleDriveable, DT_PropVehicleDriveable) SendPropEHandle(SENDINFO(m_hPlayer)), // SendPropFloat(SENDINFO_DT_NAME(m_controls.throttle, m_throttle), 8, SPROP_ROUNDUP, 0.0f, 1.0f), SendPropInt(SENDINFO(m_nSpeed), 8), SendPropInt(SENDINFO(m_nRPM), 13), SendPropFloat(SENDINFO(m_flThrottle), 0, SPROP_NOSCALE ), SendPropInt(SENDINFO(m_nBoostTimeLeft), 8), SendPropInt(SENDINFO(m_nHasBoost), 1, SPROP_UNSIGNED), SendPropInt(SENDINFO(m_bEnterAnimOn), 1, SPROP_UNSIGNED ), SendPropInt(SENDINFO(m_bExitAnimOn), 1, SPROP_UNSIGNED ), SendPropInt(SENDINFO(m_bUnableToFire), 1, SPROP_UNSIGNED ), SendPropVector(SENDINFO(m_vecEyeExitEndpoint), -1, SPROP_COORD), SendPropBool(SENDINFO(m_bHasGun)), SendPropVector(SENDINFO(m_vecGunCrosshair), -1, SPROP_COORD), END_SEND_TABLE(); BEGIN_DATADESC( CPropVehicleDriveable ) // Inputs DEFINE_INPUTFUNC( FIELD_VOID, "Lock", InputLock ), DEFINE_INPUTFUNC( FIELD_VOID, "Unlock", InputUnlock ), DEFINE_INPUTFUNC( FIELD_VOID, "TurnOn", InputTurnOn ), DEFINE_INPUTFUNC( FIELD_VOID, "TurnOff", InputTurnOff ), DEFINE_INPUT( m_bHasGun, FIELD_BOOLEAN, "EnableGun" ), // Outputs DEFINE_OUTPUT( m_playerOn, "PlayerOn" ), DEFINE_OUTPUT( m_playerOff, "PlayerOff" ), DEFINE_OUTPUT( m_pressedAttack, "PressedAttack" ), DEFINE_OUTPUT( m_pressedAttack2, "PressedAttack2" ), DEFINE_OUTPUT( m_attackaxis, "AttackAxis" ), DEFINE_OUTPUT( m_attack2axis, "Attack2Axis" ), DEFINE_FIELD( m_hPlayer, FIELD_EHANDLE ), DEFINE_EMBEDDEDBYREF( m_pServerVehicle ), DEFINE_FIELD( m_nSpeed, FIELD_INTEGER ), DEFINE_FIELD( m_nRPM, FIELD_INTEGER ), DEFINE_FIELD( m_flThrottle, FIELD_FLOAT ), DEFINE_FIELD( m_nBoostTimeLeft, FIELD_INTEGER ), DEFINE_FIELD( m_nHasBoost, FIELD_INTEGER ), DEFINE_FIELD( m_bUnableToFire, FIELD_BOOLEAN ), DEFINE_FIELD( m_vecEyeExitEndpoint, FIELD_POSITION_VECTOR ), DEFINE_FIELD( m_vecGunCrosshair, FIELD_VECTOR ), DEFINE_FIELD( m_bEngineLocked, FIELD_BOOLEAN ), DEFINE_KEYFIELD( m_bLocked, FIELD_BOOLEAN, "VehicleLocked" ), DEFINE_FIELD( m_flMinimumSpeedToEnterExit, FIELD_FLOAT ), DEFINE_FIELD( m_bEnterAnimOn, FIELD_BOOLEAN ), DEFINE_FIELD( m_bExitAnimOn, FIELD_BOOLEAN ), DEFINE_FIELD( m_flTurnOffKeepUpright, FIELD_TIME ), //DEFINE_FIELD( m_flNoImpactDamageTime, FIELD_TIME ), DEFINE_FIELD( m_hNPCDriver, FIELD_EHANDLE ), DEFINE_FIELD( m_hKeepUpright, FIELD_EHANDLE ), END_DATADESC() LINK_ENTITY_TO_CLASS( prop_vehicle_driveable, CPropVehicleDriveable ); //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- CPropVehicleDriveable::CPropVehicleDriveable( void ) : m_pServerVehicle( NULL ), m_hKeepUpright( NULL ), m_flTurnOffKeepUpright( 0 ), m_flNoImpactDamageTime( 0 ) { m_vecEyeExitEndpoint.Init(); m_vecGunCrosshair.Init(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- CPropVehicleDriveable::~CPropVehicleDriveable( void ) { DestroyServerVehicle(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::CreateServerVehicle( void ) { // Create our server vehicle m_pServerVehicle = new CFourWheelServerVehicle(); m_pServerVehicle->SetVehicle( this ); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::DestroyServerVehicle() { if ( m_pServerVehicle ) { delete m_pServerVehicle; m_pServerVehicle = NULL; } } //------------------------------------------------ // Precache //------------------------------------------------ void CPropVehicleDriveable::Precache( void ) { BaseClass::Precache(); // This step is needed because if we're precaching from a templated instance, we'll miss our vehicle // script sounds unless we do the parse below. This instance of the vehicle will be nuked when we're actually created. if ( m_pServerVehicle == NULL ) { CreateServerVehicle(); } // Load the script file and precache our assets if ( m_pServerVehicle ) { m_pServerVehicle->Initialize( STRING( m_vehicleScript ) ); } } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::Spawn( void ) { // Has to be created before Spawn is called (since that causes Precache to be called) DestroyServerVehicle(); CreateServerVehicle(); // Initialize our vehicle via script if ( m_pServerVehicle->Initialize( STRING(m_vehicleScript) ) == false ) { Warning( "Vehicle (%s) unable to properly initialize due to script error in (%s)!\n", GetEntityName().ToCStr(), STRING( m_vehicleScript ) ); SetThink( &CBaseEntity::SUB_Remove ); SetNextThink( gpGlobals->curtime + 0.1f ); return; } BaseClass::Spawn(); m_flMinimumSpeedToEnterExit = 0; m_takedamage = DAMAGE_EVENTS_ONLY; m_bEngineLocked = false; } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- int CPropVehicleDriveable::Restore( IRestore &restore ) { // Has to be created before we can restore // and we can't create it in the constructor because it could be // overridden by a derived class. DestroyServerVehicle(); CreateServerVehicle(); int nRetVal = BaseClass::Restore( restore ); return nRetVal; } //----------------------------------------------------------------------------- // Purpose: Do extra fix-up after restore //----------------------------------------------------------------------------- void CPropVehicleDriveable::OnRestore( void ) { BaseClass::OnRestore(); // NOTE: This is necessary to prevent overflow of datatables on level transition // since the last exit eyepoint in the last level will have been fixed up // based on the level landmarks, resulting in a position that lies outside // typical map coordinates. If we're not in the middle of an exit anim, the // eye exit endpoint field isn't being used at all. if ( !m_bExitAnimOn ) { m_vecEyeExitEndpoint = GetAbsOrigin(); } m_flNoImpactDamageTime = gpGlobals->curtime + 5.0f; IServerVehicle *pServerVehicle = GetServerVehicle(); if ( pServerVehicle != NULL ) { // Restore the passenger information we're holding on to pServerVehicle->RestorePassengerInfo(); } } //----------------------------------------------------------------------------- // Purpose: Vehicles are permanently oriented off angle for vphysics. //----------------------------------------------------------------------------- void CPropVehicleDriveable::GetVectors(Vector* pForward, Vector* pRight, Vector* pUp) const { // This call is necessary to cause m_rgflCoordinateFrame to be recomputed const matrix3x4_t &entityToWorld = EntityToWorldTransform(); if (pForward != NULL) { MatrixGetColumn( entityToWorld, 1, *pForward ); } if (pRight != NULL) { MatrixGetColumn( entityToWorld, 0, *pRight ); } if (pUp != NULL) { MatrixGetColumn( entityToWorld, 2, *pUp ); } } //----------------------------------------------------------------------------- // Purpose: AngleVectors equivalent that accounts for the hacked 90 degree rotation of vehicles // BUGBUG: VPhysics is hardcoded so that vehicles must face down Y instead of X like everything else //----------------------------------------------------------------------------- void CPropVehicleDriveable::VehicleAngleVectors( const QAngle &angles, Vector *pForward, Vector *pRight, Vector *pUp ) { AngleVectors( angles, pRight, pForward, pUp ); if ( pForward ) { *pForward *= -1; } } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::Use( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value ) { CBasePlayer *pPlayer = ToBasePlayer( pActivator ); if ( !pPlayer ) return; ResetUseKey( pPlayer ); m_pServerVehicle->HandlePassengerEntry( pPlayer, (value>0) ); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- CBaseEntity *CPropVehicleDriveable::GetDriver( void ) { if ( m_hNPCDriver ) return m_hNPCDriver; return m_hPlayer; } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::EnterVehicle( CBaseCombatCharacter *pPassenger ) { if ( pPassenger == NULL ) return; CBasePlayer *pPlayer = ToBasePlayer( pPassenger ); if ( pPlayer != NULL ) { // Remove any player who may be in the vehicle at the moment if ( m_hPlayer ) { ExitVehicle( VEHICLE_ROLE_DRIVER ); } m_hPlayer = pPlayer; m_playerOn.FireOutput( pPlayer, this, 0 ); // Don't start the engine if the player's using an entry animation, // because we want to start the engine once the animation is done. if ( !m_bEnterAnimOn ) { StartEngine(); } // Start Thinking SetNextThink( gpGlobals->curtime ); Vector vecViewOffset = m_pServerVehicle->GetSavedViewOffset(); // Clear our state m_pServerVehicle->InitViewSmoothing( pPlayer->GetAbsOrigin() + vecViewOffset, pPlayer->EyeAngles() ); m_VehiclePhysics.GetVehicle()->OnVehicleEnter(); } else { // NPCs are not yet supported - jdw Assert( 0 ); } } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::ExitVehicle( int nRole ) { CBasePlayer *pPlayer = m_hPlayer; if ( !pPlayer ) return; m_hPlayer = NULL; ResetUseKey( pPlayer ); m_playerOff.FireOutput( pPlayer, this, 0 ); // clear out the fire buttons m_attackaxis.Set( 0, pPlayer, this ); m_attack2axis.Set( 0, pPlayer, this ); m_nSpeed = 0; m_flThrottle = 0.0f; StopEngine(); m_VehiclePhysics.GetVehicle()->OnVehicleExit(); // Clear our state m_pServerVehicle->InitViewSmoothing( vec3_origin, vec3_angle ); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::ResetUseKey( CBasePlayer *pPlayer ) { pPlayer->m_afButtonPressed &= ~IN_USE; } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::DriveVehicle( CBasePlayer *pPlayer, CUserCmd *ucmd ) { //Lose control when the player dies if ( pPlayer->IsAlive() == false ) return; DriveVehicle( TICK_INTERVAL, ucmd, pPlayer->m_afButtonPressed, pPlayer->m_afButtonReleased ); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::DriveVehicle( float flFrameTime, CUserCmd *ucmd, int iButtonsDown, int iButtonsReleased ) { int iButtons = ucmd->buttons; m_VehiclePhysics.UpdateDriverControls( ucmd, flFrameTime ); m_nSpeed = m_VehiclePhysics.GetSpeed(); //send speed to client m_nRPM = clamp( m_VehiclePhysics.GetRPM(), 0, 4095 ); m_nBoostTimeLeft = m_VehiclePhysics.BoostTimeLeft(); m_nHasBoost = m_VehiclePhysics.HasBoost(); m_flThrottle = m_VehiclePhysics.GetThrottle(); // // Fire the appropriate outputs based on button pressed events. // // BUGBUG: m_afButtonPressed is broken - check the player.cpp code!!! float attack = 0, attack2 = 0; if ( iButtonsDown & IN_ATTACK ) { m_pressedAttack.FireOutput( this, this, 0 ); } if ( iButtonsDown & IN_ATTACK2 ) { m_pressedAttack2.FireOutput( this, this, 0 ); } if ( iButtons & IN_ATTACK ) { attack = 1; } if ( iButtons & IN_ATTACK2 ) { attack2 = 1; } m_attackaxis.Set( attack, this, this ); m_attack2axis.Set( attack2, this, this ); } //----------------------------------------------------------------------------- // Purpose: Tells whether or not the car has been overturned // Output : Returns true on success, false on failure. //----------------------------------------------------------------------------- bool CPropVehicleDriveable::IsOverturned( void ) { Vector vUp; VehicleAngleVectors( GetAbsAngles(), NULL, NULL, &vUp ); float upDot = DotProduct( Vector(0,0,1), vUp ); // Tweak this number to adjust what's considered "overturned" if ( upDot < 0.0f ) return true; return false; } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::Think() { BaseClass::Think(); if ( ShouldThink() ) { SetNextThink( gpGlobals->curtime ); } // If we have an NPC Driver, tell him to drive if ( m_hNPCDriver ) { GetServerVehicle()->NPC_DriveVehicle(); } // Keep thinking while we're waiting to turn off the keep upright if ( m_flTurnOffKeepUpright ) { SetNextThink( gpGlobals->curtime ); // Time up? if ( m_hKeepUpright != NULL && m_flTurnOffKeepUpright < gpGlobals->curtime ) { variant_t emptyVariant; m_hKeepUpright->AcceptInput( "TurnOff", this, this, emptyVariant, USE_TOGGLE ); m_flTurnOffKeepUpright = 0; UTIL_Remove( m_hKeepUpright ); } } } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::SetupMove( CBasePlayer *player, CUserCmd *ucmd, IMoveHelper *pHelper, CMoveData *move ) { // If the engine's not active, prevent driving if ( !IsEngineOn() || m_bEngineLocked ) return; // If the player's entering/exiting the vehicle, prevent movement if ( m_bEnterAnimOn || m_bExitAnimOn ) return; DriveVehicle( player, ucmd ); } //----------------------------------------------------------------------------- // Purpose: Prevent the player from entering / exiting the vehicle //----------------------------------------------------------------------------- void CPropVehicleDriveable::InputLock( inputdata_t &inputdata ) { m_bLocked = true; } //----------------------------------------------------------------------------- // Purpose: Allow the player to enter / exit the vehicle //----------------------------------------------------------------------------- void CPropVehicleDriveable::InputUnlock( inputdata_t &inputdata ) { m_bLocked = false; } //----------------------------------------------------------------------------- // Purpose: Return true of the player's allowed to enter the vehicle //----------------------------------------------------------------------------- bool CPropVehicleDriveable::CanEnterVehicle( CBaseEntity *pEntity ) { // Only drivers are supported Assert( pEntity && pEntity->IsPlayer() ); // Prevent entering if the vehicle's being driven by an NPC if ( GetDriver() && GetDriver() != pEntity ) return false; // Can't enter if we're upside-down if ( IsOverturned() ) return false; // Prevent entering if the vehicle's locked, or if it's moving too fast. return ( !m_bLocked && (m_nSpeed <= m_flMinimumSpeedToEnterExit) ); } //----------------------------------------------------------------------------- // Purpose: Return true of the player's allowed to exit the vehicle //----------------------------------------------------------------------------- bool CPropVehicleDriveable::CanExitVehicle( CBaseEntity *pEntity ) { // Prevent exiting if the vehicle's locked, or if it's moving too fast. return ( !m_bEnterAnimOn && !m_bExitAnimOn && !m_bLocked && (m_nSpeed <= m_flMinimumSpeedToEnterExit) ); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::InputTurnOn( inputdata_t &inputdata ) { m_bEngineLocked = false; StartEngine(); m_VehiclePhysics.SetDisableEngine( false ); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::InputTurnOff( inputdata_t &inputdata ) { m_bEngineLocked = true; StopEngine(); m_VehiclePhysics.SetDisableEngine( true ); } //----------------------------------------------------------------------------- // Purpose: Check to see if the engine is on. //----------------------------------------------------------------------------- bool CPropVehicleDriveable::IsEngineOn( void ) { return m_VehiclePhysics.IsOn(); } //----------------------------------------------------------------------------- // Purpose: Turn on the engine, but only if we're allowed to //----------------------------------------------------------------------------- void CPropVehicleDriveable::StartEngine( void ) { if ( m_bEngineLocked ) { m_VehiclePhysics.SetHandbrake( true ); return; } m_VehiclePhysics.TurnOn(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CPropVehicleDriveable::StopEngine( void ) { m_VehiclePhysics.TurnOff(); } //----------------------------------------------------------------------------- // Purpose: // The player takes damage if he hits something going fast enough //----------------------------------------------------------------------------- void CPropVehicleDriveable::VPhysicsCollision( int index, gamevcollisionevent_t *pEvent ) { //============================================================================= #ifdef HL2_EPISODIC // Notify all children for ( int i = 0; i < m_hPhysicsChildren.Count(); i++ ) { if ( m_hPhysicsChildren[i] == NULL ) continue; m_hPhysicsChildren[i]->VPhysicsCollision( index, pEvent ); } #endif // HL2_EPISODIC //============================================================================= // Don't care if we don't have a driver CBaseCombatCharacter *pDriver = GetDriver() ? GetDriver()->MyCombatCharacterPointer() : NULL; if ( !pDriver ) return; // Make sure we don't keep hitting the same entity int otherIndex = !index; CBaseEntity *pHitEntity = pEvent->pEntities[otherIndex]; if ( pEvent->deltaCollisionTime < 0.5 && (pHitEntity == this) ) return; BaseClass::VPhysicsCollision( index, pEvent ); // if this is a bone follower, promote to the owner entity if ( pHitEntity->GetOwnerEntity() && (pHitEntity->GetEffects() & EF_NODRAW) ) { CBaseEntity *pOwner = pHitEntity->GetOwnerEntity(); // no friendly bone follower damage // this allows strider legs to damage the player on impact but not d0g for example if ( pDriver->IRelationType( pOwner ) == D_LI ) return; } // If we hit hard enough, damage the player // Don't take damage from ramming bad guys if ( pHitEntity->MyNPCPointer() ) { return; } // Don't take damage from ramming ragdolls if ( pEvent->pObjects[otherIndex]->GetGameFlags() & FVPHYSICS_PART_OF_RAGDOLL ) return; // Ignore func_breakables CBreakable *pBreakable = dynamic_cast<CBreakable *>(pHitEntity); if ( pBreakable ) { // ROBIN: Do we want to only do this on func_breakables that are about to die? //if ( pBreakable->HasSpawnFlags( SF_PHYSICS_BREAK_IMMEDIATELY ) ) return; } // Over our skill's minimum crash level? int damageType = 0; float flDamage = CalculatePhysicsImpactDamage( index, pEvent, gDefaultPlayerVehicleImpactDamageTable, 1.0, true, damageType ); if ( flDamage > 0 && m_flNoImpactDamageTime < gpGlobals->curtime ) { Vector damagePos; pEvent->pInternalData->GetContactPoint( damagePos ); Vector damageForce = pEvent->postVelocity[index] * pEvent->pObjects[index]->GetMass(); CTakeDamageInfo info( this, GetDriver(), damageForce, damagePos, flDamage, (damageType|DMG_VEHICLE) ); GetDriver()->TakeDamage( info ); } } int CPropVehicleDriveable::VPhysicsGetObjectList( IPhysicsObject **pList, int listMax ) { return GetPhysics()->VPhysicsGetObjectList( pList, listMax ); } //----------------------------------------------------------------------------- // Purpose: Handle trace attacks from the physcannon //----------------------------------------------------------------------------- void CPropVehicleDriveable::TraceAttack( const CTakeDamageInfo &info, const Vector &vecDir, trace_t *ptr, CDmgAccumulator *pAccumulator ) { // If we've just been zapped by the physcannon, try and right ourselves if ( info.GetDamageType() & DMG_PHYSGUN ) { float flUprightStrength = GetUprightStrength(); if ( flUprightStrength ) { // Update our strength value if we already have an upright controller if ( m_hKeepUpright ) { variant_t limitVariant; limitVariant.SetFloat( flUprightStrength ); m_hKeepUpright->AcceptInput( "SetAngularLimit", this, this, limitVariant, USE_TOGGLE ); } else { // If we don't have one, create an upright controller for us m_hKeepUpright = CreateKeepUpright( GetAbsOrigin(), vec3_angle, this, GetUprightStrength(), false ); } Assert( m_hKeepUpright ); variant_t emptyVariant; m_hKeepUpright->AcceptInput( "TurnOn", this, this, emptyVariant, USE_TOGGLE ); // Turn off the keepupright after a short time m_flTurnOffKeepUpright = gpGlobals->curtime + GetUprightTime(); SetNextThink( gpGlobals->curtime ); } #ifdef HL2_EPISODIC // Notify all children for ( int i = 0; i < m_hPhysicsChildren.Count(); i++ ) { if ( m_hPhysicsChildren[i] == NULL ) continue; variant_t emptyVariant; m_hPhysicsChildren[i]->AcceptInput( "VehiclePunted", info.GetAttacker(), this, emptyVariant, USE_TOGGLE ); } #endif // HL2_EPISODIC } BaseClass::TraceAttack( info, vecDir, ptr, pAccumulator ); } //============================================================================= // Passenger carrier //----------------------------------------------------------------------------- // Purpose: // Input : *pPassenger - // bCompanion - // Output : Returns true on success, false on failure. //----------------------------------------------------------------------------- bool CPropVehicleDriveable::NPC_CanEnterVehicle( CAI_BaseNPC *pPassenger, bool bCompanion ) { // Always allowed unless a leaf class says otherwise return true; } //----------------------------------------------------------------------------- // Purpose: // Input : *pPassenger - // bCompanion - // Output : Returns true on success, false on failure. //----------------------------------------------------------------------------- bool CPropVehicleDriveable::NPC_CanExitVehicle( CAI_BaseNPC *pPassenger, bool bCompanion ) { // Always allowed unless a leaf class says otherwise return true; } //----------------------------------------------------------------------------- // Purpose: // Input : *pPassenger - // bCompanion - // Output : Returns true on success, false on failure. //----------------------------------------------------------------------------- bool CPropVehicleDriveable::NPC_AddPassenger( CAI_BaseNPC *pPassenger, string_t strRoleName, int nSeatID ) { // Must be allowed to enter if ( NPC_CanEnterVehicle( pPassenger, true /*FIXME*/ ) == false ) return false; IServerVehicle *pVehicleServer = GetServerVehicle(); if ( pVehicleServer != NULL ) return pVehicleServer->NPC_AddPassenger( pPassenger, strRoleName, nSeatID ); return true; } //----------------------------------------------------------------------------- // Purpose: // Input : *pPassenger - // bCompanion - //----------------------------------------------------------------------------- bool CPropVehicleDriveable::NPC_RemovePassenger( CAI_BaseNPC *pPassenger ) { // Must be allowed to exit if ( NPC_CanExitVehicle( pPassenger, true /*FIXME*/ ) == false ) return false; IServerVehicle *pVehicleServer = GetServerVehicle(); if ( pVehicleServer != NULL ) return pVehicleServer->NPC_RemovePassenger( pPassenger ); return true; } //----------------------------------------------------------------------------- // Purpose: // Input : *pVictim - // &info - //----------------------------------------------------------------------------- void CPropVehicleDriveable::Event_KilledOther( CBaseEntity *pVictim, const CTakeDamageInfo &info ) { CBaseEntity *pDriver = GetDriver(); if ( pDriver != NULL ) { pDriver->Event_KilledOther( pVictim, info ); } BaseClass::Event_KilledOther( pVictim, info ); } //======================================================================================================================================== // FOUR WHEEL PHYSICS VEHICLE SERVER VEHICLE //======================================================================================================================================== CFourWheelServerVehicle::CFourWheelServerVehicle( void ) { // Setup our smoothing data memset( &m_ViewSmoothing, 0, sizeof( m_ViewSmoothing ) ); m_ViewSmoothing.bClampEyeAngles = true; m_ViewSmoothing.bDampenEyePosition = true; m_ViewSmoothing.flPitchCurveZero = PITCH_CURVE_ZERO; m_ViewSmoothing.flPitchCurveLinear = PITCH_CURVE_LINEAR; m_ViewSmoothing.flRollCurveZero = ROLL_CURVE_ZERO; m_ViewSmoothing.flRollCurveLinear = ROLL_CURVE_LINEAR; } #ifdef HL2_EPISODIC ConVar r_JeepFOV( "r_JeepFOV", "82", FCVAR_CHEAT | FCVAR_REPLICATED ); #else ConVar r_JeepFOV( "r_JeepFOV", "90", FCVAR_CHEAT | FCVAR_REPLICATED ); #endif // HL2_EPISODIC //----------------------------------------------------------------------------- // Purpose: Setup our view smoothing information //----------------------------------------------------------------------------- void CFourWheelServerVehicle::InitViewSmoothing( const Vector &vecOrigin, const QAngle &vecAngles ) { m_ViewSmoothing.bWasRunningAnim = false; m_ViewSmoothing.vecOriginSaved = vecOrigin; m_ViewSmoothing.vecAnglesSaved = vecAngles; m_ViewSmoothing.flFOV = r_JeepFOV.GetFloat(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CFourWheelServerVehicle::SetVehicle( CBaseEntity *pVehicle ) { ASSERT( dynamic_cast<CPropVehicleDriveable*>(pVehicle) ); BaseClass::SetVehicle( pVehicle ); // Save this for view smoothing if ( pVehicle != NULL ) { m_ViewSmoothing.pVehicle = pVehicle->GetBaseAnimating(); } } //----------------------------------------------------------------------------- // Purpose: Modify the player view/camera while in a vehicle //----------------------------------------------------------------------------- void CFourWheelServerVehicle::GetVehicleViewPosition( int nRole, Vector *pAbsOrigin, QAngle *pAbsAngles, float *pFOV /*= NULL*/ ) { CBaseEntity *pDriver = GetPassenger( nRole ); if ( pDriver && pDriver->IsPlayer()) { CBasePlayer *pPlayerDriver = ToBasePlayer( pDriver ); CPropVehicleDriveable *pVehicle = GetFourWheelVehicle(); SharedVehicleViewSmoothing( pPlayerDriver, pAbsOrigin, pAbsAngles, pVehicle->IsEnterAnimOn(), pVehicle->IsExitAnimOn(), pVehicle->GetEyeExitEndpoint(), &m_ViewSmoothing, pFOV ); } else { // NPCs are not supported Assert( 0 ); } } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- const vehicleparams_t *CFourWheelServerVehicle::GetVehicleParams( void ) { return &GetFourWheelVehiclePhysics()->GetVehicleParams(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- const vehicle_operatingparams_t *CFourWheelServerVehicle::GetVehicleOperatingParams( void ) { return &GetFourWheelVehiclePhysics()->GetVehicleOperatingParams(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- const vehicle_controlparams_t *CFourWheelServerVehicle::GetVehicleControlParams( void ) { return &GetFourWheelVehiclePhysics()->GetVehicleControls(); } IPhysicsVehicleController *CFourWheelServerVehicle::GetVehicleController() { return GetFourWheelVehiclePhysics()->GetVehicleController(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- CPropVehicleDriveable *CFourWheelServerVehicle::GetFourWheelVehicle( void ) { return (CPropVehicleDriveable *)m_pVehicle; } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- CFourWheelVehiclePhysics *CFourWheelServerVehicle::GetFourWheelVehiclePhysics( void ) { CPropVehicleDriveable *pVehicle = GetFourWheelVehicle(); return pVehicle->GetPhysics(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- bool CFourWheelServerVehicle::IsVehicleUpright( void ) { return (GetFourWheelVehicle()->IsOverturned() == false); } bool CFourWheelServerVehicle::IsVehicleBodyInWater() { return GetFourWheelVehicle()->IsVehicleBodyInWater(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- bool CFourWheelServerVehicle::IsPassengerEntering( void ) { return GetFourWheelVehicle()->IsEnterAnimOn(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- bool CFourWheelServerVehicle::IsPassengerExiting( void ) { return GetFourWheelVehicle()->IsExitAnimOn(); } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CFourWheelServerVehicle::NPC_SetDriver( CNPC_VehicleDriver *pDriver ) { if ( pDriver ) { m_nNPCButtons = 0; GetFourWheelVehicle()->m_hNPCDriver = pDriver; GetFourWheelVehicle()->StartEngine(); SetVehicleVolume( 1.0 ); // Vehicles driven by NPCs are louder // Set our owner entity to be the NPC, so it can path check without hitting us GetFourWheelVehicle()->SetOwnerEntity( pDriver ); // Start Thinking GetFourWheelVehicle()->SetNextThink( gpGlobals->curtime ); } else { GetFourWheelVehicle()->m_hNPCDriver = NULL; GetFourWheelVehicle()->StopEngine(); GetFourWheelVehicle()->SetOwnerEntity( NULL ); SetVehicleVolume( 0.5 ); } } //----------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------- void CFourWheelServerVehicle::NPC_DriveVehicle( void ) { #ifdef HL2_DLL if ( g_debug_vehicledriver.GetInt() ) { if ( m_nNPCButtons ) { Vector vecForward, vecRight; GetFourWheelVehicle()->GetVectors( &vecForward, &vecRight, NULL ); if ( m_nNPCButtons & IN_FORWARD ) { NDebugOverlay::Line( GetFourWheelVehicle()->GetAbsOrigin(), GetFourWheelVehicle()->GetAbsOrigin() + vecForward * 200, 0,255,0, true, 0.1 ); } if ( m_nNPCButtons & IN_BACK ) { NDebugOverlay::Line( GetFourWheelVehicle()->GetAbsOrigin(), GetFourWheelVehicle()->GetAbsOrigin() - vecForward * 200, 0,255,0, true, 0.1 ); } if ( m_nNPCButtons & IN_MOVELEFT ) { NDebugOverlay::Line( GetFourWheelVehicle()->GetAbsOrigin(), GetFourWheelVehicle()->GetAbsOrigin() - vecRight * 200 * -m_flTurnDegrees, 0,255,0, true, 0.1 ); } if ( m_nNPCButtons & IN_MOVERIGHT ) { NDebugOverlay::Line( GetFourWheelVehicle()->GetAbsOrigin(), GetFourWheelVehicle()->GetAbsOrigin() + vecRight * 200 * m_flTurnDegrees, 0,255,0, true, 0.1 ); } if ( m_nNPCButtons & IN_JUMP ) { NDebugOverlay::Box( GetFourWheelVehicle()->GetAbsOrigin(), -Vector(20,20,20), Vector(20,20,20), 0,255,0, true, 0.1 ); } } } #endif int buttonsChanged = m_nPrevNPCButtons ^ m_nNPCButtons; int afButtonPressed = buttonsChanged & m_nNPCButtons; // The changed ones still down are "pressed" int afButtonReleased = buttonsChanged & (~m_nNPCButtons); // The ones not down are "released" CUserCmd fakeCmd; fakeCmd.Reset(); fakeCmd.buttons = m_nNPCButtons; fakeCmd.forwardmove += 200.0f * ( m_nNPCButtons & IN_FORWARD ); fakeCmd.forwardmove -= 200.0f * ( m_nNPCButtons & IN_BACK ); fakeCmd.sidemove -= 200.0f * ( m_nNPCButtons & IN_MOVELEFT ); fakeCmd.sidemove += 200.0f * ( m_nNPCButtons & IN_MOVERIGHT ); GetFourWheelVehicle()->DriveVehicle( gpGlobals->frametime, &fakeCmd, afButtonPressed, afButtonReleased ); m_nPrevNPCButtons = m_nNPCButtons; // NPC's cheat by using analog steering. GetFourWheelVehiclePhysics()->SetSteering( m_flTurnDegrees, 0 ); // Clear out attack buttons each frame m_nNPCButtons &= ~IN_ATTACK; m_nNPCButtons &= ~IN_ATTACK2; } //----------------------------------------------------------------------------- // Purpose: // Input : nWheelIndex - // &vecPos - //----------------------------------------------------------------------------- bool CFourWheelServerVehicle::GetWheelContactPoint( int nWheelIndex, Vector &vecPos ) { // Dig through a couple layers to get to our data CFourWheelVehiclePhysics *pVehiclePhysics = GetFourWheelVehiclePhysics(); if ( pVehiclePhysics ) { IPhysicsVehicleController *pVehicleController = pVehiclePhysics->GetVehicle(); if ( pVehicleController ) { return pVehicleController->GetWheelContactPoint( nWheelIndex, &vecPos, NULL ); } } return false; }
[ "bernta1@msn.com" ]
bernta1@msn.com
1cfb0acfdb71d0b1517c22c91416dde66c1b168d
96924680ca49b8448962a61995e5c090fa203ea0
/BattleShips/Field.cpp
988a1fb5a7c66b51881b1f92116d708deae4fede
[]
no_license
GranatKatya/ButtleShips
494b15644d8a501badb72df123f2861873120183
29fc04e9029b681ab0d202382d2faac4462ee1d0
refs/heads/master
2020-03-31T06:19:01.852229
2018-10-17T18:57:13
2018-10-17T18:57:13
151,976,918
0
0
null
null
null
null
WINDOWS-1251
C++
false
false
3,601
cpp
#include "stdafx.h" vector<Cell*> FieldInterface::GetUnshutCells() { vector<Cell*> unshut_cells; for (size_t i = 0; i < _arr_of_cells.size(); i++) { if (!_arr_of_cells[i]->GetIsShut()) { unshut_cells.push_back(_arr_of_cells[i]); } } return unshut_cells; } vector<Cell*> FieldInterface::GetEmptyCells() { vector<Cell*> unshut_cells; for (size_t i = 0; i < _arr_of_cells.size(); i++) { if (_arr_of_cells[i]->GetGameObject() == nullptr) { unshut_cells.push_back(_arr_of_cells[i]); } } return unshut_cells; } void FieldInterface::InitializeField() { for (size_t i = 0; i < 10; i++) { for (size_t j = 0; j < 10; j++) { Cell *ptr_cell = new Cell(i, j, _x_shift, _y_shift); _arr_of_cells.push_back(ptr_cell); if (i != 0) {//столбцы _arr_of_cells[_arr_of_cells.size() - 1]->SetL(&(*_arr_of_cells[_arr_of_cells.size() - 11])); _arr_of_cells[_arr_of_cells.size() - 11]->SetR(&(*_arr_of_cells[_arr_of_cells.size() - 1])); } if (j != 0) { _arr_of_cells[_arr_of_cells.size() - 1]->SetU(&(*_arr_of_cells[_arr_of_cells.size() - 2])); _arr_of_cells[_arr_of_cells.size() - 2]->SetD(&(*_arr_of_cells[_arr_of_cells.size() - 1])); } } } for (size_t i = 1; i <11; i++)//x { _arr_of_markup.push_back(new Cell(i, 0, _x_shift -20, _y_shift-20)); } for (size_t i = 1; i <11; i++)//y { _arr_of_markup.push_back(new Cell(0, i, _x_shift - 20, _y_shift - 20)); } } void FieldInterface::CreateShip(vector<COORD*> coord) { Ship *ship = new Ship; for (size_t i = 0; i < coord.size(); i++) { ship->GetArrayOfCells()->push_back(GetCellByCoord(coord[i]->X, coord[i]->Y)); GetCellByCoord(coord[i]->X, coord[i]->Y)->SetGetGameObject(*ship); } _arr_of_ships.push_back(ship); } void FieldInterface::CreateMine(vector<COORD*> coord) { Bomb *bomb = new Bomb; for (size_t i = 0; i < coord.size(); i++) { bomb->GetArrayOfCells()->push_back(GetCellByCoord(coord[i]->X, coord[i]->Y)); GetCellByCoord(coord[i]->X, coord[i]->Y)->SetGetGameObject(*bomb); } _arr_of_ships.push_back(bomb); } Cell* FieldInterface::GetCellByCoord(int x, int y) { return _arr_of_cells[x * 10 + y]; } bool FieldInterface::IsEmpty(int x, int y) { return GetCellByCoord(x, y)->IsEmpty(); } bool FieldInterface::AreSurraundionCellsEmpty(int x, int y) {// можем ли мы поставить кораюль vector<Cell*> surrounding_cells; if (IsEmpty(x, y)) { surrounding_cells = GetCellByCoord(x, y)->GetSurroundingCells(); } else { return false; } for (size_t i = 0; i < surrounding_cells.size(); i++) { if (!surrounding_cells[i]->IsEmpty()) { return false; } } return true; } void FieldInterface::ProcessShot(Shot &shot) { GetCellByCoord(shot.GetX(), shot.GetY())->ProcessShot(shot); } UserField::UserField(int x_shift, int y_shift) { _x_shift = x_shift; _y_shift = y_shift; } void UserField::PrintField() { for (size_t i = 0; i < _arr_of_cells.size(); i++) { _arr_of_cells[i]->Print(RGB(0, 255, 255)); } for (size_t i = 0; i < _arr_of_markup.size(); i++) { _arr_of_markup[i]->PrintByTemplate(RGB(255, 125, 0),i); } } EnemyField::EnemyField(int x_shift, int y_shift) { _x_shift = x_shift; _y_shift = y_shift; } void EnemyField::PrintField() { for (size_t i = 0; i < _arr_of_cells.size(); i++) { _arr_of_cells[i]->Print(RGB(0, 255, 255)); } for (size_t i = 0; i < _arr_of_markup.size(); i++) { _arr_of_markup[i]->PrintByTemplate(RGB(255, 125, 0), i); } }
[ "k.granat2017@.com" ]
k.granat2017@.com
eb08f1f1cdfb569477a6f1f43da89ebddb4f4bf3
1435e3531731d27cb1e82888dace27a1edfbcaa1
/ezEngine-rev858/Code/Engine/Foundation/Threading/Implementation/TaskWorkers.cpp
7bd8ef73fe218b33928c0f01f1ada80a8e2ca7b4
[]
no_license
lab132/toolbox
cf7ec9b3e6076169d8b1e12c24d0e2a273ee90be
30f85d07fbbdde461f9027e651fc6cbbfe2f15c5
refs/heads/master
2020-04-26T19:40:38.059086
2015-11-08T14:35:09
2015-11-08T14:35:09
42,679,912
0
0
null
2015-10-28T13:57:32
2015-09-17T20:21:41
C
UTF-8
C++
false
false
6,336
cpp
#include <Foundation/PCH.h> #include <Foundation/Threading/TaskSystem.h> #include <Foundation/Threading/Lock.h> #include <Foundation/Configuration/Startup.h> #include <Foundation/Math/Math.h> #include <Foundation/System/SystemInformation.h> // Helper function to generate a nice thread name. static const char* GenerateThreadName(ezWorkerThreadType::Enum ThreadType, ezUInt32 iThreadNumber) { static ezStringBuilder sTemp; switch (ThreadType) { case ezWorkerThreadType::ShortTasks: sTemp.Format("Short Tasks %i", iThreadNumber + 1); break; case ezWorkerThreadType::LongTasks: sTemp.Format("Long Tasks %i", iThreadNumber + 1); break; case ezWorkerThreadType::FileAccess: if (iThreadNumber > 0) sTemp.Format("Resource Loading %i", iThreadNumber + 1); else sTemp = "Resource Loading"; break; case ezWorkerThreadType::ENUM_COUNT: EZ_REPORT_FAILURE("Invalid Thread Type"); break; } return sTemp.GetData(); } ezTaskWorkerThread::ezTaskWorkerThread(ezWorkerThreadType::Enum ThreadType, ezUInt32 iThreadNumber) : ezThread(GenerateThreadName(ThreadType, iThreadNumber)) { m_bActive = true; m_WorkerType = ThreadType; m_uiWorkerThreadNumber = iThreadNumber; m_bExecutingTask = false; m_ThreadUtilization = 0.0; m_iTasksExecutionCounter = 0; m_uiNumTasksExecuted = 0; } bool ezTaskSystem::IsLoadingThread() { if (s_WorkerThreads[ezWorkerThreadType::FileAccess].IsEmpty()) return false; return ezThreadUtils::GetCurrentThreadID() == s_WorkerThreads[ezWorkerThreadType::FileAccess][0]->GetThreadID(); } void ezTaskSystem::StopWorkerThreads() { // tell all threads that they should terminate for (ezUInt32 type = 0; type < ezWorkerThreadType::ENUM_COUNT; ++type) { for (ezUInt32 i = 0; i < s_WorkerThreads[type].GetCount(); ++i) { s_WorkerThreads[type][i]->m_bActive = false; } } bool bWorkersStillRunning = true; // as long as any worker thread is still active, send the wake up signal while (bWorkersStillRunning) { bWorkersStillRunning = false; for (ezUInt32 type = 0; type < ezWorkerThreadType::ENUM_COUNT; ++type) { for (ezUInt32 i = 0; i < s_WorkerThreads[type].GetCount(); ++i) { if (s_WorkerThreads[type][i]->GetThreadStatus() != ezThread::Finished) { bWorkersStillRunning = true; // send a signal s_TasksAvailableSignal[type].RaiseSignal(); // waste some time ezThreadUtils::YieldTimeSlice(); } } } } for (ezUInt32 type = 0; type < ezWorkerThreadType::ENUM_COUNT; ++type) { for (ezUInt32 i = 0; i < s_WorkerThreads[type].GetCount(); ++i) { s_WorkerThreads[type][i]->Join(); EZ_DEFAULT_DELETE(s_WorkerThreads[type][i]); } s_WorkerThreads[type].Clear(); } } void ezTaskSystem::SetWorkThreadCount(ezInt8 iShortTasks, ezInt8 iLongTasks) { ezSystemInformation info = ezSystemInformation::Get(); // these settings are supposed to be a sensible default for most applications // an app can of course change that to optimize for its own usage // 1 on single core, dual core, tri core CPUs, 2 on Quad core, 4 on six cores and up if (iShortTasks <= 0) iShortTasks = ezMath::Clamp<ezInt8>(info.GetCPUCoreCount() - 2, 1, 4); // 1 on single core, dual core, tri core CPUs, 2 on Quad core, 4 on six cores, 6 on eight cores and up if (iLongTasks <= 0) iLongTasks = ezMath::Clamp<ezInt8>(info.GetCPUCoreCount() - 2, 1, 6); // plus there is always one additional 'file access' thread // and the main thread, of course iShortTasks = ezMath::Max<ezInt8>(iShortTasks, 1); iLongTasks = ezMath::Max<ezInt8>(iLongTasks, 1); // if nothing has changed, do nothing if (s_WorkerThreads[ezWorkerThreadType::ShortTasks].GetCount() == iShortTasks && s_WorkerThreads[ezWorkerThreadType::LongTasks].GetCount() == iLongTasks) return; StopWorkerThreads(); s_WorkerThreads[ezWorkerThreadType::ShortTasks].SetCount(iShortTasks); s_WorkerThreads[ezWorkerThreadType::LongTasks].SetCount(iLongTasks); s_WorkerThreads[ezWorkerThreadType::FileAccess].SetCount(1); for (ezUInt32 type = 0; type < ezWorkerThreadType::ENUM_COUNT; ++type) { for (ezUInt32 i = 0; i < s_WorkerThreads[type].GetCount(); ++i) { s_WorkerThreads[type][i] = EZ_DEFAULT_NEW(ezTaskWorkerThread)((ezWorkerThreadType::Enum) type, i); s_WorkerThreads[type][i]->Start(); } } } ezUInt32 ezTaskWorkerThread::Run() { ezTaskPriority::Enum FirstPriority = ezTaskPriority::EarlyThisFrame; ezTaskPriority::Enum LastPriority = ezTaskPriority::LateNextFrame; if (m_WorkerType == ezWorkerThreadType::LongTasks) { FirstPriority = ezTaskPriority::LongRunningHighPriority; LastPriority = ezTaskPriority::LongRunning; } else if (m_WorkerType == ezWorkerThreadType::FileAccess) { FirstPriority = ezTaskPriority::FileAccessHighPriority; LastPriority = ezTaskPriority::FileAccess; } EZ_ASSERT_DEBUG(m_WorkerType < ezWorkerThreadType::ENUM_COUNT, "Worker Thread Type is invalid: %i", m_WorkerType); m_bExecutingTask = false; while (m_bActive) { if (!m_bExecutingTask) { m_bExecutingTask = true; m_StartedWorking = ezTime::Now(); } if (!ezTaskSystem::ExecuteTask(FirstPriority, LastPriority)) { // if no work is currently available, wait for the signal that new work has been added m_ThreadActiveTime += ezTime::Now() - m_StartedWorking; m_bExecutingTask = false; ezTaskSystem::s_TasksAvailableSignal[m_WorkerType].WaitForSignal(); } else m_iTasksExecutionCounter.Increment(); } return 0; } void ezTaskWorkerThread::ComputeThreadUtilization(ezTime TimePassed) { const ezTime tActive = GetAndResetThreadActiveTime(); m_ThreadUtilization = tActive.GetSeconds() / TimePassed.GetSeconds(); m_uiNumTasksExecuted = m_iTasksExecutionCounter.Set(0); } ezTime ezTaskWorkerThread::GetAndResetThreadActiveTime() { ezTime tActive = m_ThreadActiveTime; m_ThreadActiveTime = ezTime::Seconds(0.0); if (m_bExecutingTask) { const ezTime tNow = ezTime::Now(); tActive += tNow - m_StartedWorking; m_StartedWorking = tNow; } return tActive; } EZ_STATICLINK_FILE(Foundation, Foundation_Threading_Implementation_TaskWorkers);
[ "mjmaier@gmx.de" ]
mjmaier@gmx.de
39b3ea53c593937b4d2a9517992b6fe7ef9257a3
d814e4fd5866ddc2d82abd21dc444be35b608ad5
/VisualClipper/GeneratedFiles/qrc_VisualClipper.cpp
d9cecc5d964aaa420ef756a41acf9ccc06d2dfcf
[]
no_license
and1gc/VisualClipper
1e88814d1ea43aebc63250aa171dd56627f179a1
2cda14c8d0086c9cec8397932de48043bb728282
refs/heads/master
2020-04-23T21:02:38.579676
2019-02-20T05:54:23
2019-02-20T05:54:23
165,246,921
1
0
null
null
null
null
UTF-8
C++
false
false
99,145
cpp
/**************************************************************************** ** Resource object code ** ** Created by: The Resource Compiler for Qt version 5.11.0 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ static const unsigned char qt_resource_data[] = { // C:/Users/andgc/Desktop/VisualClipper/VisualClipper/forward.png 0x0,0x0,0x2,0x89, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, 0x0,0x0,0x10,0x0,0x0,0x0,0x10,0x8,0x6,0x0,0x0,0x0,0x1f,0xf3,0xff,0x61, 0x0,0x0,0x0,0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xaf,0xc8,0x37,0x5,0x8a,0xe9, 0x0,0x0,0x0,0x19,0x74,0x45,0x58,0x74,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65, 0x0,0x41,0x64,0x6f,0x62,0x65,0x20,0x49,0x6d,0x61,0x67,0x65,0x52,0x65,0x61,0x64, 0x79,0x71,0xc9,0x65,0x3c,0x0,0x0,0x2,0x1b,0x49,0x44,0x41,0x54,0x78,0xda,0xa4, 0x53,0x3b,0x6b,0x62,0x51,0x10,0x9e,0xbb,0x68,0xe1,0x1b,0x83,0xca,0x45,0x44,0x2, 0xde,0x42,0x94,0x2d,0x44,0xb1,0xd1,0x22,0x17,0x16,0xab,0xd4,0x21,0x9d,0x45,0xf0, 0x2f,0x84,0xdd,0x2c,0x58,0xa4,0x8,0x61,0xab,0x85,0x74,0xf1,0xf,0x84,0xd4,0x29, 0x17,0xbc,0x16,0xa,0xb1,0x30,0xdd,0x8a,0x1a,0xf1,0x85,0x12,0x1f,0x5c,0x9f,0x20, 0xbe,0x70,0x67,0x4e,0xf6,0xb8,0x11,0x16,0x96,0x25,0x7,0x86,0x3b,0x77,0xce,0x37, 0xdf,0xcc,0x39,0xf3,0x1d,0x61,0xbb,0xdd,0xc2,0x7b,0x96,0x40,0x4,0x27,0x3f,0x4e, 0xde,0xc6,0x7c,0x68,0xa7,0x68,0xc7,0x68,0x81,0xdf,0xb1,0x27,0xb4,0x7,0xb4,0x3b, 0xb4,0x9f,0x1c,0x78,0xff,0xe9,0x1e,0x34,0xe4,0x6c,0x36,0x1b,0x8,0x87,0xc3,0x90, 0xcf,0xe7,0x13,0x1a,0x8d,0xe6,0xd2,0x66,0xb3,0x89,0x56,0xab,0x15,0x4c,0x26,0x13, 0x3,0x4e,0xa7,0xd3,0xc0,0x70,0x38,0xc,0xc,0x6,0x83,0xc4,0x7a,0xbd,0x4e,0x22, 0x36,0x85,0x58,0xb6,0xc7,0x8,0x30,0x8,0xb9,0x5c,0x2e,0xa1,0xd7,0xeb,0x6f,0xdd, 0x6e,0x37,0x58,0x2c,0x16,0xe0,0xc4,0xb4,0x30,0xce,0xcc,0x68,0x34,0x8a,0xcd,0x66, 0xf3,0x16,0xb1,0x14,0x4e,0xed,0x8,0x56,0xab,0x95,0x8f,0x2a,0x3b,0x9d,0x4e,0x30, 0x18,0xc,0x80,0xd5,0xa0,0xd7,0xeb,0x41,0xbf,0xdf,0x67,0x4,0x76,0xbb,0x1d,0x1c, 0xe,0x7,0xeb,0x88,0x30,0x95,0x4a,0xe5,0x12,0x8b,0x66,0xe9,0x38,0x1f,0x8,0xb0, 0x5c,0x2e,0x4f,0xb1,0xaa,0x48,0x55,0x54,0x55,0x85,0x62,0xb1,0x38,0x6d,0xb7,0xdb, 0x5f,0x83,0xc1,0xa0,0x40,0x46,0x3e,0xc5,0x68,0x8f,0x30,0x84,0xa5,0x1c,0xca,0xe5, 0x4,0x62,0xa3,0xd1,0x50,0x32,0x99,0xc,0x14,0xa,0x5,0x98,0x4c,0x26,0xd7,0xa1, 0x50,0xe8,0xa,0x3b,0xa3,0xee,0x80,0x7c,0x8a,0xb5,0x5a,0x2d,0xf6,0x6f,0x36,0x9b, 0x29,0xe7,0x78,0x6f,0xa,0x2e,0x97,0xeb,0x9f,0x23,0xcb,0x66,0xb3,0xdb,0x48,0x24, 0xc2,0x7d,0x78,0x3c,0x7b,0x14,0xd8,0x1d,0xe0,0x99,0xd2,0x68,0x47,0x7f,0x4b,0x8a, 0x46,0xa3,0x2,0xf7,0xb1,0x2a,0xeb,0x80,0xfb,0xbb,0x4b,0x5c,0x2c,0x16,0x47,0xf1, 0x78,0x7c,0x2f,0xb1,0x5e,0xaf,0x3,0x1e,0x49,0xb9,0xf9,0x78,0xf3,0x2a,0x8e,0xef, 0xbe,0xb,0xba,0x48,0x4a,0xc4,0xe3,0x50,0xce,0xd3,0x8e,0x80,0x82,0xa5,0x52,0x89, 0x1,0x69,0x84,0xe4,0x97,0xcb,0x65,0xe5,0xf9,0xfc,0x59,0xa6,0x98,0xf4,0x4d,0xba, 0xc0,0x9,0x7c,0xf1,0x7a,0xbd,0xc,0xdb,0xe9,0x74,0xe8,0xfb,0xb0,0x47,0xc0,0x5b, 0x9b,0xcd,0x66,0x20,0x49,0x12,0xeb,0xea,0xf0,0xea,0x90,0xe9,0xdc,0xe3,0xf1,0x80, 0xdf,0xef,0x87,0xf9,0x7c,0xce,0xc6,0x8b,0x97,0xf9,0x82,0x63,0xbc,0x7b,0xab,0x3, 0x26,0x26,0x62,0xd6,0xe9,0x74,0x6c,0xd6,0xa4,0xcc,0x58,0x2c,0xc6,0x48,0x47,0xa3, 0x11,0x74,0xbb,0x5d,0xb6,0x5f,0xad,0x56,0x89,0x28,0xc9,0x25,0xbd,0x53,0x22,0x6d, 0xd4,0x6a,0x35,0x45,0xab,0xd5,0x7a,0xb1,0x8a,0x48,0xe2,0xe1,0x8a,0x1c,0x8f,0xc7, 0x4c,0x54,0x2f,0xb8,0xb0,0x58,0x52,0x96,0xe5,0x54,0x3a,0x9d,0xfe,0xf3,0x98,0xe, 0x3e,0x1f,0x50,0xab,0xa,0x9a,0xfc,0x3f,0x8f,0x49,0xbd,0x56,0x5f,0x9,0xde,0xb3, 0x7e,0x9,0x30,0x0,0xaf,0xb5,0x36,0x5e,0x44,0x33,0xfd,0x27,0x0,0x0,0x0,0x0, 0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82, // C:/Users/andgc/Desktop/VisualClipper/VisualClipper/reverse.png 0x0,0x0,0x2,0x74, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, 0x0,0x0,0x10,0x0,0x0,0x0,0x10,0x8,0x6,0x0,0x0,0x0,0x1f,0xf3,0xff,0x61, 0x0,0x0,0x0,0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xaf,0xc8,0x37,0x5,0x8a,0xe9, 0x0,0x0,0x0,0x19,0x74,0x45,0x58,0x74,0x53,0x6f,0x66,0x74,0x77,0x61,0x72,0x65, 0x0,0x41,0x64,0x6f,0x62,0x65,0x20,0x49,0x6d,0x61,0x67,0x65,0x52,0x65,0x61,0x64, 0x79,0x71,0xc9,0x65,0x3c,0x0,0x0,0x2,0x6,0x49,0x44,0x41,0x54,0x78,0xda,0xa4, 0x53,0x4b,0x6b,0x1a,0x51,0x14,0x3e,0x53,0x7,0xf1,0x81,0x8,0x1,0x61,0x54,0x8, 0x82,0x29,0xc8,0xb8,0x12,0xc5,0x75,0x86,0x16,0x57,0x5d,0x87,0xfe,0x81,0xfc,0x85, 0x90,0xa4,0x6d,0x16,0xa1,0x84,0xd0,0x9f,0x60,0xff,0x40,0xc9,0x3a,0xcb,0xe,0xba, 0x72,0x5b,0x10,0x1c,0x51,0x54,0xf0,0x81,0x6f,0x7c,0x75,0x21,0xbe,0xb0,0xe7,0xbb, 0x9d,0x19,0xa6,0x81,0xae,0x72,0xe1,0xf3,0x1e,0xcf,0x39,0xdf,0x77,0xef,0xb9,0xe7, 0x8c,0x74,0x3c,0x1e,0xe9,0x35,0x4b,0xc6,0xcf,0xc5,0xcf,0x8b,0xff,0xa9,0x14,0x19, 0x1a,0x23,0xcf,0x18,0x32,0x7e,0x30,0xc,0x2b,0xf8,0xf4,0xfe,0x89,0xde,0xc0,0x38, 0x1c,0xe,0x45,0x45,0x51,0x28,0x9d,0x4e,0xff,0x3,0xf6,0x9f,0x9b,0xfb,0xdb,0x50, 0x28,0xf4,0x45,0x92,0x24,0x9d,0xed,0x4b,0xd3,0x27,0x44,0x84,0xc0,0x7e,0xbf,0xd7, 0xda,0xed,0x76,0x71,0x30,0x18,0x88,0x80,0x5,0xf6,0x5b,0xfb,0x79,0x34,0x1a,0xa5, 0x58,0x2c,0xa6,0xb8,0xdd,0xee,0x7c,0xa9,0x54,0xba,0x44,0xcc,0x16,0xd8,0xed,0x76, 0x2a,0xbf,0x45,0xc2,0xe5,0x72,0x9,0x92,0x5,0xf6,0xdb,0xfb,0x7c,0x3e,0x27,0xbf, 0xdf,0x4f,0x91,0x48,0x84,0x38,0xf7,0x1e,0x1c,0x5b,0x60,0xbb,0xdd,0x7e,0xc,0x6, 0x83,0x8a,0xcf,0xe7,0xa3,0xd9,0x6c,0x46,0x9d,0x4e,0x47,0x90,0xd8,0x6f,0xed,0x9f, 0xaa,0xd5,0xea,0x6f,0xc4,0x90,0x83,0x5c,0x70,0x9c,0x2,0x1f,0x2,0x81,0x80,0x48, 0xee,0x76,0xbb,0x54,0xaf,0xd7,0x8b,0xad,0x56,0xcb,0x16,0xc8,0x64,0x32,0xf,0xab, 0xd5,0xea,0x11,0x31,0xfc,0x47,0x2e,0x38,0xb6,0xc0,0x66,0xb3,0x49,0x79,0x3c,0x1e, 0x41,0xe8,0xf5,0x7a,0x20,0x68,0x8d,0x46,0xa3,0xc8,0x7e,0xe1,0x3,0x20,0x82,0x18, 0x6c,0xe4,0x82,0x63,0xb7,0xd1,0x3a,0xc9,0x69,0x67,0xb3,0x59,0xcd,0x7c,0x1f,0xbb, 0xa7,0x2f,0xf3,0x9c,0x37,0xf8,0x35,0x9d,0x4e,0x85,0x93,0xeb,0x23,0x5d,0xd7,0x6f, 0xad,0x93,0x2d,0xc0,0x87,0x18,0x6c,0xe4,0x82,0xe3,0xbc,0xc1,0x73,0xbf,0xdf,0x4f, 0x79,0xbd,0x5e,0x4a,0x24,0x12,0xb4,0x5c,0x2e,0x6f,0x98,0x40,0x8d,0xab,0xc6,0x3, 0xe2,0x67,0xdf,0xce,0x6e,0xb9,0xee,0x1b,0xc4,0x20,0xc0,0xb9,0x82,0x83,0x98,0x84, 0x51,0x3e,0xfd,0x7a,0xaa,0xca,0xb2,0xac,0xab,0xaa,0xaa,0x84,0xc3,0x61,0x82,0x50, 0xa5,0x52,0xa1,0x66,0xb3,0x29,0xae,0x19,0x8f,0xc7,0x29,0x99,0x4c,0xd2,0x7a,0xbd, 0x26,0xcc,0x8a,0x61,0x18,0x43,0x6e,0xef,0xbb,0xce,0xe7,0x8e,0x21,0x9b,0x75,0x1a, 0x8c,0xbb,0x5a,0xad,0x96,0x47,0xdf,0xd1,0x6b,0x7e,0x3,0xca,0xe5,0x72,0x42,0x60, 0xb1,0x58,0xd0,0x68,0x34,0x12,0x27,0x43,0x94,0x85,0xee,0xac,0x91,0x96,0xcd,0x49, 0x24,0x4d,0xd3,0xbe,0x17,0xa,0x5,0x2a,0x97,0xcb,0xf7,0xe3,0xf1,0x58,0xe1,0xd1, 0x15,0xef,0x81,0xc5,0x25,0xd1,0x64,0x32,0xa1,0x21,0x2f,0x1c,0x64,0xe5,0xda,0x25, 0x9c,0x5c,0x9f,0x38,0x3f,0x20,0x4c,0x18,0x86,0x4,0x7d,0x4e,0x99,0x3e,0x3c,0xd8, 0xf3,0xcb,0x8f,0x69,0xf6,0x38,0xfb,0x2b,0xf0,0x9a,0xf5,0x47,0x80,0x1,0x0,0xac, 0xa0,0x81,0x18,0xa9,0xa7,0x49,0x60,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae, 0x42,0x60,0x82, // C:/Users/andgc/Desktop/VisualClipper/VisualClipper/gaochong.ico 0x0,0x0,0x42,0x3e, 0x0, 0x0,0x1,0x0,0x1,0x0,0x40,0x40,0x0,0x0,0x1,0x0,0x20,0x0,0x28,0x42,0x0, 0x0,0x16,0x0,0x0,0x0,0x28,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x80,0x0,0x0, 0x0,0x1,0x0,0x20,0x0,0x0,0x0,0x0,0x0,0x0,0x40,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x81,0x39,0x16, 0xff,0x81,0x38,0x16,0xff,0x80,0x38,0x15,0xff,0x87,0x3c,0x16,0xff,0x8d,0x3c,0x13, 0xff,0x8a,0x39,0x12,0xff,0x8b,0x3a,0x14,0xff,0x8c,0x3b,0x15,0xff,0x8c,0x3d,0x15, 0xff,0x8c,0x3e,0x16,0xff,0x8c,0x3e,0x16,0xff,0x89,0x3e,0x13,0xff,0x7f,0x38,0x13, 0xff,0x86,0x3c,0x13,0xff,0x8e,0x3d,0x14,0xff,0x8a,0x3f,0x15,0xff,0x86,0x3b,0x14, 0xff,0x87,0x3e,0x18,0xff,0x80,0x3b,0x17,0xff,0x7a,0x39,0x18,0xff,0x75,0x37,0x18, 0xff,0x79,0x34,0x14,0xff,0x7e,0x39,0x19,0xff,0x7e,0x39,0x18,0xff,0x7c,0x39,0x17, 0xff,0x79,0x38,0x17,0xff,0x7f,0x3b,0x18,0xff,0x7f,0x3c,0x19,0xff,0x7b,0x3a,0x1a, 0xff,0x79,0x38,0x19,0xff,0x77,0x37,0x19,0xff,0x76,0x37,0x16,0xff,0x78,0x3a,0x17, 0xff,0x79,0x3b,0x18,0xff,0x79,0x39,0x18,0xff,0x7d,0x38,0x18,0xff,0x81,0x3a,0x19, 0xff,0x87,0x3d,0x17,0xff,0x8c,0x3e,0x17,0xff,0x8a,0x3e,0x16,0xff,0x8c,0x3e,0x17, 0xff,0x90,0x41,0x1a,0xff,0x91,0x40,0x18,0xff,0x97,0x43,0x18,0xff,0x9d,0x46,0x18, 0xff,0xa1,0x45,0x17,0xff,0xa2,0x46,0x17,0xff,0xa2,0x47,0x17,0xff,0xa1,0x45,0x17, 0xff,0xa1,0x45,0x1a,0xff,0x9a,0x42,0x18,0xff,0x9f,0x46,0x19,0xff,0xa4,0x48,0x1a, 0xff,0xa3,0x48,0x1b,0xff,0xa2,0x46,0x19,0xff,0x9f,0x48,0x1a,0xff,0x9b,0x46,0x1a, 0xff,0x95,0x43,0x1b,0xff,0x8e,0x3f,0x1a,0xff,0x90,0x40,0x1b,0xff,0x90,0x40,0x1a, 0xff,0x8e,0x41,0x1c,0xff,0x88,0x3f,0x19,0xff,0x84,0x3e,0x19,0xff,0x8a,0x3c,0x13, 0xff,0x8b,0x3c,0x17,0xff,0x81,0x39,0x16,0xff,0x86,0x3b,0x17,0xff,0x89,0x3b,0x13, 0xff,0x8a,0x3b,0x13,0xff,0x8b,0x3c,0x15,0xff,0x8b,0x3c,0x16,0xff,0x82,0x38,0x14, 0xff,0x7e,0x38,0x14,0xff,0x7d,0x38,0x13,0xff,0x7e,0x36,0x13,0xff,0x80,0x37,0x17, 0xff,0x81,0x38,0x14,0xff,0x87,0x3a,0x16,0xff,0x8b,0x3d,0x18,0xff,0x83,0x3d,0x15, 0xff,0x7a,0x39,0x19,0xff,0x6f,0x34,0x19,0xff,0x6b,0x32,0x18,0xff,0x6a,0x31,0x17, 0xff,0x6e,0x31,0x17,0xff,0x6f,0x32,0x18,0xff,0x6e,0x31,0x17,0xff,0x74,0x36,0x19, 0xff,0x78,0x37,0x17,0xff,0x79,0x38,0x17,0xff,0x78,0x37,0x17,0xff,0x77,0x37,0x17, 0xff,0x76,0x34,0x19,0xff,0x72,0x34,0x18,0xff,0x6e,0x33,0x15,0xff,0x71,0x36,0x17, 0xff,0x70,0x34,0x16,0xff,0x72,0x36,0x15,0xff,0x77,0x38,0x17,0xff,0x7d,0x39,0x19, 0xff,0x82,0x3a,0x19,0xff,0x82,0x3b,0x16,0xff,0x82,0x3d,0x16,0xff,0x84,0x3d,0x17, 0xff,0x8a,0x3f,0x19,0xff,0x8c,0x3f,0x17,0xff,0x90,0x41,0x14,0xff,0x98,0x46,0x18, 0xff,0x9d,0x45,0x19,0xff,0xa1,0x44,0x19,0xff,0xa0,0x45,0x19,0xff,0x9c,0x43,0x17, 0xff,0x9a,0x42,0x16,0xff,0x9c,0x45,0x19,0xff,0x9e,0x47,0x1b,0xff,0x9b,0x45,0x1a, 0xff,0x9a,0x46,0x1c,0xff,0x9b,0x47,0x1d,0xff,0x9b,0x45,0x1b,0xff,0x96,0x43,0x19, 0xff,0x8e,0x3f,0x15,0xff,0x8f,0x40,0x18,0xff,0x93,0x41,0x15,0xff,0x95,0x43,0x17, 0xff,0x96,0x46,0x1b,0xff,0x92,0x46,0x1b,0xff,0x8f,0x41,0x1a,0xff,0x90,0x40,0x13, 0xff,0x90,0x3f,0x15,0xff,0x86,0x3c,0x16,0xff,0x7f,0x37,0x15,0xff,0x83,0x39,0x15, 0xff,0x88,0x3d,0x17,0xff,0x88,0x3b,0x14,0xff,0x88,0x3a,0x12,0xff,0x85,0x3a,0x15, 0xff,0x81,0x3a,0x14,0xff,0x7c,0x35,0x13,0xff,0x81,0x38,0x17,0xff,0x84,0x3c,0x18, 0xff,0x80,0x3a,0x16,0xff,0x82,0x3a,0x16,0xff,0x82,0x39,0x16,0xff,0x77,0x35,0x13, 0xff,0x70,0x33,0x17,0xff,0x6d,0x33,0x18,0xff,0x6e,0x35,0x19,0xff,0x6d,0x33,0x18, 0xff,0x6b,0x32,0x17,0xff,0x68,0x30,0x15,0xff,0x69,0x32,0x17,0xff,0x67,0x30,0x17, 0xff,0x6d,0x33,0x17,0xff,0x6f,0x33,0x17,0xff,0x70,0x34,0x18,0xff,0x6f,0x33,0x17, 0xff,0x6d,0x31,0x16,0xff,0x68,0x2f,0x13,0xff,0x68,0x31,0x15,0xff,0x68,0x31,0x16, 0xff,0x68,0x31,0x16,0xff,0x68,0x31,0x14,0xff,0x6c,0x33,0x16,0xff,0x6e,0x32,0x16, 0xff,0x73,0x34,0x18,0xff,0x76,0x36,0x16,0xff,0x79,0x39,0x16,0xff,0x7d,0x3a,0x17, 0xff,0x80,0x39,0x17,0xff,0x82,0x3d,0x17,0xff,0x85,0x3f,0x17,0xff,0x88,0x3e,0x14, 0xff,0x92,0x41,0x16,0xff,0x9a,0x44,0x18,0xff,0x9d,0x45,0x1a,0xff,0x9a,0x43,0x18, 0xff,0x98,0x42,0x16,0xff,0x94,0x42,0x18,0xff,0x97,0x44,0x18,0xff,0x96,0x45,0x1a, 0xff,0x8f,0x40,0x17,0xff,0x95,0x46,0x1d,0xff,0x9c,0x46,0x1c,0xff,0x9b,0x46,0x1b, 0xff,0x95,0x43,0x18,0xff,0x94,0x42,0x19,0xff,0x9a,0x47,0x1c,0xff,0x9b,0x45,0x19, 0xff,0x9a,0x46,0x1b,0xff,0x96,0x47,0x1c,0xff,0x91,0x42,0x1c,0xff,0x8e,0x3f,0x14, 0xff,0x8d,0x3e,0x13,0xff,0x8d,0x3e,0x11,0xff,0x8a,0x3d,0x11,0xff,0x80,0x39,0x15, 0xff,0x7f,0x37,0x17,0xff,0x83,0x37,0x15,0xff,0x8a,0x3b,0x16,0xff,0x88,0x3b,0x14, 0xff,0x84,0x3c,0x14,0xff,0x80,0x3a,0x15,0xff,0x80,0x3a,0x18,0xff,0x81,0x3b,0x19, 0xff,0x80,0x39,0x1a,0xff,0x80,0x38,0x1a,0xff,0x7e,0x39,0x1a,0xff,0x74,0x35,0x16, 0xff,0x71,0x35,0x19,0xff,0x6f,0x35,0x19,0xff,0x6e,0x34,0x17,0xff,0x6d,0x33,0x16, 0xff,0x6c,0x34,0x17,0xff,0x6d,0x35,0x18,0xff,0x69,0x32,0x16,0xff,0x67,0x31,0x16, 0xff,0x68,0x2e,0x14,0xff,0x69,0x2f,0x15,0xff,0x6a,0x31,0x17,0xff,0x6a,0x31,0x17, 0xff,0x69,0x30,0x16,0xff,0x69,0x30,0x16,0xff,0x6b,0x32,0x18,0xff,0x6b,0x33,0x18, 0xff,0x6b,0x33,0x18,0xff,0x6d,0x32,0x18,0xff,0x6f,0x34,0x1a,0xff,0x6f,0x34,0x1a, 0xff,0x71,0x35,0x1a,0xff,0x74,0x35,0x16,0xff,0x78,0x39,0x17,0xff,0x7b,0x3a,0x17, 0xff,0x7e,0x38,0x16,0xff,0x7f,0x39,0x14,0xff,0x7f,0x39,0x14,0xff,0x80,0x3a,0x15, 0xff,0x88,0x3e,0x18,0xff,0x93,0x41,0x18,0xff,0x97,0x43,0x18,0xff,0x96,0x42,0x18, 0xff,0x98,0x44,0x1a,0xff,0x95,0x40,0x19,0xff,0x9d,0x46,0x1b,0xff,0x9b,0x42,0x17, 0xff,0x96,0x3e,0x15,0xff,0x9b,0x44,0x1a,0xff,0xa4,0x49,0x1b,0xff,0xa4,0x48,0x1a, 0xff,0xa2,0x47,0x19,0xff,0x9f,0x46,0x1a,0xff,0xa0,0x47,0x1b,0xff,0xa0,0x47,0x19, 0xff,0x9c,0x48,0x1a,0xff,0x90,0x42,0x18,0xff,0x8c,0x40,0x19,0xff,0x93,0x40,0x14, 0xff,0x91,0x40,0x16,0xff,0x8e,0x3e,0x15,0xff,0x87,0x3c,0x12,0xff,0x88,0x3c,0x12, 0xff,0x8a,0x3e,0x15,0xff,0x8a,0x3e,0x15,0xff,0x8c,0x3e,0x13,0xff,0x8a,0x3c,0x11, 0xff,0x86,0x3c,0x13,0xff,0x81,0x3c,0x16,0xff,0x77,0x36,0x14,0xff,0x73,0x34,0x14, 0xff,0x73,0x31,0x15,0xff,0x72,0x31,0x15,0xff,0x76,0x35,0x1a,0xff,0x71,0x32,0x17, 0xff,0x6b,0x31,0x16,0xff,0x6d,0x33,0x18,0xff,0x6e,0x34,0x19,0xff,0x6c,0x31,0x16, 0xff,0x67,0x31,0x15,0xff,0x66,0x30,0x14,0xff,0x67,0x31,0x15,0xff,0x68,0x30,0x16, 0xff,0x6a,0x30,0x16,0xff,0x68,0x30,0x14,0xff,0x67,0x32,0x15,0xff,0x6d,0x31,0x16, 0xff,0x6c,0x31,0x17,0xff,0x6b,0x32,0x17,0xff,0x6c,0x32,0x18,0xff,0x6d,0x33,0x19, 0xff,0x6d,0x33,0x18,0xff,0x6e,0x33,0x1a,0xff,0x6e,0x34,0x19,0xff,0x70,0x36,0x1a, 0xff,0x72,0x36,0x1b,0xff,0x73,0x37,0x17,0xff,0x74,0x37,0x17,0xff,0x77,0x39,0x17, 0xff,0x7b,0x3a,0x16,0xff,0x81,0x3b,0x17,0xff,0x83,0x3c,0x19,0xff,0x83,0x3d,0x19, 0xff,0x88,0x40,0x1a,0xff,0x89,0x3c,0x15,0xff,0x8b,0x3b,0x13,0xff,0x8f,0x3f,0x16, 0xff,0x92,0x41,0x18,0xff,0x9a,0x42,0x1a,0xff,0xa0,0x45,0x19,0xff,0xa3,0x45,0x18, 0xff,0xa4,0x45,0x18,0xff,0xa4,0x46,0x19,0xff,0xa3,0x48,0x17,0xff,0xa3,0x47,0x16, 0xff,0xa4,0x48,0x17,0xff,0xa6,0x49,0x19,0xff,0xa2,0x47,0x19,0xff,0x9b,0x44,0x18, 0xff,0x98,0x43,0x16,0xff,0x9b,0x47,0x1a,0xff,0x9e,0x46,0x18,0xff,0x96,0x41,0x13, 0xff,0x92,0x3f,0x16,0xff,0x88,0x3a,0x15,0xff,0x7b,0x37,0x14,0xff,0x7b,0x36,0x14, 0xff,0x8a,0x3d,0x14,0xff,0x8b,0x3d,0x12,0xff,0x8b,0x3e,0x13,0xff,0x86,0x3b,0x11, 0xff,0x81,0x39,0x13,0xff,0x7f,0x38,0x15,0xff,0x7d,0x37,0x17,0xff,0x75,0x33,0x16, 0xff,0x72,0x33,0x17,0xff,0x75,0x36,0x1a,0xff,0x72,0x33,0x18,0xff,0x70,0x32,0x18, 0xff,0x6b,0x31,0x17,0xff,0x67,0x30,0x15,0xff,0x66,0x2f,0x14,0xff,0x65,0x2e,0x14, 0xff,0x65,0x30,0x15,0xff,0x66,0x31,0x16,0xff,0x68,0x32,0x17,0xff,0x6b,0x32,0x18, 0xff,0x6c,0x33,0x19,0xff,0x6e,0x34,0x1b,0xff,0x6c,0x32,0x1a,0xff,0x69,0x34,0x1e, 0xff,0x68,0x38,0x25,0xff,0x63,0x3b,0x2e,0xff,0x61,0x40,0x37,0xff,0x5e,0x3e,0x3a, 0xff,0x61,0x3f,0x41,0xff,0x61,0x3f,0x41,0xff,0x5f,0x3f,0x3d,0xff,0x5d,0x3e,0x38, 0xff,0x60,0x3b,0x31,0xff,0x62,0x36,0x26,0xff,0x68,0x36,0x20,0xff,0x72,0x39,0x1c, 0xff,0x7c,0x3b,0x19,0xff,0x82,0x3b,0x19,0xff,0x85,0x3e,0x1c,0xff,0x84,0x3e,0x19, 0xff,0x88,0x40,0x18,0xff,0x8e,0x42,0x1b,0xff,0x92,0x42,0x18,0xff,0x91,0x3f,0x14, 0xff,0x90,0x3e,0x13,0xff,0x9a,0x42,0x19,0xff,0x9e,0x44,0x17,0xff,0xa2,0x45,0x16, 0xff,0xa4,0x46,0x18,0xff,0xa3,0x45,0x17,0xff,0x9b,0x41,0x18,0xff,0x98,0x3f,0x17, 0xff,0x9d,0x43,0x18,0xff,0xa7,0x4a,0x1a,0xff,0xa1,0x46,0x1a,0xff,0x9b,0x43,0x19, 0xff,0xa0,0x46,0x1b,0xff,0xa5,0x48,0x1a,0xff,0xa8,0x49,0x18,0xff,0x95,0x3f,0x15, 0xff,0x93,0x3e,0x14,0xff,0x91,0x3e,0x14,0xff,0x8b,0x3d,0x13,0xff,0x8a,0x3c,0x12, 0xff,0x8b,0x3c,0x14,0xff,0x8a,0x3c,0x14,0xff,0x8a,0x3c,0x13,0xff,0x8a,0x3c,0x13, 0xff,0x85,0x3a,0x14,0xff,0x83,0x39,0x17,0xff,0x78,0x36,0x14,0xff,0x79,0x37,0x1a, 0xff,0x77,0x35,0x17,0xff,0x73,0x34,0x15,0xff,0x71,0x36,0x17,0xff,0x67,0x30,0x15, 0xff,0x66,0x30,0x15,0xff,0x65,0x30,0x15,0xff,0x64,0x2f,0x14,0xff,0x66,0x31,0x16, 0xff,0x66,0x2f,0x16,0xff,0x67,0x33,0x16,0xff,0x6d,0x34,0x1d,0xff,0x6a,0x38,0x28, 0xff,0x66,0x4c,0x4f,0xff,0x6a,0x61,0x78,0xff,0x6b,0x71,0x92,0xff,0x5f,0x77,0xa0, 0xff,0x58,0x73,0xa1,0xff,0x56,0x6b,0x9d,0xff,0x53,0x67,0x9a,0xff,0x4f,0x65,0x98, 0xff,0x51,0x66,0x9b,0xff,0x53,0x6e,0xa0,0xff,0x62,0x7b,0xab,0xff,0x61,0x78,0xa8, 0xff,0x59,0x6e,0x9c,0xff,0x56,0x68,0x91,0xff,0x56,0x61,0x86,0xff,0x5b,0x59,0x74, 0xff,0x61,0x51,0x56,0xff,0x6c,0x41,0x37,0xff,0x7b,0x3b,0x1d,0xff,0x85,0x3e,0x1a, 0xff,0x89,0x40,0x1b,0xff,0x8e,0x40,0x1c,0xff,0x93,0x41,0x18,0xff,0x98,0x43,0x18, 0xff,0x9b,0x43,0x19,0xff,0x96,0x41,0x15,0xff,0x97,0x41,0x14,0xff,0x9f,0x48,0x19, 0xff,0xa5,0x49,0x19,0xff,0xa8,0x47,0x14,0xff,0xa5,0x44,0x15,0xff,0xa3,0x42,0x15, 0xff,0xa5,0x43,0x15,0xff,0xa8,0x45,0x16,0xff,0xa2,0x42,0x16,0xff,0xa1,0x43,0x17, 0xff,0xa6,0x48,0x1b,0xff,0xa7,0x48,0x1a,0xff,0xa9,0x48,0x18,0xff,0x95,0x3f,0x15, 0xff,0x95,0x3f,0x15,0xff,0x95,0x3f,0x15,0xff,0x94,0x3f,0x15,0xff,0x94,0x3e,0x14, 0xff,0x93,0x3f,0x17,0xff,0x92,0x3e,0x18,0xff,0x8f,0x3c,0x15,0xff,0x8e,0x3e,0x14, 0xff,0x87,0x3b,0x14,0xff,0x81,0x39,0x16,0xff,0x72,0x36,0x14,0xff,0x6f,0x33,0x15, 0xff,0x71,0x31,0x16,0xff,0x6d,0x31,0x16,0xff,0x6b,0x33,0x17,0xff,0x66,0x31,0x16, 0xff,0x65,0x30,0x16,0xff,0x65,0x30,0x15,0xff,0x66,0x31,0x16,0xff,0x68,0x33,0x19, 0xff,0x67,0x38,0x29,0xff,0x62,0x4a,0x52,0xff,0x56,0x59,0x76,0xff,0x50,0x61,0x90, 0xff,0x56,0x73,0xa6,0xff,0x63,0x82,0xb3,0xff,0x61,0x80,0xb2,0xff,0x5b,0x7b,0xad, 0xff,0x55,0x74,0xa7,0xff,0x53,0x72,0xa5,0xff,0x56,0x72,0xa5,0xff,0x57,0x72,0xa5, 0xff,0x56,0x71,0xa4,0xff,0x54,0x75,0xa9,0xff,0x65,0x83,0xb8,0xff,0x78,0x92,0xc5, 0xff,0x73,0x8d,0xb9,0xff,0x67,0x81,0xad,0xff,0x60,0x7b,0xa6,0xff,0x5b,0x74,0xa1, 0xff,0x58,0x71,0x95,0xff,0x56,0x71,0x95,0xff,0x62,0x6a,0x85,0xff,0x6b,0x55,0x5b, 0xff,0x78,0x42,0x2d,0xff,0x88,0x3f,0x19,0xff,0x90,0x43,0x19,0xff,0x95,0x44,0x19, 0xff,0x99,0x45,0x1a,0xff,0x9c,0x47,0x1a,0xff,0x9b,0x46,0x19,0xff,0x94,0x3e,0x10, 0xff,0xa5,0x4a,0x1a,0xff,0xac,0x4a,0x16,0xff,0xac,0x4a,0x17,0xff,0xac,0x4b,0x18, 0xff,0xac,0x4a,0x17,0xff,0xab,0x47,0x17,0xff,0xa6,0x46,0x1a,0xff,0xa3,0x44,0x18, 0xff,0xa3,0x45,0x17,0xff,0xa3,0x45,0x17,0xff,0xa3,0x45,0x18,0xff,0x98,0x43,0x16, 0xff,0x97,0x42,0x15,0xff,0x96,0x41,0x15,0xff,0x93,0x3d,0x13,0xff,0x95,0x3f,0x15, 0xff,0x93,0x3e,0x13,0xff,0x91,0x3f,0x13,0xff,0x8d,0x3e,0x12,0xff,0x88,0x3c,0x12, 0xff,0x83,0x3a,0x14,0xff,0x7b,0x35,0x14,0xff,0x73,0x33,0x15,0xff,0x6c,0x33,0x18, 0xff,0x6a,0x31,0x15,0xff,0x67,0x31,0x14,0xff,0x64,0x31,0x14,0xff,0x63,0x2d,0x17, 0xff,0x68,0x31,0x1c,0xff,0x6a,0x34,0x1a,0xff,0x64,0x3a,0x2f,0xff,0x59,0x4e,0x61, 0xff,0x55,0x66,0x8e,0xff,0x4b,0x66,0x90,0xff,0x4a,0x62,0x8d,0xff,0x4c,0x68,0x95, 0xff,0x55,0x75,0xa6,0xff,0x5b,0x79,0xae,0xff,0x58,0x74,0xaa,0xff,0x56,0x72,0xa7, 0xff,0x54,0x73,0xa6,0xff,0x58,0x77,0xaa,0xff,0x5b,0x7a,0xad,0xff,0x5d,0x7c,0xaf, 0xff,0x5e,0x7d,0xb0,0xff,0x5b,0x7d,0xb0,0xff,0x62,0x85,0xb8,0xff,0x6f,0x90,0xc2, 0xff,0x78,0x95,0xc8,0xff,0x76,0x94,0xc6,0xff,0x71,0x8f,0xbf,0xff,0x6f,0x8e,0xba, 0xff,0x5e,0x7e,0xa6,0xff,0x57,0x71,0x9a,0xff,0x58,0x6f,0x95,0xff,0x5e,0x76,0x98, 0xff,0x66,0x77,0x95,0xff,0x6e,0x5d,0x67,0xff,0x7c,0x42,0x2f,0xff,0x92,0x43,0x1a, 0xff,0x9d,0x47,0x1e,0xff,0x9f,0x48,0x1e,0xff,0xa2,0x48,0x1b,0xff,0xa2,0x47,0x1b, 0xff,0x9c,0x3e,0x13,0xff,0xaa,0x49,0x1c,0xff,0xa7,0x48,0x1a,0xff,0xa5,0x47,0x18, 0xff,0xa9,0x4b,0x1b,0xff,0xac,0x4c,0x19,0xff,0xab,0x4b,0x18,0xff,0xa8,0x4a,0x18, 0xff,0xa6,0x48,0x19,0xff,0xa4,0x45,0x1a,0xff,0x9d,0x43,0x1a,0xff,0x96,0x41,0x14, 0xff,0x96,0x42,0x14,0xff,0x96,0x42,0x16,0xff,0x96,0x40,0x16,0xff,0x94,0x3f,0x15, 0xff,0x8f,0x3d,0x15,0xff,0x89,0x3b,0x14,0xff,0x88,0x3c,0x15,0xff,0x8a,0x3d,0x15, 0xff,0x83,0x3a,0x13,0xff,0x7e,0x38,0x17,0xff,0x72,0x31,0x14,0xff,0x6a,0x2f,0x15, 0xff,0x65,0x2f,0x17,0xff,0x60,0x2d,0x14,0xff,0x5f,0x2e,0x15,0xff,0x67,0x31,0x17, 0xff,0x62,0x35,0x26,0xff,0x54,0x45,0x4c,0xff,0x48,0x56,0x73,0xff,0x4c,0x5e,0x88, 0xff,0x4e,0x65,0x90,0xff,0x46,0x64,0x8d,0xff,0x49,0x64,0x8f,0xff,0x4f,0x6b,0x99, 0xff,0x55,0x74,0xa5,0xff,0x54,0x72,0xa6,0xff,0x52,0x6f,0xa5,0xff,0x53,0x70,0xa5, 0xff,0x56,0x75,0xa8,0xff,0x5b,0x7a,0xad,0xff,0x5f,0x7e,0xb1,0xff,0x63,0x82,0xb5, 0xff,0x66,0x85,0xb8,0xff,0x65,0x87,0xba,0xff,0x66,0x89,0xbb,0xff,0x6d,0x8f,0xc2, 0xff,0x73,0x96,0xc8,0xff,0x76,0x98,0xca,0xff,0x7a,0x9a,0xca,0xff,0x7c,0x9b,0xc8, 0xff,0x77,0x97,0xc1,0xff,0x6b,0x8b,0xb4,0xff,0x5d,0x7a,0xa0,0xff,0x56,0x70,0x92, 0xff,0x5d,0x77,0x94,0xff,0x65,0x7a,0x97,0xff,0x69,0x70,0x8b,0xff,0x77,0x4f,0x46, 0xff,0x91,0x44,0x1e,0xff,0x9e,0x47,0x1d,0xff,0xa1,0x48,0x1a,0xff,0xa2,0x4a,0x19, 0xff,0xa0,0x48,0x1a,0xff,0x9f,0x41,0x19,0xff,0xa6,0x47,0x1b,0xff,0xa2,0x44,0x16, 0xff,0xa3,0x45,0x17,0xff,0xa0,0x45,0x17,0xff,0xa3,0x47,0x19,0xff,0xa7,0x4a,0x1b, 0xff,0xa6,0x48,0x1a,0xff,0xa6,0x48,0x1d,0xff,0x9e,0x45,0x1c,0xff,0x96,0x41,0x16, 0xff,0x91,0x41,0x15,0xff,0x90,0x40,0x16,0xff,0x90,0x3e,0x16,0xff,0x8f,0x3d,0x15, 0xff,0x8a,0x3d,0x17,0xff,0x85,0x3a,0x15,0xff,0x86,0x39,0x17,0xff,0x85,0x39,0x14, 0xff,0x82,0x3b,0x14,0xff,0x75,0x31,0x14,0xff,0x6c,0x2e,0x14,0xff,0x66,0x2c,0x12, 0xff,0x62,0x2d,0x15,0xff,0x61,0x2d,0x17,0xff,0x64,0x31,0x1d,0xff,0x5f,0x3a,0x30, 0xff,0x4c,0x48,0x5b,0xff,0x48,0x58,0x7a,0xff,0x4e,0x60,0x85,0xff,0x4e,0x63,0x8c, 0xff,0x4d,0x64,0x91,0xff,0x4f,0x66,0x93,0xff,0x4e,0x68,0x95,0xff,0x4f,0x6d,0x9c, 0xff,0x52,0x70,0x9f,0xff,0x4f,0x6d,0x9d,0xff,0x50,0x6e,0x9e,0xff,0x51,0x70,0xa1, 0xff,0x53,0x72,0xa5,0xff,0x59,0x78,0xab,0xff,0x60,0x80,0xb3,0xff,0x62,0x84,0xb6, 0xff,0x67,0x89,0xbb,0xff,0x6a,0x8c,0xc1,0xff,0x6b,0x8d,0xc2,0xff,0x6c,0x8e,0xc3, 0xff,0x67,0x8a,0xbc,0xff,0x75,0x98,0xca,0xff,0x7b,0x9c,0xcc,0xff,0x7c,0x9d,0xcb, 0xff,0x7d,0x9f,0xcd,0xff,0x76,0x9b,0xc8,0xff,0x6f,0x8e,0xbb,0xff,0x5d,0x78,0xa3, 0xff,0x58,0x74,0x96,0xff,0x60,0x79,0x99,0xff,0x65,0x7e,0x9a,0xff,0x69,0x78,0x92, 0xff,0x74,0x59,0x58,0xff,0x90,0x45,0x1a,0xff,0xa1,0x4a,0x17,0xff,0xa3,0x4a,0x19, 0xff,0xa8,0x4b,0x1e,0xff,0x9c,0x3d,0x15,0xff,0xa7,0x49,0x1c,0xff,0xa4,0x46,0x18, 0xff,0xa2,0x45,0x17,0xff,0x9f,0x43,0x18,0xff,0x9f,0x44,0x18,0xff,0xa3,0x47,0x1c, 0xff,0xa3,0x46,0x1b,0xff,0xa4,0x46,0x1b,0xff,0xa2,0x48,0x20,0xff,0x91,0x3f,0x1a, 0xff,0x90,0x40,0x1a,0xff,0x90,0x41,0x1a,0xff,0x91,0x3f,0x1a,0xff,0x90,0x3e,0x1a, 0xff,0x89,0x3b,0x18,0xff,0x86,0x3b,0x16,0xff,0x84,0x3a,0x14,0xff,0x7f,0x3a,0x10, 0xff,0x79,0x37,0x13,0xff,0x6e,0x2f,0x15,0xff,0x69,0x2f,0x15,0xff,0x65,0x30,0x15, 0xff,0x64,0x30,0x17,0xff,0x62,0x32,0x22,0xff,0x53,0x3a,0x3b,0xff,0x42,0x4a,0x62, 0xff,0x43,0x58,0x7c,0xff,0x4c,0x5f,0x88,0xff,0x4f,0x65,0x8f,0xff,0x4d,0x64,0x91, 0xff,0x4e,0x65,0x92,0xff,0x50,0x68,0x94,0xff,0x50,0x6b,0x98,0xff,0x52,0x6f,0x9d, 0xff,0x52,0x6f,0x9d,0xff,0x51,0x6c,0x99,0xff,0x53,0x6e,0x9b,0xff,0x52,0x6e,0x9b, 0xff,0x54,0x71,0xa3,0xff,0x5a,0x79,0xac,0xff,0x5f,0x83,0xb5,0xff,0x63,0x8b,0xba, 0xff,0x68,0x90,0xbf,0xff,0x71,0x93,0xc6,0xff,0x74,0x94,0xc9,0xff,0x72,0x93,0xc7, 0xff,0x74,0x97,0xc9,0xff,0x77,0x9a,0xcc,0xff,0x7b,0x9d,0xcd,0xff,0x7d,0x9d,0xcd, 0xff,0x7e,0x9f,0xcf,0xff,0x78,0x9a,0xcc,0xff,0x73,0x96,0xc8,0xff,0x6a,0x8c,0xbc, 0xff,0x5f,0x7c,0xa6,0xff,0x5d,0x7a,0x9d,0xff,0x63,0x7f,0x9e,0xff,0x67,0x7b,0x9a, 0xff,0x68,0x79,0x92,0xff,0x6b,0x4e,0x45,0xff,0x97,0x47,0x1b,0xff,0xa8,0x4d,0x1d, 0xff,0xa9,0x4d,0x20,0xff,0x9c,0x40,0x18,0xff,0xa5,0x46,0x1c,0xff,0xa3,0x46,0x19, 0xff,0xa4,0x48,0x19,0xff,0xa4,0x46,0x1c,0xff,0xa7,0x47,0x1d,0xff,0xac,0x49,0x1f, 0xff,0xa6,0x4e,0x26,0xff,0xb3,0x75,0x53,0xff,0xd7,0xba,0xa9,0xff,0x97,0x46,0x20, 0xff,0x94,0x43,0x1d,0xff,0x96,0x44,0x1e,0xff,0x96,0x41,0x1b,0xff,0x93,0x3e,0x18, 0xff,0x8c,0x3c,0x15,0xff,0x87,0x3c,0x17,0xff,0x80,0x37,0x16,0xff,0x7f,0x3a,0x18, 0xff,0x6f,0x31,0x12,0xff,0x6b,0x30,0x15,0xff,0x6a,0x30,0x16,0xff,0x66,0x31,0x16, 0xff,0x64,0x33,0x1a,0xff,0x4f,0x35,0x38,0xff,0x3e,0x46,0x62,0xff,0x41,0x57,0x7b, 0xff,0x47,0x60,0x88,0xff,0x4d,0x66,0x91,0xff,0x4e,0x69,0x95,0xff,0x4e,0x69,0x95, 0xff,0x50,0x69,0x95,0xff,0x4e,0x6a,0x96,0xff,0x50,0x6d,0x99,0xff,0x52,0x6d,0x99, 0xff,0x51,0x6c,0x98,0xff,0x51,0x6a,0x96,0xff,0x4f,0x6b,0x97,0xff,0x4f,0x6d,0x99, 0xff,0x55,0x6f,0x9f,0xff,0x57,0x74,0xa8,0xff,0x5b,0x7f,0xb2,0xff,0x5f,0x86,0xb7, 0xff,0x67,0x8f,0xc0,0xff,0x74,0x94,0xc7,0xff,0x78,0x97,0xca,0xff,0x7a,0x99,0xcc, 0xff,0x7a,0x99,0xcc,0xff,0x7b,0x9b,0xcd,0xff,0x7c,0x9c,0xce,0xff,0x7d,0x9c,0xcf, 0xff,0x7d,0x9c,0xcf,0xff,0x76,0x99,0xcb,0xff,0x73,0x96,0xc8,0xff,0x73,0x94,0xc6, 0xff,0x6c,0x89,0xb9,0xff,0x60,0x80,0xa7,0xff,0x61,0x7e,0xa1,0xff,0x66,0x80,0x9f, 0xff,0x62,0x79,0x95,0xff,0x5d,0x57,0x60,0xff,0x8a,0x42,0x1d,0xff,0xa8,0x4e,0x1f, 0xff,0xab,0x51,0x24,0xff,0x9a,0x42,0x19,0xff,0xa3,0x49,0x1e,0xff,0xa8,0x48,0x1d, 0xff,0xa7,0x4d,0x20,0xff,0xa9,0x52,0x25,0xff,0xb7,0x77,0x54,0xff,0xd0,0xad,0x97, 0xff,0xed,0xe1,0xda,0xff,0xfd,0xfc,0xfc,0xff,0xfe,0xfe,0xfe,0xff,0xce,0xb4,0xaa, 0xff,0xb1,0x86,0x71,0xff,0x98,0x59,0x3c,0xff,0x8e,0x43,0x22,0xff,0x95,0x45,0x20, 0xff,0x8d,0x42,0x1c,0xff,0x84,0x3c,0x19,0xff,0x7e,0x3a,0x19,0xff,0x77,0x38,0x19, 0xff,0x6e,0x33,0x17,0xff,0x6d,0x34,0x1a,0xff,0x6c,0x32,0x17,0xff,0x67,0x31,0x1b, 0xff,0x4b,0x2d,0x26,0xff,0x3e,0x42,0x5a,0xff,0x41,0x55,0x7a,0xff,0x47,0x5f,0x87, 0xff,0x49,0x63,0x8d,0xff,0x4e,0x69,0x94,0xff,0x4e,0x6b,0x97,0xff,0x4d,0x6a,0x96, 0xff,0x4d,0x69,0x95,0xff,0x4b,0x6a,0x96,0xff,0x4b,0x6b,0x97,0xff,0x4c,0x68,0x95, 0xff,0x4f,0x68,0x96,0xff,0x4f,0x67,0x95,0xff,0x4b,0x66,0x93,0xff,0x48,0x65,0x92, 0xff,0x46,0x65,0x95,0xff,0x4b,0x6a,0x9d,0xff,0x54,0x74,0xab,0xff,0x58,0x7b,0xb2, 0xff,0x61,0x84,0xbb,0xff,0x70,0x91,0xc5,0xff,0x7a,0x99,0xcd,0xff,0x81,0x9c,0xd1, 0xff,0x80,0x9a,0xcf,0xff,0x79,0x99,0xcd,0xff,0x7d,0x9e,0xcf,0xff,0x7e,0x9f,0xce, 0xff,0x7b,0x9a,0xcd,0xff,0x77,0x96,0xca,0xff,0x74,0x95,0xc9,0xff,0x72,0x95,0xc9, 0xff,0x70,0x93,0xc6,0xff,0x6a,0x8c,0xb9,0xff,0x66,0x83,0xac,0xff,0x66,0x81,0xa5, 0xff,0x5b,0x77,0x93,0xff,0x46,0x43,0x4f,0xff,0x88,0x40,0x1e,0xff,0xae,0x54,0x28, 0xff,0xad,0x57,0x28,0xff,0x99,0x46,0x19,0xff,0xa7,0x5e,0x34,0xff,0xbd,0x87,0x68, 0xff,0xd0,0xb6,0xa3,0xff,0xf1,0xe6,0xe1,0xff,0xfe,0xfe,0xfd,0xff,0xfd,0xfe,0xfe, 0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfe,0xff,0xff,0xfe,0xfe,0xff,0xff,0xfb,0xfd,0xfd, 0xff,0xfa,0xfc,0xfc,0xff,0xfc,0xfd,0xfc,0xff,0xe9,0xe1,0xdc,0xff,0xc6,0xb0,0xa4, 0xff,0xa9,0x81,0x6e,0xff,0x8a,0x54,0x3d,0xff,0x80,0x40,0x25,0xff,0x7b,0x3e,0x22, 0xff,0x71,0x37,0x19,0xff,0x76,0x3b,0x1e,0xff,0x71,0x38,0x1b,0xff,0x5d,0x31,0x1d, 0xff,0x3c,0x32,0x32,0xff,0x41,0x51,0x71,0xff,0x48,0x5e,0x8a,0xff,0x4d,0x63,0x91, 0xff,0x4d,0x63,0x91,0xff,0x52,0x69,0x96,0xff,0x54,0x6b,0x97,0xff,0x52,0x69,0x96, 0xff,0x4c,0x68,0x94,0xff,0x47,0x67,0x92,0xff,0x47,0x69,0x94,0xff,0x4b,0x69,0x94, 0xff,0x4d,0x67,0x92,0xff,0x49,0x61,0x8d,0xff,0x47,0x5e,0x8a,0xff,0x45,0x5c,0x88, 0xff,0x41,0x59,0x8a,0xff,0x42,0x5f,0x93,0xff,0x4d,0x6d,0xa4,0xff,0x57,0x78,0xb0, 0xff,0x5e,0x7f,0xb7,0xff,0x68,0x8a,0xbf,0xff,0x73,0x92,0xc7,0xff,0x7b,0x97,0xcd, 0xff,0x7a,0x98,0xce,0xff,0x78,0x99,0xcd,0xff,0x7e,0xa0,0xce,0xff,0x80,0xa1,0xcf, 0xff,0x7a,0x9a,0xcc,0xff,0x7a,0x96,0xcb,0xff,0x75,0x95,0xca,0xff,0x72,0x95,0xca, 0xff,0x71,0x95,0xc9,0xff,0x71,0x93,0xc2,0xff,0x6a,0x89,0xb3,0xff,0x59,0x70,0x8d, 0xff,0x36,0x42,0x51,0xff,0x46,0x2c,0x26,0xff,0x99,0x4f,0x2a,0xff,0xca,0x89,0x6b, 0xff,0xc5,0x9b,0x86,0xff,0xe0,0xd2,0xc7,0xff,0xfc,0xfa,0xf7,0xff,0xfc,0xfe,0xfc, 0xff,0xfb,0xfe,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xff, 0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfe,0xff,0xfe,0xfe,0xfe, 0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfc,0xfc,0xff,0xf2,0xee,0xeb,0xff,0xd2,0xc3,0xbb, 0xff,0xb0,0x91,0x82,0xff,0xad,0x85,0x71,0xff,0x85,0x4f,0x32,0xff,0x62,0x34,0x1f, 0xff,0x3b,0x2d,0x2f,0xff,0x47,0x59,0x76,0xff,0x4b,0x65,0x91,0xff,0x4e,0x66,0x95, 0xff,0x52,0x65,0x95,0xff,0x54,0x69,0x97,0xff,0x55,0x6b,0x98,0xff,0x4f,0x69,0x95, 0xff,0x4c,0x66,0x94,0xff,0x49,0x65,0x90,0xff,0x47,0x65,0x8e,0xff,0x45,0x62,0x8c, 0xff,0x45,0x5f,0x86,0xff,0x45,0x5c,0x82,0xff,0x42,0x58,0x7f,0xff,0x40,0x56,0x7d, 0xff,0x43,0x58,0x85,0xff,0x48,0x61,0x94,0xff,0x52,0x6f,0xa6,0xff,0x5a,0x78,0xb0, 0xff,0x61,0x80,0xb7,0xff,0x64,0x88,0xbd,0xff,0x6c,0x8c,0xc3,0xff,0x74,0x90,0xc9, 0xff,0x77,0x95,0xcb,0xff,0x78,0x95,0xcb,0xff,0x7c,0x9b,0xce,0xff,0x7e,0x9d,0xcf, 0xff,0x7a,0x99,0xcb,0xff,0x7d,0x98,0xcc,0xff,0x76,0x96,0xc9,0xff,0x75,0x98,0xca, 0xff,0x76,0x93,0xc9,0xff,0x61,0x7b,0xa6,0xff,0x36,0x3f,0x52,0xff,0x17,0x1b,0x1e, 0xff,0x33,0x22,0x1c,0xff,0x87,0x55,0x39,0xff,0xe0,0xcb,0xba,0xff,0xfb,0xfd,0xfd, 0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe, 0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfd,0xfe, 0xff,0xfe,0xfd,0xfe,0xff,0xfc,0xfd,0xfe,0xff,0xef,0xea,0xe5,0xff,0x82,0x65,0x55, 0xff,0x41,0x2b,0x21,0xff,0x27,0x25,0x28,0xff,0x3f,0x4b,0x64,0xff,0x58,0x6c,0x8e, 0xff,0x56,0x6c,0x97,0xff,0x55,0x69,0x97,0xff,0x54,0x6b,0x97,0xff,0x4e,0x69,0x95, 0xff,0x4d,0x63,0x92,0xff,0x4a,0x60,0x8c,0xff,0x45,0x5b,0x84,0xff,0x43,0x57,0x7e, 0xff,0x42,0x54,0x77,0xff,0x45,0x53,0x75,0xff,0x47,0x54,0x77,0xff,0x4c,0x5a,0x7d, 0xff,0x4a,0x61,0x87,0xff,0x4d,0x65,0x92,0xff,0x4f,0x69,0x99,0xff,0x54,0x6f,0x9e, 0xff,0x57,0x73,0xa1,0xff,0x58,0x73,0xa4,0xff,0x57,0x74,0xa8,0xff,0x5c,0x7c,0xb2, 0xff,0x6a,0x89,0xbe,0xff,0x73,0x92,0xc7,0xff,0x77,0x96,0xca,0xff,0x7a,0x99,0xcc, 0xff,0x78,0x97,0xca,0xff,0x7d,0x9b,0xce,0xff,0x7d,0x97,0xca,0xff,0x83,0x96,0xc4, 0xff,0x6c,0x68,0x7b,0xff,0x4e,0x3c,0x39,0xff,0x46,0x31,0x2a,0xff,0x4d,0x37,0x2d, 0xff,0xa5,0x84,0x75,0xff,0xee,0xe6,0xe1,0xff,0xfc,0xfe,0xfd,0xff,0xfe,0xfe,0xfe, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff,0xff,0xfe,0xff, 0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xf6,0xf6,0xf4, 0xff,0xb2,0xa2,0x9b,0xff,0x6a,0x53,0x4a,0xff,0x65,0x55,0x4d,0xff,0x83,0x79,0x7c, 0xff,0x8e,0x95,0xab,0xff,0x56,0x6f,0x95,0xff,0x50,0x6a,0x95,0xff,0x4a,0x63,0x92, 0xff,0x46,0x5e,0x8a,0xff,0x48,0x59,0x83,0xff,0x4f,0x5b,0x82,0xff,0x50,0x5e,0x84, 0xff,0x51,0x62,0x87,0xff,0x53,0x67,0x8e,0xff,0x57,0x6b,0x95,0xff,0x5b,0x6e,0x9d, 0xff,0x59,0x71,0xa1,0xff,0x5b,0x77,0xa7,0xff,0x5f,0x7f,0xb2,0xff,0x67,0x87,0xba, 0xff,0x74,0x91,0xc1,0xff,0x77,0x91,0xc2,0xff,0x77,0x90,0xc2,0xff,0x75,0x8f,0xc1, 0xff,0x6d,0x87,0xba,0xff,0x6a,0x87,0xbd,0xff,0x71,0x8f,0xc5,0xff,0x77,0x96,0xcb, 0xff,0x78,0x97,0xcc,0xff,0x77,0x9c,0xce,0xff,0x7f,0x9f,0xcb,0xff,0xe0,0xe5,0xed, 0xff,0xfc,0xfb,0xfb,0xff,0xfd,0xfb,0xfa,0xff,0xfa,0xf8,0xf7,0xff,0xfb,0xfa,0xf9, 0xff,0xfe,0xfe,0xfe,0xff,0xff,0xfe,0xfe,0xff,0xfe,0xff,0xfe,0xff,0xfe,0xfe,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff, 0xff,0xfc,0xfe,0xfe,0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfe, 0xff,0xdf,0xe1,0xe3,0xff,0x5f,0x73,0x94,0xff,0x51,0x67,0x92,0xff,0x4c,0x60,0x8e, 0xff,0x4c,0x5e,0x85,0xff,0x54,0x69,0x8d,0xff,0x5a,0x70,0x95,0xff,0x5b,0x72,0x9c, 0xff,0x58,0x73,0x9c,0xff,0x57,0x75,0x9f,0xff,0x59,0x76,0xa4,0xff,0x5c,0x78,0xaa, 0xff,0x59,0x76,0xab,0xff,0x5b,0x7a,0xaf,0xff,0x60,0x81,0xb7,0xff,0x74,0x93,0xc7, 0xff,0x83,0xa2,0xd1,0xff,0x89,0xa5,0xd1,0xff,0x8a,0xa6,0xd2,0xff,0x8a,0xa5,0xd2, 0xff,0x84,0xa1,0xce,0xff,0x79,0x99,0xc9,0xff,0x72,0x91,0xc5,0xff,0x6f,0x8e,0xc3, 0xff,0x75,0x94,0xc9,0xff,0x7a,0x9b,0xcd,0xff,0x84,0xa0,0xcc,0xff,0xec,0xee,0xf4, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xfd,0xff,0xfe, 0xff,0xeb,0xec,0xef,0xff,0x66,0x77,0x94,0xff,0x55,0x68,0x8d,0xff,0x54,0x63,0x89, 0xff,0x60,0x70,0x95,0xff,0x60,0x76,0x9e,0xff,0x5c,0x79,0xa3,0xff,0x58,0x78,0xa3, 0xff,0x59,0x79,0xa4,0xff,0x58,0x78,0xa3,0xff,0x58,0x76,0xa5,0xff,0x56,0x74,0xa7, 0xff,0x55,0x74,0xaa,0xff,0x5b,0x75,0xb0,0xff,0x65,0x78,0xb7,0xff,0x7c,0x90,0xca, 0xff,0x85,0xa2,0xce,0xff,0x8a,0xa8,0xd2,0xff,0x8a,0xa8,0xd2,0xff,0x8a,0xa9,0xd3, 0xff,0x89,0xab,0xd6,0xff,0x86,0xa8,0xd3,0xff,0x80,0x9e,0xcf,0xff,0x77,0x95,0xca, 0xff,0x6d,0x8f,0xc4,0xff,0x72,0x94,0xc5,0xff,0x83,0x9e,0xcd,0xff,0xde,0xe4,0xed, 0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xfd,0xfe,0xfe, 0xff,0xef,0xf0,0xf2,0xff,0x6b,0x7a,0x93,0xff,0x5b,0x6c,0x8b,0xff,0x61,0x70,0x91, 0xff,0x64,0x78,0x9d,0xff,0x5b,0x76,0x9e,0xff,0x55,0x73,0x9d,0xff,0x55,0x72,0x9d, 0xff,0x52,0x6f,0x9b,0xff,0x4f,0x6c,0x9a,0xff,0x4f,0x6b,0x9c,0xff,0x4c,0x67,0x9c, 0xff,0x4d,0x68,0xa0,0xff,0x57,0x6e,0xaa,0xff,0x5c,0x72,0xb3,0xff,0x6b,0x83,0xc0, 0xff,0x75,0x93,0xc6,0xff,0x7a,0x9a,0xc9,0xff,0x81,0xa1,0xd0,0xff,0x83,0xa3,0xd1, 0xff,0x85,0xa6,0xd1,0xff,0x89,0xab,0xd6,0xff,0x86,0xa6,0xd5,0xff,0x7b,0x9b,0xcf, 0xff,0x74,0x95,0xcc,0xff,0x74,0x8f,0xc6,0xff,0x79,0x92,0xc6,0xff,0xc7,0xcf,0xdf, 0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xfd,0xfe,0xfe, 0xff,0xed,0xee,0xef,0xff,0x70,0x7e,0x93,0xff,0x62,0x75,0x92,0xff,0x5e,0x74,0x94, 0xff,0x5e,0x73,0x9a,0xff,0x54,0x70,0x99,0xff,0x55,0x6d,0x9a,0xff,0x59,0x70,0x9d, 0xff,0x58,0x6f,0x9c,0xff,0x53,0x6a,0x99,0xff,0x4f,0x65,0x98,0xff,0x4e,0x63,0x9a, 0xff,0x4b,0x5f,0x94,0xff,0x53,0x66,0xa0,0xff,0x58,0x75,0xb0,0xff,0x61,0x81,0xb9, 0xff,0x6d,0x8f,0xc2,0xff,0x7d,0x9b,0xce,0xff,0x82,0x9f,0xd2,0xff,0x81,0x9e,0xd0, 0xff,0x80,0x9f,0xcd,0xff,0x7e,0x9d,0xcb,0xff,0x7e,0xa0,0xce,0xff,0x7a,0x9d,0xce, 0xff,0x76,0x98,0xcd,0xff,0x72,0x97,0xca,0xff,0x78,0x94,0xc9,0xff,0x8f,0xa3,0xc8, 0xff,0xe3,0xe9,0xf1,0xff,0xfe,0xfe,0xfc,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfc,0xfe,0xfe, 0xff,0xe2,0xe5,0xe9,0xff,0x71,0x80,0x97,0xff,0x64,0x78,0x96,0xff,0x5f,0x76,0x98, 0xff,0x56,0x70,0x98,0xff,0x4e,0x6b,0x96,0xff,0x55,0x6b,0x9a,0xff,0x5c,0x73,0xa0, 0xff,0x5b,0x6f,0x9e,0xff,0x5a,0x6c,0x9b,0xff,0x55,0x64,0x9a,0xff,0x55,0x61,0xa1, 0xff,0x54,0x5f,0xa5,0xff,0x58,0x62,0xaa,0xff,0x5f,0x6d,0xb7,0xff,0x6a,0x77,0xc0, 0xff,0x79,0x89,0xca,0xff,0x81,0x98,0xcf,0xff,0x85,0x9e,0xd1,0xff,0x7c,0x95,0xcd, 0xff,0x70,0x8d,0xc3,0xff,0x6a,0x88,0xbe,0xff,0x72,0x91,0xc5,0xff,0x7f,0xa0,0xd0, 0xff,0x7e,0x9f,0xce,0xff,0x7e,0x9b,0xd0,0xff,0x80,0x99,0xd0,0xff,0x7c,0x98,0xd0, 0xff,0x96,0xa8,0xce,0xff,0xf4,0xf4,0xf8,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfb,0xfd,0xfd, 0xff,0xa6,0xb0,0xbd,0xff,0x6a,0x7b,0x9c,0xff,0x66,0x7a,0x9e,0xff,0x65,0x7b,0xa2, 0xff,0x5b,0x75,0x9e,0xff,0x49,0x62,0x8f,0xff,0x46,0x56,0x84,0xff,0x4a,0x5a,0x86, 0xff,0x47,0x50,0x85,0xff,0x4c,0x4f,0x88,0xff,0x4f,0x4f,0x8d,0xff,0x51,0x50,0x95, 0xff,0x4f,0x4d,0x99,0xff,0x55,0x4e,0xa0,0xff,0x5b,0x59,0xac,0xff,0x64,0x64,0xb3, 0xff,0x69,0x6a,0xb6,0xff,0x6a,0x69,0xb5,0xff,0x62,0x69,0xb0,0xff,0x50,0x60,0x9f, 0xff,0x48,0x5b,0x96,0xff,0x54,0x72,0xab,0xff,0x74,0x94,0xc6,0xff,0x85,0xa3,0xd2, 0xff,0x87,0xa5,0xd4,0xff,0x86,0xa4,0xd5,0xff,0x85,0xa3,0xd4,0xff,0x81,0x9f,0xd2, 0xff,0x82,0x9c,0xce,0xff,0xbb,0xc8,0xdc,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfd,0xff,0xe8,0xec,0xed, 0xff,0x79,0x89,0xa0,0xff,0x68,0x7d,0xa1,0xff,0x67,0x7c,0xa2,0xff,0x62,0x7a,0xa3, 0xff,0x5c,0x75,0xa2,0xff,0x4d,0x64,0x91,0xff,0x45,0x56,0x82,0xff,0x3d,0x46,0x6d, 0xff,0x40,0x48,0x6f,0xff,0x46,0x4b,0x7a,0xff,0x47,0x4a,0x7f,0xff,0x49,0x4a,0x86, 0xff,0x4b,0x4f,0x91,0xff,0x5b,0x5e,0xa9,0xff,0x5d,0x64,0xb1,0xff,0x5f,0x68,0xb0, 0xff,0x5e,0x69,0xaf,0xff,0x63,0x6f,0xb5,0xff,0x69,0x76,0xb6,0xff,0x61,0x73,0xa8, 0xff,0x58,0x70,0xa6,0xff,0x6c,0x89,0xbb,0xff,0x80,0x9f,0xcd,0xff,0x89,0xa8,0xd4, 0xff,0x89,0xa9,0xd5,0xff,0x8a,0xa8,0xd7,0xff,0x8a,0xa8,0xd7,0xff,0x87,0xa7,0xd6, 0xff,0x82,0xa1,0xd3,0xff,0x8f,0xa8,0xcd,0xff,0xf2,0xf4,0xf7,0xff,0xfe,0xfe,0xfe, 0xff,0xff,0xff,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfd,0xff,0xbd,0xc6,0xce, 0xff,0x6c,0x83,0xa2,0xff,0x6a,0x7f,0xa2,0xff,0x69,0x7e,0xa4,0xff,0x62,0x7b,0xa5, 0xff,0x5e,0x78,0xa6,0xff,0x5d,0x74,0xa0,0xff,0x54,0x69,0x90,0xff,0x54,0x62,0x8b, 0xff,0x57,0x6d,0x94,0xff,0x59,0x6f,0x97,0xff,0x5c,0x6e,0x9e,0xff,0x5a,0x69,0xa1, 0xff,0x5f,0x70,0xad,0xff,0x5e,0x72,0xb0,0xff,0x5c,0x76,0xb2,0xff,0x6c,0x85,0xbf, 0xff,0x7d,0x8f,0xc7,0xff,0x88,0x99,0xcb,0xff,0x89,0x9a,0xca,0xff,0x81,0x93,0xc3, 0xff,0x78,0x90,0xc0,0xff,0x7e,0x97,0xc4,0xff,0x8a,0xa8,0xd3,0xff,0x8e,0xae,0xd9, 0xff,0x8c,0xac,0xd7,0xff,0x90,0xae,0xdd,0xff,0x8c,0xaa,0xd9,0xff,0x8a,0xa9,0xd9, 0xff,0x8a,0xa5,0xd4,0xff,0x87,0xa2,0xd1,0xff,0xd5,0xd9,0xe4,0xff,0xfe,0xfe,0xfe, 0xff,0xff,0xff,0xfc,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfd,0xff,0x96,0xa4,0xb4, 0xff,0x70,0x83,0xa4,0xff,0x6d,0x7f,0xa4,0xff,0x6b,0x7f,0xa5,0xff,0x68,0x7f,0xa8, 0xff,0x65,0x7e,0xa8,0xff,0x63,0x80,0xaa,0xff,0x62,0x7d,0xa5,0xff,0x64,0x77,0x9f, 0xff,0x5e,0x72,0x9a,0xff,0x5b,0x6b,0x95,0xff,0x58,0x69,0x94,0xff,0x56,0x6b,0x97, 0xff,0x61,0x75,0xa5,0xff,0x63,0x77,0xaa,0xff,0x61,0x74,0xa8,0xff,0x6f,0x84,0xb6, 0xff,0x74,0x8c,0xbd,0xff,0x7c,0x91,0xc2,0xff,0x82,0x97,0xc5,0xff,0x87,0x9e,0xc9, 0xff,0x85,0xa0,0xca,0xff,0x88,0xa3,0xcd,0xff,0x8e,0xaa,0xd3,0xff,0x93,0xaf,0xd9, 0xff,0x91,0xae,0xd7,0xff,0x94,0xaf,0xdb,0xff,0x8f,0xab,0xd7,0xff,0x8e,0xa9,0xd6, 0xff,0x8c,0xa5,0xd6,0xff,0x88,0xa0,0xd5,0xff,0xb2,0xc0,0xdb,0xff,0xfd,0xfe,0xfc, 0xff,0xfc,0xfd,0xfe,0xff,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe, 0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xf6,0xf8,0xf8,0xff,0x7d,0x8f,0xa4, 0xff,0x6b,0x80,0xa7,0xff,0x6a,0x80,0xa6,0xff,0x68,0x80,0xa7,0xff,0x67,0x81,0xaa, 0xff,0x6a,0x83,0xad,0xff,0x66,0x83,0xad,0xff,0x65,0x81,0xac,0xff,0x69,0x80,0xad, 0xff,0x61,0x78,0xa6,0xff,0x59,0x6d,0x9d,0xff,0x51,0x60,0x91,0xff,0x4e,0x5a,0x8c, 0xff,0x52,0x63,0x99,0xff,0x5f,0x70,0xa9,0xff,0x69,0x7a,0xb3,0xff,0x71,0x84,0xbb, 0xff,0x72,0x88,0xbf,0xff,0x79,0x8e,0xc6,0xff,0x81,0x98,0xcb,0xff,0x86,0xa1,0xce, 0xff,0x87,0xa1,0xcf,0xff,0x84,0x9e,0xcd,0xff,0x86,0xa0,0xcf,0xff,0x8c,0xa6,0xd4, 0xff,0x8e,0xa8,0xd6,0xff,0x8e,0xa9,0xd5,0xff,0x90,0xaa,0xd6,0xff,0x8e,0xa8,0xd5, 0xff,0x89,0xa3,0xd4,0xff,0x86,0x9f,0xd4,0xff,0x91,0xa3,0xd1,0xff,0xc6,0xd1,0xe5, 0xff,0xf2,0xf5,0xf8,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xfe, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe, 0xff,0xfe,0xfe,0xfe,0xff,0xf5,0xf7,0xf9,0xff,0xb5,0xba,0xc9,0xff,0x75,0x85,0xa3, 0xff,0x6a,0x7f,0xa9,0xff,0x6b,0x80,0xa9,0xff,0x66,0x7c,0xa6,0xff,0x6b,0x81,0xab, 0xff,0x67,0x82,0xab,0xff,0x64,0x7e,0xab,0xff,0x5f,0x78,0xa8,0xff,0x5f,0x79,0xa6, 0xff,0x5c,0x70,0xa2,0xff,0x51,0x5c,0x94,0xff,0x3e,0x48,0x7f,0xff,0x47,0x51,0x89, 0xff,0x56,0x64,0x9b,0xff,0x63,0x74,0xaf,0xff,0x77,0x8b,0xc4,0xff,0x77,0x8a,0xc5, 0xff,0x56,0x66,0xa9,0xff,0x5c,0x71,0xb2,0xff,0x78,0x8c,0xcb,0xff,0x7b,0x92,0xc7, 0xff,0x75,0x8c,0xc4,0xff,0x77,0x8e,0xc6,0xff,0x83,0x9e,0xcc,0xff,0x8a,0xa5,0xd1, 0xff,0x8f,0xaa,0xd6,0xff,0x95,0xac,0xd9,0xff,0x95,0xac,0xd9,0xff,0x90,0xa7,0xd5, 0xff,0x8a,0xa4,0xd3,0xff,0x84,0xa2,0xd1,0xff,0x85,0x9e,0xcf,0xff,0x84,0xa2,0xd6, 0xff,0x9a,0xb0,0xd7,0xff,0xe8,0xed,0xf5,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xfd, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff, 0xff,0xfc,0xfe,0xfc,0xff,0xac,0xb3,0xc5,0xff,0x76,0x80,0xa7,0xff,0x71,0x7f,0xa5, 0xff,0x69,0x7e,0xa6,0xff,0x68,0x7c,0xa7,0xff,0x65,0x7b,0xa6,0xff,0x69,0x7f,0xaa, 0xff,0x6a,0x80,0xaa,0xff,0x66,0x7a,0xa9,0xff,0x5e,0x73,0xa5,0xff,0x57,0x6e,0x9e, 0xff,0x58,0x6d,0x9a,0xff,0x6d,0x7e,0xad,0xff,0x65,0x75,0xa5,0xff,0x6c,0x7b,0xad, 0xff,0x72,0x83,0xb4,0xff,0x7c,0x8e,0xc1,0xff,0x8f,0xa0,0xd1,0xff,0xa2,0xb2,0xe0, 0xff,0xa0,0xb1,0xdc,0xff,0xa0,0xb3,0xdb,0xff,0x9b,0xaf,0xdd,0xff,0x75,0x86,0xc3, 0xff,0x6d,0x81,0xbf,0xff,0x7c,0x93,0xc7,0xff,0x87,0xa0,0xcc,0xff,0x89,0xa2,0xd0, 0xff,0x8c,0xa7,0xd4,0xff,0x91,0xa9,0xd6,0xff,0x94,0xab,0xd8,0xff,0x93,0xa9,0xd7, 0xff,0x8e,0xa5,0xd4,0xff,0x8a,0xa5,0xd3,0xff,0x89,0xa2,0xd3,0xff,0x86,0x9d,0xd0, 0xff,0x89,0xa6,0xd8,0xff,0xa7,0xba,0xdb,0xff,0xf8,0xfa,0xfa,0xff,0xfe,0xfe,0xfd, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff, 0xff,0xf7,0xf8,0xfa,0xff,0x87,0x91,0xae,0xff,0x76,0x87,0xa8,0xff,0x6f,0x81,0xa6, 0xff,0x69,0x7e,0xa7,0xff,0x68,0x7e,0xaa,0xff,0x69,0x7e,0xab,0xff,0x6b,0x80,0xac, 0xff,0x68,0x7e,0xa8,0xff,0x66,0x7a,0xa8,0xff,0x62,0x76,0xa6,0xff,0x5d,0x71,0xa1, 0xff,0x57,0x6b,0x9b,0xff,0x71,0x84,0xad,0xff,0x7f,0x92,0xb9,0xff,0x81,0x93,0xbc, 0xff,0x80,0x94,0xc1,0xff,0x8f,0xa1,0xcb,0xff,0xa0,0xb0,0xd8,0xff,0xa7,0xb8,0xe0, 0xff,0xa2,0xb2,0xdb,0xff,0x9c,0xae,0xd7,0xff,0x8b,0x9e,0xcf,0xff,0x79,0x8e,0xc6, 0xff,0x7c,0x93,0xc9,0xff,0x82,0x97,0xc8,0xff,0x89,0x9d,0xcd,0xff,0x8a,0x9f,0xcf, 0xff,0x85,0x9f,0xce,0xff,0x8c,0xa7,0xd3,0xff,0x96,0xad,0xda,0xff,0x9a,0xaf,0xdc, 0xff,0x9a,0xb1,0xde,0xff,0x92,0xac,0xd8,0xff,0x8f,0xa7,0xd5,0xff,0x83,0x93,0xcd, 0xff,0x64,0x7a,0xbb,0xff,0x8b,0x9f,0xd4,0xff,0xc1,0xc8,0xe1,0xff,0xfe,0xfe,0xfd, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xff, 0xff,0xc2,0xc8,0xd4,0xff,0x6d,0x7b,0xa3,0xff,0x7b,0x8c,0xaa,0xff,0x72,0x83,0xaa, 0xff,0x6e,0x82,0xac,0xff,0x6b,0x7f,0xad,0xff,0x67,0x7c,0xaa,0xff,0x65,0x79,0xa8, 0xff,0x63,0x78,0xa5,0xff,0x62,0x76,0xa5,0xff,0x60,0x74,0xa4,0xff,0x61,0x75,0xa5, 0xff,0x63,0x77,0xa7,0xff,0x64,0x77,0xa7,0xff,0x73,0x87,0xb1,0xff,0x7d,0x93,0xb7, 0xff,0x83,0x99,0xc0,0xff,0x96,0xa5,0xce,0xff,0xa6,0xb5,0xdc,0xff,0xa7,0xb9,0xe0, 0xff,0xa8,0xbb,0xdf,0xff,0x9f,0xb2,0xdc,0xff,0x99,0xad,0xdb,0xff,0x8a,0xa0,0xd0, 0xff,0x81,0x97,0xca,0xff,0x7f,0x95,0xc9,0xff,0x82,0x97,0xcc,0xff,0x82,0x98,0xca, 0xff,0x7f,0x96,0xc6,0xff,0x88,0xa0,0xce,0xff,0x97,0xac,0xd9,0xff,0xa2,0xb4,0xdf, 0xff,0xa4,0xb7,0xe2,0xff,0x98,0xaf,0xdc,0xff,0x93,0xaa,0xda,0xff,0x8f,0xa4,0xd5, 0xff,0x72,0x87,0xc3,0xff,0x52,0x63,0xb0,0xff,0x8c,0x9d,0xd0,0xff,0xee,0xef,0xf6, 0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfd, 0xff,0x83,0x8c,0xab,0xff,0x5f,0x6d,0x9d,0xff,0x7c,0x8e,0xaf,0xff,0x77,0x89,0xad, 0xff,0x72,0x86,0xae,0xff,0x6b,0x80,0xac,0xff,0x67,0x7c,0xa9,0xff,0x64,0x79,0xa6, 0xff,0x5d,0x71,0xa1,0xff,0x59,0x6d,0x9d,0xff,0x5b,0x6f,0x9f,0xff,0x5c,0x70,0xa0, 0xff,0x5f,0x73,0xa3,0xff,0x64,0x78,0xa9,0xff,0x6f,0x85,0xb0,0xff,0x7c,0x94,0xb7, 0xff,0x80,0x97,0xba,0xff,0x98,0xa6,0xcc,0xff,0xaa,0xb8,0xdc,0xff,0xa8,0xb9,0xe0, 0xff,0xa7,0xb7,0xe0,0xff,0x9f,0xb4,0xde,0xff,0x96,0xaa,0xd8,0xff,0x87,0x9a,0xcd, 0xff,0x7d,0x8f,0xc7,0xff,0x78,0x8e,0xc5,0xff,0x71,0x88,0xc1,0xff,0x74,0x89,0xc1, 0xff,0x7e,0x91,0xc6,0xff,0x89,0x9f,0xcf,0xff,0x9b,0xae,0xdb,0xff,0xa7,0xb9,0xe2, 0xff,0xa8,0xbc,0xe4,0xff,0x9c,0xb2,0xdf,0xff,0x93,0xa9,0xda,0xff,0x90,0xa6,0xd7, 0xff,0x6e,0x80,0xbc,0xff,0x3f,0x4b,0xa4,0xff,0x59,0x6b,0xba,0xff,0xc9,0xce,0xe4, 0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xf0,0xf2,0xf4, 0xff,0x64,0x6b,0x98,0xff,0x64,0x74,0x9d,0xff,0x78,0x8d,0xac,0xff,0x79,0x8d,0xae, 0xff,0x74,0x88,0xad,0xff,0x6e,0x82,0xa8,0xff,0x69,0x7c,0xa6,0xff,0x65,0x77,0xa4, 0xff,0x5e,0x6e,0xa0,0xff,0x58,0x67,0x9b,0xff,0x54,0x63,0x99,0xff,0x55,0x66,0x99, 0xff,0x58,0x6d,0x9c,0xff,0x5d,0x72,0xa1,0xff,0x66,0x7a,0xa8,0xff,0x72,0x87,0xb1, 0xff,0x7d,0x91,0xb7,0xff,0x92,0xa2,0xc6,0xff,0xa9,0xb9,0xd5,0xff,0xa6,0xb7,0xdc, 0xff,0x9e,0xad,0xdc,0xff,0x97,0xa9,0xda,0xff,0x8d,0xa2,0xd3,0xff,0x7a,0x92,0xc4, 0xff,0x6e,0x83,0xb9,0xff,0x64,0x76,0xb0,0xff,0x6a,0x79,0xb7,0xff,0x77,0x86,0xc0, 0xff,0x87,0x97,0xca,0xff,0x95,0xa8,0xd4,0xff,0x9f,0xb1,0xdc,0xff,0xa2,0xb5,0xdf, 0xff,0xa1,0xb7,0xe1,0xff,0x9b,0xb5,0xdf,0xff,0x95,0xb0,0xdb,0xff,0x8d,0xa6,0xd5, 0xff,0x64,0x74,0xa6,0xff,0x4f,0x5f,0xa8,0xff,0x68,0x7d,0xc6,0xff,0x92,0x9e,0xcd, 0xff,0xfb,0xfb,0xfb,0xff,0xfd,0xfe,0xfe,0xff,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xe8,0xe9,0xed, 0xff,0x5e,0x60,0x90,0xff,0x63,0x71,0x91,0xff,0x7d,0x8f,0xae,0xff,0x77,0x8c,0xad, 0xff,0x71,0x84,0xaa,0xff,0x6d,0x80,0xa6,0xff,0x69,0x7b,0xa4,0xff,0x62,0x72,0xa0, 0xff,0x5f,0x6e,0xa0,0xff,0x59,0x67,0x9d,0xff,0x55,0x5d,0x97,0xff,0x55,0x59,0x93, 0xff,0x52,0x5c,0x91,0xff,0x5a,0x68,0x97,0xff,0x5c,0x70,0x9d,0xff,0x59,0x73,0xa0, 0xff,0x6b,0x80,0xae,0xff,0x8a,0x9e,0xc3,0xff,0x9e,0xb1,0xd3,0xff,0x9e,0xb1,0xd9, 0xff,0x8f,0xa3,0xd7,0xff,0x84,0x9c,0xd1,0xff,0x79,0x8f,0xc4,0xff,0x69,0x7c,0xb3, 0xff,0x58,0x69,0xa3,0xff,0x5c,0x67,0xa6,0xff,0x66,0x70,0xb0,0xff,0x73,0x7f,0xb8, 0xff,0x85,0x94,0xc5,0xff,0x95,0xa6,0xd1,0xff,0x9c,0xad,0xd8,0xff,0x9a,0xad,0xd8, 0xff,0x98,0xaf,0xd9,0xff,0x96,0xb1,0xdb,0xff,0x95,0xb2,0xdb,0xff,0x8d,0xa8,0xd7, 0xff,0x5f,0x6f,0x9a,0xff,0x6b,0x7f,0xad,0xff,0x8b,0x9e,0xd9,0xff,0x54,0x5e,0xac, 0xff,0xdd,0xdf,0xec,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfd,0xfe,0xff,0xdf,0xe0,0xe6, 0xff,0x57,0x54,0x85,0xff,0x5c,0x64,0x80,0xff,0x85,0x95,0xaf,0xff,0x6f,0x86,0xa8, 0xff,0x60,0x74,0x9f,0xff,0x5a,0x6f,0x97,0xff,0x55,0x63,0x92,0xff,0x60,0x68,0x95, 0xff,0x5c,0x68,0x86,0xff,0x3a,0x44,0x5f,0xff,0x42,0x49,0x66,0xff,0x64,0x6b,0x8e, 0xff,0x4f,0x55,0x83,0xff,0x4c,0x5b,0x89,0xff,0x4f,0x63,0x8e,0xff,0x53,0x68,0x93, 0xff,0x5c,0x73,0x9f,0xff,0x6e,0x84,0xb2,0xff,0x83,0x9a,0xc9,0xff,0x8e,0xa8,0xd4, 0xff,0x8c,0xa6,0xd4,0xff,0x7d,0x94,0xc6,0xff,0x65,0x75,0xb0,0xff,0x5d,0x69,0xa3, 0xff,0x55,0x5e,0x8f,0xff,0x5e,0x65,0x8d,0xff,0x39,0x43,0x64,0xff,0x46,0x50,0x6d, 0xff,0x88,0x93,0xaf,0xff,0x8e,0x9d,0xc0,0xff,0x7e,0x8d,0xc1,0xff,0x78,0x8c,0xc3, 0xff,0x7e,0x96,0xca,0xff,0x8c,0xa5,0xd5,0xff,0x8f,0xac,0xd7,0xff,0x93,0xa9,0xd6, 0xff,0x51,0x57,0x81,0xff,0x6b,0x7e,0xb1,0xff,0x82,0x8e,0xce,0xff,0x4e,0x55,0xac, 0xff,0xda,0xde,0xea,0xff,0xfc,0xfe,0xfd,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfe,0xfd,0xff,0xb1,0xb8,0xc9, 0xff,0x4e,0x58,0x8c,0xff,0x4a,0x53,0x7a,0xff,0x85,0x90,0xac,0xff,0x72,0x86,0xa2, 0xff,0x61,0x73,0x97,0xff,0x42,0x53,0x7e,0xff,0x3e,0x47,0x6c,0xff,0x71,0x71,0x83, 0xff,0x54,0x59,0x68,0xff,0x2d,0x30,0x3c,0xff,0x35,0x36,0x40,0xff,0x81,0x83,0x92, 0xff,0x4c,0x55,0x78,0xff,0x4d,0x5a,0x8a,0xff,0x4b,0x59,0x89,0xff,0x4f,0x5f,0x8f, 0xff,0x5a,0x70,0xa0,0xff,0x65,0x7a,0xae,0xff,0x75,0x8b,0xbf,0xff,0x81,0x9a,0xcc, 0xff,0x7e,0x97,0xca,0xff,0x6a,0x84,0xba,0xff,0x54,0x68,0xa9,0xff,0x54,0x67,0xa3, 0xff,0x51,0x60,0x8c,0xff,0x52,0x5a,0x71,0xff,0x2f,0x34,0x43,0xff,0x35,0x39,0x45, 0xff,0x8a,0x8f,0x9a,0xff,0x80,0x88,0x9e,0xff,0x4e,0x5e,0x8c,0xff,0x66,0x7d,0xb3, 0xff,0x82,0x99,0xce,0xff,0x85,0x9e,0xcf,0xff,0x86,0xa0,0xd1,0xff,0x8a,0xa0,0xcd, 0xff,0x56,0x5d,0x7f,0xff,0x61,0x6c,0xa0,0xff,0x7c,0x8f,0xcb,0xff,0x70,0x7d,0xbc, 0xff,0xea,0xf0,0xf6,0xff,0xfd,0xfe,0xfd,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xfc,0xfe,0xfe,0xff,0xfe,0xfe,0xfd,0xff,0xd6,0xdd,0xe4, 0xff,0x89,0x95,0xab,0xff,0x5a,0x64,0x7e,0xff,0x81,0x89,0xa6,0xff,0x77,0x82,0xa1, 0xff,0x6f,0x81,0xa3,0xff,0x61,0x73,0xa0,0xff,0x56,0x65,0x91,0xff,0x4c,0x59,0x7d, 0xff,0x4a,0x53,0x71,0xff,0x3f,0x4a,0x6b,0xff,0x42,0x4e,0x73,0xff,0x4f,0x5a,0x86, 0xff,0x53,0x61,0x95,0xff,0x50,0x60,0x90,0xff,0x4f,0x62,0x92,0xff,0x50,0x64,0x99, 0xff,0x5d,0x6f,0xa5,0xff,0x62,0x78,0xad,0xff,0x66,0x80,0xb5,0xff,0x66,0x82,0xb8, 0xff,0x64,0x80,0xb6,0xff,0x61,0x7d,0xb5,0xff,0x5e,0x79,0xb3,0xff,0x59,0x73,0xad, 0xff,0x5a,0x71,0xa9,0xff,0x53,0x68,0x97,0xff,0x49,0x57,0x84,0xff,0x4d,0x5e,0x89, 0xff,0x59,0x73,0x98,0xff,0x6c,0x83,0xb1,0xff,0x85,0x9b,0xcc,0xff,0x93,0xa6,0xd3, 0xff,0x90,0xa4,0xd1,0xff,0x88,0x9c,0xcd,0xff,0x86,0x9c,0xcd,0xff,0x7e,0x96,0xc8, 0xff,0x46,0x53,0x70,0xff,0x76,0x79,0x80,0xff,0xcc,0xcf,0xd9,0xff,0xe8,0xea,0xf1, 0xff,0xfd,0xfd,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe, 0xff,0xb8,0xb9,0xb8,0xff,0x51,0x59,0x67,0xff,0x7a,0x88,0xa3,0xff,0x77,0x84,0xa1, 0xff,0x6b,0x7b,0x9b,0xff,0x6b,0x7c,0xa0,0xff,0x68,0x78,0xa2,0xff,0x65,0x76,0xa5, 0xff,0x64,0x73,0xa7,0xff,0x5d,0x6f,0xa4,0xff,0x54,0x66,0x9a,0xff,0x52,0x62,0x8e, 0xff,0x4d,0x5c,0x84,0xff,0x4d,0x5e,0x87,0xff,0x54,0x66,0x96,0xff,0x5a,0x6f,0xa3, 0xff,0x65,0x77,0xaf,0xff,0x63,0x77,0xaf,0xff,0x64,0x7d,0xb3,0xff,0x61,0x7b,0xb2, 0xff,0x5f,0x7a,0xb0,0xff,0x62,0x75,0xa7,0xff,0x5e,0x6e,0x9f,0xff,0x5f,0x6f,0x9e, 0xff,0x5f,0x75,0xa3,0xff,0x62,0x78,0xac,0xff,0x62,0x7a,0xb1,0xff,0x67,0x7f,0xb5, 0xff,0x70,0x87,0xbb,0xff,0x7b,0x92,0xc2,0xff,0x94,0xa2,0xc9,0xff,0x93,0xa0,0xc7, 0xff,0x85,0x95,0xbe,0xff,0x82,0x99,0xc7,0xff,0x87,0x9f,0xcf,0xff,0x79,0x91,0xc9, 0xff,0x4a,0x57,0x81,0xff,0x40,0x44,0x51,0xff,0xd1,0xd6,0xd3,0xff,0xfd,0xfd,0xfe, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0x91,0x92,0x8f,0xff,0x48,0x50,0x61,0xff,0x70,0x80,0xa1,0xff,0x6f,0x7f,0xa0, 0xff,0x5d,0x6c,0x86,0xff,0x57,0x61,0x7b,0xff,0x56,0x5f,0x7b,0xff,0x50,0x59,0x76, 0xff,0x49,0x4d,0x6d,0xff,0x45,0x4b,0x62,0xff,0x3d,0x43,0x55,0xff,0x3e,0x45,0x55, 0xff,0x4d,0x56,0x72,0xff,0x5a,0x67,0x91,0xff,0x66,0x74,0xab,0xff,0x6c,0x7d,0xb4, 0xff,0x70,0x84,0xbb,0xff,0x70,0x84,0xba,0xff,0x6e,0x83,0xb9,0xff,0x6d,0x83,0xb7, 0xff,0x6d,0x83,0xb7,0xff,0x69,0x82,0xb2,0xff,0x68,0x7d,0xaa,0xff,0x5c,0x6d,0x94, 0xff,0x54,0x5f,0x7c,0xff,0x49,0x50,0x68,0xff,0x47,0x50,0x66,0xff,0x4b,0x54,0x6e, 0xff,0x50,0x58,0x76,0xff,0x62,0x6a,0x8b,0xff,0x6e,0x7c,0x9b,0xff,0x73,0x84,0xa5, 0xff,0x7e,0x8f,0xb6,0xff,0x88,0x9f,0xcd,0xff,0x7f,0x99,0xd0,0xff,0x70,0x89,0xc6, 0xff,0x46,0x59,0x84,0xff,0x3d,0x44,0x52,0xff,0xc4,0xc8,0xc8,0xff,0xfe,0xfe,0xfe, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfd, 0xff,0x7a,0x7b,0x7a,0xff,0x3e,0x47,0x56,0xff,0x5e,0x73,0x94,0xff,0x6a,0x7e,0xa1, 0xff,0x6f,0x81,0xa5,0xff,0x6a,0x79,0x98,0xff,0x56,0x64,0x7d,0xff,0x52,0x5e,0x72, 0xff,0x53,0x5f,0x6e,0xff,0x5a,0x67,0x78,0xff,0x60,0x6e,0x86,0xff,0x6c,0x7b,0x9b, 0xff,0x77,0x85,0xac,0xff,0x7c,0x8a,0xb8,0xff,0x7e,0x8d,0xbe,0xff,0x81,0x94,0xc0, 0xff,0x81,0x97,0xc4,0xff,0x81,0x97,0xc4,0xff,0x7f,0x94,0xc1,0xff,0x7c,0x91,0xbe, 0xff,0x7f,0x94,0xc1,0xff,0x80,0x93,0xc2,0xff,0x81,0x96,0xc4,0xff,0x83,0x98,0xc2, 0xff,0x8d,0x9f,0xc4,0xff,0x8a,0x9b,0xbd,0xff,0x86,0x98,0xb6,0xff,0x83,0x96,0xb5, 0xff,0x84,0x96,0xb7,0xff,0x82,0x96,0xb5,0xff,0x8d,0xa3,0xc6,0xff,0x96,0xac,0xd5, 0xff,0x8d,0xa4,0xd3,0xff,0x7f,0x9b,0xcf,0xff,0x74,0x93,0xcc,0xff,0x62,0x7a,0xb4, 0xff,0x4e,0x57,0x80,0xff,0x3f,0x44,0x53,0xff,0x85,0x89,0x89,0xff,0xfd,0xfd,0xfd, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfa,0xfa,0xfa, 0xff,0x64,0x66,0x65,0xff,0x3d,0x44,0x4d,0xff,0x56,0x68,0x87,0xff,0x63,0x76,0x9c, 0xff,0x69,0x7c,0xa2,0xff,0x68,0x7d,0xa6,0xff,0x6e,0x85,0xac,0xff,0x71,0x89,0xac, 0xff,0x79,0x8c,0xaf,0xff,0x76,0x8d,0xb0,0xff,0x78,0x91,0xb4,0xff,0x80,0x96,0xba, 0xff,0x8c,0x9e,0xc3,0xff,0x8d,0x9f,0xc3,0xff,0x8c,0x9f,0xc3,0xff,0x91,0xa3,0xc7, 0xff,0x97,0xa6,0xc8,0xff,0x96,0xa6,0xc8,0xff,0x8d,0x9e,0xc3,0xff,0x85,0x98,0xbf, 0xff,0x87,0x9a,0xc1,0xff,0x93,0xa4,0xca,0xff,0x97,0xa7,0xce,0xff,0x99,0xa9,0xcf, 0xff,0x99,0xab,0xd0,0xff,0x96,0xad,0xd1,0xff,0x93,0xad,0xd2,0xff,0x94,0xae,0xd5, 0xff,0x93,0xae,0xd4,0xff,0x95,0xae,0xd5,0xff,0x95,0xad,0xd8,0xff,0x91,0xa9,0xd7, 0xff,0x84,0xa0,0xd1,0xff,0x79,0x97,0xcc,0xff,0x6f,0x8d,0xc6,0xff,0x5c,0x73,0xa7, 0xff,0x4c,0x52,0x74,0xff,0x3f,0x43,0x52,0xff,0x49,0x4f,0x4e,0xff,0xe5,0xe6,0xe6, 0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xd3,0xd3,0xd3, 0xff,0x3b,0x40,0x3d,0xff,0x39,0x3e,0x44,0xff,0x54,0x61,0x7b,0xff,0x60,0x74,0x9a, 0xff,0x63,0x79,0xa2,0xff,0x61,0x7e,0xa5,0xff,0x60,0x80,0xa8,0xff,0x65,0x84,0xab, 0xff,0x6a,0x89,0xae,0xff,0x6c,0x8c,0xb0,0xff,0x72,0x90,0xb4,0xff,0x7c,0x96,0xba, 0xff,0x80,0x99,0xbd,0xff,0x82,0x9a,0xbf,0xff,0x7f,0x95,0xbb,0xff,0x88,0x9a,0xc1, 0xff,0x8b,0x9f,0xc3,0xff,0x83,0x99,0xc0,0xff,0x80,0x95,0xbd,0xff,0x7f,0x93,0xbb, 0xff,0x84,0x98,0xc0,0xff,0x91,0xa2,0xc6,0xff,0x97,0xa8,0xcb,0xff,0x96,0xa7,0xcc, 0xff,0x93,0xa6,0xcf,0xff,0x90,0xa7,0xcf,0xff,0x8b,0xa8,0xd1,0xff,0x89,0xa8,0xd2, 0xff,0x8a,0xa8,0xd3,0xff,0x8f,0xaa,0xd3,0xff,0x90,0xaa,0xd5,0xff,0x8c,0xa7,0xd5, 0xff,0x81,0x9f,0xd1,0xff,0x79,0x96,0xcc,0xff,0x72,0x91,0xc6,0xff,0x5e,0x74,0xa3, 0xff,0x4a,0x54,0x70,0xff,0x3a,0x3d,0x49,0xff,0x35,0x3a,0x3b,0xff,0xa3,0xa6,0xa6, 0xff,0xfd,0xfd,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfd,0xfd,0xfd,0xff,0x8d,0x8d,0x8d, 0xff,0x2b,0x31,0x2f,0xff,0x2f,0x34,0x3a,0xff,0x4d,0x5a,0x74,0xff,0x63,0x77,0x9d, 0xff,0x63,0x7a,0xa5,0xff,0x60,0x7e,0xa5,0xff,0x5d,0x7d,0xa6,0xff,0x61,0x81,0xaa, 0xff,0x61,0x81,0xab,0xff,0x63,0x83,0xad,0xff,0x66,0x82,0xad,0xff,0x6a,0x81,0xaf, 0xff,0x6a,0x81,0xae,0xff,0x66,0x80,0xaf,0xff,0x68,0x81,0xb1,0xff,0x6f,0x84,0xb4, 0xff,0x74,0x8b,0xb9,0xff,0x6e,0x87,0xb8,0xff,0x6f,0x87,0xb8,0xff,0x76,0x8a,0xb9, 0xff,0x7a,0x8f,0xbd,0xff,0x81,0x98,0xc6,0xff,0x81,0x99,0xc6,0xff,0x84,0x9b,0xc8, 0xff,0x85,0x9b,0xca,0xff,0x84,0x9e,0xcc,0xff,0x84,0xa3,0xce,0xff,0x85,0xa5,0xd0, 0xff,0x87,0xa7,0xd2,0xff,0x8d,0xa9,0xd2,0xff,0x91,0xad,0xd6,0xff,0x8c,0xa8,0xd4, 0xff,0x82,0xa0,0xd1,0xff,0x7d,0x99,0xce,0xff,0x78,0x93,0xc7,0xff,0x67,0x78,0xa7, 0xff,0x48,0x50,0x6b,0xff,0x37,0x39,0x44,0xff,0x2e,0x33,0x36,0xff,0x59,0x5d,0x5c, 0xff,0xf4,0xf4,0xf4,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xf6,0xf6,0xf6,0xff,0x76,0x76,0x76, 0xff,0x2c,0x31,0x31,0xff,0x2a,0x2d,0x33,0xff,0x48,0x4f,0x67,0xff,0x60,0x79,0x9b, 0xff,0x68,0x7e,0xa9,0xff,0x67,0x82,0xa8,0xff,0x68,0x86,0xab,0xff,0x66,0x87,0xac, 0xff,0x64,0x85,0xab,0xff,0x61,0x81,0xaa,0xff,0x64,0x81,0xae,0xff,0x64,0x7e,0xae, 0xff,0x65,0x7f,0xaf,0xff,0x66,0x81,0xaf,0xff,0x68,0x83,0xb0,0xff,0x6c,0x86,0xb3, 0xff,0x6c,0x85,0xb4,0xff,0x67,0x84,0xb3,0xff,0x71,0x89,0xb7,0xff,0x76,0x90,0xbd, 0xff,0x79,0x92,0xbf,0xff,0x76,0x92,0xc0,0xff,0x79,0x95,0xc4,0xff,0x79,0x96,0xc5, 0xff,0x79,0x97,0xc6,0xff,0x7d,0x9a,0xc9,0xff,0x82,0x9e,0xcc,0xff,0x88,0xa3,0xd0, 0xff,0x8d,0xa9,0xd2,0xff,0x8f,0xab,0xd3,0xff,0x90,0xac,0xd5,0xff,0x8e,0xa9,0xd3, 0xff,0x8a,0xa3,0xd2,0xff,0x82,0x9e,0xd0,0xff,0x78,0x97,0xc8,0xff,0x67,0x76,0xa4, 0xff,0x42,0x44,0x59,0xff,0x36,0x3b,0x3f,0xff,0x30,0x35,0x38,0xff,0x41,0x45,0x46, 0xff,0xd4,0xd5,0xd5,0xff,0xff,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xf9,0xf9,0xf9,0xff,0x76,0x77,0x77, 0xff,0x2c,0x2f,0x31,0xff,0x25,0x29,0x29,0xff,0x31,0x3b,0x46,0xff,0x5a,0x74,0x90, 0xff,0x6c,0x84,0xaa,0xff,0x6b,0x85,0xaa,0xff,0x6b,0x88,0xad,0xff,0x68,0x8a,0xae, 0xff,0x67,0x88,0xad,0xff,0x66,0x87,0xaf,0xff,0x63,0x83,0xaf,0xff,0x62,0x83,0xb1, 0xff,0x64,0x84,0xb2,0xff,0x6b,0x88,0xb4,0xff,0x70,0x8b,0xb7,0xff,0x73,0x8e,0xb9, 0xff,0x71,0x8d,0xb6,0xff,0x6e,0x8c,0xb5,0xff,0x78,0x8f,0xbb,0xff,0x7e,0x94,0xc1, 0xff,0x80,0x96,0xc2,0xff,0x7e,0x96,0xc1,0xff,0x7f,0x98,0xc2,0xff,0x82,0x9b,0xc6, 0xff,0x80,0x9d,0xcc,0xff,0x80,0x9e,0xcd,0xff,0x86,0xa1,0xd0,0xff,0x8e,0xa8,0xd5, 0xff,0x8f,0xab,0xd4,0xff,0x90,0xac,0xd5,0xff,0x91,0xad,0xd6,0xff,0x90,0xaa,0xd4, 0xff,0x8a,0xa3,0xd1,0xff,0x7f,0x9b,0xcc,0xff,0x77,0x94,0xc2,0xff,0x54,0x61,0x86, 0xff,0x32,0x35,0x3a,0xff,0x33,0x38,0x3b,0xff,0x2f,0x33,0x36,0xff,0x3c,0x41,0x42, 0xff,0xbb,0xbc,0xbc,0xff,0xfe,0xfd,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfd,0xfd,0xfd,0xff,0xa4,0xa4,0xa4, 0xff,0x2f,0x33,0x32,0xff,0x22,0x27,0x26,0xff,0x1f,0x25,0x27,0xff,0x46,0x51,0x6c, 0xff,0x6a,0x7f,0xa4,0xff,0x6f,0x86,0xaa,0xff,0x70,0x8a,0xae,0xff,0x6c,0x8a,0xad, 0xff,0x67,0x89,0xad,0xff,0x68,0x8a,0xae,0xff,0x67,0x88,0xae,0xff,0x69,0x89,0xb3, 0xff,0x6c,0x8c,0xb6,0xff,0x70,0x8d,0xb7,0xff,0x74,0x90,0xb8,0xff,0x76,0x93,0xb8, 0xff,0x77,0x8f,0xb9,0xff,0x78,0x90,0xba,0xff,0x7f,0x95,0xc0,0xff,0x88,0x9c,0xc6, 0xff,0x89,0x9f,0xc5,0xff,0x8c,0xa0,0xc5,0xff,0x92,0xa6,0xcb,0xff,0x92,0xa5,0xcb, 0xff,0x8c,0xa2,0xcb,0xff,0x8a,0xa4,0xcc,0xff,0x8e,0xaa,0xd2,0xff,0x91,0xad,0xd5, 0xff,0x92,0xad,0xd5,0xff,0x92,0xaf,0xd4,0xff,0x91,0xae,0xd3,0xff,0x8d,0xab,0xd2, 0xff,0x83,0xa2,0xcf,0xff,0x7d,0x9a,0xcb,0xff,0x6c,0x84,0xb4,0xff,0x37,0x3b,0x52, 0xff,0x2d,0x31,0x34,0xff,0x33,0x36,0x3a,0xff,0x32,0x35,0x39,0xff,0x3f,0x43,0x44, 0xff,0xbf,0xc0,0xc0,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xc6,0xc6,0xc6, 0xff,0x41,0x46,0x45,0xff,0x23,0x29,0x28,0xff,0x1c,0x21,0x22,0xff,0x23,0x25,0x2d, 0xff,0x4b,0x57,0x75,0xff,0x66,0x80,0xa4,0xff,0x6f,0x8a,0xac,0xff,0x69,0x89,0xab, 0xff,0x67,0x88,0xab,0xff,0x69,0x89,0xae,0xff,0x6b,0x8a,0xaf,0xff,0x6d,0x8d,0xb2, 0xff,0x70,0x90,0xb6,0xff,0x73,0x92,0xb4,0xff,0x72,0x90,0xb4,0xff,0x71,0x8e,0xb5, 0xff,0x77,0x91,0xba,0xff,0x7a,0x93,0xbd,0xff,0x83,0x97,0xc0,0xff,0x91,0xa3,0xc6, 0xff,0x97,0xaa,0xc9,0xff,0x94,0xa9,0xc8,0xff,0x97,0xac,0xcb,0xff,0x9a,0xae,0xce, 0xff,0x99,0xac,0xcf,0xff,0x95,0xac,0xcf,0xff,0x94,0xad,0xd1,0xff,0x96,0xae,0xd2, 0xff,0x97,0xb0,0xd4,0xff,0x92,0xae,0xd3,0xff,0x8f,0xac,0xd2,0xff,0x89,0xa7,0xd0, 0xff,0x7e,0x9e,0xcb,0xff,0x71,0x8d,0xbf,0xff,0x45,0x51,0x72,0xff,0x2b,0x2c,0x2f, 0xff,0x2a,0x2d,0x2f,0xff,0x2d,0x31,0x34,0xff,0x34,0x38,0x3a,0xff,0x63,0x67,0x68, 0xff,0xd9,0xda,0xda,0xff,0xfe,0xfd,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xe6,0xe6,0xe6, 0xff,0x6d,0x70,0x70,0xff,0x2c,0x30,0x2f,0xff,0x22,0x27,0x26,0xff,0x20,0x21,0x20, 0xff,0x21,0x24,0x2c,0xff,0x49,0x57,0x70,0xff,0x60,0x76,0x98,0xff,0x55,0x6c,0x8e, 0xff,0x55,0x6b,0x8e,0xff,0x5c,0x71,0x99,0xff,0x64,0x7a,0xa2,0xff,0x66,0x7f,0xa5, 0xff,0x64,0x80,0xa9,0xff,0x63,0x80,0xa9,0xff,0x63,0x7f,0xa8,0xff,0x66,0x83,0xab, 0xff,0x6e,0x8b,0xb1,0xff,0x78,0x92,0xb8,0xff,0x89,0x9d,0xbf,0xff,0xa2,0xb0,0xc6, 0xff,0xa4,0xb5,0xca,0xff,0x9d,0xb2,0xcc,0xff,0x9b,0xb0,0xcb,0xff,0x9c,0xb0,0xcc, 0xff,0x9d,0xb1,0xcf,0xff,0x98,0xaf,0xd1,0xff,0x94,0xae,0xd2,0xff,0x91,0xab,0xd0, 0xff,0x91,0xab,0xd0,0xff,0x8f,0xa8,0xd1,0xff,0x87,0xa4,0xd0,0xff,0x7e,0x9b,0xcb, 0xff,0x71,0x8c,0xbd,0xff,0x48,0x58,0x7c,0xff,0x25,0x29,0x33,0xff,0x27,0x2a,0x2d, 0xff,0x2a,0x2e,0x2e,0xff,0x2f,0x34,0x33,0xff,0x3a,0x3f,0x3e,0xff,0x86,0x89,0x88, 0xff,0xf0,0xf0,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xea,0xea,0xea, 0xff,0xa1,0xa4,0xa0,0xff,0x3f,0x41,0x40,0xff,0x25,0x28,0x29,0xff,0x1e,0x24,0x25, 0xff,0x1e,0x21,0x21,0xff,0x25,0x26,0x29,0xff,0x3e,0x46,0x58,0xff,0x45,0x4d,0x64, 0xff,0x3e,0x43,0x5a,0xff,0x37,0x3b,0x54,0xff,0x39,0x3e,0x58,0xff,0x3d,0x46,0x61, 0xff,0x3e,0x49,0x65,0xff,0x3d,0x50,0x72,0xff,0x3f,0x54,0x79,0xff,0x43,0x58,0x7e, 0xff,0x4d,0x60,0x88,0xff,0x5b,0x6a,0x97,0xff,0x68,0x77,0xa4,0xff,0x7d,0x8d,0xb2, 0xff,0x8b,0x9f,0xbf,0xff,0x8d,0xa3,0xc2,0xff,0x94,0xaa,0xc6,0xff,0x99,0xae,0xc9, 0xff,0x9a,0xae,0xcd,0xff,0x94,0xab,0xcc,0xff,0x8f,0xa9,0xce,0xff,0x8a,0xa5,0xcd, 0xff,0x85,0xa0,0xc8,0xff,0x7d,0x93,0xc3,0xff,0x6b,0x86,0xb8,0xff,0x5a,0x72,0xa0, 0xff,0x40,0x4d,0x6f,0xff,0x27,0x2b,0x35,0xff,0x22,0x24,0x2b,0xff,0x25,0x28,0x2b, 0xff,0x2a,0x2e,0x30,0xff,0x34,0x3b,0x3b,0xff,0x56,0x5b,0x5a,0xff,0xae,0xb0,0xaf, 0xff,0xfd,0xfd,0xfd,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xf9,0xf9,0xf9, 0xff,0xe3,0xe8,0xe5,0xff,0x8b,0x90,0x8d,0xff,0x38,0x3f,0x3b,0xff,0x22,0x28,0x27, 0xff,0x1e,0x20,0x20,0xff,0x1d,0x1d,0x1d,0xff,0x1f,0x22,0x23,0xff,0x2d,0x31,0x36, 0xff,0x32,0x37,0x3d,0xff,0x2a,0x2e,0x35,0xff,0x24,0x28,0x2d,0xff,0x22,0x28,0x2a, 0xff,0x22,0x28,0x2a,0xff,0x23,0x28,0x2d,0xff,0x28,0x2c,0x35,0xff,0x2f,0x32,0x3e, 0xff,0x2f,0x35,0x41,0xff,0x37,0x3b,0x4b,0xff,0x40,0x46,0x5a,0xff,0x4f,0x57,0x71, 0xff,0x5d,0x66,0x89,0xff,0x65,0x73,0x98,0xff,0x65,0x78,0x9e,0xff,0x6b,0x81,0xa7, 0xff,0x6f,0x85,0xae,0xff,0x6c,0x86,0xaf,0xff,0x6b,0x88,0xb2,0xff,0x65,0x83,0xae, 0xff,0x5e,0x7c,0xa7,0xff,0x54,0x6a,0x91,0xff,0x48,0x53,0x74,0xff,0x34,0x3b,0x4c, 0xff,0x29,0x30,0x32,0xff,0x24,0x28,0x28,0xff,0x2a,0x2d,0x31,0xff,0x31,0x34,0x38, 0xff,0x36,0x39,0x3d,0xff,0x43,0x48,0x4a,0xff,0x77,0x79,0x78,0xff,0xcf,0xcf,0xcd, 0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe, 0xff,0xfc,0xfd,0xfd,0xff,0xe8,0xea,0xe9,0xff,0xb2,0xb5,0xb2,0xff,0x5d,0x60,0x5d, 0xff,0x30,0x31,0x2e,0xff,0x1b,0x1c,0x1a,0xff,0x18,0x19,0x18,0xff,0x1d,0x1d,0x1b, 0xff,0x22,0x25,0x27,0xff,0x28,0x2b,0x2d,0xff,0x23,0x26,0x28,0xff,0x22,0x26,0x26, 0xff,0x25,0x28,0x29,0xff,0x25,0x28,0x25,0xff,0x25,0x27,0x25,0xff,0x28,0x2a,0x2a, 0xff,0x28,0x2c,0x2e,0xff,0x2a,0x2f,0x2f,0xff,0x2c,0x30,0x31,0xff,0x30,0x33,0x38, 0xff,0x37,0x3a,0x41,0xff,0x3d,0x40,0x4c,0xff,0x3e,0x47,0x55,0xff,0x46,0x53,0x65, 0xff,0x4c,0x58,0x75,0xff,0x48,0x54,0x74,0xff,0x4a,0x5a,0x76,0xff,0x47,0x56,0x75, 0xff,0x3e,0x4f,0x6a,0xff,0x37,0x3b,0x4f,0xff,0x2f,0x30,0x39,0xff,0x27,0x2c,0x2b, 0xff,0x25,0x28,0x2a,0xff,0x25,0x2a,0x29,0xff,0x2d,0x2f,0x2f,0xff,0x38,0x3a,0x3b, 0xff,0x45,0x46,0x47,0xff,0x71,0x74,0x6f,0xff,0xba,0xba,0xb7,0xff,0xfa,0xfa,0xf8, 0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfd,0xff,0xed,0xed,0xec,0xff,0xa3,0xa4,0xa0, 0xff,0x47,0x48,0x44,0xff,0x24,0x25,0x23,0xff,0x1b,0x1b,0x1b,0xff,0x17,0x18,0x18, 0xff,0x17,0x1b,0x1b,0xff,0x1c,0x21,0x20,0xff,0x1b,0x20,0x1f,0xff,0x1e,0x23,0x22, 0xff,0x20,0x25,0x24,0xff,0x22,0x24,0x23,0xff,0x25,0x25,0x25,0xff,0x27,0x28,0x28, 0xff,0x26,0x2b,0x2a,0xff,0x22,0x27,0x26,0xff,0x22,0x26,0x27,0xff,0x22,0x25,0x29, 0xff,0x27,0x2a,0x2e,0xff,0x2b,0x2c,0x31,0xff,0x2c,0x30,0x34,0xff,0x2b,0x32,0x35, 0xff,0x2d,0x33,0x35,0xff,0x2c,0x30,0x37,0xff,0x32,0x36,0x3b,0xff,0x2c,0x2e,0x37, 0xff,0x27,0x2a,0x2e,0xff,0x20,0x23,0x26,0xff,0x1c,0x20,0x21,0xff,0x1d,0x22,0x21, 0xff,0x22,0x27,0x26,0xff,0x2a,0x2f,0x2e,0xff,0x3f,0x41,0x3e,0xff,0x71,0x73,0x6e, 0xff,0xae,0xaf,0xab,0xff,0xe0,0xe2,0xdd,0xff,0xfb,0xfb,0xfb,0xff,0xfe,0xfe,0xfe, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xf5,0xf5,0xf5, 0xff,0x8c,0x8d,0x8b,0xff,0x3f,0x40,0x3e,0xff,0x24,0x24,0x24,0xff,0x1e,0x1e,0x1e, 0xff,0x1d,0x1d,0x1d,0xff,0x1d,0x1d,0x1d,0xff,0x1c,0x1f,0x1f,0xff,0x1d,0x23,0x22, 0xff,0x1e,0x20,0x20,0xff,0x1f,0x1f,0x1f,0xff,0x1c,0x1c,0x1c,0xff,0x1f,0x20,0x20, 0xff,0x1f,0x20,0x1f,0xff,0x22,0x23,0x23,0xff,0x23,0x23,0x23,0xff,0x20,0x21,0x21, 0xff,0x24,0x25,0x26,0xff,0x2a,0x2a,0x2a,0xff,0x26,0x26,0x27,0xff,0x26,0x26,0x27, 0xff,0x27,0x27,0x27,0xff,0x24,0x25,0x25,0xff,0x1f,0x20,0x23,0xff,0x1d,0x20,0x24, 0xff,0x19,0x1c,0x1f,0xff,0x16,0x1b,0x1a,0xff,0x1e,0x23,0x22,0xff,0x24,0x29,0x27, 0xff,0x36,0x3b,0x37,0xff,0x52,0x58,0x53,0xff,0x84,0x87,0x81,0xff,0xa2,0xa4,0x9e, 0xff,0xd5,0xd7,0xd1,0xff,0xf9,0xf9,0xf8,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe, 0xff,0xe5,0xe5,0xe4,0xff,0x9e,0x9f,0x9d,0xff,0x5b,0x5b,0x5b,0xff,0x34,0x34,0x34, 0xff,0x2c,0x2c,0x2c,0xff,0x2b,0x2b,0x2b,0xff,0x25,0x28,0x27,0xff,0x1d,0x22,0x21, 0xff,0x1c,0x1e,0x1e,0xff,0x1b,0x1b,0x1b,0xff,0x1d,0x1d,0x1d,0xff,0x22,0x22,0x21, 0xff,0x22,0x22,0x22,0xff,0x21,0x21,0x21,0xff,0x22,0x22,0x22,0xff,0x26,0x26,0x26, 0xff,0x29,0x29,0x29,0xff,0x26,0x26,0x26,0xff,0x28,0x28,0x28,0xff,0x28,0x28,0x28, 0xff,0x2a,0x2a,0x2a,0xff,0x27,0x27,0x27,0xff,0x27,0x28,0x2b,0xff,0x20,0x23,0x26, 0xff,0x1e,0x21,0x24,0xff,0x21,0x25,0x25,0xff,0x2e,0x33,0x32,0xff,0x49,0x4e,0x4c, 0xff,0x81,0x87,0x82,0xff,0xad,0xb3,0xae,0xff,0xdf,0xe0,0xde,0xff,0xf9,0xf9,0xf8, 0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff, 0xff,0xff,0xff,0xfe,0xff,0xfb,0xfb,0xf9,0xff,0xdd,0xdf,0xda,0xff,0xae,0xb0,0xab, 0xff,0x80,0x87,0x82,0xff,0x50,0x54,0x4f,0xff,0x3f,0x42,0x3f,0xff,0x2b,0x30,0x2f, 0xff,0x25,0x2a,0x29,0xff,0x25,0x27,0x24,0xff,0x28,0x29,0x25,0xff,0x27,0x28,0x24, 0xff,0x22,0x22,0x22,0xff,0x23,0x23,0x23,0xff,0x2b,0x2b,0x2a,0xff,0x2e,0x2f,0x2b, 0xff,0x29,0x2a,0x26,0xff,0x2b,0x2b,0x2b,0xff,0x2e,0x2e,0x2e,0xff,0x2b,0x2b,0x2b, 0xff,0x2a,0x2b,0x2b,0xff,0x2c,0x2d,0x2d,0xff,0x2c,0x2c,0x2c,0xff,0x2f,0x2f,0x2f, 0xff,0x42,0x42,0x42,0xff,0x61,0x62,0x5e,0xff,0x82,0x83,0x7f,0xff,0x9f,0x9f,0x9d, 0xff,0xdc,0xdc,0xdc,0xff,0xf6,0xf6,0xf6,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfd, 0xff,0xe1,0xe1,0xde,0xff,0xc0,0xc4,0xc0,0xff,0xa4,0xaa,0xa7,0xff,0x61,0x65,0x63, 0xff,0x39,0x3d,0x3b,0xff,0x2e,0x31,0x2d,0xff,0x2e,0x30,0x2c,0xff,0x2d,0x2f,0x2b, 0xff,0x2f,0x2f,0x2f,0xff,0x2d,0x2d,0x2d,0xff,0x2c,0x2d,0x2b,0xff,0x29,0x2b,0x28, 0xff,0x27,0x29,0x26,0xff,0x2d,0x2d,0x2d,0xff,0x2e,0x2e,0x2e,0xff,0x32,0x33,0x33, 0xff,0x32,0x38,0x37,0xff,0x39,0x3f,0x3e,0xff,0x4c,0x4e,0x4e,0xff,0x78,0x78,0x78, 0xff,0xac,0xac,0xac,0xff,0xd0,0xd1,0xce,0xff,0xe9,0xea,0xe7,0xff,0xfc,0xfc,0xfa, 0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xfe,0xfe,0xfe,0xff,0xfc,0xfc,0xfc,0xff,0xf4,0xf4,0xf3,0xff,0xdb,0xdd,0xd8, 0xff,0xb4,0xb6,0xb2,0xff,0x50,0x55,0x50,0xff,0x37,0x3d,0x38,0xff,0x2a,0x30,0x2b, 0xff,0x33,0x33,0x33,0xff,0x38,0x38,0x38,0xff,0x33,0x35,0x35,0xff,0x2f,0x34,0x33, 0xff,0x30,0x35,0x34,0xff,0x36,0x37,0x35,0xff,0x4c,0x4c,0x4a,0xff,0x60,0x61,0x5e, 0xff,0x8e,0x91,0x8b,0xff,0xbf,0xc2,0xbd,0xff,0xca,0xcc,0xca,0xff,0xeb,0xeb,0xeb, 0xff,0xf7,0xf7,0xf7,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfd, 0xff,0xfd,0xfe,0xfd,0xff,0xdd,0xe0,0xde,0xff,0xa4,0xa7,0xa4,0xff,0x63,0x66,0x63, 0xff,0x45,0x45,0x45,0xff,0x51,0x51,0x51,0xff,0x55,0x57,0x55,0xff,0x65,0x69,0x65, 0xff,0x81,0x84,0x81,0xff,0xb0,0xb2,0xae,0xff,0xd3,0xd4,0xd0,0xff,0xef,0xef,0xec, 0xff,0xfc,0xfb,0xfb,0xff,0xfe,0xfc,0xfc,0xff,0xfe,0xfe,0xfe,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfd,0xfd,0xfd, 0xff,0xd6,0xd6,0xd6,0xff,0xc8,0xc8,0xc8,0xff,0xe8,0xe9,0xe7,0xff,0xf8,0xf9,0xf6, 0xff,0xfd,0xfd,0xfa,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe,0xff,0xfe,0xfe,0xfe, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, // C:/Users/andgc/Desktop/VisualClipper/VisualClipper/VisualClipper.ico 0x0,0x0,0x0,0xf1, 0x0, 0x0,0x6,0x7e,0x78,0x9c,0xed,0xd0,0x31,0x6b,0x2,0x41,0x10,0x5,0xe0,0x11,0x82, 0xb5,0x95,0xa4,0xb1,0xb1,0xa,0x6,0xc2,0xfd,0x24,0xa3,0x42,0x52,0x6b,0x71,0x45, 0xc,0x5e,0x61,0x6f,0x9b,0x10,0xac,0x6c,0x25,0x8d,0x85,0x88,0x88,0x7,0x96,0x82, 0x7d,0x8,0xba,0xd8,0x28,0x28,0xb9,0x53,0x44,0x57,0x14,0x5c,0xdf,0xec,0x58,0xa7, 0x8a,0xa4,0xb9,0x37,0x3b,0xfb,0x2d,0x53,0x2c,0xcb,0x12,0xc5,0x50,0x8e,0x93,0x20, 0xa2,0x1b,0x7a,0x8e,0x13,0x25,0x71,0xba,0x43,0x3b,0xe8,0x2c,0x3a,0x86,0x39,0xc7, 0x13,0x6c,0x12,0x97,0x96,0x78,0x76,0x91,0xe7,0x9,0x5c,0x38,0xf8,0xbe,0xf,0x79, 0x62,0xec,0x22,0x63,0x4,0x2e,0x1e,0xf1,0x16,0x25,0x4a,0x94,0x28,0xff,0x14,0x63, 0x73,0xd,0x6b,0x35,0x51,0x29,0x31,0xc,0xd9,0xe9,0xec,0x71,0xba,0x56,0x44,0x93, 0xc5,0x67,0x10,0xc0,0xbe,0xeb,0xba,0xf9,0x10,0x6a,0xb7,0xdd,0xb4,0x96,0x5a,0xed, 0x27,0x78,0xec,0x74,0x5a,0x45,0x78,0x48,0xe7,0xca,0x5,0x22,0xd5,0x95,0x7b,0x55, 0x4f,0x9c,0xa7,0xfa,0xd6,0xfd,0xd7,0xef,0xef,0xd0,0xb3,0xdb,0xb7,0x77,0xb8,0x59, 0x2c,0xef,0x33,0x70,0xbb,0xfb,0xf9,0xa8,0xb3,0xba,0xfe,0x3d,0x86,0x3b,0xfd,0x3a, 0x66,0xf5,0x4b,0x31,0x18,0xc1,0x63,0xa3,0x1a,0x3e,0xb0,0xb8,0xfe,0xc4,0xe2,0xf5, 0xa6,0x2,0x87,0xe2,0x6a,0x80,0x79,0xe5,0xef,0xfe,0xe9,0xc,0x93,0xda,0x19,0xf0, }; static const unsigned char qt_resource_name[] = { // VisualClipper 0x0,0xd, 0x4,0x25,0x7,0xa2, 0x0,0x56, 0x0,0x69,0x0,0x73,0x0,0x75,0x0,0x61,0x0,0x6c,0x0,0x43,0x0,0x6c,0x0,0x69,0x0,0x70,0x0,0x70,0x0,0x65,0x0,0x72, // forward.png 0x0,0xb, 0x8,0x5d,0x84,0xe7, 0x0,0x66, 0x0,0x6f,0x0,0x72,0x0,0x77,0x0,0x61,0x0,0x72,0x0,0x64,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67, // reverse.png 0x0,0xb, 0x9,0x69,0xce,0xc7, 0x0,0x72, 0x0,0x65,0x0,0x76,0x0,0x65,0x0,0x72,0x0,0x73,0x0,0x65,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67, // gaochong.ico 0x0,0xc, 0xb,0xfa,0xfc,0x7f, 0x0,0x67, 0x0,0x61,0x0,0x6f,0x0,0x63,0x0,0x68,0x0,0x6f,0x0,0x6e,0x0,0x67,0x0,0x2e,0x0,0x69,0x0,0x63,0x0,0x6f, // VisualClipper.ico 0x0,0x11, 0x7,0xad,0x5,0x9f, 0x0,0x56, 0x0,0x69,0x0,0x73,0x0,0x75,0x0,0x61,0x0,0x6c,0x0,0x43,0x0,0x6c,0x0,0x69,0x0,0x70,0x0,0x70,0x0,0x65,0x0,0x72,0x0,0x2e,0x0,0x69,0x0,0x63,0x0,0x6f, }; static const unsigned char qt_resource_struct[] = { // : 0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, // :/VisualClipper 0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x4,0x0,0x0,0x0,0x2, 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0, // :/VisualClipper/VisualClipper.ico 0x0,0x0,0x0,0x76,0x0,0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x47,0x47, 0x0,0x0,0x1,0x67,0xa1,0x3,0xd7,0xc, // :/VisualClipper/forward.png 0x0,0x0,0x0,0x20,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0, 0x0,0x0,0x1,0x67,0xa1,0x24,0x8a,0x70, // :/VisualClipper/reverse.png 0x0,0x0,0x0,0x3c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x2,0x8d, 0x0,0x0,0x1,0x67,0xa1,0x24,0xb2,0x40, // :/VisualClipper/gaochong.ico 0x0,0x0,0x0,0x58,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x5,0x5, 0x0,0x0,0x1,0x67,0xa1,0x27,0x66,0xbd, }; #ifdef QT_NAMESPACE # define QT_RCC_PREPEND_NAMESPACE(name) ::QT_NAMESPACE::name # define QT_RCC_MANGLE_NAMESPACE0(x) x # define QT_RCC_MANGLE_NAMESPACE1(a, b) a##_##b # define QT_RCC_MANGLE_NAMESPACE2(a, b) QT_RCC_MANGLE_NAMESPACE1(a,b) # define QT_RCC_MANGLE_NAMESPACE(name) QT_RCC_MANGLE_NAMESPACE2( \ QT_RCC_MANGLE_NAMESPACE0(name), QT_RCC_MANGLE_NAMESPACE0(QT_NAMESPACE)) #else # define QT_RCC_PREPEND_NAMESPACE(name) name # define QT_RCC_MANGLE_NAMESPACE(name) name #endif #ifdef QT_NAMESPACE namespace QT_NAMESPACE { #endif bool qRegisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); bool qUnregisterResourceData(int, const unsigned char *, const unsigned char *, const unsigned char *); #ifdef QT_NAMESPACE } #endif int QT_RCC_MANGLE_NAMESPACE(qInitResources_VisualClipper)(); int QT_RCC_MANGLE_NAMESPACE(qInitResources_VisualClipper)() { QT_RCC_PREPEND_NAMESPACE(qRegisterResourceData) (0x2, qt_resource_struct, qt_resource_name, qt_resource_data); return 1; } int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_VisualClipper)(); int QT_RCC_MANGLE_NAMESPACE(qCleanupResources_VisualClipper)() { QT_RCC_PREPEND_NAMESPACE(qUnregisterResourceData) (0x2, qt_resource_struct, qt_resource_name, qt_resource_data); return 1; } namespace { struct initializer { initializer() { QT_RCC_MANGLE_NAMESPACE(qInitResources_VisualClipper)(); } ~initializer() { QT_RCC_MANGLE_NAMESPACE(qCleanupResources_VisualClipper)(); } } dummy; }
[ "371552045@qq.com" ]
371552045@qq.com