On 07/05/2012 02:34 PM, James J Ramsey wrote: > On Thu, Jul 5, 2012 at 1:34 PM, David Knezevic > <dkneze...@seas.harvard.edu> wrote: >> The init() should be before the loop, it doesn't need to be called >> before each solve. > I wondered about that. When does init() need to be called, though? The > examples tend to put it almost right before the solve(), and it's not > clear what exactly it's initializing.
It initializes the system, i.e. it sets up the degree-of-freedom numbering, the matrix sparsity pattern etc etc. These things don't change from one solve to the next. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users