Change the sign of the returned energy
This commit is contained in:
parent
185da8913e
commit
9d731bc489
@ -2407,7 +2407,8 @@ Atrip::Output Atrip::run(Atrip::Input const& in) {
|
||||
LOG(0, "atrip:flops")
|
||||
<< nIterations * doublesFlops / chrono["doubles"].count() << "\n";
|
||||
|
||||
return { energy };
|
||||
// TODO: change the sign in the getEnergy routines
|
||||
return { - globalEnergy };
|
||||
|
||||
}
|
||||
#+end_src
|
||||
|
||||
@ -533,7 +533,8 @@ Atrip::Output Atrip::run(Atrip::Input const& in) {
|
||||
LOG(0, "atrip:flops")
|
||||
<< nIterations * doublesFlops / chrono["doubles"].count() << "\n";
|
||||
|
||||
return { energy };
|
||||
// TODO: change the sign in the getEnergy routines
|
||||
return { - globalEnergy };
|
||||
|
||||
}
|
||||
// Main:1 ends here
|
||||
|
||||
Loading…
Reference in New Issue
Block a user