{"action":"created","comment":{"url":"https://api.github.com/repos/IBAMR/IBAMR/pulls/comments/28788918","id":28788918,"diff_hunk":"@@ -96,6 +96,29 @@ class IndexUtilities\n                                                   const double* dx,\n                                                   const SAMRAI::hier::Index<NDIM>& ilower,\n                                                   const SAMRAI::hier::Index<NDIM>& iupper);\n+\t\n+\t/*!\n+\t * \\brief Convert (i,j,k,d) index for a DOF to an integer mapping on a patch level.\n+\t *\n+\t * \\param i AMR index representing the (i,j,k) data cell index.\n+\t *\n+\t * \\param domain_lower Lower index of the domain.\n+\t *\n+\t * \\param num_cells Number of data array cells for a patch level.\n+\t *\n+\t * \\param depth Data depth.\n+\t *\n+\t * \\param offset Component (axis) offset.\n+\t *\n+\t * \\return The linear mapping of an AMR index to a continuous non-negative \n+\t * integer space.\n+\t */\n+\tstatic int getIntegerMapping(const SAMRAI::hier::Index<NDIM>& i,\n+\t\t\t\t\t\t\t\t const SAMRAI::hier::Index<NDIM>& domain_lower,","path":"ibtk/include/ibtk/IndexUtilities.h","position":22,"original_position":22,"commit_id":"15ff928cfa08b0cd9a30385c6dd34f84cfee6726","original_commit_id":"15ff928cfa08b0cd9a30385c6dd34f84cfee6726","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},"body":"Formatting problems.","created_at":"2015-04-21T15:24:45Z","updated_at":"2015-04-21T15:24:45Z","html_url":"https://github.com/IBAMR/IBAMR/pull/6#discussion_r28788918","pull_request_url":"https://api.github.com/repos/IBAMR/IBAMR/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/IBAMR/IBAMR/pulls/comments/28788918"},"html":{"href":"https://github.com/IBAMR/IBAMR/pull/6#discussion_r28788918"},"pull_request":{"href":"https://api.github.com/repos/IBAMR/IBAMR/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/IBAMR/IBAMR/pulls/6","id":33771494,"html_url":"https://github.com/IBAMR/IBAMR/pull/6","diff_url":"https://github.com/IBAMR/IBAMR/pull/6.diff","patch_url":"https://github.com/IBAMR/IBAMR/pull/6.patch","issue_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/6","number":6,"state":"open","locked":false,"title":"Enhanced multigrid solvers, including for Stokes-IB","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},"body":"","created_at":"2015-04-21T15:13:38Z","updated_at":"2015-04-21T15:24:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2e876a37ea20a01c6d24ae0630b47c67d48ce9b0","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/IBAMR/IBAMR/pulls/6/commits","review_comments_url":"https://api.github.com/repos/IBAMR/IBAMR/pulls/6/comments","review_comment_url":"https://api.github.com/repos/IBAMR/IBAMR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/6/comments","statuses_url":"https://api.github.com/repos/IBAMR/IBAMR/statuses/15ff928cfa08b0cd9a30385c6dd34f84cfee6726","head":{"label":"IBAMR:boyceg/MG-smoothers","ref":"boyceg/MG-smoothers","sha":"15ff928cfa08b0cd9a30385c6dd34f84cfee6726","user":{"login":"IBAMR","id":7332761,"avatar_url":"https://avatars.githubusercontent.com/u/7332761?v=3","gravatar_id":"","url":"https://api.github.com/users/IBAMR","html_url":"https://github.com/IBAMR","followers_url":"https://api.github.com/users/IBAMR/followers","following_url":"https://api.github.com/users/IBAMR/following{/other_user}","gists_url":"https://api.github.com/users/IBAMR/gists{/gist_id}","starred_url":"https://api.github.com/users/IBAMR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBAMR/subscriptions","organizations_url":"https://api.github.com/users/IBAMR/orgs","repos_url":"https://api.github.com/users/IBAMR/repos","events_url":"https://api.github.com/users/IBAMR/events{/privacy}","received_events_url":"https://api.github.com/users/IBAMR/received_events","type":"Organization","site_admin":false},"repo":{"id":18901909,"name":"IBAMR","full_name":"IBAMR/IBAMR","owner":{"login":"IBAMR","id":7332761,"avatar_url":"https://avatars.githubusercontent.com/u/7332761?v=3","gravatar_id":"","url":"https://api.github.com/users/IBAMR","html_url":"https://github.com/IBAMR","followers_url":"https://api.github.com/users/IBAMR/followers","following_url":"https://api.github.com/users/IBAMR/following{/other_user}","gists_url":"https://api.github.com/users/IBAMR/gists{/gist_id}","starred_url":"https://api.github.com/users/IBAMR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBAMR/subscriptions","organizations_url":"https://api.github.com/users/IBAMR/orgs","repos_url":"https://api.github.com/users/IBAMR/repos","events_url":"https://api.github.com/users/IBAMR/events{/privacy}","received_events_url":"https://api.github.com/users/IBAMR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IBAMR/IBAMR","description":"An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method","fork":false,"url":"https://api.github.com/repos/IBAMR/IBAMR","forks_url":"https://api.github.com/repos/IBAMR/IBAMR/forks","keys_url":"https://api.github.com/repos/IBAMR/IBAMR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBAMR/IBAMR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBAMR/IBAMR/teams","hooks_url":"https://api.github.com/repos/IBAMR/IBAMR/hooks","issue_events_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/events{/number}","events_url":"https://api.github.com/repos/IBAMR/IBAMR/events","assignees_url":"https://api.github.com/repos/IBAMR/IBAMR/assignees{/user}","branches_url":"https://api.github.com/repos/IBAMR/IBAMR/branches{/branch}","tags_url":"https://api.github.com/repos/IBAMR/IBAMR/tags","blobs_url":"https://api.github.com/repos/IBAMR/IBAMR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBAMR/IBAMR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBAMR/IBAMR/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBAMR/IBAMR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBAMR/IBAMR/statuses/{sha}","languages_url":"https://api.github.com/repos/IBAMR/IBAMR/languages","stargazers_url":"https://api.github.com/repos/IBAMR/IBAMR/stargazers","contributors_url":"https://api.github.com/repos/IBAMR/IBAMR/contributors","subscribers_url":"https://api.github.com/repos/IBAMR/IBAMR/subscribers","subscription_url":"https://api.github.com/repos/IBAMR/IBAMR/subscription","commits_url":"https://api.github.com/repos/IBAMR/IBAMR/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBAMR/IBAMR/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBAMR/IBAMR/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBAMR/IBAMR/contents/{+path}","compare_url":"https://api.github.com/repos/IBAMR/IBAMR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBAMR/IBAMR/merges","archive_url":"https://api.github.com/repos/IBAMR/IBAMR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBAMR/IBAMR/downloads","issues_url":"https://api.github.com/repos/IBAMR/IBAMR/issues{/number}","pulls_url":"https://api.github.com/repos/IBAMR/IBAMR/pulls{/number}","milestones_url":"https://api.github.com/repos/IBAMR/IBAMR/milestones{/number}","notifications_url":"https://api.github.com/repos/IBAMR/IBAMR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBAMR/IBAMR/labels{/name}","releases_url":"https://api.github.com/repos/IBAMR/IBAMR/releases{/id}","created_at":"2014-04-18T03:50:44Z","updated_at":"2015-04-21T15:18:14Z","pushed_at":"2015-04-21T15:17:59Z","git_url":"git://github.com/IBAMR/IBAMR.git","ssh_url":"git@github.com:IBAMR/IBAMR.git","clone_url":"https://github.com/IBAMR/IBAMR.git","svn_url":"https://github.com/IBAMR/IBAMR","homepage":null,"size":91700,"stargazers_count":18,"watchers_count":18,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":18,"default_branch":"master"}},"base":{"label":"IBAMR:master","ref":"master","sha":"b985699288f2b7c491fb6f763f2efae91bc7005e","user":{"login":"IBAMR","id":7332761,"avatar_url":"https://avatars.githubusercontent.com/u/7332761?v=3","gravatar_id":"","url":"https://api.github.com/users/IBAMR","html_url":"https://github.com/IBAMR","followers_url":"https://api.github.com/users/IBAMR/followers","following_url":"https://api.github.com/users/IBAMR/following{/other_user}","gists_url":"https://api.github.com/users/IBAMR/gists{/gist_id}","starred_url":"https://api.github.com/users/IBAMR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBAMR/subscriptions","organizations_url":"https://api.github.com/users/IBAMR/orgs","repos_url":"https://api.github.com/users/IBAMR/repos","events_url":"https://api.github.com/users/IBAMR/events{/privacy}","received_events_url":"https://api.github.com/users/IBAMR/received_events","type":"Organization","site_admin":false},"repo":{"id":18901909,"name":"IBAMR","full_name":"IBAMR/IBAMR","owner":{"login":"IBAMR","id":7332761,"avatar_url":"https://avatars.githubusercontent.com/u/7332761?v=3","gravatar_id":"","url":"https://api.github.com/users/IBAMR","html_url":"https://github.com/IBAMR","followers_url":"https://api.github.com/users/IBAMR/followers","following_url":"https://api.github.com/users/IBAMR/following{/other_user}","gists_url":"https://api.github.com/users/IBAMR/gists{/gist_id}","starred_url":"https://api.github.com/users/IBAMR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IBAMR/subscriptions","organizations_url":"https://api.github.com/users/IBAMR/orgs","repos_url":"https://api.github.com/users/IBAMR/repos","events_url":"https://api.github.com/users/IBAMR/events{/privacy}","received_events_url":"https://api.github.com/users/IBAMR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/IBAMR/IBAMR","description":"An adaptive and distributed-memory parallel implementation of the immersed boundary (IB) method","fork":false,"url":"https://api.github.com/repos/IBAMR/IBAMR","forks_url":"https://api.github.com/repos/IBAMR/IBAMR/forks","keys_url":"https://api.github.com/repos/IBAMR/IBAMR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IBAMR/IBAMR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IBAMR/IBAMR/teams","hooks_url":"https://api.github.com/repos/IBAMR/IBAMR/hooks","issue_events_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/events{/number}","events_url":"https://api.github.com/repos/IBAMR/IBAMR/events","assignees_url":"https://api.github.com/repos/IBAMR/IBAMR/assignees{/user}","branches_url":"https://api.github.com/repos/IBAMR/IBAMR/branches{/branch}","tags_url":"https://api.github.com/repos/IBAMR/IBAMR/tags","blobs_url":"https://api.github.com/repos/IBAMR/IBAMR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IBAMR/IBAMR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IBAMR/IBAMR/git/refs{/sha}","trees_url":"https://api.github.com/repos/IBAMR/IBAMR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IBAMR/IBAMR/statuses/{sha}","languages_url":"https://api.github.com/repos/IBAMR/IBAMR/languages","stargazers_url":"https://api.github.com/repos/IBAMR/IBAMR/stargazers","contributors_url":"https://api.github.com/repos/IBAMR/IBAMR/contributors","subscribers_url":"https://api.github.com/repos/IBAMR/IBAMR/subscribers","subscription_url":"https://api.github.com/repos/IBAMR/IBAMR/subscription","commits_url":"https://api.github.com/repos/IBAMR/IBAMR/commits{/sha}","git_commits_url":"https://api.github.com/repos/IBAMR/IBAMR/git/commits{/sha}","comments_url":"https://api.github.com/repos/IBAMR/IBAMR/comments{/number}","issue_comment_url":"https://api.github.com/repos/IBAMR/IBAMR/issues/comments{/number}","contents_url":"https://api.github.com/repos/IBAMR/IBAMR/contents/{+path}","compare_url":"https://api.github.com/repos/IBAMR/IBAMR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IBAMR/IBAMR/merges","archive_url":"https://api.github.com/repos/IBAMR/IBAMR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IBAMR/IBAMR/downloads","issues_url":"https://api.github.com/repos/IBAMR/IBAMR/issues{/number}","pulls_url":"https://api.github.com/repos/IBAMR/IBAMR/pulls{/number}","milestones_url":"https://api.github.com/repos/IBAMR/IBAMR/milestones{/number}","notifications_url":"https://api.github.com/repos/IBAMR/IBAMR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IBAMR/IBAMR/labels{/name}","releases_url":"https://api.github.com/repos/IBAMR/IBAMR/releases{/id}","created_at":"2014-04-18T03:50:44Z","updated_at":"2015-04-21T15:18:14Z","pushed_at":"2015-04-21T15:17:59Z","git_url":"git://github.com/IBAMR/IBAMR.git","ssh_url":"git@github.com:IBAMR/IBAMR.git","clone_url":"https://github.com/IBAMR/IBAMR.git","svn_url":"https://github.com/IBAMR/IBAMR","homepage":null,"size":91700,"stargazers_count":18,"watchers_count":18,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/IBAMR/IBAMR/pulls/6"},"html":{"href":"https://github.com/IBAMR/IBAMR/pull/6"},"issue":{"href":"https://api.github.com/repos/IBAMR/IBAMR/issues/6"},"comments":{"href":"https://api.github.com/repos/IBAMR/IBAMR/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/IBAMR/IBAMR/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/IBAMR/IBAMR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/IBAMR/IBAMR/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/IBAMR/IBAMR/statuses/15ff928cfa08b0cd9a30385c6dd34f84cfee6726"}}}}