{"action":"opened","issue":{"url":"https://api.github.com/repos/TerraFERMA/TerraFERMA/issues/7","labels_url":"https://api.github.com/repos/TerraFERMA/TerraFERMA/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/TerraFERMA/TerraFERMA/issues/7/comments","events_url":"https://api.github.com/repos/TerraFERMA/TerraFERMA/issues/7/events","html_url":"https://github.com/TerraFERMA/TerraFERMA/issues/7","id":95872143,"number":7,"title":"initial conditions for non-Lagrange functions should not be interpolated","user":{"login":"cianwilson","id":7725696,"avatar_url":"https://avatars.githubusercontent.com/u/7725696?v=3","gravatar_id":"","url":"https://api.github.com/users/cianwilson","html_url":"https://github.com/cianwilson","followers_url":"https://api.github.com/users/cianwilson/followers","following_url":"https://api.github.com/users/cianwilson/following{/other_user}","gists_url":"https://api.github.com/users/cianwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/cianwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cianwilson/subscriptions","organizations_url":"https://api.github.com/users/cianwilson/orgs","repos_url":"https://api.github.com/users/cianwilson/repos","events_url":"https://api.github.com/users/cianwilson/events{/privacy}","received_events_url":"https://api.github.com/users/cianwilson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TerraFERMA/TerraFERMA/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"cianwilson","id":7725696,"avatar_url":"https://avatars.githubusercontent.com/u/7725696?v=3","gravatar_id":"","url":"https://api.github.com/users/cianwilson","html_url":"https://github.com/cianwilson","followers_url":"https://api.github.com/users/cianwilson/followers","following_url":"https://api.github.com/users/cianwilson/following{/other_user}","gists_url":"https://api.github.com/users/cianwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/cianwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cianwilson/subscriptions","organizations_url":"https://api.github.com/users/cianwilson/orgs","repos_url":"https://api.github.com/users/cianwilson/repos","events_url":"https://api.github.com/users/cianwilson/events{/privacy}","received_events_url":"https://api.github.com/users/cianwilson/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/TerraFERMA/TerraFERMA/milestones/3","html_url":"https://github.com/TerraFERMA/TerraFERMA/milestones/v1.1","labels_url":"https://api.github.com/repos/TerraFERMA/TerraFERMA/milestones/3/labels","id":1214464,"number":3,"title":"v1.1","description":"The next minor modification release.","creator":{"login":"cianwilson","id":7725696,"avatar_url":"https://avatars.githubusercontent.com/u/7725696?v=3","gravatar_id":"","url":"https://api.github.com/users/cianwilson","html_url":"https://github.com/cianwilson","followers_url":"https://api.github.com/users/cianwilson/followers","following_url":"https://api.github.com/users/cianwilson/following{/other_user}","gists_url":"https://api.github.com/users/cianwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/cianwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cianwilson/subscriptions","organizations_url":"https://api.github.com/users/cianwilson/orgs","repos_url":"https://api.github.com/users/cianwilson/repos","events_url":"https://api.github.com/users/cianwilson/events{/privacy}","received_events_url":"https://api.github.com/users/cianwilson/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2015-07-19T00:09:06Z","updated_at":"2015-07-19T00:47:48Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-07-19T00:47:48Z","updated_at":"2015-07-19T00:47:48Z","closed_at":null,"body":"Currently the initial condition is always interpolated from an expression (unless being loaded from a checkpoint file).  This is fine for Lagrange functions but does the wrong thing for others (e.g. enriched elements).  It has never really been a problem for us so far as we use these elements mostly for things without timedependence where the initial condition is just an initial guess for the solver.  Now, however DOLFIN 1.6 throws an error when attempting it.\r\n\r\nThe correct thing for TF to do in these circumstances is include a solver at_start to project the initial condition onto the functionspace.  It is unclear how to enforce this however and currently we are holding at DOLFIN 1.5 to get around this.  Note however that any initial condition onto these elements other than 0 will be wrong and should be overwritten by a solve.\r\n\r\nSee [DOLFIN issue #489[(https://bitbucket.org/fenics-project/dolfin/issues/489) and contained links for more information on the FEniCS side of this."}}