{"action":"created","comment":{"url":"https://api.github.com/repos/idaholab/moose/pulls/comments/85358258","pull_request_review_id":6073757,"id":85358258,"diff_hunk":"@@ -0,0 +1,48 @@\n+/****************************************************************/\n+/* MOOSE - Multiphysics Object Oriented Simulation Environment  */\n+/*                                                              */\n+/*          All contents are licensed under LGPL V2.1           */\n+/*             See LICENSE for full restrictions                */\n+/****************************************************************/\n+#include \"RandomEulerAngleProvider.h\"\n+\n+template<>\n+InputParameters validParams<RandomEulerAngleProvider>()\n+{\n+  InputParameters params = validParams<EulerAngleProvider>();\n+  params.addClassDescription(\"Assign random euler angles for each grain.\");\n+  params.addRequiredParam<UserObjectName>(\"grain_tracker_object\", \"The FeatureFloodCount UserObject to get values from.\");\n+  return params;\n+}\n+\n+RandomEulerAngleProvider::RandomEulerAngleProvider(const InputParameters & params) :\n+    EulerAngleProvider(params),\n+    _grain_tracker(getUserObject<GrainTrackerInterface>(\"grain_tracker_object\")),\n+    _angles(0)\n+{\n+}\n+\n+void\n+RandomEulerAngleProvider::initialize()\n+{\n+  EulerAngles angle;\n+  auto grain_num = _grain_tracker.getTotalFeatureCount();\n+  for (unsigned int i = _angles.size(); i < grain_num; ++i)","path":"modules/phase_field/src/userobjects/RandomEulerAngleProvider.C","position":30,"original_position":30,"commit_id":"64ea1d9f7232b6687686e49b236b756436929109","original_commit_id":"64ea1d9f7232b6687686e49b236b756436929109","user":{"login":"permcody","id":3036960,"avatar_url":"https://avatars.githubusercontent.com/u/3036960?v=3","gravatar_id":"","url":"https://api.github.com/users/permcody","html_url":"https://github.com/permcody","followers_url":"https://api.github.com/users/permcody/followers","following_url":"https://api.github.com/users/permcody/following{/other_user}","gists_url":"https://api.github.com/users/permcody/gists{/gist_id}","starred_url":"https://api.github.com/users/permcody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/permcody/subscriptions","organizations_url":"https://api.github.com/users/permcody/orgs","repos_url":"https://api.github.com/users/permcody/repos","events_url":"https://api.github.com/users/permcody/events{/privacy}","received_events_url":"https://api.github.com/users/permcody/received_events","type":"User","site_admin":false},"body":"optional: I would like to start seeing `auto i = beginIndex(foo)` used instead of `unsigned int i`.","created_at":"2016-10-27T15:10:12Z","updated_at":"2016-10-27T15:10:23Z","html_url":"https://github.com/idaholab/moose/pull/7958#discussion_r85358258","pull_request_url":"https://api.github.com/repos/idaholab/moose/pulls/7958","_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments/85358258"},"html":{"href":"https://github.com/idaholab/moose/pull/7958#discussion_r85358258"},"pull_request":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7958"}}},"pull_request":{"url":"https://api.github.com/repos/idaholab/moose/pulls/7958","id":91126669,"html_url":"https://github.com/idaholab/moose/pull/7958","diff_url":"https://github.com/idaholab/moose/pull/7958.diff","patch_url":"https://github.com/idaholab/moose/pull/7958.patch","issue_url":"https://api.github.com/repos/idaholab/moose/issues/7958","number":7958,"state":"open","locked":false,"title":"Assign random euler angles to grains","user":{"login":"SudiptaBiswas","id":9493686,"avatar_url":"https://avatars.githubusercontent.com/u/9493686?v=3","gravatar_id":"","url":"https://api.github.com/users/SudiptaBiswas","html_url":"https://github.com/SudiptaBiswas","followers_url":"https://api.github.com/users/SudiptaBiswas/followers","following_url":"https://api.github.com/users/SudiptaBiswas/following{/other_user}","gists_url":"https://api.github.com/users/SudiptaBiswas/gists{/gist_id}","starred_url":"https://api.github.com/users/SudiptaBiswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SudiptaBiswas/subscriptions","organizations_url":"https://api.github.com/users/SudiptaBiswas/orgs","repos_url":"https://api.github.com/users/SudiptaBiswas/repos","events_url":"https://api.github.com/users/SudiptaBiswas/events{/privacy}","received_events_url":"https://api.github.com/users/SudiptaBiswas/received_events","type":"User","site_admin":false},"body":"- Adding new EulerAngleProvider UserObject to assign random euler angles to grains\r\n- closes #7921 \r\n","created_at":"2016-10-27T03:16:41Z","updated_at":"2016-10-27T15:10:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"876ad7320a27c243026bfc560a6c3fc3470178c9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/idaholab/moose/pulls/7958/commits","review_comments_url":"https://api.github.com/repos/idaholab/moose/pulls/7958/comments","review_comment_url":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idaholab/moose/issues/7958/comments","statuses_url":"https://api.github.com/repos/idaholab/moose/statuses/64ea1d9f7232b6687686e49b236b756436929109","head":{"label":"SudiptaBiswas:randomangle_7921","ref":"randomangle_7921","sha":"64ea1d9f7232b6687686e49b236b756436929109","user":{"login":"SudiptaBiswas","id":9493686,"avatar_url":"https://avatars.githubusercontent.com/u/9493686?v=3","gravatar_id":"","url":"https://api.github.com/users/SudiptaBiswas","html_url":"https://github.com/SudiptaBiswas","followers_url":"https://api.github.com/users/SudiptaBiswas/followers","following_url":"https://api.github.com/users/SudiptaBiswas/following{/other_user}","gists_url":"https://api.github.com/users/SudiptaBiswas/gists{/gist_id}","starred_url":"https://api.github.com/users/SudiptaBiswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SudiptaBiswas/subscriptions","organizations_url":"https://api.github.com/users/SudiptaBiswas/orgs","repos_url":"https://api.github.com/users/SudiptaBiswas/repos","events_url":"https://api.github.com/users/SudiptaBiswas/events{/privacy}","received_events_url":"https://api.github.com/users/SudiptaBiswas/received_events","type":"User","site_admin":false},"repo":{"id":26181912,"name":"moose","full_name":"SudiptaBiswas/moose","owner":{"login":"SudiptaBiswas","id":9493686,"avatar_url":"https://avatars.githubusercontent.com/u/9493686?v=3","gravatar_id":"","url":"https://api.github.com/users/SudiptaBiswas","html_url":"https://github.com/SudiptaBiswas","followers_url":"https://api.github.com/users/SudiptaBiswas/followers","following_url":"https://api.github.com/users/SudiptaBiswas/following{/other_user}","gists_url":"https://api.github.com/users/SudiptaBiswas/gists{/gist_id}","starred_url":"https://api.github.com/users/SudiptaBiswas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SudiptaBiswas/subscriptions","organizations_url":"https://api.github.com/users/SudiptaBiswas/orgs","repos_url":"https://api.github.com/users/SudiptaBiswas/repos","events_url":"https://api.github.com/users/SudiptaBiswas/events{/privacy}","received_events_url":"https://api.github.com/users/SudiptaBiswas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SudiptaBiswas/moose","description":"Multiphysics Object Oriented Simulation Environment","fork":true,"url":"https://api.github.com/repos/SudiptaBiswas/moose","forks_url":"https://api.github.com/repos/SudiptaBiswas/moose/forks","keys_url":"https://api.github.com/repos/SudiptaBiswas/moose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SudiptaBiswas/moose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SudiptaBiswas/moose/teams","hooks_url":"https://api.github.com/repos/SudiptaBiswas/moose/hooks","issue_events_url":"https://api.github.com/repos/SudiptaBiswas/moose/issues/events{/number}","events_url":"https://api.github.com/repos/SudiptaBiswas/moose/events","assignees_url":"https://api.github.com/repos/SudiptaBiswas/moose/assignees{/user}","branches_url":"https://api.github.com/repos/SudiptaBiswas/moose/branches{/branch}","tags_url":"https://api.github.com/repos/SudiptaBiswas/moose/tags","blobs_url":"https://api.github.com/repos/SudiptaBiswas/moose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SudiptaBiswas/moose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SudiptaBiswas/moose/git/refs{/sha}","trees_url":"https://api.github.com/repos/SudiptaBiswas/moose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SudiptaBiswas/moose/statuses/{sha}","languages_url":"https://api.github.com/repos/SudiptaBiswas/moose/languages","stargazers_url":"https://api.github.com/repos/SudiptaBiswas/moose/stargazers","contributors_url":"https://api.github.com/repos/SudiptaBiswas/moose/contributors","subscribers_url":"https://api.github.com/repos/SudiptaBiswas/moose/subscribers","subscription_url":"https://api.github.com/repos/SudiptaBiswas/moose/subscription","commits_url":"https://api.github.com/repos/SudiptaBiswas/moose/commits{/sha}","git_commits_url":"https://api.github.com/repos/SudiptaBiswas/moose/git/commits{/sha}","comments_url":"https://api.github.com/repos/SudiptaBiswas/moose/comments{/number}","issue_comment_url":"https://api.github.com/repos/SudiptaBiswas/moose/issues/comments{/number}","contents_url":"https://api.github.com/repos/SudiptaBiswas/moose/contents/{+path}","compare_url":"https://api.github.com/repos/SudiptaBiswas/moose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SudiptaBiswas/moose/merges","archive_url":"https://api.github.com/repos/SudiptaBiswas/moose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SudiptaBiswas/moose/downloads","issues_url":"https://api.github.com/repos/SudiptaBiswas/moose/issues{/number}","pulls_url":"https://api.github.com/repos/SudiptaBiswas/moose/pulls{/number}","milestones_url":"https://api.github.com/repos/SudiptaBiswas/moose/milestones{/number}","notifications_url":"https://api.github.com/repos/SudiptaBiswas/moose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SudiptaBiswas/moose/labels{/name}","releases_url":"https://api.github.com/repos/SudiptaBiswas/moose/releases{/id}","deployments_url":"https://api.github.com/repos/SudiptaBiswas/moose/deployments","created_at":"2014-11-04T18:13:53Z","updated_at":"2016-02-04T21:03:26Z","pushed_at":"2016-10-27T03:44:44Z","git_url":"git://github.com/SudiptaBiswas/moose.git","ssh_url":"git@github.com:SudiptaBiswas/moose.git","clone_url":"https://github.com/SudiptaBiswas/moose.git","svn_url":"https://github.com/SudiptaBiswas/moose","homepage":null,"size":159833,"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":"devel"}},"base":{"label":"idaholab:devel","ref":"devel","sha":"90f8c6ef9e539cd5398fea90c7d55c6ec90bf6d6","user":{"login":"idaholab","id":3855370,"avatar_url":"https://avatars.githubusercontent.com/u/3855370?v=3","gravatar_id":"","url":"https://api.github.com/users/idaholab","html_url":"https://github.com/idaholab","followers_url":"https://api.github.com/users/idaholab/followers","following_url":"https://api.github.com/users/idaholab/following{/other_user}","gists_url":"https://api.github.com/users/idaholab/gists{/gist_id}","starred_url":"https://api.github.com/users/idaholab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idaholab/subscriptions","organizations_url":"https://api.github.com/users/idaholab/orgs","repos_url":"https://api.github.com/users/idaholab/repos","events_url":"https://api.github.com/users/idaholab/events{/privacy}","received_events_url":"https://api.github.com/users/idaholab/received_events","type":"Organization","site_admin":false},"repo":{"id":16851223,"name":"moose","full_name":"idaholab/moose","owner":{"login":"idaholab","id":3855370,"avatar_url":"https://avatars.githubusercontent.com/u/3855370?v=3","gravatar_id":"","url":"https://api.github.com/users/idaholab","html_url":"https://github.com/idaholab","followers_url":"https://api.github.com/users/idaholab/followers","following_url":"https://api.github.com/users/idaholab/following{/other_user}","gists_url":"https://api.github.com/users/idaholab/gists{/gist_id}","starred_url":"https://api.github.com/users/idaholab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idaholab/subscriptions","organizations_url":"https://api.github.com/users/idaholab/orgs","repos_url":"https://api.github.com/users/idaholab/repos","events_url":"https://api.github.com/users/idaholab/events{/privacy}","received_events_url":"https://api.github.com/users/idaholab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idaholab/moose","description":"Multiphysics Object Oriented Simulation Environment","fork":false,"url":"https://api.github.com/repos/idaholab/moose","forks_url":"https://api.github.com/repos/idaholab/moose/forks","keys_url":"https://api.github.com/repos/idaholab/moose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idaholab/moose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idaholab/moose/teams","hooks_url":"https://api.github.com/repos/idaholab/moose/hooks","issue_events_url":"https://api.github.com/repos/idaholab/moose/issues/events{/number}","events_url":"https://api.github.com/repos/idaholab/moose/events","assignees_url":"https://api.github.com/repos/idaholab/moose/assignees{/user}","branches_url":"https://api.github.com/repos/idaholab/moose/branches{/branch}","tags_url":"https://api.github.com/repos/idaholab/moose/tags","blobs_url":"https://api.github.com/repos/idaholab/moose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idaholab/moose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idaholab/moose/git/refs{/sha}","trees_url":"https://api.github.com/repos/idaholab/moose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idaholab/moose/statuses/{sha}","languages_url":"https://api.github.com/repos/idaholab/moose/languages","stargazers_url":"https://api.github.com/repos/idaholab/moose/stargazers","contributors_url":"https://api.github.com/repos/idaholab/moose/contributors","subscribers_url":"https://api.github.com/repos/idaholab/moose/subscribers","subscription_url":"https://api.github.com/repos/idaholab/moose/subscription","commits_url":"https://api.github.com/repos/idaholab/moose/commits{/sha}","git_commits_url":"https://api.github.com/repos/idaholab/moose/git/commits{/sha}","comments_url":"https://api.github.com/repos/idaholab/moose/comments{/number}","issue_comment_url":"https://api.github.com/repos/idaholab/moose/issues/comments{/number}","contents_url":"https://api.github.com/repos/idaholab/moose/contents/{+path}","compare_url":"https://api.github.com/repos/idaholab/moose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idaholab/moose/merges","archive_url":"https://api.github.com/repos/idaholab/moose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idaholab/moose/downloads","issues_url":"https://api.github.com/repos/idaholab/moose/issues{/number}","pulls_url":"https://api.github.com/repos/idaholab/moose/pulls{/number}","milestones_url":"https://api.github.com/repos/idaholab/moose/milestones{/number}","notifications_url":"https://api.github.com/repos/idaholab/moose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idaholab/moose/labels{/name}","releases_url":"https://api.github.com/repos/idaholab/moose/releases{/id}","deployments_url":"https://api.github.com/repos/idaholab/moose/deployments","created_at":"2014-02-14T22:26:15Z","updated_at":"2016-10-24T14:16:04Z","pushed_at":"2016-10-27T14:27:05Z","git_url":"git://github.com/idaholab/moose.git","ssh_url":"git@github.com:idaholab/moose.git","clone_url":"https://github.com/idaholab/moose.git","svn_url":"https://github.com/idaholab/moose","homepage":"http://www.mooseframework.org","size":164653,"stargazers_count":174,"watchers_count":174,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":288,"mirror_url":null,"open_issues_count":701,"forks":288,"open_issues":701,"watchers":174,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7958"},"html":{"href":"https://github.com/idaholab/moose/pull/7958"},"issue":{"href":"https://api.github.com/repos/idaholab/moose/issues/7958"},"comments":{"href":"https://api.github.com/repos/idaholab/moose/issues/7958/comments"},"review_comments":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7958/comments"},"review_comment":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7958/commits"},"statuses":{"href":"https://api.github.com/repos/idaholab/moose/statuses/64ea1d9f7232b6687686e49b236b756436929109"}}}}
{"actor":{"display_login":"permcody"}}