{"action":"created","comment":{"url":"https://api.github.com/repos/dealii/dealii/pulls/comments/59851445","id":59851445,"diff_hunk":"@@ -459,6 +459,42 @@ namespace PETScWrappers\n }\n \n \n+namespace internal\n+{\n+  namespace LinearOperator\n+  {\n+    template <typename> class ReinitHelper;\n+\n+    /**\n+     * A helper class used internally in linear_operator.h. Specialization for\n+     * PETScWrappers::BlockVector.\n+     */\n+    template<>\n+    class ReinitHelper<PETScWrappers::BlockVector>\n+    {\n+    public:\n+      template <typename Matrix>\n+      static\n+      void reinit_range_vector (const Matrix &matrix,\n+                                PETScWrappers::BlockVector &v,\n+                                bool omit_zeroing_entries)\n+      {\n+        v.reinit(matrix.locally_range_sizes(), omit_zeroing_entries);","path":"include/deal.II/lac/petsc_block_vector.h","position":24,"original_position":24,"commit_id":"f4d8c274dad7841675492845b9959212cec7ccc2","original_commit_id":"f4d8c274dad7841675492845b9959212cec7ccc2","user":{"login":"luca-heltai","id":2919756,"avatar_url":"https://avatars.githubusercontent.com/u/2919756?v=3","gravatar_id":"","url":"https://api.github.com/users/luca-heltai","html_url":"https://github.com/luca-heltai","followers_url":"https://api.github.com/users/luca-heltai/followers","following_url":"https://api.github.com/users/luca-heltai/following{/other_user}","gists_url":"https://api.github.com/users/luca-heltai/gists{/gist_id}","starred_url":"https://api.github.com/users/luca-heltai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luca-heltai/subscriptions","organizations_url":"https://api.github.com/users/luca-heltai/orgs","repos_url":"https://api.github.com/users/luca-heltai/repos","events_url":"https://api.github.com/users/luca-heltai/events{/privacy}","received_events_url":"https://api.github.com/users/luca-heltai/received_events","type":"User","site_admin":false},"body":"locally_owned!!","created_at":"2016-04-15T09:49:20Z","updated_at":"2016-04-15T09:49:20Z","html_url":"https://github.com/dealii/dealii/pull/2502#discussion_r59851445","pull_request_url":"https://api.github.com/repos/dealii/dealii/pulls/2502","_links":{"self":{"href":"https://api.github.com/repos/dealii/dealii/pulls/comments/59851445"},"html":{"href":"https://github.com/dealii/dealii/pull/2502#discussion_r59851445"},"pull_request":{"href":"https://api.github.com/repos/dealii/dealii/pulls/2502"}}},"pull_request":{"url":"https://api.github.com/repos/dealii/dealii/pulls/2502","id":66220736,"html_url":"https://github.com/dealii/dealii/pull/2502","diff_url":"https://github.com/dealii/dealii/pull/2502.diff","patch_url":"https://github.com/dealii/dealii/pull/2502.patch","issue_url":"https://api.github.com/repos/dealii/dealii/issues/2502","number":2502,"state":"closed","locked":false,"title":"PETSc ReinitHelper for LinearOperator","user":{"login":"ESeNonFossiIo","id":8956997,"avatar_url":"https://avatars.githubusercontent.com/u/8956997?v=3","gravatar_id":"","url":"https://api.github.com/users/ESeNonFossiIo","html_url":"https://github.com/ESeNonFossiIo","followers_url":"https://api.github.com/users/ESeNonFossiIo/followers","following_url":"https://api.github.com/users/ESeNonFossiIo/following{/other_user}","gists_url":"https://api.github.com/users/ESeNonFossiIo/gists{/gist_id}","starred_url":"https://api.github.com/users/ESeNonFossiIo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESeNonFossiIo/subscriptions","organizations_url":"https://api.github.com/users/ESeNonFossiIo/orgs","repos_url":"https://api.github.com/users/ESeNonFossiIo/repos","events_url":"https://api.github.com/users/ESeNonFossiIo/events{/privacy}","received_events_url":"https://api.github.com/users/ESeNonFossiIo/received_events","type":"User","site_admin":false},"body":"Related to issue [#2356](https://github.com/dealii/dealii/issues/2356)","created_at":"2016-04-12T20:17:04Z","updated_at":"2016-04-15T09:49:20Z","closed_at":"2016-04-15T08:20:56Z","merged_at":"2016-04-15T08:20:56Z","merge_commit_sha":"001622fbc094ece6bbb788c46a2a805dd22cacd7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dealii/dealii/pulls/2502/commits","review_comments_url":"https://api.github.com/repos/dealii/dealii/pulls/2502/comments","review_comment_url":"https://api.github.com/repos/dealii/dealii/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dealii/dealii/issues/2502/comments","statuses_url":"https://api.github.com/repos/dealii/dealii/statuses/f4d8c274dad7841675492845b9959212cec7ccc2","head":{"label":"ESeNonFossiIo:PETSc_reinit_helper","ref":"PETSc_reinit_helper","sha":"f4d8c274dad7841675492845b9959212cec7ccc2","user":{"login":"ESeNonFossiIo","id":8956997,"avatar_url":"https://avatars.githubusercontent.com/u/8956997?v=3","gravatar_id":"","url":"https://api.github.com/users/ESeNonFossiIo","html_url":"https://github.com/ESeNonFossiIo","followers_url":"https://api.github.com/users/ESeNonFossiIo/followers","following_url":"https://api.github.com/users/ESeNonFossiIo/following{/other_user}","gists_url":"https://api.github.com/users/ESeNonFossiIo/gists{/gist_id}","starred_url":"https://api.github.com/users/ESeNonFossiIo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESeNonFossiIo/subscriptions","organizations_url":"https://api.github.com/users/ESeNonFossiIo/orgs","repos_url":"https://api.github.com/users/ESeNonFossiIo/repos","events_url":"https://api.github.com/users/ESeNonFossiIo/events{/privacy}","received_events_url":"https://api.github.com/users/ESeNonFossiIo/received_events","type":"User","site_admin":false},"repo":{"id":33110155,"name":"dealii","full_name":"ESeNonFossiIo/dealii","owner":{"login":"ESeNonFossiIo","id":8956997,"avatar_url":"https://avatars.githubusercontent.com/u/8956997?v=3","gravatar_id":"","url":"https://api.github.com/users/ESeNonFossiIo","html_url":"https://github.com/ESeNonFossiIo","followers_url":"https://api.github.com/users/ESeNonFossiIo/followers","following_url":"https://api.github.com/users/ESeNonFossiIo/following{/other_user}","gists_url":"https://api.github.com/users/ESeNonFossiIo/gists{/gist_id}","starred_url":"https://api.github.com/users/ESeNonFossiIo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESeNonFossiIo/subscriptions","organizations_url":"https://api.github.com/users/ESeNonFossiIo/orgs","repos_url":"https://api.github.com/users/ESeNonFossiIo/repos","events_url":"https://api.github.com/users/ESeNonFossiIo/events{/privacy}","received_events_url":"https://api.github.com/users/ESeNonFossiIo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ESeNonFossiIo/dealii","description":"The development repository for the deal.II finite element library.","fork":true,"url":"https://api.github.com/repos/ESeNonFossiIo/dealii","forks_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/forks","keys_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/teams","hooks_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/hooks","issue_events_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/issues/events{/number}","events_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/events","assignees_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/assignees{/user}","branches_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/branches{/branch}","tags_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/tags","blobs_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/git/refs{/sha}","trees_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/statuses/{sha}","languages_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/languages","stargazers_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/stargazers","contributors_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/contributors","subscribers_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/subscribers","subscription_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/subscription","commits_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/commits{/sha}","git_commits_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/git/commits{/sha}","comments_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/comments{/number}","issue_comment_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/issues/comments{/number}","contents_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/contents/{+path}","compare_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/merges","archive_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/downloads","issues_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/issues{/number}","pulls_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/pulls{/number}","milestones_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/milestones{/number}","notifications_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/labels{/name}","releases_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/releases{/id}","deployments_url":"https://api.github.com/repos/ESeNonFossiIo/dealii/deployments","created_at":"2015-03-30T07:57:41Z","updated_at":"2016-01-12T17:28:30Z","pushed_at":"2016-04-15T08:35:17Z","git_url":"git://github.com/ESeNonFossiIo/dealii.git","ssh_url":"git@github.com:ESeNonFossiIo/dealii.git","clone_url":"https://github.com/ESeNonFossiIo/dealii.git","svn_url":"https://github.com/ESeNonFossiIo/dealii","homepage":"http://www.dealii.org/","size":138662,"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":"dealii:master","ref":"master","sha":"84731d7b3d435ddfd8ad158ad0593519a489ebcb","user":{"login":"dealii","id":7506070,"avatar_url":"https://avatars.githubusercontent.com/u/7506070?v=3","gravatar_id":"","url":"https://api.github.com/users/dealii","html_url":"https://github.com/dealii","followers_url":"https://api.github.com/users/dealii/followers","following_url":"https://api.github.com/users/dealii/following{/other_user}","gists_url":"https://api.github.com/users/dealii/gists{/gist_id}","starred_url":"https://api.github.com/users/dealii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dealii/subscriptions","organizations_url":"https://api.github.com/users/dealii/orgs","repos_url":"https://api.github.com/users/dealii/repos","events_url":"https://api.github.com/users/dealii/events{/privacy}","received_events_url":"https://api.github.com/users/dealii/received_events","type":"Organization","site_admin":false},"repo":{"id":21943980,"name":"dealii","full_name":"dealii/dealii","owner":{"login":"dealii","id":7506070,"avatar_url":"https://avatars.githubusercontent.com/u/7506070?v=3","gravatar_id":"","url":"https://api.github.com/users/dealii","html_url":"https://github.com/dealii","followers_url":"https://api.github.com/users/dealii/followers","following_url":"https://api.github.com/users/dealii/following{/other_user}","gists_url":"https://api.github.com/users/dealii/gists{/gist_id}","starred_url":"https://api.github.com/users/dealii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dealii/subscriptions","organizations_url":"https://api.github.com/users/dealii/orgs","repos_url":"https://api.github.com/users/dealii/repos","events_url":"https://api.github.com/users/dealii/events{/privacy}","received_events_url":"https://api.github.com/users/dealii/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dealii/dealii","description":"The development repository for the deal.II finite element library.","fork":false,"url":"https://api.github.com/repos/dealii/dealii","forks_url":"https://api.github.com/repos/dealii/dealii/forks","keys_url":"https://api.github.com/repos/dealii/dealii/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dealii/dealii/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dealii/dealii/teams","hooks_url":"https://api.github.com/repos/dealii/dealii/hooks","issue_events_url":"https://api.github.com/repos/dealii/dealii/issues/events{/number}","events_url":"https://api.github.com/repos/dealii/dealii/events","assignees_url":"https://api.github.com/repos/dealii/dealii/assignees{/user}","branches_url":"https://api.github.com/repos/dealii/dealii/branches{/branch}","tags_url":"https://api.github.com/repos/dealii/dealii/tags","blobs_url":"https://api.github.com/repos/dealii/dealii/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dealii/dealii/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dealii/dealii/git/refs{/sha}","trees_url":"https://api.github.com/repos/dealii/dealii/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dealii/dealii/statuses/{sha}","languages_url":"https://api.github.com/repos/dealii/dealii/languages","stargazers_url":"https://api.github.com/repos/dealii/dealii/stargazers","contributors_url":"https://api.github.com/repos/dealii/dealii/contributors","subscribers_url":"https://api.github.com/repos/dealii/dealii/subscribers","subscription_url":"https://api.github.com/repos/dealii/dealii/subscription","commits_url":"https://api.github.com/repos/dealii/dealii/commits{/sha}","git_commits_url":"https://api.github.com/repos/dealii/dealii/git/commits{/sha}","comments_url":"https://api.github.com/repos/dealii/dealii/comments{/number}","issue_comment_url":"https://api.github.com/repos/dealii/dealii/issues/comments{/number}","contents_url":"https://api.github.com/repos/dealii/dealii/contents/{+path}","compare_url":"https://api.github.com/repos/dealii/dealii/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dealii/dealii/merges","archive_url":"https://api.github.com/repos/dealii/dealii/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dealii/dealii/downloads","issues_url":"https://api.github.com/repos/dealii/dealii/issues{/number}","pulls_url":"https://api.github.com/repos/dealii/dealii/pulls{/number}","milestones_url":"https://api.github.com/repos/dealii/dealii/milestones{/number}","notifications_url":"https://api.github.com/repos/dealii/dealii/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dealii/dealii/labels{/name}","releases_url":"https://api.github.com/repos/dealii/dealii/releases{/id}","deployments_url":"https://api.github.com/repos/dealii/dealii/deployments","created_at":"2014-07-17T14:00:26Z","updated_at":"2016-04-13T22:49:50Z","pushed_at":"2016-04-15T08:20:56Z","git_url":"git://github.com/dealii/dealii.git","ssh_url":"git@github.com:dealii/dealii.git","clone_url":"https://github.com/dealii/dealii.git","svn_url":"https://github.com/dealii/dealii","homepage":"http://www.dealii.org/","size":159079,"stargazers_count":140,"watchers_count":140,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":162,"mirror_url":null,"open_issues_count":171,"forks":162,"open_issues":171,"watchers":140,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dealii/dealii/pulls/2502"},"html":{"href":"https://github.com/dealii/dealii/pull/2502"},"issue":{"href":"https://api.github.com/repos/dealii/dealii/issues/2502"},"comments":{"href":"https://api.github.com/repos/dealii/dealii/issues/2502/comments"},"review_comments":{"href":"https://api.github.com/repos/dealii/dealii/pulls/2502/comments"},"review_comment":{"href":"https://api.github.com/repos/dealii/dealii/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dealii/dealii/pulls/2502/commits"},"statuses":{"href":"https://api.github.com/repos/dealii/dealii/statuses/f4d8c274dad7841675492845b9959212cec7ccc2"}}}}