{"action":"created","comment":{"url":"https://api.github.com/repos/idaholab/moose/pulls/comments/75882399","id":75882399,"diff_hunk":"@@ -0,0 +1,45 @@\n+/****************************************************************/\n+/*               DO NOT MODIFY THIS HEADER                      */\n+/* MOOSE - Multiphysics Object Oriented Simulation Environment  */\n+/*                                                              */\n+/*           (c) 2010 Battelle Energy Alliance, LLC             */\n+/*                   ALL RIGHTS RESERVED                        */\n+/*                                                              */\n+/*          Prepared by Battelle Energy Alliance, LLC           */\n+/*            Under Contract No. DE-AC07-05ID14517              */\n+/*            With the U. S. Department of Energy               */\n+/*                                                              */\n+/*            See COPYRIGHT for full restrictions               */\n+/****************************************************************/\n+\n+#include \"MaterialTestIndicator.h\"\n+#include \"Assembly.h\"\n+\n+template<>\n+InputParameters validParams<MaterialTestIndicator>()\n+{\n+  InputParameters params = validParams<Indicator>();\n+  params += validParams<MaterialPropertyInterface>();\n+  params.addParam<MaterialPropertyName>(\"property\", \"The name of the material property to use for an indicator.\");\n+  return params;\n+}\n+\n+\n+MaterialTestIndicator::MaterialTestIndicator(const InputParameters & parameters) :\n+    Indicator(parameters),\n+    MaterialPropertyInterface(this),\n+    _property(getMaterialProperty<Real>(\"property\")),\n+    _qrule(_assembly.qRule()),\n+    _indicator_var(_sys.getVariable(_tid, name()))\n+{\n+}\n+\n+\n+void\n+MaterialTestIndicator::computeIndicator()\n+{\n+  std::vector<Real> min(_qrule->n_points());\n+  for (unsigned int qp = 0; qp < _qrule->n_points(); ++qp)\n+    min[qp] = _property[qp];","path":"test/src/indicators/MaterialTestIndicator.C","position":43,"original_position":43,"commit_id":"93d97b8552974a47eb4822b83c6b7ef50fc6d47c","original_commit_id":"93d97b8552974a47eb4822b83c6b7ef50fc6d47c","user":{"login":"aeslaughter","id":341333,"avatar_url":"https://avatars.githubusercontent.com/u/341333?v=3","gravatar_id":"","url":"https://api.github.com/users/aeslaughter","html_url":"https://github.com/aeslaughter","followers_url":"https://api.github.com/users/aeslaughter/followers","following_url":"https://api.github.com/users/aeslaughter/following{/other_user}","gists_url":"https://api.github.com/users/aeslaughter/gists{/gist_id}","starred_url":"https://api.github.com/users/aeslaughter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeslaughter/subscriptions","organizations_url":"https://api.github.com/users/aeslaughter/orgs","repos_url":"https://api.github.com/users/aeslaughter/repos","events_url":"https://api.github.com/users/aeslaughter/events{/privacy}","received_events_url":"https://api.github.com/users/aeslaughter/received_events","type":"User","site_admin":false},"body":"I investigate the qps, because I am using a Material property, which is defined on qps.","created_at":"2016-08-23T14:51:11Z","updated_at":"2016-08-23T14:51:11Z","html_url":"https://github.com/idaholab/moose/pull/7599#discussion_r75882399","pull_request_url":"https://api.github.com/repos/idaholab/moose/pulls/7599","_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments/75882399"},"html":{"href":"https://github.com/idaholab/moose/pull/7599#discussion_r75882399"},"pull_request":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7599"}}},"pull_request":{"url":"https://api.github.com/repos/idaholab/moose/pulls/7599","id":82268654,"html_url":"https://github.com/idaholab/moose/pull/7599","diff_url":"https://github.com/idaholab/moose/pull/7599.diff","patch_url":"https://github.com/idaholab/moose/pull/7599.patch","issue_url":"https://api.github.com/repos/idaholab/moose/issues/7599","number":7599,"state":"open","locked":false,"title":"Changes to support Indicators that use material properties.","user":{"login":"aeslaughter","id":341333,"avatar_url":"https://avatars.githubusercontent.com/u/341333?v=3","gravatar_id":"","url":"https://api.github.com/users/aeslaughter","html_url":"https://github.com/aeslaughter","followers_url":"https://api.github.com/users/aeslaughter/followers","following_url":"https://api.github.com/users/aeslaughter/following{/other_user}","gists_url":"https://api.github.com/users/aeslaughter/gists{/gist_id}","starred_url":"https://api.github.com/users/aeslaughter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeslaughter/subscriptions","organizations_url":"https://api.github.com/users/aeslaughter/orgs","repos_url":"https://api.github.com/users/aeslaughter/repos","events_url":"https://api.github.com/users/aeslaughter/events{/privacy}","received_events_url":"https://api.github.com/users/aeslaughter/received_events","type":"User","site_admin":false},"body":"The following is towards creating an application that is capable of adapting based on a material property that relates to the minimum required element size. To this end the following is being added to MOOSE:\r\n\r\n1. An AuxKernel for computing the element size; this is being used for testing in the application, but I thought that it was general enough to include in MOOSE.\r\n2. The initialization of material properties is moved prior to the initial adapt steps, to allow for indicators/markers to use material properties.\r\n3. The initial adapt steps are factored into a virtual method so that a new problem is created that adapts until the minimum element size is satisfied.\r\n\r\n(closes #7597)","created_at":"2016-08-22T21:42:42Z","updated_at":"2016-08-23T14:51:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a750ac2abf4a8a7708903660ee6f9439401be9e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/idaholab/moose/pulls/7599/commits","review_comments_url":"https://api.github.com/repos/idaholab/moose/pulls/7599/comments","review_comment_url":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idaholab/moose/issues/7599/comments","statuses_url":"https://api.github.com/repos/idaholab/moose/statuses/93d97b8552974a47eb4822b83c6b7ef50fc6d47c","head":{"label":"aeslaughter:adapt-7597","ref":"adapt-7597","sha":"93d97b8552974a47eb4822b83c6b7ef50fc6d47c","user":{"login":"aeslaughter","id":341333,"avatar_url":"https://avatars.githubusercontent.com/u/341333?v=3","gravatar_id":"","url":"https://api.github.com/users/aeslaughter","html_url":"https://github.com/aeslaughter","followers_url":"https://api.github.com/users/aeslaughter/followers","following_url":"https://api.github.com/users/aeslaughter/following{/other_user}","gists_url":"https://api.github.com/users/aeslaughter/gists{/gist_id}","starred_url":"https://api.github.com/users/aeslaughter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeslaughter/subscriptions","organizations_url":"https://api.github.com/users/aeslaughter/orgs","repos_url":"https://api.github.com/users/aeslaughter/repos","events_url":"https://api.github.com/users/aeslaughter/events{/privacy}","received_events_url":"https://api.github.com/users/aeslaughter/received_events","type":"User","site_admin":false},"repo":{"id":17844840,"name":"moose","full_name":"aeslaughter/moose","owner":{"login":"aeslaughter","id":341333,"avatar_url":"https://avatars.githubusercontent.com/u/341333?v=3","gravatar_id":"","url":"https://api.github.com/users/aeslaughter","html_url":"https://github.com/aeslaughter","followers_url":"https://api.github.com/users/aeslaughter/followers","following_url":"https://api.github.com/users/aeslaughter/following{/other_user}","gists_url":"https://api.github.com/users/aeslaughter/gists{/gist_id}","starred_url":"https://api.github.com/users/aeslaughter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aeslaughter/subscriptions","organizations_url":"https://api.github.com/users/aeslaughter/orgs","repos_url":"https://api.github.com/users/aeslaughter/repos","events_url":"https://api.github.com/users/aeslaughter/events{/privacy}","received_events_url":"https://api.github.com/users/aeslaughter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aeslaughter/moose","description":"Multiphysics Object Oriented Simulation Environment","fork":true,"url":"https://api.github.com/repos/aeslaughter/moose","forks_url":"https://api.github.com/repos/aeslaughter/moose/forks","keys_url":"https://api.github.com/repos/aeslaughter/moose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aeslaughter/moose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aeslaughter/moose/teams","hooks_url":"https://api.github.com/repos/aeslaughter/moose/hooks","issue_events_url":"https://api.github.com/repos/aeslaughter/moose/issues/events{/number}","events_url":"https://api.github.com/repos/aeslaughter/moose/events","assignees_url":"https://api.github.com/repos/aeslaughter/moose/assignees{/user}","branches_url":"https://api.github.com/repos/aeslaughter/moose/branches{/branch}","tags_url":"https://api.github.com/repos/aeslaughter/moose/tags","blobs_url":"https://api.github.com/repos/aeslaughter/moose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aeslaughter/moose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aeslaughter/moose/git/refs{/sha}","trees_url":"https://api.github.com/repos/aeslaughter/moose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aeslaughter/moose/statuses/{sha}","languages_url":"https://api.github.com/repos/aeslaughter/moose/languages","stargazers_url":"https://api.github.com/repos/aeslaughter/moose/stargazers","contributors_url":"https://api.github.com/repos/aeslaughter/moose/contributors","subscribers_url":"https://api.github.com/repos/aeslaughter/moose/subscribers","subscription_url":"https://api.github.com/repos/aeslaughter/moose/subscription","commits_url":"https://api.github.com/repos/aeslaughter/moose/commits{/sha}","git_commits_url":"https://api.github.com/repos/aeslaughter/moose/git/commits{/sha}","comments_url":"https://api.github.com/repos/aeslaughter/moose/comments{/number}","issue_comment_url":"https://api.github.com/repos/aeslaughter/moose/issues/comments{/number}","contents_url":"https://api.github.com/repos/aeslaughter/moose/contents/{+path}","compare_url":"https://api.github.com/repos/aeslaughter/moose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aeslaughter/moose/merges","archive_url":"https://api.github.com/repos/aeslaughter/moose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aeslaughter/moose/downloads","issues_url":"https://api.github.com/repos/aeslaughter/moose/issues{/number}","pulls_url":"https://api.github.com/repos/aeslaughter/moose/pulls{/number}","milestones_url":"https://api.github.com/repos/aeslaughter/moose/milestones{/number}","notifications_url":"https://api.github.com/repos/aeslaughter/moose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aeslaughter/moose/labels{/name}","releases_url":"https://api.github.com/repos/aeslaughter/moose/releases{/id}","deployments_url":"https://api.github.com/repos/aeslaughter/moose/deployments","created_at":"2014-03-17T21:59:32Z","updated_at":"2016-02-13T23:23:19Z","pushed_at":"2016-08-22T23:14:59Z","git_url":"git://github.com/aeslaughter/moose.git","ssh_url":"git@github.com:aeslaughter/moose.git","clone_url":"https://github.com/aeslaughter/moose.git","svn_url":"https://github.com/aeslaughter/moose","homepage":null,"size":142806,"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":"62f327234aa393915857da5ad43c92bc7cd75622","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-08-21T20:25:53Z","pushed_at":"2016-08-23T14:40: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":156532,"stargazers_count":165,"watchers_count":165,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":270,"mirror_url":null,"open_issues_count":671,"forks":270,"open_issues":671,"watchers":165,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7599"},"html":{"href":"https://github.com/idaholab/moose/pull/7599"},"issue":{"href":"https://api.github.com/repos/idaholab/moose/issues/7599"},"comments":{"href":"https://api.github.com/repos/idaholab/moose/issues/7599/comments"},"review_comments":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7599/comments"},"review_comment":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idaholab/moose/pulls/7599/commits"},"statuses":{"href":"https://api.github.com/repos/idaholab/moose/statuses/93d97b8552974a47eb4822b83c6b7ef50fc6d47c"}}}}
{"actor":{"display_login":"aeslaughter"}}