{"action":"opened","number":26,"pull_request":{"url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls/26","id":198881944,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4ODgxOTQ0","html_url":"https://github.com/JuliaFEM/FEMBase.jl/pull/26","diff_url":"https://github.com/JuliaFEM/FEMBase.jl/pull/26.diff","patch_url":"https://github.com/JuliaFEM/FEMBase.jl/pull/26.patch","issue_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues/26","number":26,"state":"open","locked":false,"title":"New public function write_results!","user":{"login":"ahojukka5","id":1264779,"node_id":"MDQ6VXNlcjEyNjQ3Nzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1264779?v=4","gravatar_id":"","url":"https://api.github.com/users/ahojukka5","html_url":"https://github.com/ahojukka5","followers_url":"https://api.github.com/users/ahojukka5/followers","following_url":"https://api.github.com/users/ahojukka5/following{/other_user}","gists_url":"https://api.github.com/users/ahojukka5/gists{/gist_id}","starred_url":"https://api.github.com/users/ahojukka5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahojukka5/subscriptions","organizations_url":"https://api.github.com/users/ahojukka5/orgs","repos_url":"https://api.github.com/users/ahojukka5/repos","events_url":"https://api.github.com/users/ahojukka5/events{/privacy}","received_events_url":"https://api.github.com/users/ahojukka5/received_events","type":"User","site_admin":false},"body":"`write_results!(analysis, writer)` is a function which is used to implement new results writers for some analysis. Usage example in pseudo-level\r\n\r\n```julia\r\ntype XdmfWriter <: AbstractResultsWriter\r\n    # stuff\r\nend\r\n\r\ntype Dynamics <: AbstractAnalysis\r\n    # stuff\r\nend\r\n\r\nfunction FEMBase.write_results!(analysis::Dynamics, writer::XdmfWriter)\r\n    # fid = open(writer.filename)\r\n    # for problem in get_problems(analysis)\r\n    #     field = problem(\"displacement\", analysis.time)\r\n    #     write(fid, field)\r\n    # end\r\n    return nothing!\r\nend\r\n```","created_at":"2018-07-03T08:10:51Z","updated_at":"2018-07-03T08:10:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls/26/commits","review_comments_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls/26/comments","review_comment_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues/26/comments","statuses_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/statuses/b85dbd3467679070d2ab9f6a4f25c24f8e706344","head":{"label":"JuliaFEM:results_writer_abstraction","ref":"results_writer_abstraction","sha":"b85dbd3467679070d2ab9f6a4f25c24f8e706344","user":{"login":"JuliaFEM","id":12987170,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTg3MTcw","avatar_url":"https://avatars1.githubusercontent.com/u/12987170?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaFEM","html_url":"https://github.com/JuliaFEM","followers_url":"https://api.github.com/users/JuliaFEM/followers","following_url":"https://api.github.com/users/JuliaFEM/following{/other_user}","gists_url":"https://api.github.com/users/JuliaFEM/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaFEM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaFEM/subscriptions","organizations_url":"https://api.github.com/users/JuliaFEM/orgs","repos_url":"https://api.github.com/users/JuliaFEM/repos","events_url":"https://api.github.com/users/JuliaFEM/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaFEM/received_events","type":"Organization","site_admin":false},"repo":{"id":104577231,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ1NzcyMzE=","name":"FEMBase.jl","full_name":"JuliaFEM/FEMBase.jl","owner":{"login":"JuliaFEM","id":12987170,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTg3MTcw","avatar_url":"https://avatars1.githubusercontent.com/u/12987170?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaFEM","html_url":"https://github.com/JuliaFEM","followers_url":"https://api.github.com/users/JuliaFEM/followers","following_url":"https://api.github.com/users/JuliaFEM/following{/other_user}","gists_url":"https://api.github.com/users/JuliaFEM/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaFEM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaFEM/subscriptions","organizations_url":"https://api.github.com/users/JuliaFEM/orgs","repos_url":"https://api.github.com/users/JuliaFEM/repos","events_url":"https://api.github.com/users/JuliaFEM/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaFEM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaFEM/FEMBase.jl","description":"JuliaFEM base package (core functionality)","fork":false,"url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl","forks_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/forks","keys_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/teams","hooks_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/events","assignees_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/tags","blobs_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/subscription","commits_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/merges","archive_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/downloads","issues_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/deployments","created_at":"2017-09-23T15:20:01Z","updated_at":"2018-06-04T15:23:15Z","pushed_at":"2018-07-03T08:08:27Z","git_url":"git://github.com/JuliaFEM/FEMBase.jl.git","ssh_url":"git@github.com:JuliaFEM/FEMBase.jl.git","clone_url":"https://github.com/JuliaFEM/FEMBase.jl.git","svn_url":"https://github.com/JuliaFEM/FEMBase.jl","homepage":"http://juliafem.org/","size":437,"stargazers_count":5,"watchers_count":5,"language":"Julia","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":5,"default_branch":"master"}},"base":{"label":"JuliaFEM:master","ref":"master","sha":"2dba5992b3c90ad7a7f7953c18278bd7c4e3940d","user":{"login":"JuliaFEM","id":12987170,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTg3MTcw","avatar_url":"https://avatars1.githubusercontent.com/u/12987170?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaFEM","html_url":"https://github.com/JuliaFEM","followers_url":"https://api.github.com/users/JuliaFEM/followers","following_url":"https://api.github.com/users/JuliaFEM/following{/other_user}","gists_url":"https://api.github.com/users/JuliaFEM/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaFEM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaFEM/subscriptions","organizations_url":"https://api.github.com/users/JuliaFEM/orgs","repos_url":"https://api.github.com/users/JuliaFEM/repos","events_url":"https://api.github.com/users/JuliaFEM/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaFEM/received_events","type":"Organization","site_admin":false},"repo":{"id":104577231,"node_id":"MDEwOlJlcG9zaXRvcnkxMDQ1NzcyMzE=","name":"FEMBase.jl","full_name":"JuliaFEM/FEMBase.jl","owner":{"login":"JuliaFEM","id":12987170,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTg3MTcw","avatar_url":"https://avatars1.githubusercontent.com/u/12987170?v=4","gravatar_id":"","url":"https://api.github.com/users/JuliaFEM","html_url":"https://github.com/JuliaFEM","followers_url":"https://api.github.com/users/JuliaFEM/followers","following_url":"https://api.github.com/users/JuliaFEM/following{/other_user}","gists_url":"https://api.github.com/users/JuliaFEM/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaFEM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaFEM/subscriptions","organizations_url":"https://api.github.com/users/JuliaFEM/orgs","repos_url":"https://api.github.com/users/JuliaFEM/repos","events_url":"https://api.github.com/users/JuliaFEM/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaFEM/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaFEM/FEMBase.jl","description":"JuliaFEM base package (core functionality)","fork":false,"url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl","forks_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/forks","keys_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/teams","hooks_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/events","assignees_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/tags","blobs_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/subscription","commits_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/merges","archive_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/downloads","issues_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/deployments","created_at":"2017-09-23T15:20:01Z","updated_at":"2018-06-04T15:23:15Z","pushed_at":"2018-07-03T08:08:27Z","git_url":"git://github.com/JuliaFEM/FEMBase.jl.git","ssh_url":"git@github.com:JuliaFEM/FEMBase.jl.git","clone_url":"https://github.com/JuliaFEM/FEMBase.jl.git","svn_url":"https://github.com/JuliaFEM/FEMBase.jl","homepage":"http://juliafem.org/","size":437,"stargazers_count":5,"watchers_count":5,"language":"Julia","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":3,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls/26"},"html":{"href":"https://github.com/JuliaFEM/FEMBase.jl/pull/26"},"issue":{"href":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues/26"},"comments":{"href":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaFEM/FEMBase.jl/statuses/b85dbd3467679070d2ab9f6a4f25c24f8e706344"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":67,"deletions":9,"changed_files":3}}
{"actor":{"display_login":"ahojukka5"}}