{"action":"created","comment":{"url":"https://api.github.com/repos/idaholab/moose/pulls/comments/84298731","pull_request_review_id":5084490,"id":84298731,"diff_hunk":"@@ -0,0 +1,122 @@\n+#!/usr/bin/env python\n+\n+# Script to generate plots used in documentation from test results\n+\n+import numpy as np\n+import matplotlib.pyplot as plt\n+\n+# Analytical form of Corey's relative permeability curve\n+def corey(s, sr, sum_s_r, n):\n+    # Effective saturation\n+    seff = np.clip((s - sr) / (1.0 - sum_s_r), 0, 1)\n+\n+    # Relative permeability is then\n+    relperm = np.power(seff, n);\n+\n+    return relperm\n+\n+# Analytical form of van Genuchten's relative permeability\n+def vg(s, sr, sls, m) :","path":"modules/porous_flow/doc/tests/relperm.py","position":19,"original_position":19,"commit_id":"e430e97863c6a9056bd823e3cdd66a492db9058f","original_commit_id":"e430e97863c6a9056bd823e3cdd66a492db9058f","user":{"login":"andrsd","id":85632,"avatar_url":"https://avatars.githubusercontent.com/u/85632?v=3","gravatar_id":"","url":"https://api.github.com/users/andrsd","html_url":"https://github.com/andrsd","followers_url":"https://api.github.com/users/andrsd/followers","following_url":"https://api.github.com/users/andrsd/following{/other_user}","gists_url":"https://api.github.com/users/andrsd/gists{/gist_id}","starred_url":"https://api.github.com/users/andrsd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrsd/subscriptions","organizations_url":"https://api.github.com/users/andrsd/orgs","repos_url":"https://api.github.com/users/andrsd/repos","events_url":"https://api.github.com/users/andrsd/events{/privacy}","received_events_url":"https://api.github.com/users/andrsd/received_events","type":"User","site_admin":false},"body":"no space between `)` and `:`","created_at":"2016-10-20T14:45:21Z","updated_at":"2016-10-20T14:58:37Z","html_url":"https://github.com/idaholab/moose/pull/7878#discussion_r84298731","pull_request_url":"https://api.github.com/repos/idaholab/moose/pulls/7878","_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments/84298731"},"html":{"href":"https://github.com/idaholab/moose/pull/7878#discussion_r84298731"},"pull_request":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7878"}}},"pull_request":{"url":"https://api.github.com/repos/idaholab/moose/pulls/7878","id":89601233,"html_url":"https://github.com/idaholab/moose/pull/7878","diff_url":"https://github.com/idaholab/moose/pull/7878.diff","patch_url":"https://github.com/idaholab/moose/pull/7878.patch","issue_url":"https://api.github.com/repos/idaholab/moose/issues/7878","number":7878,"state":"open","locked":false,"title":"PorousFlow relative permeability","user":{"login":"cpgr","id":7664823,"avatar_url":"https://avatars.githubusercontent.com/u/7664823?v=3","gravatar_id":"","url":"https://api.github.com/users/cpgr","html_url":"https://github.com/cpgr","followers_url":"https://api.github.com/users/cpgr/followers","following_url":"https://api.github.com/users/cpgr/following{/other_user}","gists_url":"https://api.github.com/users/cpgr/gists{/gist_id}","starred_url":"https://api.github.com/users/cpgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpgr/subscriptions","organizations_url":"https://api.github.com/users/cpgr/orgs","repos_url":"https://api.github.com/users/cpgr/repos","events_url":"https://api.github.com/users/cpgr/events{/privacy}","received_events_url":"https://api.github.com/users/cpgr/received_events","type":"User","site_admin":false},"body":"- Refactor PorousFlowRelativePermeabilityBase\r\n- Adds residual saturations to Corey relative permeability\r\n- Adds van Genuchten relative permeability formulation\r\n- Adds tests of all relative permeability relations\r\n- Includes a python script to generate plots of relative permeability vs saturation for each of the tests for including in docs\r\n\r\nCloses #7877 ","created_at":"2016-10-17T10:55:50Z","updated_at":"2016-10-20T14:58:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2c54251ca1b187043a4ac33d8d8ea3c9bbcbb588","assignee":{"login":"andrsd","id":85632,"avatar_url":"https://avatars.githubusercontent.com/u/85632?v=3","gravatar_id":"","url":"https://api.github.com/users/andrsd","html_url":"https://github.com/andrsd","followers_url":"https://api.github.com/users/andrsd/followers","following_url":"https://api.github.com/users/andrsd/following{/other_user}","gists_url":"https://api.github.com/users/andrsd/gists{/gist_id}","starred_url":"https://api.github.com/users/andrsd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrsd/subscriptions","organizations_url":"https://api.github.com/users/andrsd/orgs","repos_url":"https://api.github.com/users/andrsd/repos","events_url":"https://api.github.com/users/andrsd/events{/privacy}","received_events_url":"https://api.github.com/users/andrsd/received_events","type":"User","site_admin":false},"assignees":[{"login":"andrsd","id":85632,"avatar_url":"https://avatars.githubusercontent.com/u/85632?v=3","gravatar_id":"","url":"https://api.github.com/users/andrsd","html_url":"https://github.com/andrsd","followers_url":"https://api.github.com/users/andrsd/followers","following_url":"https://api.github.com/users/andrsd/following{/other_user}","gists_url":"https://api.github.com/users/andrsd/gists{/gist_id}","starred_url":"https://api.github.com/users/andrsd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrsd/subscriptions","organizations_url":"https://api.github.com/users/andrsd/orgs","repos_url":"https://api.github.com/users/andrsd/repos","events_url":"https://api.github.com/users/andrsd/events{/privacy}","received_events_url":"https://api.github.com/users/andrsd/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/idaholab/moose/pulls/7878/commits","review_comments_url":"https://api.github.com/repos/idaholab/moose/pulls/7878/comments","review_comment_url":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idaholab/moose/issues/7878/comments","statuses_url":"https://api.github.com/repos/idaholab/moose/statuses/e430e97863c6a9056bd823e3cdd66a492db9058f","head":{"label":"cpgr:pf_relperm","ref":"pf_relperm","sha":"e430e97863c6a9056bd823e3cdd66a492db9058f","user":{"login":"cpgr","id":7664823,"avatar_url":"https://avatars.githubusercontent.com/u/7664823?v=3","gravatar_id":"","url":"https://api.github.com/users/cpgr","html_url":"https://github.com/cpgr","followers_url":"https://api.github.com/users/cpgr/followers","following_url":"https://api.github.com/users/cpgr/following{/other_user}","gists_url":"https://api.github.com/users/cpgr/gists{/gist_id}","starred_url":"https://api.github.com/users/cpgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpgr/subscriptions","organizations_url":"https://api.github.com/users/cpgr/orgs","repos_url":"https://api.github.com/users/cpgr/repos","events_url":"https://api.github.com/users/cpgr/events{/privacy}","received_events_url":"https://api.github.com/users/cpgr/received_events","type":"User","site_admin":false},"repo":{"id":56023587,"name":"moose","full_name":"cpgr/moose","owner":{"login":"cpgr","id":7664823,"avatar_url":"https://avatars.githubusercontent.com/u/7664823?v=3","gravatar_id":"","url":"https://api.github.com/users/cpgr","html_url":"https://github.com/cpgr","followers_url":"https://api.github.com/users/cpgr/followers","following_url":"https://api.github.com/users/cpgr/following{/other_user}","gists_url":"https://api.github.com/users/cpgr/gists{/gist_id}","starred_url":"https://api.github.com/users/cpgr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpgr/subscriptions","organizations_url":"https://api.github.com/users/cpgr/orgs","repos_url":"https://api.github.com/users/cpgr/repos","events_url":"https://api.github.com/users/cpgr/events{/privacy}","received_events_url":"https://api.github.com/users/cpgr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cpgr/moose","description":"Multiphysics Object Oriented Simulation Environment","fork":true,"url":"https://api.github.com/repos/cpgr/moose","forks_url":"https://api.github.com/repos/cpgr/moose/forks","keys_url":"https://api.github.com/repos/cpgr/moose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cpgr/moose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cpgr/moose/teams","hooks_url":"https://api.github.com/repos/cpgr/moose/hooks","issue_events_url":"https://api.github.com/repos/cpgr/moose/issues/events{/number}","events_url":"https://api.github.com/repos/cpgr/moose/events","assignees_url":"https://api.github.com/repos/cpgr/moose/assignees{/user}","branches_url":"https://api.github.com/repos/cpgr/moose/branches{/branch}","tags_url":"https://api.github.com/repos/cpgr/moose/tags","blobs_url":"https://api.github.com/repos/cpgr/moose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cpgr/moose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cpgr/moose/git/refs{/sha}","trees_url":"https://api.github.com/repos/cpgr/moose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cpgr/moose/statuses/{sha}","languages_url":"https://api.github.com/repos/cpgr/moose/languages","stargazers_url":"https://api.github.com/repos/cpgr/moose/stargazers","contributors_url":"https://api.github.com/repos/cpgr/moose/contributors","subscribers_url":"https://api.github.com/repos/cpgr/moose/subscribers","subscription_url":"https://api.github.com/repos/cpgr/moose/subscription","commits_url":"https://api.github.com/repos/cpgr/moose/commits{/sha}","git_commits_url":"https://api.github.com/repos/cpgr/moose/git/commits{/sha}","comments_url":"https://api.github.com/repos/cpgr/moose/comments{/number}","issue_comment_url":"https://api.github.com/repos/cpgr/moose/issues/comments{/number}","contents_url":"https://api.github.com/repos/cpgr/moose/contents/{+path}","compare_url":"https://api.github.com/repos/cpgr/moose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cpgr/moose/merges","archive_url":"https://api.github.com/repos/cpgr/moose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cpgr/moose/downloads","issues_url":"https://api.github.com/repos/cpgr/moose/issues{/number}","pulls_url":"https://api.github.com/repos/cpgr/moose/pulls{/number}","milestones_url":"https://api.github.com/repos/cpgr/moose/milestones{/number}","notifications_url":"https://api.github.com/repos/cpgr/moose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cpgr/moose/labels{/name}","releases_url":"https://api.github.com/repos/cpgr/moose/releases{/id}","deployments_url":"https://api.github.com/repos/cpgr/moose/deployments","created_at":"2016-04-12T02:20:23Z","updated_at":"2016-04-12T02:20:37Z","pushed_at":"2016-10-18T20:53:06Z","git_url":"git://github.com/cpgr/moose.git","ssh_url":"git@github.com:cpgr/moose.git","clone_url":"https://github.com/cpgr/moose.git","svn_url":"https://github.com/cpgr/moose","homepage":"http://www.mooseframework.org","size":147763,"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":"c9bc94932793e5022cc6ae6b18315d2e7b66e2ec","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-18T19:15:30Z","pushed_at":"2016-10-20T14:43:20Z","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":166024,"stargazers_count":173,"watchers_count":173,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":285,"mirror_url":null,"open_issues_count":703,"forks":285,"open_issues":703,"watchers":173,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7878"},"html":{"href":"https://github.com/idaholab/moose/pull/7878"},"issue":{"href":"https://api.github.com/repos/idaholab/moose/issues/7878"},"comments":{"href":"https://api.github.com/repos/idaholab/moose/issues/7878/comments"},"review_comments":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7878/comments"},"review_comment":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7878/commits"},"statuses":{"href":"https://api.github.com/repos/idaholab/moose/statuses/e430e97863c6a9056bd823e3cdd66a492db9058f"}}}}
{"actor":{"display_login":"andrsd"}}