{"action":"created","comment":{"url":"https://api.github.com/repos/OPM/opm-autodiff/pulls/comments/44788954","id":44788954,"diff_hunk":"@@ -551,10 +612,20 @@ namespace Opm {\n              * Compute average hydrocarbon pressure and temperatures in all\n              * regions.\n              *\n-             * \\param[in] state Dynamic reservoir state.\n+             * \\param[in] state       Dynamic reservoir state.\n+             * \\param[in] info        The information and communication utilities\n+             *                        about/of the parallelization.\n+             * \\param[in] ownership   In a parallel run this is vector containing\n+             *                        1 for every owned unknown, zero othercase.\n+             *                        If it is no such run then it is not used.","path":"opm/autodiff/RateConverter.hpp","position":null,"original_position":114,"commit_id":"8148c37d571660524170dabcd1291798e6fbdcd6","original_commit_id":"5cc90d1255d409fdbefbfadd26daac8330118071","user":{"login":"blattms","id":1944640,"avatar_url":"https://avatars.githubusercontent.com/u/1944640?v=3","gravatar_id":"","url":"https://api.github.com/users/blattms","html_url":"https://github.com/blattms","followers_url":"https://api.github.com/users/blattms/followers","following_url":"https://api.github.com/users/blattms/following{/other_user}","gists_url":"https://api.github.com/users/blattms/gists{/gist_id}","starred_url":"https://api.github.com/users/blattms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blattms/subscriptions","organizations_url":"https://api.github.com/users/blattms/orgs","repos_url":"https://api.github.com/users/blattms/repos","events_url":"https://api.github.com/users/blattms/events{/privacy}","received_events_url":"https://api.github.com/users/blattms/received_events","type":"User","site_admin":false},"body":"Fixed.","created_at":"2015-11-13T14:47:39Z","updated_at":"2015-11-13T14:47:39Z","html_url":"https://github.com/OPM/opm-autodiff/pull/531#discussion_r44788954","pull_request_url":"https://api.github.com/repos/OPM/opm-autodiff/pulls/531","_links":{"self":{"href":"https://api.github.com/repos/OPM/opm-autodiff/pulls/comments/44788954"},"html":{"href":"https://github.com/OPM/opm-autodiff/pull/531#discussion_r44788954"},"pull_request":{"href":"https://api.github.com/repos/OPM/opm-autodiff/pulls/531"}}},"pull_request":{"url":"https://api.github.com/repos/OPM/opm-autodiff/pulls/531","id":49436413,"html_url":"https://github.com/OPM/opm-autodiff/pull/531","diff_url":"https://github.com/OPM/opm-autodiff/pull/531.diff","patch_url":"https://github.com/OPM/opm-autodiff/pull/531.patch","issue_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/531","number":531,"state":"open","locked":false,"title":"Calculate parallel averages in RateConverter.","user":{"login":"blattms","id":1944640,"avatar_url":"https://avatars.githubusercontent.com/u/1944640?v=3","gravatar_id":"","url":"https://api.github.com/users/blattms","html_url":"https://github.com/blattms","followers_url":"https://api.github.com/users/blattms/followers","following_url":"https://api.github.com/users/blattms/following{/other_user}","gists_url":"https://api.github.com/users/blattms/gists{/gist_id}","starred_url":"https://api.github.com/users/blattms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blattms/subscriptions","organizations_url":"https://api.github.com/users/blattms/orgs","repos_url":"https://api.github.com/users/blattms/repos","events_url":"https://api.github.com/users/blattms/events{/privacy}","received_events_url":"https://api.github.com/users/blattms/received_events","type":"User","site_admin":false},"body":"Previously, local averages were calculated and used in the\r\nwell equations. With this commit we add versions of defineState and\r\ncalcAverages that take into account the parallel domain decomposition\r\nand calculate correct averages.","created_at":"2015-11-02T14:21:32Z","updated_at":"2015-11-13T14:47:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27e04b8f10071bccf1962df2b29acd22c1f40a65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OPM/opm-autodiff/pulls/531/commits","review_comments_url":"https://api.github.com/repos/OPM/opm-autodiff/pulls/531/comments","review_comment_url":"https://api.github.com/repos/OPM/opm-autodiff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/531/comments","statuses_url":"https://api.github.com/repos/OPM/opm-autodiff/statuses/8148c37d571660524170dabcd1291798e6fbdcd6","head":{"label":"blattms:parallel-RateConverter","ref":"parallel-RateConverter","sha":"8148c37d571660524170dabcd1291798e6fbdcd6","user":{"login":"blattms","id":1944640,"avatar_url":"https://avatars.githubusercontent.com/u/1944640?v=3","gravatar_id":"","url":"https://api.github.com/users/blattms","html_url":"https://github.com/blattms","followers_url":"https://api.github.com/users/blattms/followers","following_url":"https://api.github.com/users/blattms/following{/other_user}","gists_url":"https://api.github.com/users/blattms/gists{/gist_id}","starred_url":"https://api.github.com/users/blattms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blattms/subscriptions","organizations_url":"https://api.github.com/users/blattms/orgs","repos_url":"https://api.github.com/users/blattms/repos","events_url":"https://api.github.com/users/blattms/events{/privacy}","received_events_url":"https://api.github.com/users/blattms/received_events","type":"User","site_admin":false},"repo":{"id":15934062,"name":"opm-autodiff","full_name":"blattms/opm-autodiff","owner":{"login":"blattms","id":1944640,"avatar_url":"https://avatars.githubusercontent.com/u/1944640?v=3","gravatar_id":"","url":"https://api.github.com/users/blattms","html_url":"https://github.com/blattms","followers_url":"https://api.github.com/users/blattms/followers","following_url":"https://api.github.com/users/blattms/following{/other_user}","gists_url":"https://api.github.com/users/blattms/gists{/gist_id}","starred_url":"https://api.github.com/users/blattms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blattms/subscriptions","organizations_url":"https://api.github.com/users/blattms/orgs","repos_url":"https://api.github.com/users/blattms/repos","events_url":"https://api.github.com/users/blattms/events{/privacy}","received_events_url":"https://api.github.com/users/blattms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/blattms/opm-autodiff","description":"Utilities for automatic differentiation and simulators based on AD.","fork":true,"url":"https://api.github.com/repos/blattms/opm-autodiff","forks_url":"https://api.github.com/repos/blattms/opm-autodiff/forks","keys_url":"https://api.github.com/repos/blattms/opm-autodiff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/blattms/opm-autodiff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/blattms/opm-autodiff/teams","hooks_url":"https://api.github.com/repos/blattms/opm-autodiff/hooks","issue_events_url":"https://api.github.com/repos/blattms/opm-autodiff/issues/events{/number}","events_url":"https://api.github.com/repos/blattms/opm-autodiff/events","assignees_url":"https://api.github.com/repos/blattms/opm-autodiff/assignees{/user}","branches_url":"https://api.github.com/repos/blattms/opm-autodiff/branches{/branch}","tags_url":"https://api.github.com/repos/blattms/opm-autodiff/tags","blobs_url":"https://api.github.com/repos/blattms/opm-autodiff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/blattms/opm-autodiff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/blattms/opm-autodiff/git/refs{/sha}","trees_url":"https://api.github.com/repos/blattms/opm-autodiff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/blattms/opm-autodiff/statuses/{sha}","languages_url":"https://api.github.com/repos/blattms/opm-autodiff/languages","stargazers_url":"https://api.github.com/repos/blattms/opm-autodiff/stargazers","contributors_url":"https://api.github.com/repos/blattms/opm-autodiff/contributors","subscribers_url":"https://api.github.com/repos/blattms/opm-autodiff/subscribers","subscription_url":"https://api.github.com/repos/blattms/opm-autodiff/subscription","commits_url":"https://api.github.com/repos/blattms/opm-autodiff/commits{/sha}","git_commits_url":"https://api.github.com/repos/blattms/opm-autodiff/git/commits{/sha}","comments_url":"https://api.github.com/repos/blattms/opm-autodiff/comments{/number}","issue_comment_url":"https://api.github.com/repos/blattms/opm-autodiff/issues/comments{/number}","contents_url":"https://api.github.com/repos/blattms/opm-autodiff/contents/{+path}","compare_url":"https://api.github.com/repos/blattms/opm-autodiff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/blattms/opm-autodiff/merges","archive_url":"https://api.github.com/repos/blattms/opm-autodiff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/blattms/opm-autodiff/downloads","issues_url":"https://api.github.com/repos/blattms/opm-autodiff/issues{/number}","pulls_url":"https://api.github.com/repos/blattms/opm-autodiff/pulls{/number}","milestones_url":"https://api.github.com/repos/blattms/opm-autodiff/milestones{/number}","notifications_url":"https://api.github.com/repos/blattms/opm-autodiff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/blattms/opm-autodiff/labels{/name}","releases_url":"https://api.github.com/repos/blattms/opm-autodiff/releases{/id}","created_at":"2014-01-15T12:06:17Z","updated_at":"2015-03-02T15:22:37Z","pushed_at":"2015-11-13T14:47:16Z","git_url":"git://github.com/blattms/opm-autodiff.git","ssh_url":"git@github.com:blattms/opm-autodiff.git","clone_url":"https://github.com/blattms/opm-autodiff.git","svn_url":"https://github.com/blattms/opm-autodiff","homepage":null,"size":3800,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OPM:master","ref":"master","sha":"2a0051655c48dbeee1fbc6db20516cd537e8ccb6","user":{"login":"OPM","id":1827197,"avatar_url":"https://avatars.githubusercontent.com/u/1827197?v=3","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"repo":{"id":10097543,"name":"opm-autodiff","full_name":"OPM/opm-autodiff","owner":{"login":"OPM","id":1827197,"avatar_url":"https://avatars.githubusercontent.com/u/1827197?v=3","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OPM/opm-autodiff","description":"Utilities for automatic differentiation and simulators based on AD.","fork":false,"url":"https://api.github.com/repos/OPM/opm-autodiff","forks_url":"https://api.github.com/repos/OPM/opm-autodiff/forks","keys_url":"https://api.github.com/repos/OPM/opm-autodiff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OPM/opm-autodiff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OPM/opm-autodiff/teams","hooks_url":"https://api.github.com/repos/OPM/opm-autodiff/hooks","issue_events_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/events{/number}","events_url":"https://api.github.com/repos/OPM/opm-autodiff/events","assignees_url":"https://api.github.com/repos/OPM/opm-autodiff/assignees{/user}","branches_url":"https://api.github.com/repos/OPM/opm-autodiff/branches{/branch}","tags_url":"https://api.github.com/repos/OPM/opm-autodiff/tags","blobs_url":"https://api.github.com/repos/OPM/opm-autodiff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OPM/opm-autodiff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OPM/opm-autodiff/git/refs{/sha}","trees_url":"https://api.github.com/repos/OPM/opm-autodiff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OPM/opm-autodiff/statuses/{sha}","languages_url":"https://api.github.com/repos/OPM/opm-autodiff/languages","stargazers_url":"https://api.github.com/repos/OPM/opm-autodiff/stargazers","contributors_url":"https://api.github.com/repos/OPM/opm-autodiff/contributors","subscribers_url":"https://api.github.com/repos/OPM/opm-autodiff/subscribers","subscription_url":"https://api.github.com/repos/OPM/opm-autodiff/subscription","commits_url":"https://api.github.com/repos/OPM/opm-autodiff/commits{/sha}","git_commits_url":"https://api.github.com/repos/OPM/opm-autodiff/git/commits{/sha}","comments_url":"https://api.github.com/repos/OPM/opm-autodiff/comments{/number}","issue_comment_url":"https://api.github.com/repos/OPM/opm-autodiff/issues/comments{/number}","contents_url":"https://api.github.com/repos/OPM/opm-autodiff/contents/{+path}","compare_url":"https://api.github.com/repos/OPM/opm-autodiff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OPM/opm-autodiff/merges","archive_url":"https://api.github.com/repos/OPM/opm-autodiff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OPM/opm-autodiff/downloads","issues_url":"https://api.github.com/repos/OPM/opm-autodiff/issues{/number}","pulls_url":"https://api.github.com/repos/OPM/opm-autodiff/pulls{/number}","milestones_url":"https://api.github.com/repos/OPM/opm-autodiff/milestones{/number}","notifications_url":"https://api.github.com/repos/OPM/opm-autodiff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OPM/opm-autodiff/labels{/name}","releases_url":"https://api.github.com/repos/OPM/opm-autodiff/releases{/id}","created_at":"2013-05-16T08:59:22Z","updated_at":"2015-10-06T13:12:46Z","pushed_at":"2015-11-13T14:47:17Z","git_url":"git://github.com/OPM/opm-autodiff.git","ssh_url":"git@github.com:OPM/opm-autodiff.git","clone_url":"https://github.com/OPM/opm-autodiff.git","svn_url":"https://github.com/OPM/opm-autodiff","homepage":null,"size":5974,"stargazers_count":5,"watchers_count":5,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":13,"forks":22,"open_issues":13,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OPM/opm-autodiff/pulls/531"},"html":{"href":"https://github.com/OPM/opm-autodiff/pull/531"},"issue":{"href":"https://api.github.com/repos/OPM/opm-autodiff/issues/531"},"comments":{"href":"https://api.github.com/repos/OPM/opm-autodiff/issues/531/comments"},"review_comments":{"href":"https://api.github.com/repos/OPM/opm-autodiff/pulls/531/comments"},"review_comment":{"href":"https://api.github.com/repos/OPM/opm-autodiff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OPM/opm-autodiff/pulls/531/commits"},"statuses":{"href":"https://api.github.com/repos/OPM/opm-autodiff/statuses/8148c37d571660524170dabcd1291798e6fbdcd6"}}}}