{"action":"created","comment":{"url":"https://api.github.com/repos/vincentlab/PyFR/pulls/comments/39934789","id":39934789,"diff_hunk":"@@ -0,0 +1,146 @@\n+# -*- coding: utf-8 -*-\n+\n+import itertools as it\n+import os\n+\n+import h5py\n+import numpy as np\n+\n+from pyfr.mpiutil import get_comm_rank_root\n+\n+\n+class H5Writer(object):\n+    def __init__(self, intg, cfgsect, *args, **kwargs):","path":"pyfr/h5writer.py","position":13,"original_position":13,"commit_id":"4ad70d5c1ed4cddb0485f2d2caec8f5239c1842f","original_commit_id":"4ad70d5c1ed4cddb0485f2d2caec8f5239c1842f","user":{"login":"FreddieWitherden","id":528611,"avatar_url":"https://avatars.githubusercontent.com/u/528611?v=3","gravatar_id":"","url":"https://api.github.com/users/FreddieWitherden","html_url":"https://github.com/FreddieWitherden","followers_url":"https://api.github.com/users/FreddieWitherden/followers","following_url":"https://api.github.com/users/FreddieWitherden/following{/other_user}","gists_url":"https://api.github.com/users/FreddieWitherden/gists{/gist_id}","starred_url":"https://api.github.com/users/FreddieWitherden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreddieWitherden/subscriptions","organizations_url":"https://api.github.com/users/FreddieWitherden/orgs","repos_url":"https://api.github.com/users/FreddieWitherden/repos","events_url":"https://api.github.com/users/FreddieWitherden/events{/privacy}","received_events_url":"https://api.github.com/users/FreddieWitherden/received_events","type":"User","site_admin":false},"body":"Random `*args` and `**kwargs`.","created_at":"2015-09-20T21:18:20Z","updated_at":"2015-09-20T21:18:20Z","html_url":"https://github.com/vincentlab/PyFR/pull/71#discussion_r39934789","pull_request_url":"https://api.github.com/repos/vincentlab/PyFR/pulls/71","_links":{"self":{"href":"https://api.github.com/repos/vincentlab/PyFR/pulls/comments/39934789"},"html":{"href":"https://github.com/vincentlab/PyFR/pull/71#discussion_r39934789"},"pull_request":{"href":"https://api.github.com/repos/vincentlab/PyFR/pulls/71"}}},"pull_request":{"url":"https://api.github.com/repos/vincentlab/PyFR/pulls/71","id":43878271,"html_url":"https://github.com/vincentlab/PyFR/pull/71","diff_url":"https://github.com/vincentlab/PyFR/pull/71.diff","patch_url":"https://github.com/vincentlab/PyFR/pull/71.patch","issue_url":"https://api.github.com/repos/vincentlab/PyFR/issues/71","number":71,"state":"open","locked":false,"title":"This implements the solution writer as a plugin.","user":{"login":"iyer-arvind","id":1291850,"avatar_url":"https://avatars.githubusercontent.com/u/1291850?v=3","gravatar_id":"","url":"https://api.github.com/users/iyer-arvind","html_url":"https://github.com/iyer-arvind","followers_url":"https://api.github.com/users/iyer-arvind/followers","following_url":"https://api.github.com/users/iyer-arvind/following{/other_user}","gists_url":"https://api.github.com/users/iyer-arvind/gists{/gist_id}","starred_url":"https://api.github.com/users/iyer-arvind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyer-arvind/subscriptions","organizations_url":"https://api.github.com/users/iyer-arvind/orgs","repos_url":"https://api.github.com/users/iyer-arvind/repos","events_url":"https://api.github.com/users/iyer-arvind/events{/privacy}","received_events_url":"https://api.github.com/users/iyer-arvind/received_events","type":"User","site_admin":false},"body":"The implementation of the solution writer as a plugin comes with the following changes:\r\n - The integrator is now a merge of the stepper and controller alone and not of the writer,\r\n - The hdf5 writer is shifted to the root directory,\r\n - The plugins can now set a 'dt', the interval after which the integrator is guaranteed to stop,\r\n - The t0 is renamed to 'tstart' in the solver-time-integrator section of the ini file and is accompanied by the 'tend', which determines when the solver stops.","created_at":"2015-09-01T13:56:45Z","updated_at":"2015-09-20T21:18:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"defc9aa155ff4e45abf14507109955453354bd7a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vincentlab/PyFR/pulls/71/commits","review_comments_url":"https://api.github.com/repos/vincentlab/PyFR/pulls/71/comments","review_comment_url":"https://api.github.com/repos/vincentlab/PyFR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vincentlab/PyFR/issues/71/comments","statuses_url":"https://api.github.com/repos/vincentlab/PyFR/statuses/4ad70d5c1ed4cddb0485f2d2caec8f5239c1842f","head":{"label":"iyer-arvind:SolutionWriterPlugin","ref":"SolutionWriterPlugin","sha":"4ad70d5c1ed4cddb0485f2d2caec8f5239c1842f","user":{"login":"iyer-arvind","id":1291850,"avatar_url":"https://avatars.githubusercontent.com/u/1291850?v=3","gravatar_id":"","url":"https://api.github.com/users/iyer-arvind","html_url":"https://github.com/iyer-arvind","followers_url":"https://api.github.com/users/iyer-arvind/followers","following_url":"https://api.github.com/users/iyer-arvind/following{/other_user}","gists_url":"https://api.github.com/users/iyer-arvind/gists{/gist_id}","starred_url":"https://api.github.com/users/iyer-arvind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyer-arvind/subscriptions","organizations_url":"https://api.github.com/users/iyer-arvind/orgs","repos_url":"https://api.github.com/users/iyer-arvind/repos","events_url":"https://api.github.com/users/iyer-arvind/events{/privacy}","received_events_url":"https://api.github.com/users/iyer-arvind/received_events","type":"User","site_admin":false},"repo":{"id":28479588,"name":"PyFR","full_name":"iyer-arvind/PyFR","owner":{"login":"iyer-arvind","id":1291850,"avatar_url":"https://avatars.githubusercontent.com/u/1291850?v=3","gravatar_id":"","url":"https://api.github.com/users/iyer-arvind","html_url":"https://github.com/iyer-arvind","followers_url":"https://api.github.com/users/iyer-arvind/followers","following_url":"https://api.github.com/users/iyer-arvind/following{/other_user}","gists_url":"https://api.github.com/users/iyer-arvind/gists{/gist_id}","starred_url":"https://api.github.com/users/iyer-arvind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iyer-arvind/subscriptions","organizations_url":"https://api.github.com/users/iyer-arvind/orgs","repos_url":"https://api.github.com/users/iyer-arvind/repos","events_url":"https://api.github.com/users/iyer-arvind/events{/privacy}","received_events_url":"https://api.github.com/users/iyer-arvind/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iyer-arvind/PyFR","description":"PyFR","fork":true,"url":"https://api.github.com/repos/iyer-arvind/PyFR","forks_url":"https://api.github.com/repos/iyer-arvind/PyFR/forks","keys_url":"https://api.github.com/repos/iyer-arvind/PyFR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iyer-arvind/PyFR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iyer-arvind/PyFR/teams","hooks_url":"https://api.github.com/repos/iyer-arvind/PyFR/hooks","issue_events_url":"https://api.github.com/repos/iyer-arvind/PyFR/issues/events{/number}","events_url":"https://api.github.com/repos/iyer-arvind/PyFR/events","assignees_url":"https://api.github.com/repos/iyer-arvind/PyFR/assignees{/user}","branches_url":"https://api.github.com/repos/iyer-arvind/PyFR/branches{/branch}","tags_url":"https://api.github.com/repos/iyer-arvind/PyFR/tags","blobs_url":"https://api.github.com/repos/iyer-arvind/PyFR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iyer-arvind/PyFR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iyer-arvind/PyFR/git/refs{/sha}","trees_url":"https://api.github.com/repos/iyer-arvind/PyFR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iyer-arvind/PyFR/statuses/{sha}","languages_url":"https://api.github.com/repos/iyer-arvind/PyFR/languages","stargazers_url":"https://api.github.com/repos/iyer-arvind/PyFR/stargazers","contributors_url":"https://api.github.com/repos/iyer-arvind/PyFR/contributors","subscribers_url":"https://api.github.com/repos/iyer-arvind/PyFR/subscribers","subscription_url":"https://api.github.com/repos/iyer-arvind/PyFR/subscription","commits_url":"https://api.github.com/repos/iyer-arvind/PyFR/commits{/sha}","git_commits_url":"https://api.github.com/repos/iyer-arvind/PyFR/git/commits{/sha}","comments_url":"https://api.github.com/repos/iyer-arvind/PyFR/comments{/number}","issue_comment_url":"https://api.github.com/repos/iyer-arvind/PyFR/issues/comments{/number}","contents_url":"https://api.github.com/repos/iyer-arvind/PyFR/contents/{+path}","compare_url":"https://api.github.com/repos/iyer-arvind/PyFR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iyer-arvind/PyFR/merges","archive_url":"https://api.github.com/repos/iyer-arvind/PyFR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iyer-arvind/PyFR/downloads","issues_url":"https://api.github.com/repos/iyer-arvind/PyFR/issues{/number}","pulls_url":"https://api.github.com/repos/iyer-arvind/PyFR/pulls{/number}","milestones_url":"https://api.github.com/repos/iyer-arvind/PyFR/milestones{/number}","notifications_url":"https://api.github.com/repos/iyer-arvind/PyFR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iyer-arvind/PyFR/labels{/name}","releases_url":"https://api.github.com/repos/iyer-arvind/PyFR/releases{/id}","created_at":"2014-12-25T11:09:13Z","updated_at":"2015-05-07T14:56:27Z","pushed_at":"2015-09-18T14:42:11Z","git_url":"git://github.com/iyer-arvind/PyFR.git","ssh_url":"git@github.com:iyer-arvind/PyFR.git","clone_url":"https://github.com/iyer-arvind/PyFR.git","svn_url":"https://github.com/iyer-arvind/PyFR","homepage":"","size":2246,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"vincentlab:develop","ref":"develop","sha":"9a58f9b6339162664f9190aeab52521ad2fe115c","user":{"login":"vincentlab","id":3252468,"avatar_url":"https://avatars.githubusercontent.com/u/3252468?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentlab","html_url":"https://github.com/vincentlab","followers_url":"https://api.github.com/users/vincentlab/followers","following_url":"https://api.github.com/users/vincentlab/following{/other_user}","gists_url":"https://api.github.com/users/vincentlab/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentlab/subscriptions","organizations_url":"https://api.github.com/users/vincentlab/orgs","repos_url":"https://api.github.com/users/vincentlab/repos","events_url":"https://api.github.com/users/vincentlab/events{/privacy}","received_events_url":"https://api.github.com/users/vincentlab/received_events","type":"Organization","site_admin":false},"repo":{"id":7652671,"name":"PyFR","full_name":"vincentlab/PyFR","owner":{"login":"vincentlab","id":3252468,"avatar_url":"https://avatars.githubusercontent.com/u/3252468?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentlab","html_url":"https://github.com/vincentlab","followers_url":"https://api.github.com/users/vincentlab/followers","following_url":"https://api.github.com/users/vincentlab/following{/other_user}","gists_url":"https://api.github.com/users/vincentlab/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentlab/subscriptions","organizations_url":"https://api.github.com/users/vincentlab/orgs","repos_url":"https://api.github.com/users/vincentlab/repos","events_url":"https://api.github.com/users/vincentlab/events{/privacy}","received_events_url":"https://api.github.com/users/vincentlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vincentlab/PyFR","description":"PyFR","fork":false,"url":"https://api.github.com/repos/vincentlab/PyFR","forks_url":"https://api.github.com/repos/vincentlab/PyFR/forks","keys_url":"https://api.github.com/repos/vincentlab/PyFR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vincentlab/PyFR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vincentlab/PyFR/teams","hooks_url":"https://api.github.com/repos/vincentlab/PyFR/hooks","issue_events_url":"https://api.github.com/repos/vincentlab/PyFR/issues/events{/number}","events_url":"https://api.github.com/repos/vincentlab/PyFR/events","assignees_url":"https://api.github.com/repos/vincentlab/PyFR/assignees{/user}","branches_url":"https://api.github.com/repos/vincentlab/PyFR/branches{/branch}","tags_url":"https://api.github.com/repos/vincentlab/PyFR/tags","blobs_url":"https://api.github.com/repos/vincentlab/PyFR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vincentlab/PyFR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vincentlab/PyFR/git/refs{/sha}","trees_url":"https://api.github.com/repos/vincentlab/PyFR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vincentlab/PyFR/statuses/{sha}","languages_url":"https://api.github.com/repos/vincentlab/PyFR/languages","stargazers_url":"https://api.github.com/repos/vincentlab/PyFR/stargazers","contributors_url":"https://api.github.com/repos/vincentlab/PyFR/contributors","subscribers_url":"https://api.github.com/repos/vincentlab/PyFR/subscribers","subscription_url":"https://api.github.com/repos/vincentlab/PyFR/subscription","commits_url":"https://api.github.com/repos/vincentlab/PyFR/commits{/sha}","git_commits_url":"https://api.github.com/repos/vincentlab/PyFR/git/commits{/sha}","comments_url":"https://api.github.com/repos/vincentlab/PyFR/comments{/number}","issue_comment_url":"https://api.github.com/repos/vincentlab/PyFR/issues/comments{/number}","contents_url":"https://api.github.com/repos/vincentlab/PyFR/contents/{+path}","compare_url":"https://api.github.com/repos/vincentlab/PyFR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vincentlab/PyFR/merges","archive_url":"https://api.github.com/repos/vincentlab/PyFR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vincentlab/PyFR/downloads","issues_url":"https://api.github.com/repos/vincentlab/PyFR/issues{/number}","pulls_url":"https://api.github.com/repos/vincentlab/PyFR/pulls{/number}","milestones_url":"https://api.github.com/repos/vincentlab/PyFR/milestones{/number}","notifications_url":"https://api.github.com/repos/vincentlab/PyFR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vincentlab/PyFR/labels{/name}","releases_url":"https://api.github.com/repos/vincentlab/PyFR/releases{/id}","created_at":"2013-01-16T19:53:24Z","updated_at":"2015-09-09T09:11:20Z","pushed_at":"2015-09-16T08:46:58Z","git_url":"git://github.com/vincentlab/PyFR.git","ssh_url":"git@github.com:vincentlab/PyFR.git","clone_url":"https://github.com/vincentlab/PyFR.git","svn_url":"https://github.com/vincentlab/PyFR","homepage":"","size":3897,"stargazers_count":31,"watchers_count":31,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":5,"forks":28,"open_issues":5,"watchers":31,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/vincentlab/PyFR/pulls/71"},"html":{"href":"https://github.com/vincentlab/PyFR/pull/71"},"issue":{"href":"https://api.github.com/repos/vincentlab/PyFR/issues/71"},"comments":{"href":"https://api.github.com/repos/vincentlab/PyFR/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/vincentlab/PyFR/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/vincentlab/PyFR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vincentlab/PyFR/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/vincentlab/PyFR/statuses/4ad70d5c1ed4cddb0485f2d2caec8f5239c1842f"}}}}