{"action":"created","comment":{"url":"https://api.github.com/repos/geodynamics/aspect/pulls/comments/222922056","pull_request_review_id":161925243,"id":222922056,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMjkyMjA1Ng==","diff_hunk":"@@ -1004,6 +1004,12 @@ namespace aspect\n                          \"advected with the melt velocity instead of the solid velocity. \"\n                          \"This method can only be chosen if melt transport is active in the \"\n                          \"model.\"\n+                         \"\\n\"\n+                         \"\\\\item ``prescribed field'': If a compositional field is marked \"\n+                         \"with this method, then the value of a specific additional material \"","path":"source/simulator/parameters.cc","position":15,"original_position":15,"commit_id":"1c4e6d65ee643834befd30fb51e9cda486e3140b","original_commit_id":"1c4e6d65ee643834befd30fb51e9cda486e3140b","user":{"login":"tjhei","id":1531285,"node_id":"MDQ6VXNlcjE1MzEyODU=","avatar_url":"https://avatars0.githubusercontent.com/u/1531285?v=4","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":"can you add at the beginning that the value of these fields is determined in each timestep from the material model?","created_at":"2018-10-05T08:03:55Z","updated_at":"2018-10-05T08:09:56Z","html_url":"https://github.com/geodynamics/aspect/pull/2677#discussion_r222922056","pull_request_url":"https://api.github.com/repos/geodynamics/aspect/pulls/2677","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/comments/222922056"},"html":{"href":"https://github.com/geodynamics/aspect/pull/2677#discussion_r222922056"},"pull_request":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/2677"}}},"pull_request":{"url":"https://api.github.com/repos/geodynamics/aspect/pulls/2677","id":219549074,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5NTQ5MDc0","html_url":"https://github.com/geodynamics/aspect/pull/2677","diff_url":"https://github.com/geodynamics/aspect/pull/2677.diff","patch_url":"https://github.com/geodynamics/aspect/pull/2677.patch","issue_url":"https://api.github.com/repos/geodynamics/aspect/issues/2677","number":2677,"state":"open","locked":false,"title":"design a structure for interpolating material model outputs onto comp…","user":{"login":"jdannberg","id":7517347,"node_id":"MDQ6VXNlcjc1MTczNDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7517347?v=4","gravatar_id":"","url":"https://api.github.com/users/jdannberg","html_url":"https://github.com/jdannberg","followers_url":"https://api.github.com/users/jdannberg/followers","following_url":"https://api.github.com/users/jdannberg/following{/other_user}","gists_url":"https://api.github.com/users/jdannberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jdannberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdannberg/subscriptions","organizations_url":"https://api.github.com/users/jdannberg/orgs","repos_url":"https://api.github.com/users/jdannberg/repos","events_url":"https://api.github.com/users/jdannberg/events{/privacy}","received_events_url":"https://api.github.com/users/jdannberg/received_events","type":"User","site_admin":false},"body":"…ositional fields\r\n\r\nThis is something I started to work on during the hackathon together with @alarshi because she wanted to copy something from the material model outputs into compositional fields and then solve a diffusion problem for this field, but it turned out that interpolating properties onto compositional fields is also useful for a number of other things. In this case, we wanted to compute something expensive in the material model that will be used in several different places (the equilibrium grain size), so it is convenient to store it in a compositional field so that it can be accessed easily. \r\n\r\nIn the future, I see this as a method that could be combined with other compositional field advection/diffusion methods, and it is a first step to getting part of the changes suggested in #2532 back into the main version of ASPECT. ","created_at":"2018-10-01T23:53:48Z","updated_at":"2018-10-05T08:09:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90e396ed515528be0e6ffa85e5aa201769c458c3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":985455887,"node_id":"MDU6TGFiZWw5ODU0NTU4ODc=","url":"https://api.github.com/repos/geodynamics/aspect/labels/ready%20to%20test","name":"ready to test","color":"c2e0c6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/geodynamics/aspect/pulls/2677/commits","review_comments_url":"https://api.github.com/repos/geodynamics/aspect/pulls/2677/comments","review_comment_url":"https://api.github.com/repos/geodynamics/aspect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geodynamics/aspect/issues/2677/comments","statuses_url":"https://api.github.com/repos/geodynamics/aspect/statuses/1c4e6d65ee643834befd30fb51e9cda486e3140b","head":{"label":"jdannberg:copy_fields","ref":"copy_fields","sha":"1c4e6d65ee643834befd30fb51e9cda486e3140b","user":{"login":"jdannberg","id":7517347,"node_id":"MDQ6VXNlcjc1MTczNDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7517347?v=4","gravatar_id":"","url":"https://api.github.com/users/jdannberg","html_url":"https://github.com/jdannberg","followers_url":"https://api.github.com/users/jdannberg/followers","following_url":"https://api.github.com/users/jdannberg/following{/other_user}","gists_url":"https://api.github.com/users/jdannberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jdannberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdannberg/subscriptions","organizations_url":"https://api.github.com/users/jdannberg/orgs","repos_url":"https://api.github.com/users/jdannberg/repos","events_url":"https://api.github.com/users/jdannberg/events{/privacy}","received_events_url":"https://api.github.com/users/jdannberg/received_events","type":"User","site_admin":false},"repo":{"id":19785028,"node_id":"MDEwOlJlcG9zaXRvcnkxOTc4NTAyOA==","name":"aspect","full_name":"jdannberg/aspect","private":false,"owner":{"login":"jdannberg","id":7517347,"node_id":"MDQ6VXNlcjc1MTczNDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7517347?v=4","gravatar_id":"","url":"https://api.github.com/users/jdannberg","html_url":"https://github.com/jdannberg","followers_url":"https://api.github.com/users/jdannberg/followers","following_url":"https://api.github.com/users/jdannberg/following{/other_user}","gists_url":"https://api.github.com/users/jdannberg/gists{/gist_id}","starred_url":"https://api.github.com/users/jdannberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdannberg/subscriptions","organizations_url":"https://api.github.com/users/jdannberg/orgs","repos_url":"https://api.github.com/users/jdannberg/repos","events_url":"https://api.github.com/users/jdannberg/events{/privacy}","received_events_url":"https://api.github.com/users/jdannberg/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jdannberg/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/jdannberg/aspect","forks_url":"https://api.github.com/repos/jdannberg/aspect/forks","keys_url":"https://api.github.com/repos/jdannberg/aspect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jdannberg/aspect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jdannberg/aspect/teams","hooks_url":"https://api.github.com/repos/jdannberg/aspect/hooks","issue_events_url":"https://api.github.com/repos/jdannberg/aspect/issues/events{/number}","events_url":"https://api.github.com/repos/jdannberg/aspect/events","assignees_url":"https://api.github.com/repos/jdannberg/aspect/assignees{/user}","branches_url":"https://api.github.com/repos/jdannberg/aspect/branches{/branch}","tags_url":"https://api.github.com/repos/jdannberg/aspect/tags","blobs_url":"https://api.github.com/repos/jdannberg/aspect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jdannberg/aspect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jdannberg/aspect/git/refs{/sha}","trees_url":"https://api.github.com/repos/jdannberg/aspect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jdannberg/aspect/statuses/{sha}","languages_url":"https://api.github.com/repos/jdannberg/aspect/languages","stargazers_url":"https://api.github.com/repos/jdannberg/aspect/stargazers","contributors_url":"https://api.github.com/repos/jdannberg/aspect/contributors","subscribers_url":"https://api.github.com/repos/jdannberg/aspect/subscribers","subscription_url":"https://api.github.com/repos/jdannberg/aspect/subscription","commits_url":"https://api.github.com/repos/jdannberg/aspect/commits{/sha}","git_commits_url":"https://api.github.com/repos/jdannberg/aspect/git/commits{/sha}","comments_url":"https://api.github.com/repos/jdannberg/aspect/comments{/number}","issue_comment_url":"https://api.github.com/repos/jdannberg/aspect/issues/comments{/number}","contents_url":"https://api.github.com/repos/jdannberg/aspect/contents/{+path}","compare_url":"https://api.github.com/repos/jdannberg/aspect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jdannberg/aspect/merges","archive_url":"https://api.github.com/repos/jdannberg/aspect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jdannberg/aspect/downloads","issues_url":"https://api.github.com/repos/jdannberg/aspect/issues{/number}","pulls_url":"https://api.github.com/repos/jdannberg/aspect/pulls{/number}","milestones_url":"https://api.github.com/repos/jdannberg/aspect/milestones{/number}","notifications_url":"https://api.github.com/repos/jdannberg/aspect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jdannberg/aspect/labels{/name}","releases_url":"https://api.github.com/repos/jdannberg/aspect/releases{/id}","deployments_url":"https://api.github.com/repos/jdannberg/aspect/deployments","created_at":"2014-05-14T15:28:24Z","updated_at":"2015-09-22T19:25:32Z","pushed_at":"2018-10-04T22:31:12Z","git_url":"git://github.com/jdannberg/aspect.git","ssh_url":"git@github.com:jdannberg/aspect.git","clone_url":"https://github.com/jdannberg/aspect.git","svn_url":"https://github.com/jdannberg/aspect","homepage":null,"size":173787,"stargazers_count":0,"watchers_count":0,"language":"Gnuplot","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"geodynamics:master","ref":"master","sha":"7deeadc14ceca12c8649bac8361325f127d9430a","user":{"login":"geodynamics","id":4052461,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTI0NjE=","avatar_url":"https://avatars1.githubusercontent.com/u/4052461?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkxOTUwMjQ1Mg==","name":"aspect","full_name":"geodynamics/aspect","private":false,"owner":{"login":"geodynamics","id":4052461,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwNTI0NjE=","avatar_url":"https://avatars1.githubusercontent.com/u/4052461?v=4","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},"html_url":"https://github.com/geodynamics/aspect","description":"A parallel, extensible finite element code to simulate 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}","deployments_url":"https://api.github.com/repos/geodynamics/aspect/deployments","created_at":"2014-05-06T16:47:18Z","updated_at":"2018-10-04T18:00:11Z","pushed_at":"2018-10-04T22:31:14Z","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":"https://aspect.geodynamics.org/","size":180147,"stargazers_count":55,"watchers_count":55,"language":"Gnuplot","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":216,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":105,"open_issues":216,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/2677"},"html":{"href":"https://github.com/geodynamics/aspect/pull/2677"},"issue":{"href":"https://api.github.com/repos/geodynamics/aspect/issues/2677"},"comments":{"href":"https://api.github.com/repos/geodynamics/aspect/issues/2677/comments"},"review_comments":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/2677/comments"},"review_comment":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geodynamics/aspect/pulls/2677/commits"},"statuses":{"href":"https://api.github.com/repos/geodynamics/aspect/statuses/1c4e6d65ee643834befd30fb51e9cda486e3140b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tjhei"}}