{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/wwu-numerik/dune-stuff/pulls/40","id":29791612,"html_url":"https://github.com/wwu-numerik/dune-stuff/pull/40","diff_url":"https://github.com/wwu-numerik/dune-stuff/pull/40.diff","patch_url":"https://github.com/wwu-numerik/dune-stuff/pull/40.patch","issue_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/issues/40","number":40,"state":"open","locked":false,"title":"PeriodicGridView","user":{"login":"tobiasleibner","id":7058290,"avatar_url":"https://avatars.githubusercontent.com/u/7058290?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasleibner","html_url":"https://github.com/tobiasleibner","followers_url":"https://api.github.com/users/tobiasleibner/followers","following_url":"https://api.github.com/users/tobiasleibner/following{/other_user}","gists_url":"https://api.github.com/users/tobiasleibner/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasleibner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasleibner/subscriptions","organizations_url":"https://api.github.com/users/tobiasleibner/orgs","repos_url":"https://api.github.com/users/tobiasleibner/repos","events_url":"https://api.github.com/users/tobiasleibner/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasleibner/received_events","type":"User","site_admin":false},"body":"This adds a periodic grid view and a corresponding test. The PeriodicGridView takes a Dune::GridView in its constructor and forwards all methods to this underlying grid view except for the ibegin and iend method, where a PeriodicIntersectionIterator is returned. The PeriodicIntersectionIterator returns a PeriodicIntersection in its operator* method that acts just like a normal intersection for inner intersections. For intersections on the boundary, the PeriodicIntersection pretends to be an inner intersection with outer() returning the periodic neighbor entity. In order to distinguish the \"real\" inner intersections from the periodic ones, a new method bool periodic() is added in addition to the neighbor() and boundary() methods.\r\nBy now, the PeriodicGridView works only with grids on the unit hypercube (wouldn't be to hard to extend to arbitrary cubes if needed).\r\nThe last commit 9289c38 leads to a SIGSEGV fault in the operator*() method of the PeriodicIntersectionIterator. Reverted it for now, as it was just meant to enhance the style. Is there something wrong with using ?: the way I did? \r\n","created_at":"2015-02-23T08:13:12Z","updated_at":"2015-02-23T08:13:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/pulls/40/commits","review_comments_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/pulls/40/comments","review_comment_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/issues/40/comments","statuses_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/statuses/27224c401d97ca69117b55ec1afebe40dc6f5d83","head":{"label":"tobiasleibner:master","ref":"master","sha":"27224c401d97ca69117b55ec1afebe40dc6f5d83","user":{"login":"tobiasleibner","id":7058290,"avatar_url":"https://avatars.githubusercontent.com/u/7058290?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasleibner","html_url":"https://github.com/tobiasleibner","followers_url":"https://api.github.com/users/tobiasleibner/followers","following_url":"https://api.github.com/users/tobiasleibner/following{/other_user}","gists_url":"https://api.github.com/users/tobiasleibner/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasleibner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasleibner/subscriptions","organizations_url":"https://api.github.com/users/tobiasleibner/orgs","repos_url":"https://api.github.com/users/tobiasleibner/repos","events_url":"https://api.github.com/users/tobiasleibner/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasleibner/received_events","type":"User","site_admin":false},"repo":{"id":18300049,"name":"DUNE-Stuff","full_name":"tobiasleibner/DUNE-Stuff","owner":{"login":"tobiasleibner","id":7058290,"avatar_url":"https://avatars.githubusercontent.com/u/7058290?v=3","gravatar_id":"","url":"https://api.github.com/users/tobiasleibner","html_url":"https://github.com/tobiasleibner","followers_url":"https://api.github.com/users/tobiasleibner/followers","following_url":"https://api.github.com/users/tobiasleibner/following{/other_user}","gists_url":"https://api.github.com/users/tobiasleibner/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasleibner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasleibner/subscriptions","organizations_url":"https://api.github.com/users/tobiasleibner/orgs","repos_url":"https://api.github.com/users/tobiasleibner/repos","events_url":"https://api.github.com/users/tobiasleibner/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasleibner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tobiasleibner/DUNE-Stuff","description":"","fork":true,"url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff","forks_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/forks","keys_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/teams","hooks_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/hooks","issue_events_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/issues/events{/number}","events_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/events","assignees_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/assignees{/user}","branches_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/branches{/branch}","tags_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/tags","blobs_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/statuses/{sha}","languages_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/languages","stargazers_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/stargazers","contributors_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/contributors","subscribers_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/subscribers","subscription_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/subscription","commits_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/contents/{+path}","compare_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/merges","archive_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/downloads","issues_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/issues{/number}","pulls_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/pulls{/number}","milestones_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/milestones{/number}","notifications_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/labels{/name}","releases_url":"https://api.github.com/repos/tobiasleibner/DUNE-Stuff/releases{/id}","created_at":"2014-03-31T16:33:10Z","updated_at":"2015-02-23T07:57:19Z","pushed_at":"2015-02-23T07:57:17Z","git_url":"git://github.com/tobiasleibner/DUNE-Stuff.git","ssh_url":"git@github.com:tobiasleibner/DUNE-Stuff.git","clone_url":"https://github.com/tobiasleibner/DUNE-Stuff.git","svn_url":"https://github.com/tobiasleibner/DUNE-Stuff","homepage":"","size":6510,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"wwu-numerik:master","ref":"master","sha":"c747902f59b255cbce09e78cb234ce77e8e3aa58","user":{"login":"wwu-numerik","id":2641481,"avatar_url":"https://avatars.githubusercontent.com/u/2641481?v=3","gravatar_id":"","url":"https://api.github.com/users/wwu-numerik","html_url":"https://github.com/wwu-numerik","followers_url":"https://api.github.com/users/wwu-numerik/followers","following_url":"https://api.github.com/users/wwu-numerik/following{/other_user}","gists_url":"https://api.github.com/users/wwu-numerik/gists{/gist_id}","starred_url":"https://api.github.com/users/wwu-numerik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwu-numerik/subscriptions","organizations_url":"https://api.github.com/users/wwu-numerik/orgs","repos_url":"https://api.github.com/users/wwu-numerik/repos","events_url":"https://api.github.com/users/wwu-numerik/events{/privacy}","received_events_url":"https://api.github.com/users/wwu-numerik/received_events","type":"Organization","site_admin":false},"repo":{"id":8286166,"name":"dune-stuff","full_name":"wwu-numerik/dune-stuff","owner":{"login":"wwu-numerik","id":2641481,"avatar_url":"https://avatars.githubusercontent.com/u/2641481?v=3","gravatar_id":"","url":"https://api.github.com/users/wwu-numerik","html_url":"https://github.com/wwu-numerik","followers_url":"https://api.github.com/users/wwu-numerik/followers","following_url":"https://api.github.com/users/wwu-numerik/following{/other_user}","gists_url":"https://api.github.com/users/wwu-numerik/gists{/gist_id}","starred_url":"https://api.github.com/users/wwu-numerik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wwu-numerik/subscriptions","organizations_url":"https://api.github.com/users/wwu-numerik/orgs","repos_url":"https://api.github.com/users/wwu-numerik/repos","events_url":"https://api.github.com/users/wwu-numerik/events{/privacy}","received_events_url":"https://api.github.com/users/wwu-numerik/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wwu-numerik/dune-stuff","description":"","fork":true,"url":"https://api.github.com/repos/wwu-numerik/dune-stuff","forks_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/forks","keys_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/teams","hooks_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/hooks","issue_events_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/issues/events{/number}","events_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/events","assignees_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/assignees{/user}","branches_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/branches{/branch}","tags_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/tags","blobs_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/git/refs{/sha}","trees_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/statuses/{sha}","languages_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/languages","stargazers_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/stargazers","contributors_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/contributors","subscribers_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/subscribers","subscription_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/subscription","commits_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/commits{/sha}","git_commits_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/git/commits{/sha}","comments_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/comments{/number}","issue_comment_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/issues/comments{/number}","contents_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/contents/{+path}","compare_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/merges","archive_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/downloads","issues_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/issues{/number}","pulls_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/pulls{/number}","milestones_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/milestones{/number}","notifications_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/labels{/name}","releases_url":"https://api.github.com/repos/wwu-numerik/dune-stuff/releases{/id}","created_at":"2013-02-19T08:25:18Z","updated_at":"2015-02-20T14:07:56Z","pushed_at":"2015-02-20T14:07:55Z","git_url":"git://github.com/wwu-numerik/dune-stuff.git","ssh_url":"git@github.com:wwu-numerik/dune-stuff.git","clone_url":"https://github.com/wwu-numerik/dune-stuff.git","svn_url":"https://github.com/wwu-numerik/dune-stuff","homepage":"","size":8657,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":15,"forks":3,"open_issues":15,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wwu-numerik/dune-stuff/pulls/40"},"html":{"href":"https://github.com/wwu-numerik/dune-stuff/pull/40"},"issue":{"href":"https://api.github.com/repos/wwu-numerik/dune-stuff/issues/40"},"comments":{"href":"https://api.github.com/repos/wwu-numerik/dune-stuff/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/wwu-numerik/dune-stuff/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/wwu-numerik/dune-stuff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wwu-numerik/dune-stuff/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/wwu-numerik/dune-stuff/statuses/27224c401d97ca69117b55ec1afebe40dc6f5d83"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":30,"additions":839,"deletions":13,"changed_files":11}}