ruoxi-wang / BBFMM3D

Other
23 stars 13 forks source link

DirectCalc3D vs MATLAB #6

Open vktsn0303 opened 6 years ago

vktsn0303 commented 6 years ago

Hello Ruoxi Wang,

I was comparing the values of the results, when using 1/r kernel, obtained from direct method in MATLAB (my program) and from DirectCalc3D( ) in BBFMM3D. I find that the results are not the same. Are they supposed to be different? Also, can you please help me know where exactly is DirectCalc3D defined?

Kind regards vktsn

ruoxi-wang commented 6 years ago

Hi,

The routine DirectCalc3D( ) is supposed to compute the matrix-vector multiplication exactly. Hence, you should expect the results to be the same. You can look into the code in BBFMM3D/include/test.hpp, this is where we define DirectCalc3D( ).

On Wed, Jun 6, 2018 at 7:12 AM, vktsn0303 notifications@github.com wrote:

Hello Ruoxi Wang,

I was comparing the values of the results, when using 1/r kernel, obtained from direct method in MATLAB (my program) and from DirectCalc3D( ) in BBFMM3D. I find that the results are not the same. Are they supposed to be different? Also, can you please help me know where exactly is DirectCalc3D defined?

Kind regards vktsn

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ruoxi-wang/BBFMM3D/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AE18-H6QDdYFe2FTM1wIm0DyRyGUJw5gks5t5-NCgaJpZM4Ucukv .