Functions/Subroutines | |
| logical function | mod_disc_cache::is_cache_available (filename, array) |
| Tells if a file can be used. | |
| subroutine | mod_disc_cache::disc_cache_read_double (filename, array) |
| Read file to array. | |
| subroutine | mod_disc_cache::disc_cache_write_double (filename, array) |
| Write array to file. | |
Store fields to reduce computations in next runs.
Use the disc cache mechanism as follows.
where filename points to the disc cache file, and array is the array to fill. This function checks if the file exists and verify is the cache is compatible, i. e. if you are using the same resolution and the save partitioning.
| subroutine mod_disc_cache::disc_cache_read_double | ( | character(len=*), intent(in) | filename, |
| double precision, dimension(:,:,:), intent(out) | array ) |
Read file to array.
| subroutine mod_disc_cache::disc_cache_write_double | ( | character(len=*), intent(in) | filename, |
| double precision, dimension(:,:,:), intent(in) | array ) |
Write array to file.
| logical function mod_disc_cache::is_cache_available | ( | character(len=*), intent(in) | filename, |
| double precision, dimension(:,:,:), intent(in) | array ) |
Tells if a file can be used.