{"action":"created","comment":{"url":"https://api.github.com/repos/geodynamics/aspect/pulls/comments/116771764","pull_request_review_id":38419211,"id":116771764,"diff_hunk":"@@ -166,6 +166,90 @@ namespace aspect\n   }\n \n \n+  /**\n+   * This is an internal deal.II function stolen from dof_tools.cc\n+   */\n+  template <int dim, int spacedim>\n+  std::vector<unsigned char>\n+  get_local_component_association (const FiniteElement<dim,spacedim>  &fe,\n+                                   const ComponentMask        &component_mask)\n+  {\n+    std::vector<unsigned char> local_component_association (fe.dofs_per_cell,\n+                                                            (unsigned char)(-1));\n+\n+    // compute the component each local dof belongs to.\n+    // if the shape function is primitive, then this\n+    // is simple and we can just associate it with\n+    // what system_to_component_index gives us\n+    for (unsigned int i=0; i<fe.dofs_per_cell; ++i)\n+      if (fe.is_primitive(i))","path":"source/simulator/introspection.cc","position":20,"original_position":20,"commit_id":"709b6b9d3229bb8a2879c500848235d500754647","original_commit_id":"709b6b9d3229bb8a2879c500848235d500754647","user":{"login":"bangerth","id":7504421,"avatar_url":"https://avatars1.githubusercontent.com/u/7504421?v=3","gravatar_id":"","url":"https://api.github.com/users/bangerth","html_url":"https://github.com/bangerth","followers_url":"https://api.github.com/users/bangerth/followers","following_url":"https://api.github.com/users/bangerth/following{/other_user}","gists_url":"https://api.github.com/users/bangerth/gists{/gist_id}","starred_url":"https://api.github.com/users/bangerth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangerth/subscriptions","organizations_url":"https://api.github.com/users/bangerth/orgs","repos_url":"https://api.github.com/users/bangerth/repos","events_url":"https://api.github.com/users/bangerth/events{/privacy}","received_events_url":"https://api.github.com/users/bangerth/received_events","type":"User","site_admin":false},"body":"are we ever using non-primitive elements? we could avoid a lot of complexity if we assume that","created_at":"2017-05-16T15:12:51Z","updated_at":"2017-05-16T15:15:14Z","html_url":"https://github.com/geodynamics/aspect/pull/1709#discussion_r116771764","pull_request_url":"https://api.github.com/repos/geodynamics/aspect/pulls/1709","_links":{"self":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/comments/116771764"},"html":{"href":"https://github.com/geodynamics/aspect/pull/1709#discussion_r116771764"},"pull_request":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/1709"}}},"pull_request":{"url":"https://api.github.com/repos/geodynamics/aspect/pulls/1709","id":120847910,"html_url":"https://github.com/geodynamics/aspect/pull/1709","diff_url":"https://github.com/geodynamics/aspect/pull/1709.diff","patch_url":"https://github.com/geodynamics/aspect/pull/1709.patch","issue_url":"https://api.github.com/repos/geodynamics/aspect/issues/1709","number":1709,"state":"open","locked":false,"title":"move extract_component_subset","user":{"login":"tjhei","id":1531285,"avatar_url":"https://avatars3.githubusercontent.com/u/1531285?v=3","gravatar_id":"","url":"https://api.github.com/users/tjhei","html_url":"https://github.com/tjhei","followers_url":"https://api.github.com/users/tjhei/followers","following_url":"https://api.github.com/users/tjhei/following{/other_user}","gists_url":"https://api.github.com/users/tjhei/gists{/gist_id}","starred_url":"https://api.github.com/users/tjhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjhei/subscriptions","organizations_url":"https://api.github.com/users/tjhei/orgs","repos_url":"https://api.github.com/users/tjhei/repos","events_url":"https://api.github.com/users/tjhei/events{/privacy}","received_events_url":"https://api.github.com/users/tjhei/received_events","type":"User","site_admin":false},"body":"This does not change functionality but allows me to use the function in other .cc files later.","created_at":"2017-05-16T14:53:06Z","updated_at":"2017-05-16T15:15:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d15a5550f03cc2bc26e6f89804fd9b0f5dd7b5bb","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/geodynamics/aspect/pulls/1709/commits","review_comments_url":"https://api.github.com/repos/geodynamics/aspect/pulls/1709/comments","review_comment_url":"https://api.github.com/repos/geodynamics/aspect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geodynamics/aspect/issues/1709/comments","statuses_url":"https://api.github.com/repos/geodynamics/aspect/statuses/709b6b9d3229bb8a2879c500848235d500754647","head":{"label":"tjhei:move_extract_component_subset","ref":"move_extract_component_subset","sha":"709b6b9d3229bb8a2879c500848235d500754647","user":{"login":"tjhei","id":1531285,"avatar_url":"https://avatars3.githubusercontent.com/u/1531285?v=3","gravatar_id":"","url":"https://api.github.com/users/tjhei","html_url":"https://github.com/tjhei","followers_url":"https://api.github.com/users/tjhei/followers","following_url":"https://api.github.com/users/tjhei/following{/other_user}","gists_url":"https://api.github.com/users/tjhei/gists{/gist_id}","starred_url":"https://api.github.com/users/tjhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjhei/subscriptions","organizations_url":"https://api.github.com/users/tjhei/orgs","repos_url":"https://api.github.com/users/tjhei/repos","events_url":"https://api.github.com/users/tjhei/events{/privacy}","received_events_url":"https://api.github.com/users/tjhei/received_events","type":"User","site_admin":false},"repo":{"id":19503755,"name":"aspect","full_name":"tjhei/aspect","owner":{"login":"tjhei","id":1531285,"avatar_url":"https://avatars3.githubusercontent.com/u/1531285?v=3","gravatar_id":"","url":"https://api.github.com/users/tjhei","html_url":"https://github.com/tjhei","followers_url":"https://api.github.com/users/tjhei/followers","following_url":"https://api.github.com/users/tjhei/following{/other_user}","gists_url":"https://api.github.com/users/tjhei/gists{/gist_id}","starred_url":"https://api.github.com/users/tjhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjhei/subscriptions","organizations_url":"https://api.github.com/users/tjhei/orgs","repos_url":"https://api.github.com/users/tjhei/repos","events_url":"https://api.github.com/users/tjhei/events{/privacy}","received_events_url":"https://api.github.com/users/tjhei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tjhei/aspect","description":"Finite element parallel code to simulate problems in thermal convection in both 2D and 3D models.","fork":true,"url":"https://api.github.com/repos/tjhei/aspect","forks_url":"https://api.github.com/repos/tjhei/aspect/forks","keys_url":"https://api.github.com/repos/tjhei/aspect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tjhei/aspect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tjhei/aspect/teams","hooks_url":"https://api.github.com/repos/tjhei/aspect/hooks","issue_events_url":"https://api.github.com/repos/tjhei/aspect/issues/events{/number}","events_url":"https://api.github.com/repos/tjhei/aspect/events","assignees_url":"https://api.github.com/repos/tjhei/aspect/assignees{/user}","branches_url":"https://api.github.com/repos/tjhei/aspect/branches{/branch}","tags_url":"https://api.github.com/repos/tjhei/aspect/tags","blobs_url":"https://api.github.com/repos/tjhei/aspect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tjhei/aspect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tjhei/aspect/git/refs{/sha}","trees_url":"https://api.github.com/repos/tjhei/aspect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tjhei/aspect/statuses/{sha}","languages_url":"https://api.github.com/repos/tjhei/aspect/languages","stargazers_url":"https://api.github.com/repos/tjhei/aspect/stargazers","contributors_url":"https://api.github.com/repos/tjhei/aspect/contributors","subscribers_url":"https://api.github.com/repos/tjhei/aspect/subscribers","subscription_url":"https://api.github.com/repos/tjhei/aspect/subscription","commits_url":"https://api.github.com/repos/tjhei/aspect/commits{/sha}","git_commits_url":"https://api.github.com/repos/tjhei/aspect/git/commits{/sha}","comments_url":"https://api.github.com/repos/tjhei/aspect/comments{/number}","issue_comment_url":"https://api.github.com/repos/tjhei/aspect/issues/comments{/number}","contents_url":"https://api.github.com/repos/tjhei/aspect/contents/{+path}","compare_url":"https://api.github.com/repos/tjhei/aspect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tjhei/aspect/merges","archive_url":"https://api.github.com/repos/tjhei/aspect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tjhei/aspect/downloads","issues_url":"https://api.github.com/repos/tjhei/aspect/issues{/number}","pulls_url":"https://api.github.com/repos/tjhei/aspect/pulls{/number}","milestones_url":"https://api.github.com/repos/tjhei/aspect/milestones{/number}","notifications_url":"https://api.github.com/repos/tjhei/aspect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tjhei/aspect/labels{/name}","releases_url":"https://api.github.com/repos/tjhei/aspect/releases{/id}","deployments_url":"https://api.github.com/repos/tjhei/aspect/deployments","created_at":"2014-05-06T17:29:57Z","updated_at":"2016-08-27T16:52:26Z","pushed_at":"2017-05-16T15:09:37Z","git_url":"git://github.com/tjhei/aspect.git","ssh_url":"git@github.com:tjhei/aspect.git","clone_url":"https://github.com/tjhei/aspect.git","svn_url":"https://github.com/tjhei/aspect","homepage":null,"size":149878,"stargazers_count":0,"watchers_count":0,"language":"Gnuplot","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"geodynamics:master","ref":"master","sha":"33d570ab259b2c6d62c5d282e9dac9588177e1f8","user":{"login":"geodynamics","id":4052461,"avatar_url":"https://avatars2.githubusercontent.com/u/4052461?v=3","gravatar_id":"","url":"https://api.github.com/users/geodynamics","html_url":"https://github.com/geodynamics","followers_url":"https://api.github.com/users/geodynamics/followers","following_url":"https://api.github.com/users/geodynamics/following{/other_user}","gists_url":"https://api.github.com/users/geodynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/geodynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geodynamics/subscriptions","organizations_url":"https://api.github.com/users/geodynamics/orgs","repos_url":"https://api.github.com/users/geodynamics/repos","events_url":"https://api.github.com/users/geodynamics/events{/privacy}","received_events_url":"https://api.github.com/users/geodynamics/received_events","type":"Organization","site_admin":false},"repo":{"id":19502452,"name":"aspect","full_name":"geodynamics/aspect","owner":{"login":"geodynamics","id":4052461,"avatar_url":"https://avatars2.githubusercontent.com/u/4052461?v=3","gravatar_id":"","url":"https://api.github.com/users/geodynamics","html_url":"https://github.com/geodynamics","followers_url":"https://api.github.com/users/geodynamics/followers","following_url":"https://api.github.com/users/geodynamics/following{/other_user}","gists_url":"https://api.github.com/users/geodynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/geodynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geodynamics/subscriptions","organizations_url":"https://api.github.com/users/geodynamics/orgs","repos_url":"https://api.github.com/users/geodynamics/repos","events_url":"https://api.github.com/users/geodynamics/events{/privacy}","received_events_url":"https://api.github.com/users/geodynamics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geodynamics/aspect","description":"A parallel, extendible finite element code to simulate thermal convection in both 2D and 3D models.","fork":false,"url":"https://api.github.com/repos/geodynamics/aspect","forks_url":"https://api.github.com/repos/geodynamics/aspect/forks","keys_url":"https://api.github.com/repos/geodynamics/aspect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geodynamics/aspect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geodynamics/aspect/teams","hooks_url":"https://api.github.com/repos/geodynamics/aspect/hooks","issue_events_url":"https://api.github.com/repos/geodynamics/aspect/issues/events{/number}","events_url":"https://api.github.com/repos/geodynamics/aspect/events","assignees_url":"https://api.github.com/repos/geodynamics/aspect/assignees{/user}","branches_url":"https://api.github.com/repos/geodynamics/aspect/branches{/branch}","tags_url":"https://api.github.com/repos/geodynamics/aspect/tags","blobs_url":"https://api.github.com/repos/geodynamics/aspect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geodynamics/aspect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geodynamics/aspect/git/refs{/sha}","trees_url":"https://api.github.com/repos/geodynamics/aspect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geodynamics/aspect/statuses/{sha}","languages_url":"https://api.github.com/repos/geodynamics/aspect/languages","stargazers_url":"https://api.github.com/repos/geodynamics/aspect/stargazers","contributors_url":"https://api.github.com/repos/geodynamics/aspect/contributors","subscribers_url":"https://api.github.com/repos/geodynamics/aspect/subscribers","subscription_url":"https://api.github.com/repos/geodynamics/aspect/subscription","commits_url":"https://api.github.com/repos/geodynamics/aspect/commits{/sha}","git_commits_url":"https://api.github.com/repos/geodynamics/aspect/git/commits{/sha}","comments_url":"https://api.github.com/repos/geodynamics/aspect/comments{/number}","issue_comment_url":"https://api.github.com/repos/geodynamics/aspect/issues/comments{/number}","contents_url":"https://api.github.com/repos/geodynamics/aspect/contents/{+path}","compare_url":"https://api.github.com/repos/geodynamics/aspect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geodynamics/aspect/merges","archive_url":"https://api.github.com/repos/geodynamics/aspect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geodynamics/aspect/downloads","issues_url":"https://api.github.com/repos/geodynamics/aspect/issues{/number}","pulls_url":"https://api.github.com/repos/geodynamics/aspect/pulls{/number}","milestones_url":"https://api.github.com/repos/geodynamics/aspect/milestones{/number}","notifications_url":"https://api.github.com/repos/geodynamics/aspect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geodynamics/aspect/labels{/name}","releases_url":"https://api.github.com/repos/geodynamics/aspect/releases{/id}","deployments_url":"https://api.github.com/repos/geodynamics/aspect/deployments","created_at":"2014-05-06T16:47:18Z","updated_at":"2017-05-09T19:31:14Z","pushed_at":"2017-05-16T15:09:49Z","git_url":"git://github.com/geodynamics/aspect.git","ssh_url":"git@github.com:geodynamics/aspect.git","clone_url":"https://github.com/geodynamics/aspect.git","svn_url":"https://github.com/geodynamics/aspect","homepage":"http://aspect.dealii.org/","size":149182,"stargazers_count":33,"watchers_count":33,"language":"Gnuplot","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":70,"mirror_url":null,"open_issues_count":171,"forks":70,"open_issues":171,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/1709"},"html":{"href":"https://github.com/geodynamics/aspect/pull/1709"},"issue":{"href":"https://api.github.com/repos/geodynamics/aspect/issues/1709"},"comments":{"href":"https://api.github.com/repos/geodynamics/aspect/issues/1709/comments"},"review_comments":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/1709/comments"},"review_comment":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/1709/commits"},"statuses":{"href":"https://api.github.com/repos/geodynamics/aspect/statuses/709b6b9d3229bb8a2879c500848235d500754647"}}}}
{"actor":{"display_login":"bangerth"}}