Commit affeee041df9bfa091e2f673fe48d676f22d21ca
1 parent
134c5e51
Exists in
master
added noobj keyword
Showing
1 changed file
with
7 additions
and
4 deletions
Show diff stats
src/idl/dustem_init.pro
... | ... | @@ -2,6 +2,7 @@ PRO dustem_init,model=model $ |
2 | 2 | ,wraptest=wraptest $ |
3 | 3 | ,plot_it=plot_it $ |
4 | 4 | ,noerase=noerase $ |
5 | + ,noobj=noobj $ | |
5 | 6 | ,st_model=st_model $ |
6 | 7 | ,polarization=polarization $ |
7 | 8 | ,verbose=verbose $ |
... | ... | @@ -52,7 +53,10 @@ PRO dustem_init,model=model $ |
52 | 53 | ; help = if set, print this help |
53 | 54 | ; verbose = if set, output code diagnostic info (default OFF) |
54 | 55 | ; polarization = set this variables for runs taking polarization into account |
55 | -; noerase : set this keyword to not erase the temporary memory used by dustemwrap | |
56 | +; noerase : set this keyword to not erase the temporary DAT files used by dustemwrap | |
57 | +; noobj : set this keyword to turn off object-oriented | |
58 | +; graphical output when using IDL. Object-oriented | |
59 | +; graphics are OFF by default for GDL and Fawlty. | |
56 | 60 | ; grain_keywords : Fortran grain keywords. Must be an array of Ngrains strings. Use '?' to keep default values. |
57 | 61 | ; |
58 | 62 | ; COMMON BLOCKS: |
... | ... | @@ -105,10 +109,9 @@ IF fawlty THEN defsysv,'!dustemwrap_which_language','fawlty' |
105 | 109 | IF gdl THEN defsysv,'!dustemwrap_which_language','gdl' |
106 | 110 | IF not fawlty and not gdl THEN defsysv,'!dustemwrap_which_language','idl' |
107 | 111 | |
108 | -;use this to let dustemwrap to not use object-oriented graphics | |
109 | -;IF gdl THEN defsysv,'!dustem_noobj',1 ELSE defsysv,'!dustem_noobj',0 | |
112 | +;Control of object-oriented graphics | |
110 | 113 | IF fawlty OR gdl THEN defsysv,'!dustem_noobj',1 ELSE defsysv,'!dustem_noobj',0 |
111 | -;defsysv,'!dustem_noobj',1 | |
114 | +IF keyword_set(noobj) then defsysv,'!dustem_noobj',1 | |
112 | 115 | |
113 | 116 | un_mouchard={iteration:0L,chi2:0.d0,rchi2:0.d0,parameters_descriptions:ptr_new(),parameters_values:ptr_new()} |
114 | 117 | mouchard=ptr_new(replicate(un_mouchard,1)) | ... | ... |