{"action":"created","issue":{"url":"https://api.github.com/repos/schmie/hemeMove/issues/534","labels_url":"https://api.github.com/repos/schmie/hemeMove/issues/534/labels{/name}","comments_url":"https://api.github.com/repos/schmie/hemeMove/issues/534/comments","events_url":"https://api.github.com/repos/schmie/hemeMove/issues/534/events","html_url":"https://github.com/schmie/hemeMove/issues/534","id":96341837,"number":534,"title":"Bug in original RBC code by T.K. present/absent in heme","user":{"login":"schmie","id":6473158,"avatar_url":"https://avatars.githubusercontent.com/u/6473158?v=3","gravatar_id":"","url":"https://api.github.com/users/schmie","html_url":"https://github.com/schmie","followers_url":"https://api.github.com/users/schmie/followers","following_url":"https://api.github.com/users/schmie/following{/other_user}","gists_url":"https://api.github.com/users/schmie/gists{/gist_id}","starred_url":"https://api.github.com/users/schmie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmie/subscriptions","organizations_url":"https://api.github.com/users/schmie/orgs","repos_url":"https://api.github.com/users/schmie/repos","events_url":"https://api.github.com/users/schmie/events{/privacy}","received_events_url":"https://api.github.com/users/schmie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mdavezac","id":2745737,"avatar_url":"https://avatars.githubusercontent.com/u/2745737?v=3","gravatar_id":"","url":"https://api.github.com/users/mdavezac","html_url":"https://github.com/mdavezac","followers_url":"https://api.github.com/users/mdavezac/followers","following_url":"https://api.github.com/users/mdavezac/following{/other_user}","gists_url":"https://api.github.com/users/mdavezac/gists{/gist_id}","starred_url":"https://api.github.com/users/mdavezac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdavezac/subscriptions","organizations_url":"https://api.github.com/users/mdavezac/orgs","repos_url":"https://api.github.com/users/mdavezac/repos","events_url":"https://api.github.com/users/mdavezac/events{/privacy}","received_events_url":"https://api.github.com/users/mdavezac/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-07-21T15:10:46Z","updated_at":"2015-07-21T15:10:47Z","closed_at":null,"body":"**Reported by mdavezac on 21 May 2015 07:00 UTC**\n    I found a non-negligible bug in the serial IBM code.\r\n    In the file \"ibm_code.cc\" in the function \"IBM:::interpolate(int)\", the actual velocity interpolation has to be   modified. The correct code reads:\r\n    vel_intpol += ((vel[+ (force_mem[k](k]) + force_grav) / (2. * den[* int_weight_x[X](k]))) * int_weight_y[* int_weight_z[Z](Y]));\r\n    rather than\r\n   vel_intpol += ((vel[+ (force_mem[k](k]) + force_grav) * tau / den[* int_weight_x[X](k])) * int_weight_y[* int_weight_z[Z](Y]));\r\n\r\nIn heme, the interpolation happens in interpolateVelocity (redblood/VelocityInterpolation.h). Going down the chains of calls, the actual code where the error would be is in CalculateDensityAndMomentum (lb/lattices/Lattice.h) in the *overload* with forces. It looks like the error is *not* present."},"comment":{"url":"https://api.github.com/repos/schmie/hemeMove/issues/comments/123365126","html_url":"https://github.com/schmie/hemeMove/issues/534#issuecomment-123365126","issue_url":"https://api.github.com/repos/schmie/hemeMove/issues/534","id":123365126,"user":{"login":"schmie","id":6473158,"avatar_url":"https://avatars.githubusercontent.com/u/6473158?v=3","gravatar_id":"","url":"https://api.github.com/users/schmie","html_url":"https://github.com/schmie","followers_url":"https://api.github.com/users/schmie/followers","following_url":"https://api.github.com/users/schmie/following{/other_user}","gists_url":"https://api.github.com/users/schmie/gists{/gist_id}","starred_url":"https://api.github.com/users/schmie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schmie/subscriptions","organizations_url":"https://api.github.com/users/schmie/orgs","repos_url":"https://api.github.com/users/schmie/repos","events_url":"https://api.github.com/users/schmie/events{/privacy}","received_events_url":"https://api.github.com/users/schmie/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T15:10:47Z","updated_at":"2015-07-21T15:10:47Z","body":"**Modified by mdavezac on 21 May 2015 07:00 UTC**"}}