{"action":"created","comment":{"url":"https://api.github.com/repos/idaholab/moose/pulls/comments/59096075","id":59096075,"diff_hunk":"@@ -0,0 +1,55 @@\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 \"CHSplitFlux.h\"\n+\n+template<>\n+InputParameters validParams<CHSplitFlux>()\n+{\n+  InputParameters params = validParams<Kernel>();\n+  params.addClassDescription(\"Computes flux as nodal variable - flux = -mobility * grad(chemical_potenstial)\");\n+  params.addRequiredParam<unsigned int>(\"component\", \"Flux component\");\n+  params.addRequiredParam<MaterialPropertyName>(\"mobility_name\", \"Mobility property name\");\n+  params.addRequiredCoupledVar(\"mu\", \"Chemical Potential\");\n+  params.addCoupledVar(\"c\", \"Concentration\");\n+  return params;\n+}\n+\n+CHSplitFlux::CHSplitFlux(const InputParameters & parameters) :\n+    DerivativeMaterialInterface<Kernel>(parameters),\n+    _component(getParam<unsigned int>(\"component\")),\n+    _mu_var(coupled(\"mu\")),\n+    _grad_mu(coupledGradient(\"mu\")),\n+    _mobility(getMaterialProperty<RealTensorValue>(\"mobility_name\")),\n+    _c_var(coupled(\"c\"))\n+{\n+  if (isCoupled(\"c\"))\n+    _dmobility_dc = &getMaterialPropertyDerivative<RealTensorValue>(\"mobility_name\", getVar(\"c\", 0)->name());\n+","path":"modules/phase_field/src/kernels/CHSplitFlux.C","position":31,"original_position":31,"commit_id":"6043b6b7a6481052f232f1944ee888b8efc189f9","original_commit_id":"6043b6b7a6481052f232f1944ee888b8efc189f9","user":{"login":"cpritam","id":7874074,"avatar_url":"https://avatars.githubusercontent.com/u/7874074?v=3","gravatar_id":"","url":"https://api.github.com/users/cpritam","html_url":"https://github.com/cpritam","followers_url":"https://api.github.com/users/cpritam/followers","following_url":"https://api.github.com/users/cpritam/following{/other_user}","gists_url":"https://api.github.com/users/cpritam/gists{/gist_id}","starred_url":"https://api.github.com/users/cpritam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpritam/subscriptions","organizations_url":"https://api.github.com/users/cpritam/orgs","repos_url":"https://api.github.com/users/cpritam/repos","events_url":"https://api.github.com/users/cpritam/events{/privacy}","received_events_url":"https://api.github.com/users/cpritam/received_events","type":"User","site_admin":false},"body":"Modified.","created_at":"2016-04-08T22:09:35Z","updated_at":"2016-04-08T22:09:35Z","html_url":"https://github.com/idaholab/moose/pull/6651#discussion_r59096075","pull_request_url":"https://api.github.com/repos/idaholab/moose/pulls/6651","_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments/59096075"},"html":{"href":"https://github.com/idaholab/moose/pull/6651#discussion_r59096075"},"pull_request":{"href":"https://api.github.com/repos/idaholab/moose/pulls/6651"}}},"pull_request":{"url":"https://api.github.com/repos/idaholab/moose/pulls/6651","id":64503979,"html_url":"https://github.com/idaholab/moose/pull/6651","diff_url":"https://github.com/idaholab/moose/pull/6651.diff","patch_url":"https://github.com/idaholab/moose/pull/6651.patch","issue_url":"https://api.github.com/repos/idaholab/moose/issues/6651","number":6651,"state":"open","locked":false,"title":"Couple model of mechanics and Cahn-Hilliard equation for diffusional creep in polycrystalline materials","user":{"login":"cpritam","id":7874074,"avatar_url":"https://avatars.githubusercontent.com/u/7874074?v=3","gravatar_id":"","url":"https://api.github.com/users/cpritam","html_url":"https://github.com/cpritam","followers_url":"https://api.github.com/users/cpritam/followers","following_url":"https://api.github.com/users/cpritam/following{/other_user}","gists_url":"https://api.github.com/users/cpritam/gists{/gist_id}","starred_url":"https://api.github.com/users/cpritam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpritam/subscriptions","organizations_url":"https://api.github.com/users/cpritam/orgs","repos_url":"https://api.github.com/users/cpritam/repos","events_url":"https://api.github.com/users/cpritam/events{/privacy}","received_events_url":"https://api.github.com/users/cpritam/received_events","type":"User","site_admin":false},"body":"### Complete each of the following items before creating a PR\r\n\r\n- Include any relevant design information for your change\r\n- Follow [Coding Standards](http://mooseframework.org/wiki/CodeStandards/)\r\n- Submit one or more [Test Cases](http://mooseframework.org/wiki/MooseTraining/testing/) or modify existing test cases\r\n- Reference or close a specific issue (refs # or closes #)\r\n#6612","created_at":"2016-03-29T17:38:31Z","updated_at":"2016-04-08T22:09:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee7043fbd5bab2ef0993f57922f19cb5f6693d54","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/idaholab/moose/pulls/6651/commits","review_comments_url":"https://api.github.com/repos/idaholab/moose/pulls/6651/comments","review_comment_url":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idaholab/moose/issues/6651/comments","statuses_url":"https://api.github.com/repos/idaholab/moose/statuses/6043b6b7a6481052f232f1944ee888b8efc189f9","head":{"label":"cpritam:poly_creep_6612","ref":"poly_creep_6612","sha":"6043b6b7a6481052f232f1944ee888b8efc189f9","user":{"login":"cpritam","id":7874074,"avatar_url":"https://avatars.githubusercontent.com/u/7874074?v=3","gravatar_id":"","url":"https://api.github.com/users/cpritam","html_url":"https://github.com/cpritam","followers_url":"https://api.github.com/users/cpritam/followers","following_url":"https://api.github.com/users/cpritam/following{/other_user}","gists_url":"https://api.github.com/users/cpritam/gists{/gist_id}","starred_url":"https://api.github.com/users/cpritam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpritam/subscriptions","organizations_url":"https://api.github.com/users/cpritam/orgs","repos_url":"https://api.github.com/users/cpritam/repos","events_url":"https://api.github.com/users/cpritam/events{/privacy}","received_events_url":"https://api.github.com/users/cpritam/received_events","type":"User","site_admin":false},"repo":{"id":21826399,"name":"moose","full_name":"cpritam/moose","owner":{"login":"cpritam","id":7874074,"avatar_url":"https://avatars.githubusercontent.com/u/7874074?v=3","gravatar_id":"","url":"https://api.github.com/users/cpritam","html_url":"https://github.com/cpritam","followers_url":"https://api.github.com/users/cpritam/followers","following_url":"https://api.github.com/users/cpritam/following{/other_user}","gists_url":"https://api.github.com/users/cpritam/gists{/gist_id}","starred_url":"https://api.github.com/users/cpritam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpritam/subscriptions","organizations_url":"https://api.github.com/users/cpritam/orgs","repos_url":"https://api.github.com/users/cpritam/repos","events_url":"https://api.github.com/users/cpritam/events{/privacy}","received_events_url":"https://api.github.com/users/cpritam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpritam/moose","description":"Multiphysics Object Oriented Simulation Environment","fork":true,"url":"https://api.github.com/repos/cpritam/moose","forks_url":"https://api.github.com/repos/cpritam/moose/forks","keys_url":"https://api.github.com/repos/cpritam/moose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpritam/moose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpritam/moose/teams","hooks_url":"https://api.github.com/repos/cpritam/moose/hooks","issue_events_url":"https://api.github.com/repos/cpritam/moose/issues/events{/number}","events_url":"https://api.github.com/repos/cpritam/moose/events","assignees_url":"https://api.github.com/repos/cpritam/moose/assignees{/user}","branches_url":"https://api.github.com/repos/cpritam/moose/branches{/branch}","tags_url":"https://api.github.com/repos/cpritam/moose/tags","blobs_url":"https://api.github.com/repos/cpritam/moose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpritam/moose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpritam/moose/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpritam/moose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpritam/moose/statuses/{sha}","languages_url":"https://api.github.com/repos/cpritam/moose/languages","stargazers_url":"https://api.github.com/repos/cpritam/moose/stargazers","contributors_url":"https://api.github.com/repos/cpritam/moose/contributors","subscribers_url":"https://api.github.com/repos/cpritam/moose/subscribers","subscription_url":"https://api.github.com/repos/cpritam/moose/subscription","commits_url":"https://api.github.com/repos/cpritam/moose/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpritam/moose/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpritam/moose/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpritam/moose/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpritam/moose/contents/{+path}","compare_url":"https://api.github.com/repos/cpritam/moose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpritam/moose/merges","archive_url":"https://api.github.com/repos/cpritam/moose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpritam/moose/downloads","issues_url":"https://api.github.com/repos/cpritam/moose/issues{/number}","pulls_url":"https://api.github.com/repos/cpritam/moose/pulls{/number}","milestones_url":"https://api.github.com/repos/cpritam/moose/milestones{/number}","notifications_url":"https://api.github.com/repos/cpritam/moose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpritam/moose/labels{/name}","releases_url":"https://api.github.com/repos/cpritam/moose/releases{/id}","deployments_url":"https://api.github.com/repos/cpritam/moose/deployments","created_at":"2014-07-14T16:19:13Z","updated_at":"2014-10-13T20:00:10Z","pushed_at":"2016-03-29T21:54:09Z","git_url":"git://github.com/cpritam/moose.git","ssh_url":"git@github.com:cpritam/moose.git","clone_url":"https://github.com/cpritam/moose.git","svn_url":"https://github.com/cpritam/moose","homepage":null,"size":128763,"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":"1ddfce9753df15d0f3c0a1ed3e7b6b3da22947e5","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-03-29T15:24:30Z","pushed_at":"2016-04-08T20:35:17Z","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":139926,"stargazers_count":145,"watchers_count":145,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":228,"mirror_url":null,"open_issues_count":560,"forks":228,"open_issues":560,"watchers":145,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/6651"},"html":{"href":"https://github.com/idaholab/moose/pull/6651"},"issue":{"href":"https://api.github.com/repos/idaholab/moose/issues/6651"},"comments":{"href":"https://api.github.com/repos/idaholab/moose/issues/6651/comments"},"review_comments":{"href":"https://api.github.com/repos/idaholab/moose/pulls/6651/comments"},"review_comment":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idaholab/moose/pulls/6651/commits"},"statuses":{"href":"https://api.github.com/repos/idaholab/moose/statuses/6043b6b7a6481052f232f1944ee888b8efc189f9"}}}}