Added support for the caching of gradients.

This is controlled by providing a list of the fields to be cached in the "cache"
sub-dictionary of fvSolution.

Debug information about the caching is printed when the solution::debug switch
is on.

There are still a couple of issues to do with the naming of gradients used in
corrected snGrads and limited interpolation schemes that need to be resolved
but these are no different to previously and hence not urgent.
This commit is contained in:
henry
2009-10-26 14:01:39 +00:00
parent d6a278f2b2
commit 00cd6ac8b7
75 changed files with 859 additions and 590 deletions

View File

@ -152,7 +152,7 @@ bool Foam::solution::cache(const word& name) const
{
if (debug)
{
Info<< "Find cache entry for " << name << endl;
Info<< "Cache: find entry for " << name << endl;
}
return cache_.found(name);