[firedrake] More questions

Justin Chang jychang48 at gmail.com
Fri Jul 24 11:06:39 BST 2015


Hi everyone,

I have some (what I think are) pretty simple questions that I would like
answered:

1) How do you print out the global size of the matrix?

2) When FFC/pyop2 is compiling the forms, it says "Skipping optimizations,
add -O to optimize", how can I tell my program to add this optimization?

3) Is there a way to simply output the number of KSP iterations? I am
guessing it involves getIterationNumber() but I am still kind of new to
petsc4py, so how would I invoke this call in the context of firedrake?

Thanks!
Justin
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the firedrake mailing list