mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: changes towards a machine-accurate continuation
Each solver now writes its sensitivity derivatives to its dictionary, enabling also a binary format. If present, the sensitivities are then re-read from the dictionary, avoiding thus possible loss of information due to re-computation. As a side-effect, sensitivities are computed after the completion of each adjoint solver, instead of being computed after all adjoint solvers have been completed.
This commit is contained in:
committed by
Andrew Heather
parent
116309a704
commit
6d2c7ff96b
@ -5,8 +5,8 @@
|
||||
\\ / A nd | www.openfoam.com
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
Copyright (C) 2007-2019 PCOpt/NTUA
|
||||
Copyright (C) 2013-2019 FOSS GP
|
||||
Copyright (C) 2007-2021 PCOpt/NTUA
|
||||
Copyright (C) 2013-2021 FOSS GP
|
||||
Copyright (C) 2019 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -71,9 +71,6 @@ int main(int argc, char *argv[])
|
||||
|
||||
// Solve all adjoint equations
|
||||
om.solveAdjointEquations();
|
||||
|
||||
// Compute all sensitivities
|
||||
om.computeSensitivities();
|
||||
}
|
||||
|
||||
Info<< "End\n" << endl;
|
||||
|
||||
Reference in New Issue
Block a user