ValueError: Mesh must have lower dimension than domain.
if rank == 0:
from structure import lane_emden
structure = lane_emden(n_rho=1, m=1.5)
else:
structure = None
comm.bcast(structure, root=0)
def lane_emden(n_rho=5, m=1.5, nr=128):
# Build domain
r_basis = de.Chebyshev('r', nr, interval=(0, 1), dealias=2)
domain = de.Domain([r_basis], np.float64)
<... rest of dedalus/examples/bvb/1d_lane_emden ... >
--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/CAHqBLzx9MctiBeivXtPkjps14%3D9BwwjJuXEDRVeLfMZVsr0qVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
from structure import lane_emden
structure = lane_emden(n_rho=1, m=1.5, comm=MPI.COMM_SELF)
def lane_emden(n_rho=5, m=1.5, nr=128, comm=None):
# Build domain
r_basis = de.Chebyshev('r', nr, interval=(0, 1), dealias=2)
domain = de.Domain([r_basis], np.float64, comm=comm)
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-users+unsubscribe@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/CAHqBLzx9MctiBeivXtPkjps14%3D9BwwjJuXEDRVeLfMZVsr0qVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-users+unsubscribe@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/F4468BA7-6CEB-40E1-AB7C-730509E7087D%40gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To post to this group, send email to dedalu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/CAHqBLzx9MctiBeivXtPkjps14%3D9BwwjJuXEDRVeLfMZVsr0qVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--You received this message because you are subscribed to the Google Groups "Dedalus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dedalus-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dedalus-users/ab678b93-8cdb-4144-a76c-eefe8c7dc6acn%40googlegroups.com.