Remove all results previously stored using setScriptedResults(), setNodeScriptedResults or setGaussScriptedResults. It will subsequently be an error to request a value for such results.
Additionally, 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. It is an error to flush results that do not exist - check first with existsScriptedResults
entity | optional string or long | Name or index of results entity. If not specified, all user results will be flushed |
component | string | Name of results component |
Return value | none |
See also initialiseScriptedResults addScriptedResultsEntity setScriptedResultsEntity specifyResultsUpdateScript setNodeScriptedResults setGaussScriptedResults setScriptedResults startUsingScriptedResults stopUsingScriptedResults flushResults
Back to Database
Back to Overview