Skip to content

Commit

Permalink
Update update.EMEWS.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkneller authored Jun 28, 2024
1 parent f9cf23a commit aaa295c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/EMEWS/_ext/update.EMEWS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ vector<vector<MATRIX<complex<double>,NF,NF> > > UpdateSm(double lambdaminus,doub

// multiply by the mixing matrix at rminus
r=sqrt(RE*RE+lambdaminus*lambdaminus-2.*RE*lambdaminus*sin(-altitude));
if(r>RE){ r=RE;}
rrho = rho(r);
YYe = Ye(r);

Expand All @@ -49,6 +50,7 @@ vector<vector<MATRIX<complex<double>,NF,NF> > > UpdateSm(double lambdaminus,doub

// multiply by the adjoint of the mixing matrix at rplus
r=sqrt(RE*RE+lambdaplus*lambdaplus-2.*RE*lambdaplus*sin(-altitude));
if(r>RE){ r=RE;}
rrho = rho(r);
YYe = Ye(r);

Expand Down

0 comments on commit aaa295c

Please sign in to comment.