I am wondering if the 3 for loops in the following code can be written in a better way:
Nc = 10 # number of points for (0, pi) cc1 = linspace(0,pi,
import itertools for a,b,c in itertools.product(cc1, cc2, cc3): print a,b,c