On 5 July 2011 17:35, Barry Smith <bsmith at mcs.anl.gov> wrote: > >> Beginning of a time step (1st implicit stage of RK scheme): >> 1. Use MatZeroEntries on the preconditioner > > ?Do not call MatZeroEntries on a freshly created matrix (that destroys the > preallocation pattern) so skip the MatZeroEntries the first time. >
What do you mean? The OP said that the nonzero structure was set at problem set up. -- Lisandro Dalcin --------------- CIMEC (INTEC/CONICET-UNL) Predio CONICET-Santa Fe Colectora RN 168 Km 472, Paraje El Pozo 3000 Santa Fe, Argentina Tel: +54-342-4511594 (ext 1011) Tel/Fax: +54-342-4511169
