hi Gijs,
I did not observe this behavior, at least in all the examples I
tested in this google-colab notebook
just like mcxlab, pmcx accepts either a 3-element srcdir, or a 4-element srcdir,
https://github.com/fangq/mcx/blob/540931d07dc32bfb6faf6b53f548655aa70499e1/src/pmcx.cpp#L462
if 3 elements were specified, the 4th element stays as the
initial value of 0 initialized at
https://github.com/fangq/mcx/blob/540931d07dc32bfb6faf6b53f548655aa70499e1/src/mcx_utils.c#L317
also, I am not quite sure what you meant as "random direction" - what was your srctype? do you have a test code?
when srcdir(4) was accidentally set, the source should behave either like a convergent (srcdir(4)>0) or divergent (srcdir(4)<0), and only becomes isotropic launch when srcdir(4) is set to NaN.
Qianqian
--
You received this message because you are subscribed to the Google Groups "mcx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mcx-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/68993e6a-92cd-4dfb-a00c-3df268fed562n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mcx-users/a0e750c7-506a-4fd9-af87-8e6cfdbc2bd4n%40googlegroups.com.