{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/firedrakeproject/tsfc/pulls/11","id":59075531,"html_url":"https://github.com/firedrakeproject/tsfc/pull/11","diff_url":"https://github.com/firedrakeproject/tsfc/pull/11.diff","patch_url":"https://github.com/firedrakeproject/tsfc/pull/11.patch","issue_url":"https://api.github.com/repos/firedrakeproject/tsfc/issues/11","number":11,"state":"open","locked":false,"title":"Some clean up in fem.py","user":{"login":"miklos1","id":4210841,"avatar_url":"https://avatars.githubusercontent.com/u/4210841?v=3","gravatar_id":"","url":"https://api.github.com/users/miklos1","html_url":"https://github.com/miklos1","followers_url":"https://api.github.com/users/miklos1/followers","following_url":"https://api.github.com/users/miklos1/following{/other_user}","gists_url":"https://api.github.com/users/miklos1/gists{/gist_id}","starred_url":"https://api.github.com/users/miklos1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miklos1/subscriptions","organizations_url":"https://api.github.com/users/miklos1/orgs","repos_url":"https://api.github.com/users/miklos1/repos","events_url":"https://api.github.com/users/miklos1/events{/privacy}","received_events_url":"https://api.github.com/users/miklos1/received_events","type":"User","site_admin":false},"body":"Mostly clean up and some new docstrings. Other changes:\r\n * Cellwise constant Arguments are now treated as cellwise constant.\r\n * Cellwise constant FormArguments are the same on all facets, thus they don't a facet number to look up the right tabulation matrix.\r\n * Cellwise constant Coefficient evaluation is expanded if the tabulation vector contains at most 2 nonzeros. This way the generated code for the evaluation of the Jacobian on P1 simplices is equivalent to the code snippets we earlier had.\r\n * Simplification of absolute values and cell orientations is rewritten, using the saner DAG visitor infrastructure from `tsfc.node`.  This also demonstrates the generality of the DAG visitor infrastructure, as it can handle both UFL and GEM.\r\n * No more `fabs(sqrt(...))`","created_at":"2016-02-11T18:48:21Z","updated_at":"2016-02-11T18:48:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/firedrakeproject/tsfc/pulls/11/commits","review_comments_url":"https://api.github.com/repos/firedrakeproject/tsfc/pulls/11/comments","review_comment_url":"https://api.github.com/repos/firedrakeproject/tsfc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/firedrakeproject/tsfc/issues/11/comments","statuses_url":"https://api.github.com/repos/firedrakeproject/tsfc/statuses/0d662782b6072af2caa16faf56588ed31b0c6a69","head":{"label":"firedrakeproject:fem-cleanup","ref":"fem-cleanup","sha":"0d662782b6072af2caa16faf56588ed31b0c6a69","user":{"login":"firedrakeproject","id":5558005,"avatar_url":"https://avatars.githubusercontent.com/u/5558005?v=3","gravatar_id":"","url":"https://api.github.com/users/firedrakeproject","html_url":"https://github.com/firedrakeproject","followers_url":"https://api.github.com/users/firedrakeproject/followers","following_url":"https://api.github.com/users/firedrakeproject/following{/other_user}","gists_url":"https://api.github.com/users/firedrakeproject/gists{/gist_id}","starred_url":"https://api.github.com/users/firedrakeproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firedrakeproject/subscriptions","organizations_url":"https://api.github.com/users/firedrakeproject/orgs","repos_url":"https://api.github.com/users/firedrakeproject/repos","events_url":"https://api.github.com/users/firedrakeproject/events{/privacy}","received_events_url":"https://api.github.com/users/firedrakeproject/received_events","type":"Organization","site_admin":false},"repo":{"id":50843402,"name":"tsfc","full_name":"firedrakeproject/tsfc","owner":{"login":"firedrakeproject","id":5558005,"avatar_url":"https://avatars.githubusercontent.com/u/5558005?v=3","gravatar_id":"","url":"https://api.github.com/users/firedrakeproject","html_url":"https://github.com/firedrakeproject","followers_url":"https://api.github.com/users/firedrakeproject/followers","following_url":"https://api.github.com/users/firedrakeproject/following{/other_user}","gists_url":"https://api.github.com/users/firedrakeproject/gists{/gist_id}","starred_url":"https://api.github.com/users/firedrakeproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firedrakeproject/subscriptions","organizations_url":"https://api.github.com/users/firedrakeproject/orgs","repos_url":"https://api.github.com/users/firedrakeproject/repos","events_url":"https://api.github.com/users/firedrakeproject/events{/privacy}","received_events_url":"https://api.github.com/users/firedrakeproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/firedrakeproject/tsfc","description":"Two-stage form compiler","fork":false,"url":"https://api.github.com/repos/firedrakeproject/tsfc","forks_url":"https://api.github.com/repos/firedrakeproject/tsfc/forks","keys_url":"https://api.github.com/repos/firedrakeproject/tsfc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/firedrakeproject/tsfc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/firedrakeproject/tsfc/teams","hooks_url":"https://api.github.com/repos/firedrakeproject/tsfc/hooks","issue_events_url":"https://api.github.com/repos/firedrakeproject/tsfc/issues/events{/number}","events_url":"https://api.github.com/repos/firedrakeproject/tsfc/events","assignees_url":"https://api.github.com/repos/firedrakeproject/tsfc/assignees{/user}","branches_url":"https://api.github.com/repos/firedrakeproject/tsfc/branches{/branch}","tags_url":"https://api.github.com/repos/firedrakeproject/tsfc/tags","blobs_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/refs{/sha}","trees_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/firedrakeproject/tsfc/statuses/{sha}","languages_url":"https://api.github.com/repos/firedrakeproject/tsfc/languages","stargazers_url":"https://api.github.com/repos/firedrakeproject/tsfc/stargazers","contributors_url":"https://api.github.com/repos/firedrakeproject/tsfc/contributors","subscribers_url":"https://api.github.com/repos/firedrakeproject/tsfc/subscribers","subscription_url":"https://api.github.com/repos/firedrakeproject/tsfc/subscription","commits_url":"https://api.github.com/repos/firedrakeproject/tsfc/commits{/sha}","git_commits_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/commits{/sha}","comments_url":"https://api.github.com/repos/firedrakeproject/tsfc/comments{/number}","issue_comment_url":"https://api.github.com/repos/firedrakeproject/tsfc/issues/comments{/number}","contents_url":"https://api.github.com/repos/firedrakeproject/tsfc/contents/{+path}","compare_url":"https://api.github.com/repos/firedrakeproject/tsfc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/firedrakeproject/tsfc/merges","archive_url":"https://api.github.com/repos/firedrakeproject/tsfc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/firedrakeproject/tsfc/downloads","issues_url":"https://api.github.com/repos/firedrakeproject/tsfc/issues{/number}","pulls_url":"https://api.github.com/repos/firedrakeproject/tsfc/pulls{/number}","milestones_url":"https://api.github.com/repos/firedrakeproject/tsfc/milestones{/number}","notifications_url":"https://api.github.com/repos/firedrakeproject/tsfc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/firedrakeproject/tsfc/labels{/name}","releases_url":"https://api.github.com/repos/firedrakeproject/tsfc/releases{/id}","deployments_url":"https://api.github.com/repos/firedrakeproject/tsfc/deployments","created_at":"2016-02-01T14:07:32Z","updated_at":"2016-02-01T14:10:54Z","pushed_at":"2016-02-11T18:39:56Z","git_url":"git://github.com/firedrakeproject/tsfc.git","ssh_url":"git@github.com:firedrakeproject/tsfc.git","clone_url":"https://github.com/firedrakeproject/tsfc.git","svn_url":"https://github.com/firedrakeproject/tsfc","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"firedrakeproject:master","ref":"master","sha":"b752c7f140ca945b7f1c20cc8ab1c8f688b42b65","user":{"login":"firedrakeproject","id":5558005,"avatar_url":"https://avatars.githubusercontent.com/u/5558005?v=3","gravatar_id":"","url":"https://api.github.com/users/firedrakeproject","html_url":"https://github.com/firedrakeproject","followers_url":"https://api.github.com/users/firedrakeproject/followers","following_url":"https://api.github.com/users/firedrakeproject/following{/other_user}","gists_url":"https://api.github.com/users/firedrakeproject/gists{/gist_id}","starred_url":"https://api.github.com/users/firedrakeproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firedrakeproject/subscriptions","organizations_url":"https://api.github.com/users/firedrakeproject/orgs","repos_url":"https://api.github.com/users/firedrakeproject/repos","events_url":"https://api.github.com/users/firedrakeproject/events{/privacy}","received_events_url":"https://api.github.com/users/firedrakeproject/received_events","type":"Organization","site_admin":false},"repo":{"id":50843402,"name":"tsfc","full_name":"firedrakeproject/tsfc","owner":{"login":"firedrakeproject","id":5558005,"avatar_url":"https://avatars.githubusercontent.com/u/5558005?v=3","gravatar_id":"","url":"https://api.github.com/users/firedrakeproject","html_url":"https://github.com/firedrakeproject","followers_url":"https://api.github.com/users/firedrakeproject/followers","following_url":"https://api.github.com/users/firedrakeproject/following{/other_user}","gists_url":"https://api.github.com/users/firedrakeproject/gists{/gist_id}","starred_url":"https://api.github.com/users/firedrakeproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firedrakeproject/subscriptions","organizations_url":"https://api.github.com/users/firedrakeproject/orgs","repos_url":"https://api.github.com/users/firedrakeproject/repos","events_url":"https://api.github.com/users/firedrakeproject/events{/privacy}","received_events_url":"https://api.github.com/users/firedrakeproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/firedrakeproject/tsfc","description":"Two-stage form compiler","fork":false,"url":"https://api.github.com/repos/firedrakeproject/tsfc","forks_url":"https://api.github.com/repos/firedrakeproject/tsfc/forks","keys_url":"https://api.github.com/repos/firedrakeproject/tsfc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/firedrakeproject/tsfc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/firedrakeproject/tsfc/teams","hooks_url":"https://api.github.com/repos/firedrakeproject/tsfc/hooks","issue_events_url":"https://api.github.com/repos/firedrakeproject/tsfc/issues/events{/number}","events_url":"https://api.github.com/repos/firedrakeproject/tsfc/events","assignees_url":"https://api.github.com/repos/firedrakeproject/tsfc/assignees{/user}","branches_url":"https://api.github.com/repos/firedrakeproject/tsfc/branches{/branch}","tags_url":"https://api.github.com/repos/firedrakeproject/tsfc/tags","blobs_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/refs{/sha}","trees_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/firedrakeproject/tsfc/statuses/{sha}","languages_url":"https://api.github.com/repos/firedrakeproject/tsfc/languages","stargazers_url":"https://api.github.com/repos/firedrakeproject/tsfc/stargazers","contributors_url":"https://api.github.com/repos/firedrakeproject/tsfc/contributors","subscribers_url":"https://api.github.com/repos/firedrakeproject/tsfc/subscribers","subscription_url":"https://api.github.com/repos/firedrakeproject/tsfc/subscription","commits_url":"https://api.github.com/repos/firedrakeproject/tsfc/commits{/sha}","git_commits_url":"https://api.github.com/repos/firedrakeproject/tsfc/git/commits{/sha}","comments_url":"https://api.github.com/repos/firedrakeproject/tsfc/comments{/number}","issue_comment_url":"https://api.github.com/repos/firedrakeproject/tsfc/issues/comments{/number}","contents_url":"https://api.github.com/repos/firedrakeproject/tsfc/contents/{+path}","compare_url":"https://api.github.com/repos/firedrakeproject/tsfc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/firedrakeproject/tsfc/merges","archive_url":"https://api.github.com/repos/firedrakeproject/tsfc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/firedrakeproject/tsfc/downloads","issues_url":"https://api.github.com/repos/firedrakeproject/tsfc/issues{/number}","pulls_url":"https://api.github.com/repos/firedrakeproject/tsfc/pulls{/number}","milestones_url":"https://api.github.com/repos/firedrakeproject/tsfc/milestones{/number}","notifications_url":"https://api.github.com/repos/firedrakeproject/tsfc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/firedrakeproject/tsfc/labels{/name}","releases_url":"https://api.github.com/repos/firedrakeproject/tsfc/releases{/id}","deployments_url":"https://api.github.com/repos/firedrakeproject/tsfc/deployments","created_at":"2016-02-01T14:07:32Z","updated_at":"2016-02-01T14:10:54Z","pushed_at":"2016-02-11T18:39:56Z","git_url":"git://github.com/firedrakeproject/tsfc.git","ssh_url":"git@github.com:firedrakeproject/tsfc.git","clone_url":"https://github.com/firedrakeproject/tsfc.git","svn_url":"https://github.com/firedrakeproject/tsfc","homepage":null,"size":144,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/firedrakeproject/tsfc/pulls/11"},"html":{"href":"https://github.com/firedrakeproject/tsfc/pull/11"},"issue":{"href":"https://api.github.com/repos/firedrakeproject/tsfc/issues/11"},"comments":{"href":"https://api.github.com/repos/firedrakeproject/tsfc/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/firedrakeproject/tsfc/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/firedrakeproject/tsfc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/firedrakeproject/tsfc/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/firedrakeproject/tsfc/statuses/0d662782b6072af2caa16faf56588ed31b0c6a69"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":10,"additions":283,"deletions":329,"changed_files":5}}