preprocessor: add nograph option to shock_decomposition. closes #1290

time-shift
Houtan Bastani 2016-09-23 17:44:36 +02:00
parent e09b4571d7
commit c6f4af8894
2 changed files with 5 additions and 0 deletions

View File

@ -780,6 +780,9 @@ options_.mcppath.mu0 = [];
%Figure options %Figure options
options_.figures.textwidth=0.8; options_.figures.textwidth=0.8;
% Shock decomposition options
options_.shock_decomp.nograph = 0;
% initialize persistent variables in priordens() % initialize persistent variables in priordens()
priordens([],[],[],[],[],[],1); priordens([],[],[],[],[],[],1);
% initialize persistent variables in dyn_first_order_solver() % initialize persistent variables in dyn_first_order_solver()

View File

@ -2475,6 +2475,7 @@ shock_decomposition_option : o_parameter_set
| o_datafile | o_datafile
| o_use_shock_groups | o_use_shock_groups
| o_colormap | o_colormap
| o_shock_decomposition_nograph
; ;
homotopy_setup: HOMOTOPY_SETUP ';' homotopy_list END ';' homotopy_setup: HOMOTOPY_SETUP ';' homotopy_list END ';'
@ -2802,6 +2803,7 @@ o_nograph : NOGRAPH
| GRAPH | GRAPH
{ driver.option_num("nograph", "0"); } { driver.option_num("nograph", "0"); }
; ;
o_shock_decomposition_nograph : NOGRAPH { driver.option_num("shock_decomp.nograph", "1"); }
o_nodisplay : NODISPLAY { driver.option_num("nodisplay","1"); }; o_nodisplay : NODISPLAY { driver.option_num("nodisplay","1"); };
o_graph_format : GRAPH_FORMAT EQUAL allowed_graph_formats o_graph_format : GRAPH_FORMAT EQUAL allowed_graph_formats
{ driver.process_graph_format_option(); } { driver.process_graph_format_option(); }