{"action":"created","issue":{"url":"https://api.github.com/repos/ufz/ogs/issues/873","labels_url":"https://api.github.com/repos/ufz/ogs/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/ufz/ogs/issues/873/comments","events_url":"https://api.github.com/repos/ufz/ogs/issues/873/events","html_url":"https://github.com/ufz/ogs/pull/873","id":112741026,"number":873,"title":"0d element","user":{"login":"chleh","id":10530151,"avatar_url":"https://avatars.githubusercontent.com/u/10530151?v=3","gravatar_id":"","url":"https://api.github.com/users/chleh","html_url":"https://github.com/chleh","followers_url":"https://api.github.com/users/chleh/followers","following_url":"https://api.github.com/users/chleh/following{/other_user}","gists_url":"https://api.github.com/users/chleh/gists{/gist_id}","starred_url":"https://api.github.com/users/chleh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chleh/subscriptions","organizations_url":"https://api.github.com/users/chleh/orgs","repos_url":"https://api.github.com/users/chleh/repos","events_url":"https://api.github.com/users/chleh/events{/privacy}","received_events_url":"https://api.github.com/users/chleh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-22T06:41:18Z","updated_at":"2015-10-26T12:57:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ufz/ogs/pulls/873","html_url":"https://github.com/ufz/ogs/pull/873","diff_url":"https://github.com/ufz/ogs/pull/873.diff","patch_url":"https://github.com/ufz/ogs/pull/873.patch"},"body":"This is the reincarnation of Dima's PR #846. The main work has been done by him. I helped fixing some compilation errors.\r\n\r\nThis PR adds a point element to the mesh lib, suitable shape function, and makes it available for the local assemblers.\r\n\r\nThe reason behind this element is that the boundary of a line mesh consists of point elements and to implement Neumann boundary conditions, for example, integration over such elements must be performed.\r\n\r\nThe original PR suffered from compilation errors because of static allocation of zero-sized arrays (by Eigen::Matrix). This issue has been treated by always using dynamically sized Eigen matrices for zero size. Dynamic array allocation of zero size is at least legal (cf. http://stackoverflow.com/a/1087066). This solution is not perfect, but a complete solution would require major rewrites, like a distinction between dimensions starting on the level of class `ShapeMatrices`.\r\n\r\n~~The test data will be moved to the right place upon merging this PR.~~"},"comment":{"url":"https://api.github.com/repos/ufz/ogs/issues/comments/151124612","html_url":"https://github.com/ufz/ogs/pull/873#issuecomment-151124612","issue_url":"https://api.github.com/repos/ufz/ogs/issues/873","id":151124612,"user":{"login":"chleh","id":10530151,"avatar_url":"https://avatars.githubusercontent.com/u/10530151?v=3","gravatar_id":"","url":"https://api.github.com/users/chleh","html_url":"https://github.com/chleh","followers_url":"https://api.github.com/users/chleh/followers","following_url":"https://api.github.com/users/chleh/following{/other_user}","gists_url":"https://api.github.com/users/chleh/gists{/gist_id}","starred_url":"https://api.github.com/users/chleh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chleh/subscriptions","organizations_url":"https://api.github.com/users/chleh/orgs","repos_url":"https://api.github.com/users/chleh/repos","events_url":"https://api.github.com/users/chleh/events{/privacy}","received_events_url":"https://api.github.com/users/chleh/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T12:57:37Z","updated_at":"2015-10-26T12:57:37Z","body":"@bilke: could you please have a look at the Mac PR test?"}}