{"action":"created","comment":{"url":"https://api.github.com/repos/SCOREC/msi/pulls/comments/199927999","pull_request_review_id":134142863,"id":199927999,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTkyNzk5OQ==","diff_hunk":"@@ -109,20 +84,158 @@ void synchronizeFieldData_parasol(apf::FieldDataOf<T>* data, apf::Sharing* shr,\n       PCU_Comm_Unpack(&(values[0]),n*sizeof(T));\n       data->set(e,&(values[0]));\n     }\n-\t// Free the temporary groups\n- \tMPI_Group_free(&comm_group);\n-  \tMPI_Group_free(&world_group);\n-  }\n-\n+   }\n   if (delete_shr) delete shr;\n-\n+  MPI_Group_free(&comm_group);\n+  MPI_Group_free(&world_group);\n }\n-\n-/* instantiate here */\n template void synchronizeFieldData_parasol<int>(apf::FieldDataOf<int>*, apf::Sharing*, MPI_Comm, bool);\n template void synchronizeFieldData_parasol<double>(apf::FieldDataOf<double>*, apf::Sharing*, MPI_Comm, bool);\n template void synchronizeFieldData_parasol<long>(apf::FieldDataOf<long>*, apf::Sharing*, MPI_Comm, bool);\n \n+void accumulateFieldData_parasol(apf::FieldDataOf<double>* data, apf::Sharing* shr, MPI_Comm comm, bool delete_shr)\n+{\n+  apf::FieldBase* f = data->getField();\n+  apf::Mesh* m = f->getMesh();\n+  apf::FieldShape* s = f->getShape();\n+  if (!shr)\n+  {\n+    shr = getSharing(m);\n+    delete_shr=true;\n+  }\n+\n+  int own_plane = PCU_Comm_Self()%8;","path":"api/msi.cc","position":114,"original_position":114,"commit_id":"43c090a420f8fe16ab3a58d72028a342ee844beb","original_commit_id":"43c090a420f8fe16ab3a58d72028a342ee844beb","user":{"login":"atruszkowska","id":25468696,"node_id":"MDQ6VXNlcjI1NDY4Njk2","avatar_url":"https://avatars2.githubusercontent.com/u/25468696?v=4","gravatar_id":"","url":"https://api.github.com/users/atruszkowska","html_url":"https://github.com/atruszkowska","followers_url":"https://api.github.com/users/atruszkowska/followers","following_url":"https://api.github.com/users/atruszkowska/following{/other_user}","gists_url":"https://api.github.com/users/atruszkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/atruszkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atruszkowska/subscriptions","organizations_url":"https://api.github.com/users/atruszkowska/orgs","repos_url":"https://api.github.com/users/atruszkowska/repos","events_url":"https://api.github.com/users/atruszkowska/events{/privacy}","received_events_url":"https://api.github.com/users/atruszkowska/received_events","type":"User","site_admin":false},"body":"Same thing as above.","created_at":"2018-07-03T19:37:16Z","updated_at":"2018-07-03T19:37:16Z","html_url":"https://github.com/SCOREC/msi/pull/17#discussion_r199927999","pull_request_url":"https://api.github.com/repos/SCOREC/msi/pulls/17","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/SCOREC/msi/pulls/comments/199927999"},"html":{"href":"https://github.com/SCOREC/msi/pull/17#discussion_r199927999"},"pull_request":{"href":"https://api.github.com/repos/SCOREC/msi/pulls/17"}},"in_reply_to_id":199925495},"pull_request":{"url":"https://api.github.com/repos/SCOREC/msi/pulls/17","id":198207852,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MjA3ODUy","html_url":"https://github.com/SCOREC/msi/pull/17","diff_url":"https://github.com/SCOREC/msi/pull/17.diff","patch_url":"https://github.com/SCOREC/msi/pull/17.patch","issue_url":"https://api.github.com/repos/SCOREC/msi/issues/17","number":17,"state":"open","locked":false,"title":"Final version for the parallel solver","user":{"login":"cwsmith","id":1024438,"node_id":"MDQ6VXNlcjEwMjQ0Mzg=","avatar_url":"https://avatars3.githubusercontent.com/u/1024438?v=4","gravatar_id":"","url":"https://api.github.com/users/cwsmith","html_url":"https://github.com/cwsmith","followers_url":"https://api.github.com/users/cwsmith/followers","following_url":"https://api.github.com/users/cwsmith/following{/other_user}","gists_url":"https://api.github.com/users/cwsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/cwsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwsmith/subscriptions","organizations_url":"https://api.github.com/users/cwsmith/orgs","repos_url":"https://api.github.com/users/cwsmith/repos","events_url":"https://api.github.com/users/cwsmith/events{/privacy}","received_events_url":"https://api.github.com/users/cwsmith/received_events","type":"User","site_admin":false},"body":"cleaned version of PR #14 ","created_at":"2018-06-29T03:44:18Z","updated_at":"2018-07-03T19:37:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc4b687841c4aa835f03fe50efbf453431543eb2","assignee":null,"assignees":[],"requested_reviewers":[{"login":"seegyoung","id":7094216,"node_id":"MDQ6VXNlcjcwOTQyMTY=","avatar_url":"https://avatars1.githubusercontent.com/u/7094216?v=4","gravatar_id":"","url":"https://api.github.com/users/seegyoung","html_url":"https://github.com/seegyoung","followers_url":"https://api.github.com/users/seegyoung/followers","following_url":"https://api.github.com/users/seegyoung/following{/other_user}","gists_url":"https://api.github.com/users/seegyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/seegyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seegyoung/subscriptions","organizations_url":"https://api.github.com/users/seegyoung/orgs","repos_url":"https://api.github.com/users/seegyoung/repos","events_url":"https://api.github.com/users/seegyoung/events{/privacy}","received_events_url":"https://api.github.com/users/seegyoung/received_events","type":"User","site_admin":false},{"login":"eisungy","id":15385017,"node_id":"MDQ6VXNlcjE1Mzg1MDE3","avatar_url":"https://avatars3.githubusercontent.com/u/15385017?v=4","gravatar_id":"","url":"https://api.github.com/users/eisungy","html_url":"https://github.com/eisungy","followers_url":"https://api.github.com/users/eisungy/followers","following_url":"https://api.github.com/users/eisungy/following{/other_user}","gists_url":"https://api.github.com/users/eisungy/gists{/gist_id}","starred_url":"https://api.github.com/users/eisungy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eisungy/subscriptions","organizations_url":"https://api.github.com/users/eisungy/orgs","repos_url":"https://api.github.com/users/eisungy/repos","events_url":"https://api.github.com/users/eisungy/events{/privacy}","received_events_url":"https://api.github.com/users/eisungy/received_events","type":"User","site_admin":false},{"login":"atruszkowska","id":25468696,"node_id":"MDQ6VXNlcjI1NDY4Njk2","avatar_url":"https://avatars2.githubusercontent.com/u/25468696?v=4","gravatar_id":"","url":"https://api.github.com/users/atruszkowska","html_url":"https://github.com/atruszkowska","followers_url":"https://api.github.com/users/atruszkowska/followers","following_url":"https://api.github.com/users/atruszkowska/following{/other_user}","gists_url":"https://api.github.com/users/atruszkowska/gists{/gist_id}","starred_url":"https://api.github.com/users/atruszkowska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atruszkowska/subscriptions","organizations_url":"https://api.github.com/users/atruszkowska/orgs","repos_url":"https://api.github.com/users/atruszkowska/repos","events_url":"https://api.github.com/users/atruszkowska/events{/privacy}","received_events_url":"https://api.github.com/users/atruszkowska/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SCOREC/msi/pulls/17/commits","review_comments_url":"https://api.github.com/repos/SCOREC/msi/pulls/17/comments","review_comment_url":"https://api.github.com/repos/SCOREC/msi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SCOREC/msi/issues/17/comments","statuses_url":"https://api.github.com/repos/SCOREC/msi/statuses/43c090a420f8fe16ab3a58d72028a342ee844beb","head":{"label":"SCOREC:aggy-fusion-clean","ref":"aggy-fusion-clean","sha":"43c090a420f8fe16ab3a58d72028a342ee844beb","user":{"login":"SCOREC","id":7839226,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4MzkyMjY=","avatar_url":"https://avatars0.githubusercontent.com/u/7839226?v=4","gravatar_id":"","url":"https://api.github.com/users/SCOREC","html_url":"https://github.com/SCOREC","followers_url":"https://api.github.com/users/SCOREC/followers","following_url":"https://api.github.com/users/SCOREC/following{/other_user}","gists_url":"https://api.github.com/users/SCOREC/gists{/gist_id}","starred_url":"https://api.github.com/users/SCOREC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCOREC/subscriptions","organizations_url":"https://api.github.com/users/SCOREC/orgs","repos_url":"https://api.github.com/users/SCOREC/repos","events_url":"https://api.github.com/users/SCOREC/events{/privacy}","received_events_url":"https://api.github.com/users/SCOREC/received_events","type":"Organization","site_admin":false},"repo":{"id":98219388,"node_id":"MDEwOlJlcG9zaXRvcnk5ODIxOTM4OA==","name":"msi","full_name":"SCOREC/msi","owner":{"login":"SCOREC","id":7839226,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4MzkyMjY=","avatar_url":"https://avatars0.githubusercontent.com/u/7839226?v=4","gravatar_id":"","url":"https://api.github.com/users/SCOREC","html_url":"https://github.com/SCOREC","followers_url":"https://api.github.com/users/SCOREC/followers","following_url":"https://api.github.com/users/SCOREC/following{/other_user}","gists_url":"https://api.github.com/users/SCOREC/gists{/gist_id}","starred_url":"https://api.github.com/users/SCOREC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCOREC/subscriptions","organizations_url":"https://api.github.com/users/SCOREC/orgs","repos_url":"https://api.github.com/users/SCOREC/repos","events_url":"https://api.github.com/users/SCOREC/events{/privacy}","received_events_url":"https://api.github.com/users/SCOREC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SCOREC/msi","description":"Mesh-Solver Interface. User's Guide:","fork":false,"url":"https://api.github.com/repos/SCOREC/msi","forks_url":"https://api.github.com/repos/SCOREC/msi/forks","keys_url":"https://api.github.com/repos/SCOREC/msi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SCOREC/msi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SCOREC/msi/teams","hooks_url":"https://api.github.com/repos/SCOREC/msi/hooks","issue_events_url":"https://api.github.com/repos/SCOREC/msi/issues/events{/number}","events_url":"https://api.github.com/repos/SCOREC/msi/events","assignees_url":"https://api.github.com/repos/SCOREC/msi/assignees{/user}","branches_url":"https://api.github.com/repos/SCOREC/msi/branches{/branch}","tags_url":"https://api.github.com/repos/SCOREC/msi/tags","blobs_url":"https://api.github.com/repos/SCOREC/msi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SCOREC/msi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SCOREC/msi/git/refs{/sha}","trees_url":"https://api.github.com/repos/SCOREC/msi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SCOREC/msi/statuses/{sha}","languages_url":"https://api.github.com/repos/SCOREC/msi/languages","stargazers_url":"https://api.github.com/repos/SCOREC/msi/stargazers","contributors_url":"https://api.github.com/repos/SCOREC/msi/contributors","subscribers_url":"https://api.github.com/repos/SCOREC/msi/subscribers","subscription_url":"https://api.github.com/repos/SCOREC/msi/subscription","commits_url":"https://api.github.com/repos/SCOREC/msi/commits{/sha}","git_commits_url":"https://api.github.com/repos/SCOREC/msi/git/commits{/sha}","comments_url":"https://api.github.com/repos/SCOREC/msi/comments{/number}","issue_comment_url":"https://api.github.com/repos/SCOREC/msi/issues/comments{/number}","contents_url":"https://api.github.com/repos/SCOREC/msi/contents/{+path}","compare_url":"https://api.github.com/repos/SCOREC/msi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SCOREC/msi/merges","archive_url":"https://api.github.com/repos/SCOREC/msi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SCOREC/msi/downloads","issues_url":"https://api.github.com/repos/SCOREC/msi/issues{/number}","pulls_url":"https://api.github.com/repos/SCOREC/msi/pulls{/number}","milestones_url":"https://api.github.com/repos/SCOREC/msi/milestones{/number}","notifications_url":"https://api.github.com/repos/SCOREC/msi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SCOREC/msi/labels{/name}","releases_url":"https://api.github.com/repos/SCOREC/msi/releases{/id}","deployments_url":"https://api.github.com/repos/SCOREC/msi/deployments","created_at":"2017-07-24T17:57:58Z","updated_at":"2018-06-05T01:09:08Z","pushed_at":"2018-06-29T03:44:18Z","git_url":"git://github.com/SCOREC/msi.git","ssh_url":"git@github.com:SCOREC/msi.git","clone_url":"https://github.com/SCOREC/msi.git","svn_url":"https://github.com/SCOREC/msi","homepage":"https://scorec.rpi.edu/~seol/MSI.pdf","size":559,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":3,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"SCOREC:fusion","ref":"fusion","sha":"edcd361dcc51740a65013c46bb7e373857fbcd76","user":{"login":"SCOREC","id":7839226,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4MzkyMjY=","avatar_url":"https://avatars0.githubusercontent.com/u/7839226?v=4","gravatar_id":"","url":"https://api.github.com/users/SCOREC","html_url":"https://github.com/SCOREC","followers_url":"https://api.github.com/users/SCOREC/followers","following_url":"https://api.github.com/users/SCOREC/following{/other_user}","gists_url":"https://api.github.com/users/SCOREC/gists{/gist_id}","starred_url":"https://api.github.com/users/SCOREC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCOREC/subscriptions","organizations_url":"https://api.github.com/users/SCOREC/orgs","repos_url":"https://api.github.com/users/SCOREC/repos","events_url":"https://api.github.com/users/SCOREC/events{/privacy}","received_events_url":"https://api.github.com/users/SCOREC/received_events","type":"Organization","site_admin":false},"repo":{"id":98219388,"node_id":"MDEwOlJlcG9zaXRvcnk5ODIxOTM4OA==","name":"msi","full_name":"SCOREC/msi","owner":{"login":"SCOREC","id":7839226,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4MzkyMjY=","avatar_url":"https://avatars0.githubusercontent.com/u/7839226?v=4","gravatar_id":"","url":"https://api.github.com/users/SCOREC","html_url":"https://github.com/SCOREC","followers_url":"https://api.github.com/users/SCOREC/followers","following_url":"https://api.github.com/users/SCOREC/following{/other_user}","gists_url":"https://api.github.com/users/SCOREC/gists{/gist_id}","starred_url":"https://api.github.com/users/SCOREC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCOREC/subscriptions","organizations_url":"https://api.github.com/users/SCOREC/orgs","repos_url":"https://api.github.com/users/SCOREC/repos","events_url":"https://api.github.com/users/SCOREC/events{/privacy}","received_events_url":"https://api.github.com/users/SCOREC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SCOREC/msi","description":"Mesh-Solver Interface. User's Guide:","fork":false,"url":"https://api.github.com/repos/SCOREC/msi","forks_url":"https://api.github.com/repos/SCOREC/msi/forks","keys_url":"https://api.github.com/repos/SCOREC/msi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SCOREC/msi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SCOREC/msi/teams","hooks_url":"https://api.github.com/repos/SCOREC/msi/hooks","issue_events_url":"https://api.github.com/repos/SCOREC/msi/issues/events{/number}","events_url":"https://api.github.com/repos/SCOREC/msi/events","assignees_url":"https://api.github.com/repos/SCOREC/msi/assignees{/user}","branches_url":"https://api.github.com/repos/SCOREC/msi/branches{/branch}","tags_url":"https://api.github.com/repos/SCOREC/msi/tags","blobs_url":"https://api.github.com/repos/SCOREC/msi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SCOREC/msi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SCOREC/msi/git/refs{/sha}","trees_url":"https://api.github.com/repos/SCOREC/msi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SCOREC/msi/statuses/{sha}","languages_url":"https://api.github.com/repos/SCOREC/msi/languages","stargazers_url":"https://api.github.com/repos/SCOREC/msi/stargazers","contributors_url":"https://api.github.com/repos/SCOREC/msi/contributors","subscribers_url":"https://api.github.com/repos/SCOREC/msi/subscribers","subscription_url":"https://api.github.com/repos/SCOREC/msi/subscription","commits_url":"https://api.github.com/repos/SCOREC/msi/commits{/sha}","git_commits_url":"https://api.github.com/repos/SCOREC/msi/git/commits{/sha}","comments_url":"https://api.github.com/repos/SCOREC/msi/comments{/number}","issue_comment_url":"https://api.github.com/repos/SCOREC/msi/issues/comments{/number}","contents_url":"https://api.github.com/repos/SCOREC/msi/contents/{+path}","compare_url":"https://api.github.com/repos/SCOREC/msi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SCOREC/msi/merges","archive_url":"https://api.github.com/repos/SCOREC/msi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SCOREC/msi/downloads","issues_url":"https://api.github.com/repos/SCOREC/msi/issues{/number}","pulls_url":"https://api.github.com/repos/SCOREC/msi/pulls{/number}","milestones_url":"https://api.github.com/repos/SCOREC/msi/milestones{/number}","notifications_url":"https://api.github.com/repos/SCOREC/msi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SCOREC/msi/labels{/name}","releases_url":"https://api.github.com/repos/SCOREC/msi/releases{/id}","deployments_url":"https://api.github.com/repos/SCOREC/msi/deployments","created_at":"2017-07-24T17:57:58Z","updated_at":"2018-06-05T01:09:08Z","pushed_at":"2018-06-29T03:44:18Z","git_url":"git://github.com/SCOREC/msi.git","ssh_url":"git@github.com:SCOREC/msi.git","clone_url":"https://github.com/SCOREC/msi.git","svn_url":"https://github.com/SCOREC/msi","homepage":"https://scorec.rpi.edu/~seol/MSI.pdf","size":559,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":3,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SCOREC/msi/pulls/17"},"html":{"href":"https://github.com/SCOREC/msi/pull/17"},"issue":{"href":"https://api.github.com/repos/SCOREC/msi/issues/17"},"comments":{"href":"https://api.github.com/repos/SCOREC/msi/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/SCOREC/msi/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/SCOREC/msi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SCOREC/msi/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/SCOREC/msi/statuses/43c090a420f8fe16ab3a58d72028a342ee844beb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"atruszkowska"}}