Letianwu / ZMCintegral

An easy way to use multi-GPUs to calculate multi-dimensional integration
https://arxiv.org/pdf/1902.07916v2.pdf
Apache License 2.0
19 stars 8 forks source link

Setting constant parameters for a function #16

Open JCatesPH opened 5 years ago

JCatesPH commented 5 years ago

The code throws an error if the function takes more arguments than given in the domain, but setting the end and beginning of an interval in the domain causes the calculations to loop infinitely.

I suggest adding the ability to pass function arguments that are not integrated over.

In the meantime (or permanently), an error should be thrown if the two ends of a domain are equal.

Letianwu commented 4 years ago

We will consider the functional integral soon. Actually, we have tested versions of more parameters passed in. It will work.

Juenjie commented 4 years ago

Maybe you can upload your code, so we can see exactly what happens. Now our new version supports parameter scan, and you may consider try it.