mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Better logging of Fdt for force gradient
This commit is contained in:
parent
eb552c3ecd
commit
a0d682687e
@ -227,7 +227,8 @@ public:
|
|||||||
// Presently 4 force evals, and should have 3, so 1.33x too expensive.
|
// Presently 4 force evals, and should have 3, so 1.33x too expensive.
|
||||||
// could reduce this with sloppy CG to perhaps 1.15x too expensive
|
// could reduce this with sloppy CG to perhaps 1.15x too expensive
|
||||||
// even without prediction.
|
// even without prediction.
|
||||||
this->update_P(Pfg, Ufg, level, 1.0);
|
this->update_P(Pfg, Ufg, level, fg_dt);
|
||||||
|
Pfg = Pfg*(1.0/fg_dt);
|
||||||
this->update_U(Pfg, Ufg, fg_dt);
|
this->update_U(Pfg, Ufg, fg_dt);
|
||||||
this->update_P(Ufg, level, ep);
|
this->update_P(Ufg, level, ep);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user