{"action":"created","comment":{"url":"https://api.github.com/repos/geodynamics/aspect/pulls/comments/23561450","id":23561450,"diff_hunk":"@@ -883,21 +883,37 @@ namespace aspect\n \n       /**\n        * Fills a vector with the artificial viscosity for the temperature on\n-       * each local cell\n+       * each local cell.\n        */\n       void get_artificial_viscosity (Vector<float> &viscosity_per_cell) const;\n \n       /**\n        * Internal routine to compute the depth average of a certain quantitiy.\n-       * The functor @p fctr should implement: 1. bool\n-       * need_material_properties() 2. void setup(unsigned int q_points) 3.\n-       * double operator()(const MaterialModelInputs & in, const\n-       * MaterialModelOutputs & out, FEValues<dim> & fe_values, const\n-       * LinearAlgebra::BlockVector &solution, std::vector<double> & output)\n+       * The functor @p fctr should implement the following:\n+       * @code\n+       * template <int dim>\n+       * class Functor\n+       * {\n+       *   public:\n+       *     // operator() will have @p in and @p out filled out if @p true\n+       *     bool need_material_properties();\n+       *\n+       *     // called once at the beginning with the number of quadrature points\n+       *     void setup(unsigned int q_points);\n+       *\n+       *     // fill @p output for each quadrature point\n+       *     void operator()(const typename MaterialModel::Interface<dim>::MaterialModelInputs &in,\n+       *        const typename MaterialModel::Interface<dim>::MaterialModelOutputs &out,\n+       *        FEValues<dim> &fe_values,\n+       *        const LinearAlgebra::BlockVector &solution,\n+       *        std::vector<double> &output);\n+       * };\n+       * @endcode\n        *\n        * @param values The output vector of depth averaged values. The\n        * function takes the pre-existing size of this vector as the number of\n        * depth slices.\n+       * @param fctr instance of a class satisfying the template above.","path":"include/aspect/simulator.h","position":40,"original_position":40,"commit_id":"15ddf09b30280efb3893343bd3ecbcf9d197c4bf","original_commit_id":"15ddf09b30280efb3893343bd3ecbcf9d197c4bf","user":{"login":"bangerth","id":7504421,"avatar_url":"https://avatars.githubusercontent.com/u/7504421?v=3","gravatar_id":"","url":"https://api.github.com/users/bangerth","html_url":"https://github.com/bangerth","followers_url":"https://api.github.com/users/bangerth/followers","following_url":"https://api.github.com/users/bangerth/following{/other_user}","gists_url":"https://api.github.com/users/bangerth/gists{/gist_id}","starred_url":"https://api.github.com/users/bangerth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangerth/subscriptions","organizations_url":"https://api.github.com/users/bangerth/orgs","repos_url":"https://api.github.com/users/bangerth/repos","events_url":"https://api.github.com/users/bangerth/events{/privacy}","received_events_url":"https://api.github.com/users/bangerth/received_events","type":"User","site_admin":false},"body":"Capitalize \"instance\"","created_at":"2015-01-26T20:28:35Z","updated_at":"2015-01-26T20:28:35Z","html_url":"https://github.com/geodynamics/aspect/pull/266#discussion_r23561450","pull_request_url":"https://api.github.com/repos/geodynamics/aspect/pulls/266","_links":{"self":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/comments/23561450"},"html":{"href":"https://github.com/geodynamics/aspect/pull/266#discussion_r23561450"},"pull_request":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/266"}}},"pull_request":{"url":"https://api.github.com/repos/geodynamics/aspect/pulls/266","id":28056020,"html_url":"https://github.com/geodynamics/aspect/pull/266","diff_url":"https://github.com/geodynamics/aspect/pull/266.diff","patch_url":"https://github.com/geodynamics/aspect/pull/266.patch","issue_url":"https://api.github.com/repos/geodynamics/aspect/issues/266","number":266,"state":"open","locked":false,"title":"Doxygen fixes","user":{"login":"tjhei","id":1531285,"avatar_url":"https://avatars.githubusercontent.com/u/1531285?v=3","gravatar_id":"","url":"https://api.github.com/users/tjhei","html_url":"https://github.com/tjhei","followers_url":"https://api.github.com/users/tjhei/followers","following_url":"https://api.github.com/users/tjhei/following{/other_user}","gists_url":"https://api.github.com/users/tjhei/gists{/gist_id}","starred_url":"https://api.github.com/users/tjhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjhei/subscriptions","organizations_url":"https://api.github.com/users/tjhei/orgs","repos_url":"https://api.github.com/users/tjhei/repos","events_url":"https://api.github.com/users/tjhei/events{/privacy}","received_events_url":"https://api.github.com/users/tjhei/received_events","type":"User","site_admin":false},"body":"- add doxygen search engine\r\n- add missing @params\r\n- fix layout of list\r\n- improve some documentation","created_at":"2015-01-26T20:08:14Z","updated_at":"2015-01-26T20:28:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76a222b19218a2e67e137a17e2f312487d4ae70a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geodynamics/aspect/pulls/266/commits","review_comments_url":"https://api.github.com/repos/geodynamics/aspect/pulls/266/comments","review_comment_url":"https://api.github.com/repos/geodynamics/aspect/pulls/comments/{number}","comments_url":"https://api.github.com/repos/geodynamics/aspect/issues/266/comments","statuses_url":"https://api.github.com/repos/geodynamics/aspect/statuses/15ddf09b30280efb3893343bd3ecbcf9d197c4bf","head":{"label":"tjhei:doxygen_fixes","ref":"doxygen_fixes","sha":"15ddf09b30280efb3893343bd3ecbcf9d197c4bf","user":{"login":"tjhei","id":1531285,"avatar_url":"https://avatars.githubusercontent.com/u/1531285?v=3","gravatar_id":"","url":"https://api.github.com/users/tjhei","html_url":"https://github.com/tjhei","followers_url":"https://api.github.com/users/tjhei/followers","following_url":"https://api.github.com/users/tjhei/following{/other_user}","gists_url":"https://api.github.com/users/tjhei/gists{/gist_id}","starred_url":"https://api.github.com/users/tjhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjhei/subscriptions","organizations_url":"https://api.github.com/users/tjhei/orgs","repos_url":"https://api.github.com/users/tjhei/repos","events_url":"https://api.github.com/users/tjhei/events{/privacy}","received_events_url":"https://api.github.com/users/tjhei/received_events","type":"User","site_admin":false},"repo":{"id":19503755,"name":"aspect","full_name":"tjhei/aspect","owner":{"login":"tjhei","id":1531285,"avatar_url":"https://avatars.githubusercontent.com/u/1531285?v=3","gravatar_id":"","url":"https://api.github.com/users/tjhei","html_url":"https://github.com/tjhei","followers_url":"https://api.github.com/users/tjhei/followers","following_url":"https://api.github.com/users/tjhei/following{/other_user}","gists_url":"https://api.github.com/users/tjhei/gists{/gist_id}","starred_url":"https://api.github.com/users/tjhei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjhei/subscriptions","organizations_url":"https://api.github.com/users/tjhei/orgs","repos_url":"https://api.github.com/users/tjhei/repos","events_url":"https://api.github.com/users/tjhei/events{/privacy}","received_events_url":"https://api.github.com/users/tjhei/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tjhei/aspect","description":"Finite element parallel code to simulate problems in thermal convection in both 2D and 3D models.","fork":true,"url":"https://api.github.com/repos/tjhei/aspect","forks_url":"https://api.github.com/repos/tjhei/aspect/forks","keys_url":"https://api.github.com/repos/tjhei/aspect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tjhei/aspect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tjhei/aspect/teams","hooks_url":"https://api.github.com/repos/tjhei/aspect/hooks","issue_events_url":"https://api.github.com/repos/tjhei/aspect/issues/events{/number}","events_url":"https://api.github.com/repos/tjhei/aspect/events","assignees_url":"https://api.github.com/repos/tjhei/aspect/assignees{/user}","branches_url":"https://api.github.com/repos/tjhei/aspect/branches{/branch}","tags_url":"https://api.github.com/repos/tjhei/aspect/tags","blobs_url":"https://api.github.com/repos/tjhei/aspect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tjhei/aspect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tjhei/aspect/git/refs{/sha}","trees_url":"https://api.github.com/repos/tjhei/aspect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tjhei/aspect/statuses/{sha}","languages_url":"https://api.github.com/repos/tjhei/aspect/languages","stargazers_url":"https://api.github.com/repos/tjhei/aspect/stargazers","contributors_url":"https://api.github.com/repos/tjhei/aspect/contributors","subscribers_url":"https://api.github.com/repos/tjhei/aspect/subscribers","subscription_url":"https://api.github.com/repos/tjhei/aspect/subscription","commits_url":"https://api.github.com/repos/tjhei/aspect/commits{/sha}","git_commits_url":"https://api.github.com/repos/tjhei/aspect/git/commits{/sha}","comments_url":"https://api.github.com/repos/tjhei/aspect/comments{/number}","issue_comment_url":"https://api.github.com/repos/tjhei/aspect/issues/comments/{number}","contents_url":"https://api.github.com/repos/tjhei/aspect/contents/{+path}","compare_url":"https://api.github.com/repos/tjhei/aspect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tjhei/aspect/merges","archive_url":"https://api.github.com/repos/tjhei/aspect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tjhei/aspect/downloads","issues_url":"https://api.github.com/repos/tjhei/aspect/issues{/number}","pulls_url":"https://api.github.com/repos/tjhei/aspect/pulls{/number}","milestones_url":"https://api.github.com/repos/tjhei/aspect/milestones{/number}","notifications_url":"https://api.github.com/repos/tjhei/aspect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tjhei/aspect/labels{/name}","releases_url":"https://api.github.com/repos/tjhei/aspect/releases{/id}","created_at":"2014-05-06T17:29:57Z","updated_at":"2015-01-23T17:37:09Z","pushed_at":"2015-01-26T20:08:10Z","git_url":"git://github.com/tjhei/aspect.git","ssh_url":"git@github.com:tjhei/aspect.git","clone_url":"https://github.com/tjhei/aspect.git","svn_url":"https://github.com/tjhei/aspect","homepage":null,"size":113015,"stargazers_count":0,"watchers_count":0,"language":"Gnuplot","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"geodynamics:master","ref":"master","sha":"3393a76f010db2e9e3fc4ae06be1aeee36881418","user":{"login":"geodynamics","id":4052461,"avatar_url":"https://avatars.githubusercontent.com/u/4052461?v=3","gravatar_id":"","url":"https://api.github.com/users/geodynamics","html_url":"https://github.com/geodynamics","followers_url":"https://api.github.com/users/geodynamics/followers","following_url":"https://api.github.com/users/geodynamics/following{/other_user}","gists_url":"https://api.github.com/users/geodynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/geodynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geodynamics/subscriptions","organizations_url":"https://api.github.com/users/geodynamics/orgs","repos_url":"https://api.github.com/users/geodynamics/repos","events_url":"https://api.github.com/users/geodynamics/events{/privacy}","received_events_url":"https://api.github.com/users/geodynamics/received_events","type":"Organization","site_admin":false},"repo":{"id":19502452,"name":"aspect","full_name":"geodynamics/aspect","owner":{"login":"geodynamics","id":4052461,"avatar_url":"https://avatars.githubusercontent.com/u/4052461?v=3","gravatar_id":"","url":"https://api.github.com/users/geodynamics","html_url":"https://github.com/geodynamics","followers_url":"https://api.github.com/users/geodynamics/followers","following_url":"https://api.github.com/users/geodynamics/following{/other_user}","gists_url":"https://api.github.com/users/geodynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/geodynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geodynamics/subscriptions","organizations_url":"https://api.github.com/users/geodynamics/orgs","repos_url":"https://api.github.com/users/geodynamics/repos","events_url":"https://api.github.com/users/geodynamics/events{/privacy}","received_events_url":"https://api.github.com/users/geodynamics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geodynamics/aspect","description":"A parallel, extendible finite element code to simulate thermal convection in both 2D and 3D models.","fork":false,"url":"https://api.github.com/repos/geodynamics/aspect","forks_url":"https://api.github.com/repos/geodynamics/aspect/forks","keys_url":"https://api.github.com/repos/geodynamics/aspect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geodynamics/aspect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geodynamics/aspect/teams","hooks_url":"https://api.github.com/repos/geodynamics/aspect/hooks","issue_events_url":"https://api.github.com/repos/geodynamics/aspect/issues/events{/number}","events_url":"https://api.github.com/repos/geodynamics/aspect/events","assignees_url":"https://api.github.com/repos/geodynamics/aspect/assignees{/user}","branches_url":"https://api.github.com/repos/geodynamics/aspect/branches{/branch}","tags_url":"https://api.github.com/repos/geodynamics/aspect/tags","blobs_url":"https://api.github.com/repos/geodynamics/aspect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geodynamics/aspect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geodynamics/aspect/git/refs{/sha}","trees_url":"https://api.github.com/repos/geodynamics/aspect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geodynamics/aspect/statuses/{sha}","languages_url":"https://api.github.com/repos/geodynamics/aspect/languages","stargazers_url":"https://api.github.com/repos/geodynamics/aspect/stargazers","contributors_url":"https://api.github.com/repos/geodynamics/aspect/contributors","subscribers_url":"https://api.github.com/repos/geodynamics/aspect/subscribers","subscription_url":"https://api.github.com/repos/geodynamics/aspect/subscription","commits_url":"https://api.github.com/repos/geodynamics/aspect/commits{/sha}","git_commits_url":"https://api.github.com/repos/geodynamics/aspect/git/commits{/sha}","comments_url":"https://api.github.com/repos/geodynamics/aspect/comments{/number}","issue_comment_url":"https://api.github.com/repos/geodynamics/aspect/issues/comments/{number}","contents_url":"https://api.github.com/repos/geodynamics/aspect/contents/{+path}","compare_url":"https://api.github.com/repos/geodynamics/aspect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geodynamics/aspect/merges","archive_url":"https://api.github.com/repos/geodynamics/aspect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geodynamics/aspect/downloads","issues_url":"https://api.github.com/repos/geodynamics/aspect/issues{/number}","pulls_url":"https://api.github.com/repos/geodynamics/aspect/pulls{/number}","milestones_url":"https://api.github.com/repos/geodynamics/aspect/milestones{/number}","notifications_url":"https://api.github.com/repos/geodynamics/aspect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geodynamics/aspect/labels{/name}","releases_url":"https://api.github.com/repos/geodynamics/aspect/releases{/id}","created_at":"2014-05-06T16:47:18Z","updated_at":"2015-01-25T23:31:16Z","pushed_at":"2015-01-26T13:45:54Z","git_url":"git://github.com/geodynamics/aspect.git","ssh_url":"git@github.com:geodynamics/aspect.git","clone_url":"https://github.com/geodynamics/aspect.git","svn_url":"https://github.com/geodynamics/aspect","homepage":"http://aspect.dealii.org/","size":122712,"stargazers_count":8,"watchers_count":8,"language":"Gnuplot","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":28,"forks":25,"open_issues":28,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/266"},"html":{"href":"https://github.com/geodynamics/aspect/pull/266"},"issue":{"href":"https://api.github.com/repos/geodynamics/aspect/issues/266"},"comments":{"href":"https://api.github.com/repos/geodynamics/aspect/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/geodynamics/aspect/statuses/15ddf09b30280efb3893343bd3ecbcf9d197c4bf"}}}}