Cacheman.m

From Spinach Documentation Wiki
Revision as of 15:31, 24 December 2017 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:cacheman.m.m}} Cache management heuristics. Do not call directly. ==Syntax== cacheman(spin_system) ==Description== Looks after the scratch folder and pr...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Cache management heuristics. Do not call directly.

Syntax

    cacheman(spin_system)

Description

Looks after the scratch folder and prevents it from filling up the disk. The function inspects the /scratch folder in Spinach directory and deletes any files that are older than the threshold (the default is 7 days) specified in the spin_system.tols.cache_mem field.

See also

Appendix_F:_expert-level_options#Propagator caching


Version 2.1, authors: Ilya Kuprov