{"action":"created","comment":{"url":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/comments/61139112","id":61139112,"diff_hunk":"@@ -8,104 +8,72 @@\n #ifndef CAP_GEOMETRY_H\n #define CAP_GEOMETRY_H\n \n+#include <cap/types.h>\n #include <deal.II/base/types.h>\n-#include <deal.II/grid/tria.h>\n+#include <deal.II/distributed/tria.h>\n+#include <boost/mpi.hpp>\n #include <boost/property_tree/ptree.hpp>\n #include <memory>\n #include <unordered_map>\n \n namespace cap\n {\n /**\n- * Base class for the geometry. This class allows access to the underlying\n+ * This class allows access to the underlying\n  * triangulation and the material id map. It also creates the triangulation by\n  * reading the mesh from a ucd file.\n  */\n template <int dim>\n class Geometry\n {\n public:\n-  Geometry(std::shared_ptr<boost::property_tree::ptree const> const &database);\n+  /**\n+   * This contructor uses a mesh in ucd format. The database is used to get the\n+   * name of the mesh file and to create the materials map.\n+   */\n+  Geometry(std::shared_ptr<boost::property_tree::ptree const> database,\n+           boost::mpi::communicator mpi_communicator);","path":"cpp/source/deal.II/geometry.h","position":31,"original_position":31,"commit_id":"194fe36ff612e080a55db13853acc941d331ebd4","original_commit_id":"194fe36ff612e080a55db13853acc941d331ebd4","user":{"login":"dalg24","id":296978,"avatar_url":"https://avatars.githubusercontent.com/u/296978?v=3","gravatar_id":"","url":"https://api.github.com/users/dalg24","html_url":"https://github.com/dalg24","followers_url":"https://api.github.com/users/dalg24/followers","following_url":"https://api.github.com/users/dalg24/following{/other_user}","gists_url":"https://api.github.com/users/dalg24/gists{/gist_id}","starred_url":"https://api.github.com/users/dalg24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalg24/subscriptions","organizations_url":"https://api.github.com/users/dalg24/orgs","repos_url":"https://api.github.com/users/dalg24/repos","events_url":"https://api.github.com/users/dalg24/events{/privacy}","received_events_url":"https://api.github.com/users/dalg24/received_events","type":"User","site_admin":false},"body":"what was the motivation for this constructor again?","created_at":"2016-04-26T18:28:15Z","updated_at":"2016-04-26T18:28:15Z","html_url":"https://github.com/ORNL-CEES/Cap/pull/119#discussion_r61139112","pull_request_url":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/119","_links":{"self":{"href":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/comments/61139112"},"html":{"href":"https://github.com/ORNL-CEES/Cap/pull/119#discussion_r61139112"},"pull_request":{"href":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/119"}}},"pull_request":{"url":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/119","id":66478713,"html_url":"https://github.com/ORNL-CEES/Cap/pull/119","diff_url":"https://github.com/ORNL-CEES/Cap/pull/119.diff","patch_url":"https://github.com/ORNL-CEES/Cap/pull/119.patch","issue_url":"https://api.github.com/repos/ORNL-CEES/Cap/issues/119","number":119,"state":"open","locked":false,"title":"Trilinos","user":{"login":"Rombur","id":368538,"avatar_url":"https://avatars.githubusercontent.com/u/368538?v=3","gravatar_id":"","url":"https://api.github.com/users/Rombur","html_url":"https://github.com/Rombur","followers_url":"https://api.github.com/users/Rombur/followers","following_url":"https://api.github.com/users/Rombur/following{/other_user}","gists_url":"https://api.github.com/users/Rombur/gists{/gist_id}","starred_url":"https://api.github.com/users/Rombur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rombur/subscriptions","organizations_url":"https://api.github.com/users/Rombur/orgs","repos_url":"https://api.github.com/users/Rombur/repos","events_url":"https://api.github.com/users/Rombur/events{/privacy}","received_events_url":"https://api.github.com/users/Rombur/received_events","type":"User","site_admin":false},"body":"Do not merge this yet since Frank won't be able to change the geometry.\r\n\r\nGithub shows more difference that there are really because I added a few ```if``` and thus, the indentation is different :-(","created_at":"2016-04-14T12:52:59Z","updated_at":"2016-04-26T18:28:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8ca7a8e45d67abc6fc7d0a21de35a50cf06ad653","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/119/commits","review_comments_url":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/119/comments","review_comment_url":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ORNL-CEES/Cap/issues/119/comments","statuses_url":"https://api.github.com/repos/ORNL-CEES/Cap/statuses/194fe36ff612e080a55db13853acc941d331ebd4","head":{"label":"Rombur:trilinos","ref":"trilinos","sha":"194fe36ff612e080a55db13853acc941d331ebd4","user":{"login":"Rombur","id":368538,"avatar_url":"https://avatars.githubusercontent.com/u/368538?v=3","gravatar_id":"","url":"https://api.github.com/users/Rombur","html_url":"https://github.com/Rombur","followers_url":"https://api.github.com/users/Rombur/followers","following_url":"https://api.github.com/users/Rombur/following{/other_user}","gists_url":"https://api.github.com/users/Rombur/gists{/gist_id}","starred_url":"https://api.github.com/users/Rombur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rombur/subscriptions","organizations_url":"https://api.github.com/users/Rombur/orgs","repos_url":"https://api.github.com/users/Rombur/repos","events_url":"https://api.github.com/users/Rombur/events{/privacy}","received_events_url":"https://api.github.com/users/Rombur/received_events","type":"User","site_admin":false},"repo":{"id":50516122,"name":"Cap","full_name":"Rombur/Cap","owner":{"login":"Rombur","id":368538,"avatar_url":"https://avatars.githubusercontent.com/u/368538?v=3","gravatar_id":"","url":"https://api.github.com/users/Rombur","html_url":"https://github.com/Rombur","followers_url":"https://api.github.com/users/Rombur/followers","following_url":"https://api.github.com/users/Rombur/following{/other_user}","gists_url":"https://api.github.com/users/Rombur/gists{/gist_id}","starred_url":"https://api.github.com/users/Rombur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rombur/subscriptions","organizations_url":"https://api.github.com/users/Rombur/orgs","repos_url":"https://api.github.com/users/Rombur/repos","events_url":"https://api.github.com/users/Rombur/events{/privacy}","received_events_url":"https://api.github.com/users/Rombur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Rombur/Cap","description":"A library for modeling energy storage devices.","fork":true,"url":"https://api.github.com/repos/Rombur/Cap","forks_url":"https://api.github.com/repos/Rombur/Cap/forks","keys_url":"https://api.github.com/repos/Rombur/Cap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rombur/Cap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rombur/Cap/teams","hooks_url":"https://api.github.com/repos/Rombur/Cap/hooks","issue_events_url":"https://api.github.com/repos/Rombur/Cap/issues/events{/number}","events_url":"https://api.github.com/repos/Rombur/Cap/events","assignees_url":"https://api.github.com/repos/Rombur/Cap/assignees{/user}","branches_url":"https://api.github.com/repos/Rombur/Cap/branches{/branch}","tags_url":"https://api.github.com/repos/Rombur/Cap/tags","blobs_url":"https://api.github.com/repos/Rombur/Cap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rombur/Cap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rombur/Cap/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rombur/Cap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rombur/Cap/statuses/{sha}","languages_url":"https://api.github.com/repos/Rombur/Cap/languages","stargazers_url":"https://api.github.com/repos/Rombur/Cap/stargazers","contributors_url":"https://api.github.com/repos/Rombur/Cap/contributors","subscribers_url":"https://api.github.com/repos/Rombur/Cap/subscribers","subscription_url":"https://api.github.com/repos/Rombur/Cap/subscription","commits_url":"https://api.github.com/repos/Rombur/Cap/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rombur/Cap/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rombur/Cap/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rombur/Cap/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rombur/Cap/contents/{+path}","compare_url":"https://api.github.com/repos/Rombur/Cap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rombur/Cap/merges","archive_url":"https://api.github.com/repos/Rombur/Cap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rombur/Cap/downloads","issues_url":"https://api.github.com/repos/Rombur/Cap/issues{/number}","pulls_url":"https://api.github.com/repos/Rombur/Cap/pulls{/number}","milestones_url":"https://api.github.com/repos/Rombur/Cap/milestones{/number}","notifications_url":"https://api.github.com/repos/Rombur/Cap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rombur/Cap/labels{/name}","releases_url":"https://api.github.com/repos/Rombur/Cap/releases{/id}","deployments_url":"https://api.github.com/repos/Rombur/Cap/deployments","created_at":"2016-01-27T15:17:09Z","updated_at":"2016-01-27T15:17:10Z","pushed_at":"2016-04-26T18:05:05Z","git_url":"git://github.com/Rombur/Cap.git","ssh_url":"git@github.com:Rombur/Cap.git","clone_url":"https://github.com/Rombur/Cap.git","svn_url":"https://github.com/Rombur/Cap","homepage":"http://cap.readthedocs.org","size":1457,"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":"ORNL-CEES:master","ref":"master","sha":"c79b4f8037eed0459c01f0c195a8f55353e75cf2","user":{"login":"ORNL-CEES","id":6653148,"avatar_url":"https://avatars.githubusercontent.com/u/6653148?v=3","gravatar_id":"","url":"https://api.github.com/users/ORNL-CEES","html_url":"https://github.com/ORNL-CEES","followers_url":"https://api.github.com/users/ORNL-CEES/followers","following_url":"https://api.github.com/users/ORNL-CEES/following{/other_user}","gists_url":"https://api.github.com/users/ORNL-CEES/gists{/gist_id}","starred_url":"https://api.github.com/users/ORNL-CEES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ORNL-CEES/subscriptions","organizations_url":"https://api.github.com/users/ORNL-CEES/orgs","repos_url":"https://api.github.com/users/ORNL-CEES/repos","events_url":"https://api.github.com/users/ORNL-CEES/events{/privacy}","received_events_url":"https://api.github.com/users/ORNL-CEES/received_events","type":"Organization","site_admin":false},"repo":{"id":50514800,"name":"Cap","full_name":"ORNL-CEES/Cap","owner":{"login":"ORNL-CEES","id":6653148,"avatar_url":"https://avatars.githubusercontent.com/u/6653148?v=3","gravatar_id":"","url":"https://api.github.com/users/ORNL-CEES","html_url":"https://github.com/ORNL-CEES","followers_url":"https://api.github.com/users/ORNL-CEES/followers","following_url":"https://api.github.com/users/ORNL-CEES/following{/other_user}","gists_url":"https://api.github.com/users/ORNL-CEES/gists{/gist_id}","starred_url":"https://api.github.com/users/ORNL-CEES/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ORNL-CEES/subscriptions","organizations_url":"https://api.github.com/users/ORNL-CEES/orgs","repos_url":"https://api.github.com/users/ORNL-CEES/repos","events_url":"https://api.github.com/users/ORNL-CEES/events{/privacy}","received_events_url":"https://api.github.com/users/ORNL-CEES/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ORNL-CEES/Cap","description":"A library for modeling energy storage devices.","fork":false,"url":"https://api.github.com/repos/ORNL-CEES/Cap","forks_url":"https://api.github.com/repos/ORNL-CEES/Cap/forks","keys_url":"https://api.github.com/repos/ORNL-CEES/Cap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ORNL-CEES/Cap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ORNL-CEES/Cap/teams","hooks_url":"https://api.github.com/repos/ORNL-CEES/Cap/hooks","issue_events_url":"https://api.github.com/repos/ORNL-CEES/Cap/issues/events{/number}","events_url":"https://api.github.com/repos/ORNL-CEES/Cap/events","assignees_url":"https://api.github.com/repos/ORNL-CEES/Cap/assignees{/user}","branches_url":"https://api.github.com/repos/ORNL-CEES/Cap/branches{/branch}","tags_url":"https://api.github.com/repos/ORNL-CEES/Cap/tags","blobs_url":"https://api.github.com/repos/ORNL-CEES/Cap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ORNL-CEES/Cap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ORNL-CEES/Cap/git/refs{/sha}","trees_url":"https://api.github.com/repos/ORNL-CEES/Cap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ORNL-CEES/Cap/statuses/{sha}","languages_url":"https://api.github.com/repos/ORNL-CEES/Cap/languages","stargazers_url":"https://api.github.com/repos/ORNL-CEES/Cap/stargazers","contributors_url":"https://api.github.com/repos/ORNL-CEES/Cap/contributors","subscribers_url":"https://api.github.com/repos/ORNL-CEES/Cap/subscribers","subscription_url":"https://api.github.com/repos/ORNL-CEES/Cap/subscription","commits_url":"https://api.github.com/repos/ORNL-CEES/Cap/commits{/sha}","git_commits_url":"https://api.github.com/repos/ORNL-CEES/Cap/git/commits{/sha}","comments_url":"https://api.github.com/repos/ORNL-CEES/Cap/comments{/number}","issue_comment_url":"https://api.github.com/repos/ORNL-CEES/Cap/issues/comments{/number}","contents_url":"https://api.github.com/repos/ORNL-CEES/Cap/contents/{+path}","compare_url":"https://api.github.com/repos/ORNL-CEES/Cap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ORNL-CEES/Cap/merges","archive_url":"https://api.github.com/repos/ORNL-CEES/Cap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ORNL-CEES/Cap/downloads","issues_url":"https://api.github.com/repos/ORNL-CEES/Cap/issues{/number}","pulls_url":"https://api.github.com/repos/ORNL-CEES/Cap/pulls{/number}","milestones_url":"https://api.github.com/repos/ORNL-CEES/Cap/milestones{/number}","notifications_url":"https://api.github.com/repos/ORNL-CEES/Cap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ORNL-CEES/Cap/labels{/name}","releases_url":"https://api.github.com/repos/ORNL-CEES/Cap/releases{/id}","deployments_url":"https://api.github.com/repos/ORNL-CEES/Cap/deployments","created_at":"2016-01-27T14:56:58Z","updated_at":"2016-01-27T15:01:13Z","pushed_at":"2016-04-26T18:09:19Z","git_url":"git://github.com/ORNL-CEES/Cap.git","ssh_url":"git@github.com:ORNL-CEES/Cap.git","clone_url":"https://github.com/ORNL-CEES/Cap.git","svn_url":"https://github.com/ORNL-CEES/Cap","homepage":"http://cap.readthedocs.org","size":1433,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/119"},"html":{"href":"https://github.com/ORNL-CEES/Cap/pull/119"},"issue":{"href":"https://api.github.com/repos/ORNL-CEES/Cap/issues/119"},"comments":{"href":"https://api.github.com/repos/ORNL-CEES/Cap/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ORNL-CEES/Cap/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/ORNL-CEES/Cap/statuses/194fe36ff612e080a55db13853acc941d331ebd4"}}}}