{"action":"created","issue":{"url":"https://api.github.com/repos/IBAMR/IBAMR/issues/16","labels_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/16/comments","events_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/16/events","html_url":"https://github.com/IBAMR/IBAMR/issues/16","id":88499324,"number":16,"title":"IMPInitializer::registerMesh()","user":{"login":"amneetb","id":7378152,"avatar_url":"https://avatars.githubusercontent.com/u/7378152?v=3","gravatar_id":"","url":"https://api.github.com/users/amneetb","html_url":"https://github.com/amneetb","followers_url":"https://api.github.com/users/amneetb/followers","following_url":"https://api.github.com/users/amneetb/following{/other_user}","gists_url":"https://api.github.com/users/amneetb/gists{/gist_id}","starred_url":"https://api.github.com/users/amneetb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amneetb/subscriptions","organizations_url":"https://api.github.com/users/amneetb/orgs","repos_url":"https://api.github.com/users/amneetb/repos","events_url":"https://api.github.com/users/amneetb/events{/privacy}","received_events_url":"https://api.github.com/users/amneetb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IBAMR/IBAMR/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-15T18:09:53Z","updated_at":"2015-06-22T20:06:49Z","closed_at":null,"body":"a) Line 172:\r\nhttps://github.com/IBAMR/IBAMR/blob/f03aed6d0e1fa56d2e03478b1d6346883002db6f/src/IB/IMPInitializer.cpp#L172-L173\r\n  d_vertex_offset[level_number].resize(d_vertex_offset[level_number].size() + 1,\r\n                                         mesh_idx == 0 ? 0 : d_num_vertex[level_number][mesh_idx - 1]);\r\n\r\nIt looks like d_vertex_offset is just storing no of vertices of previous mesh registered with this routine, instead of sum of all the no of previously registered mesh vertices.\r\n\r\nb) This info is getting used in IMPInitializer::getCanonicalLagrangianIndex() routine and initializeLSiloDataWriter().\r\nhttps://github.com/IBAMR/IBAMR/blob/f03aed6d0e1fa56d2e03478b1d6346883002db6f/src/IB/IMPInitializer.cpp#L569"},"comment":{"url":"https://api.github.com/repos/IBAMR/IBAMR/issues/comments/114242958","html_url":"https://github.com/IBAMR/IBAMR/issues/16#issuecomment-114242958","issue_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/16","id":114242958,"user":{"login":"boyceg","id":4389897,"avatar_url":"https://avatars.githubusercontent.com/u/4389897?v=3","gravatar_id":"","url":"https://api.github.com/users/boyceg","html_url":"https://github.com/boyceg","followers_url":"https://api.github.com/users/boyceg/followers","following_url":"https://api.github.com/users/boyceg/following{/other_user}","gists_url":"https://api.github.com/users/boyceg/gists{/gist_id}","starred_url":"https://api.github.com/users/boyceg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boyceg/subscriptions","organizations_url":"https://api.github.com/users/boyceg/orgs","repos_url":"https://api.github.com/users/boyceg/repos","events_url":"https://api.github.com/users/boyceg/events{/privacy}","received_events_url":"https://api.github.com/users/boyceg/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T20:06:49Z","updated_at":"2015-06-22T20:06:49Z","body":"Not quite; please try to follow the directions from the linked article (and let me know if this doesn't work):\r\n\r\nFirst, highlight the code that you want to link to, just like in the examples above. Then, tap the \"y\" key to jump to the last commit found for that region."}}