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,
try this :)
[(c1, c2, c3) for c1 in cc1 for c2 in cc2 for c3 in cc3]