{"action":"created","comment":{"url":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/comments/25160839","id":25160839,"diff_hunk":"@@ -162,6 +164,36 @@ namespace Dune\n \t\treturn super_t::operator==(other);\n \t    }\n \n+            /** @brief Prints the relation matrix corresponding to the table, sparse format.\n+\n+             Let the entities of codimensions f and t be given by\n+             the sets \\f$E^f = { e^f_i } \\f$ and \\f$E^t = { e^t_j }\\f$.\n+             A relation matrix R is defined by\n+\t     \\f{eqnarray*}{","path":"dune/grid/cpgrid/OrientedEntityTable.hpp","position":18,"original_position":18,"commit_id":"c5e4f53bae5556167a9ae561266b60a6387d053a","original_commit_id":"c5e4f53bae5556167a9ae561266b60a6387d053a","user":{"login":"bska","id":1871438,"avatar_url":"https://avatars.githubusercontent.com/u/1871438?v=3","gravatar_id":"","url":"https://api.github.com/users/bska","html_url":"https://github.com/bska","followers_url":"https://api.github.com/users/bska/followers","following_url":"https://api.github.com/users/bska/following{/other_user}","gists_url":"https://api.github.com/users/bska/gists{/gist_id}","starred_url":"https://api.github.com/users/bska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bska/subscriptions","organizations_url":"https://api.github.com/users/bska/orgs","repos_url":"https://api.github.com/users/bska/repos","events_url":"https://api.github.com/users/bska/events{/privacy}","received_events_url":"https://api.github.com/users/bska/received_events","type":"User","site_admin":false},"body":"Does Doxygen not support anything more well-behaved than `eqnarray`?\r\n\r\nIf I were writing this in a regular document I'd use something like\r\n```latex\r\n\\usepackage{amsmath}\r\n% ...\r\n\\begin{document}\r\n% ...\r\n\\[\r\nR_{ij} =\r\n\\begin{cases}\r\n  \\phantom{-} 0, &\\quad \\text{if } e_i^f \\text{ and } e_j^f \\text{ are not neighbours}, \\\\\r\n  \\phantom{-} 1, &\\quad \\text{if } e_i^f \\text{ and } e_j^f \\text{ are neighbours with same orientation}, \\\\\r\n           -  1, &\\quad \\text{if } e_i^f \\text{ and } e_j^f \\text{ are neighbours with opposite orientation}.\r\n\\end{cases}\r\n\\]\r\n```\r\nIs that not possible in Doxygen?","created_at":"2015-02-23T12:46:57Z","updated_at":"2015-02-23T12:46:57Z","html_url":"https://github.com/OPM/dune-cornerpoint/pull/128#discussion_r25160839","pull_request_url":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/128","_links":{"self":{"href":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/comments/25160839"},"html":{"href":"https://github.com/OPM/dune-cornerpoint/pull/128#discussion_r25160839"},"pull_request":{"href":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/128"}}},"pull_request":{"url":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/128","id":29692142,"html_url":"https://github.com/OPM/dune-cornerpoint/pull/128","diff_url":"https://github.com/OPM/dune-cornerpoint/pull/128.diff","patch_url":"https://github.com/OPM/dune-cornerpoint/pull/128.patch","issue_url":"https://api.github.com/repos/OPM/dune-cornerpoint/issues/128","number":128,"state":"open","locked":false,"title":"Ensure stable topology ops","user":{"login":"atgeirr","id":1876621,"avatar_url":"https://avatars.githubusercontent.com/u/1876621?v=3","gravatar_id":"","url":"https://api.github.com/users/atgeirr","html_url":"https://github.com/atgeirr","followers_url":"https://api.github.com/users/atgeirr/followers","following_url":"https://api.github.com/users/atgeirr/following{/other_user}","gists_url":"https://api.github.com/users/atgeirr/gists{/gist_id}","starred_url":"https://api.github.com/users/atgeirr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atgeirr/subscriptions","organizations_url":"https://api.github.com/users/atgeirr/orgs","repos_url":"https://api.github.com/users/atgeirr/repos","events_url":"https://api.github.com/users/atgeirr/events{/privacy}","received_events_url":"https://api.github.com/users/atgeirr/received_events","type":"User","site_admin":false},"body":"Sorting faces' cell neighbours by index ensures that the makeInverseRelation() function yields stable results, i.e. inverting twice yields the same table back.\r\n\r\nThe code without this PR is not wrong, and yields equivalent but not identical topology tables. The cost of the extra sorting is less than 0.1 second on the Norne grid.\r\n\r\nThis fixes #83.","created_at":"2015-02-20T12:26:36Z","updated_at":"2015-02-23T12:46:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a470e8f07cd92d5cc211bc3e6cfe6105f35b3d5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/128/commits","review_comments_url":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/128/comments","review_comment_url":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OPM/dune-cornerpoint/issues/128/comments","statuses_url":"https://api.github.com/repos/OPM/dune-cornerpoint/statuses/c5e4f53bae5556167a9ae561266b60a6387d053a","head":{"label":"atgeirr:ensure-stable-topology-ops","ref":"ensure-stable-topology-ops","sha":"c5e4f53bae5556167a9ae561266b60a6387d053a","user":{"login":"atgeirr","id":1876621,"avatar_url":"https://avatars.githubusercontent.com/u/1876621?v=3","gravatar_id":"","url":"https://api.github.com/users/atgeirr","html_url":"https://github.com/atgeirr","followers_url":"https://api.github.com/users/atgeirr/followers","following_url":"https://api.github.com/users/atgeirr/following{/other_user}","gists_url":"https://api.github.com/users/atgeirr/gists{/gist_id}","starred_url":"https://api.github.com/users/atgeirr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atgeirr/subscriptions","organizations_url":"https://api.github.com/users/atgeirr/orgs","repos_url":"https://api.github.com/users/atgeirr/repos","events_url":"https://api.github.com/users/atgeirr/events{/privacy}","received_events_url":"https://api.github.com/users/atgeirr/received_events","type":"User","site_admin":false},"repo":{"id":7894398,"name":"dune-cornerpoint","full_name":"atgeirr/dune-cornerpoint","owner":{"login":"atgeirr","id":1876621,"avatar_url":"https://avatars.githubusercontent.com/u/1876621?v=3","gravatar_id":"","url":"https://api.github.com/users/atgeirr","html_url":"https://github.com/atgeirr","followers_url":"https://api.github.com/users/atgeirr/followers","following_url":"https://api.github.com/users/atgeirr/following{/other_user}","gists_url":"https://api.github.com/users/atgeirr/gists{/gist_id}","starred_url":"https://api.github.com/users/atgeirr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atgeirr/subscriptions","organizations_url":"https://api.github.com/users/atgeirr/orgs","repos_url":"https://api.github.com/users/atgeirr/repos","events_url":"https://api.github.com/users/atgeirr/events{/privacy}","received_events_url":"https://api.github.com/users/atgeirr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atgeirr/dune-cornerpoint","description":"DUNE module supporting grids in a corner-point format","fork":true,"url":"https://api.github.com/repos/atgeirr/dune-cornerpoint","forks_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/forks","keys_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/teams","hooks_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/hooks","issue_events_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/issues/events{/number}","events_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/events","assignees_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/assignees{/user}","branches_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/branches{/branch}","tags_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/tags","blobs_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/languages","stargazers_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/stargazers","contributors_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/contributors","subscribers_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/subscribers","subscription_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/subscription","commits_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/contents/{+path}","compare_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/merges","archive_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/downloads","issues_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/issues{/number}","pulls_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/labels{/name}","releases_url":"https://api.github.com/repos/atgeirr/dune-cornerpoint/releases{/id}","created_at":"2013-01-29T15:03:10Z","updated_at":"2015-01-16T09:59:31Z","pushed_at":"2015-02-20T12:23:08Z","git_url":"git://github.com/atgeirr/dune-cornerpoint.git","ssh_url":"git@github.com:atgeirr/dune-cornerpoint.git","clone_url":"https://github.com/atgeirr/dune-cornerpoint.git","svn_url":"https://github.com/atgeirr/dune-cornerpoint","homepage":"http://www.opm-project.org","size":4271,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"OPM:master","ref":"master","sha":"42099c814389e2e3a18f607c208e99b4e0e2b3e9","user":{"login":"OPM","id":1827197,"avatar_url":"https://avatars.githubusercontent.com/u/1827197?v=3","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"repo":{"id":4787535,"name":"dune-cornerpoint","full_name":"OPM/dune-cornerpoint","owner":{"login":"OPM","id":1827197,"avatar_url":"https://avatars.githubusercontent.com/u/1827197?v=3","gravatar_id":"","url":"https://api.github.com/users/OPM","html_url":"https://github.com/OPM","followers_url":"https://api.github.com/users/OPM/followers","following_url":"https://api.github.com/users/OPM/following{/other_user}","gists_url":"https://api.github.com/users/OPM/gists{/gist_id}","starred_url":"https://api.github.com/users/OPM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OPM/subscriptions","organizations_url":"https://api.github.com/users/OPM/orgs","repos_url":"https://api.github.com/users/OPM/repos","events_url":"https://api.github.com/users/OPM/events{/privacy}","received_events_url":"https://api.github.com/users/OPM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OPM/dune-cornerpoint","description":"DUNE module supporting grids in a corner-point format","fork":false,"url":"https://api.github.com/repos/OPM/dune-cornerpoint","forks_url":"https://api.github.com/repos/OPM/dune-cornerpoint/forks","keys_url":"https://api.github.com/repos/OPM/dune-cornerpoint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OPM/dune-cornerpoint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OPM/dune-cornerpoint/teams","hooks_url":"https://api.github.com/repos/OPM/dune-cornerpoint/hooks","issue_events_url":"https://api.github.com/repos/OPM/dune-cornerpoint/issues/events{/number}","events_url":"https://api.github.com/repos/OPM/dune-cornerpoint/events","assignees_url":"https://api.github.com/repos/OPM/dune-cornerpoint/assignees{/user}","branches_url":"https://api.github.com/repos/OPM/dune-cornerpoint/branches{/branch}","tags_url":"https://api.github.com/repos/OPM/dune-cornerpoint/tags","blobs_url":"https://api.github.com/repos/OPM/dune-cornerpoint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OPM/dune-cornerpoint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OPM/dune-cornerpoint/git/refs{/sha}","trees_url":"https://api.github.com/repos/OPM/dune-cornerpoint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OPM/dune-cornerpoint/statuses/{sha}","languages_url":"https://api.github.com/repos/OPM/dune-cornerpoint/languages","stargazers_url":"https://api.github.com/repos/OPM/dune-cornerpoint/stargazers","contributors_url":"https://api.github.com/repos/OPM/dune-cornerpoint/contributors","subscribers_url":"https://api.github.com/repos/OPM/dune-cornerpoint/subscribers","subscription_url":"https://api.github.com/repos/OPM/dune-cornerpoint/subscription","commits_url":"https://api.github.com/repos/OPM/dune-cornerpoint/commits{/sha}","git_commits_url":"https://api.github.com/repos/OPM/dune-cornerpoint/git/commits{/sha}","comments_url":"https://api.github.com/repos/OPM/dune-cornerpoint/comments{/number}","issue_comment_url":"https://api.github.com/repos/OPM/dune-cornerpoint/issues/comments{/number}","contents_url":"https://api.github.com/repos/OPM/dune-cornerpoint/contents/{+path}","compare_url":"https://api.github.com/repos/OPM/dune-cornerpoint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OPM/dune-cornerpoint/merges","archive_url":"https://api.github.com/repos/OPM/dune-cornerpoint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OPM/dune-cornerpoint/downloads","issues_url":"https://api.github.com/repos/OPM/dune-cornerpoint/issues{/number}","pulls_url":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls{/number}","milestones_url":"https://api.github.com/repos/OPM/dune-cornerpoint/milestones{/number}","notifications_url":"https://api.github.com/repos/OPM/dune-cornerpoint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OPM/dune-cornerpoint/labels{/name}","releases_url":"https://api.github.com/repos/OPM/dune-cornerpoint/releases{/id}","created_at":"2012-06-25T21:16:36Z","updated_at":"2015-02-18T12:16:05Z","pushed_at":"2015-02-18T12:16:05Z","git_url":"git://github.com/OPM/dune-cornerpoint.git","ssh_url":"git@github.com:OPM/dune-cornerpoint.git","clone_url":"https://github.com/OPM/dune-cornerpoint.git","svn_url":"https://github.com/OPM/dune-cornerpoint","homepage":"http://www.opm-project.org","size":4758,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":7,"forks":19,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/128"},"html":{"href":"https://github.com/OPM/dune-cornerpoint/pull/128"},"issue":{"href":"https://api.github.com/repos/OPM/dune-cornerpoint/issues/128"},"comments":{"href":"https://api.github.com/repos/OPM/dune-cornerpoint/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OPM/dune-cornerpoint/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/OPM/dune-cornerpoint/statuses/c5e4f53bae5556167a9ae561266b60a6387d053a"}}}}