Database.flushResults


flushResults()

This routine cleans up all memory used to cache results that have been accessed in the current script using getResults(), or any of the corresponding Element routines. This can be useful when writing scripts for large models, which might otherwise run out of memory. By default, LUSAS Modeller caches any results that have been asked for until the end of the script, in case they are asked for again. Once this function has been called, a further attempt to access the same results again will simply cause a re-calculation of those results.

Argumentsnone 
Return valuenone 

See also getNodeResults getGaussResults getResults

Back to Database

Back to Overview