> On Apr 20, 2015, at 4:06 AM, <[email protected]> > <[email protected]> wrote: > > All, > > I am switching to petsc 3.5.3 and finding some differences with 3.4.3. > KSPSetOperators no longer has the MatStructure argument. I see for > SAME_PRECONDITIONER that you > now use KSPSetReusePreconditioner with flag set to tru before the call to set > to true KSPSetOperators. Is there any need to do anything for the other > flags, eg; DIFFERENT_NONZERO_PATTERN, SAME_ NONZERO_PATTERN > or is that now tracked by the Mat object as suggeste in the documentation?
You do not have to set any other options; the matrix now keeps track itself of wether the nonzero pattern has changed. Barry > > Thanks, > > Carol > > Dr Carol Brickley > BSc,PhD,ARCS,DIC,MBCS > > Senior Software Engineer > Applied Computer Science > DS+T, > AWE > Aldermaston > Reading > Berkshire > RG7 4PR > > Direct: 0118 9855035 > > ___________________________________________________ > ____________________________ The information in this email and in any > attachment(s) is commercial in confidence. If you are not the named > addressee(s) or if you receive this email in error then any distribution, > copying or use of this communication or the information in it is strictly > prohibited. Please notify us immediately by email at > admin.internet(at)awe.co.uk, and then delete this message from your computer. > While attachments are virus checked, AWE plc does not accept any liability in > respect of any virus which is not detected. AWE Plc Registered in England and > Wales Registration No 02763902 AWE, Aldermaston, Reading, RG7 4PR >
