Page 1 of 1

option in source files

Posted: Fri Feb 12, 2010 7:49 pm
by Christian_L
There is an option in some source files of the 57_iovars directory. The comments say
!! option : if 0 , no test of available memory
!! if 1 , the routine tries to allocate the estimated memory, for testing
!! purposes, and if a failure occurs, the routine stops.
!! if 2 , like 1, but before stopping, the routine will provide
!! an estimation of the available memory.

How do I change this? It is not an input variable like the others in the list.

Re: option in source files

Posted: Fri Feb 12, 2010 9:51 pm
by mverstra
The "option" is just the name of the variable fed to the subroutine, called differently in different cases. See the callin routines (under PARENTS in the header) for the ways it is used now. If you know what you are doing, you can probably change the values in the callers.

Matthieu