![]() |
OGS
|
<OpenGeoSysProjectDiff base_file="cube_1e0.prj">
<replace sel="//output/prefix/text()">cube_1e0_fail_lin_solver</replace>
<remove sel="//time_stepping" />
<add sel="/*/time_loop/*/process">
<time_stepping>
<type>IterationNumberBasedTimeStepping</type>
<t_initial>0</t_initial>
<t_end>1</t_end>
<initial_dt>0.5</initial_dt>
<minimum_dt>0.125</minimum_dt>
<maximum_dt>1.0</maximum_dt>
<number_iterations>1 5 10</number_iterations>
<multiplier>1 1 0.5</multiplier>
</time_stepping>
</add>
<remove sel="/*/parameters/parameter[name='E']" />
<add sel="/*/parameters">
<parameter>
<name>E</name>
<type>Function</type>
<expression>/* do one timestep successfully, then make OGS fail */
if (t < 0.6)
1;
else
/* E of 0 will make SparseLU fail in the compute() step (that's what is to be tested) */
0;</expression>
</parameter>
</add>
<replace sel="//eigen/solver_type/text()">SparseLU</replace>
</OpenGeoSysProjectDiff>