On Mon, Jun 17, 2013 at 6:42 AM, Georg Walther <[email protected]>wrote:
> Great you've got a summer student looking into this! > > Just a quick poor man's benchmark of the code I copied to Gist with > > python -m cProfile -s time fipy_reaction_diffusion.py > > shows that on a run of the above code that takes 140 seconds, 130 > seconds are spent in > > binaryTerm.py:50(_buildAndAddMatrices) > > and functions that are called from there (i.e. those 130 seconds are > cumulative time spent in there). > > What is this function and what does it do? > Georg, Sorry for the delayed response. The function "_buildAndAddMatrices" does exactly what is says on the box. It calls lower level functions that build each term's system matrix and then adds those matrices together. Notably, it is not doing the linear solution part of the problem. Hope that helps. -- Daniel Wheeler
_______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
