{"action":"created","comment":{"url":"https://api.github.com/repos/idaholab/moose/pulls/comments/40459506","id":40459506,"diff_hunk":"@@ -120,6 +120,21 @@ MultiApp::MultiApp(const InputParameters & parameters):\n \n   _total_num_apps = _positions.size();\n   mooseAssert(_input_files.size() == 1 || _positions.size() == _input_files.size(), \"Number of positions and input files are not the same!\");\n+\n+  // Fill in the _positions vector\n+  fillPositions();\n+\n+  if (_move_apps.size() != _move_positions.size())\n+    mooseError(\"The number of apps to move and the positions to move them to must be the same for MultiApp \" << name());\n+\n+  /// Set up our Comm and set the number of apps we're going to be working on\n+  buildComm();\n+\n+  _backups.resize(_my_num_apps);\n+\n+  // Initialize the backups\n+  for (unsigned int i=0; i<_my_num_apps; i++)\n+    _backups[i] = MooseSharedPointer<Backup>(new Backup);","path":"framework/src/multiapps/MultiApp.C","position":18,"original_position":18,"commit_id":"0983fea387c5e23ee55cc22df8b5bad97a0543d2","original_commit_id":"0983fea387c5e23ee55cc22df8b5bad97a0543d2","user":{"login":"permcody","id":3036960,"avatar_url":"https://avatars.githubusercontent.com/u/3036960?v=3","gravatar_id":"","url":"https://api.github.com/users/permcody","html_url":"https://github.com/permcody","followers_url":"https://api.github.com/users/permcody/followers","following_url":"https://api.github.com/users/permcody/following{/other_user}","gists_url":"https://api.github.com/users/permcody/gists{/gist_id}","starred_url":"https://api.github.com/users/permcody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/permcody/subscriptions","organizations_url":"https://api.github.com/users/permcody/orgs","repos_url":"https://api.github.com/users/permcody/repos","events_url":"https://api.github.com/users/permcody/events{/privacy}","received_events_url":"https://api.github.com/users/permcody/received_events","type":"User","site_admin":false},"body":"Interesting, I believe this logic was originally in the constructor but I moved it all out when I fixed up all the multiapp initialization stuff. I don't see anything here that seems like it's in the wrong spot but this startup crap is really tricky...","created_at":"2015-09-25T18:16:14Z","updated_at":"2015-09-25T18:16:14Z","html_url":"https://github.com/idaholab/moose/pull/5733#discussion_r40459506","pull_request_url":"https://api.github.com/repos/idaholab/moose/pulls/5733","_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments/40459506"},"html":{"href":"https://github.com/idaholab/moose/pull/5733#discussion_r40459506"},"pull_request":{"href":"https://api.github.com/repos/idaholab/moose/pulls/5733"}}},"pull_request":{"url":"https://api.github.com/repos/idaholab/moose/pulls/5733","id":45854744,"html_url":"https://github.com/idaholab/moose/pull/5733","diff_url":"https://github.com/idaholab/moose/pull/5733.diff","patch_url":"https://github.com/idaholab/moose/pull/5733.patch","issue_url":"https://api.github.com/repos/idaholab/moose/issues/5733","number":5733,"state":"open","locked":false,"title":"Multiapp Restart (take 2)","user":{"login":"friedmud","id":870705,"avatar_url":"https://avatars.githubusercontent.com/u/870705?v=3","gravatar_id":"","url":"https://api.github.com/users/friedmud","html_url":"https://github.com/friedmud","followers_url":"https://api.github.com/users/friedmud/followers","following_url":"https://api.github.com/users/friedmud/following{/other_user}","gists_url":"https://api.github.com/users/friedmud/gists{/gist_id}","starred_url":"https://api.github.com/users/friedmud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedmud/subscriptions","organizations_url":"https://api.github.com/users/friedmud/orgs","repos_url":"https://api.github.com/users/friedmud/repos","events_url":"https://api.github.com/users/friedmud/events{/privacy}","received_events_url":"https://api.github.com/users/friedmud/received_events","type":"User","site_admin":false},"body":"Ok - this doesn't look like much... but it was actually pretty tough.  This is like implementation number 14...\r\n\r\nI think it's all good now.  I added two tests (based on the input files @andrsd provided in #5695 thanks!) and everything appears to be in good working order.\r\n\r\nSorry it took so long... this is all SO subtle... but what I have here is pretty good I think.\r\n\r\ncloses #5695 \r\n\r\n","created_at":"2015-09-24T03:01:07Z","updated_at":"2015-09-25T18:16:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74ea757c240178ae15cfa3c68552c90e9e261d1b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/idaholab/moose/pulls/5733/commits","review_comments_url":"https://api.github.com/repos/idaholab/moose/pulls/5733/comments","review_comment_url":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/idaholab/moose/issues/5733/comments","statuses_url":"https://api.github.com/repos/idaholab/moose/statuses/0983fea387c5e23ee55cc22df8b5bad97a0543d2","head":{"label":"friedmud:multiapp_restart_4941","ref":"multiapp_restart_4941","sha":"0983fea387c5e23ee55cc22df8b5bad97a0543d2","user":{"login":"friedmud","id":870705,"avatar_url":"https://avatars.githubusercontent.com/u/870705?v=3","gravatar_id":"","url":"https://api.github.com/users/friedmud","html_url":"https://github.com/friedmud","followers_url":"https://api.github.com/users/friedmud/followers","following_url":"https://api.github.com/users/friedmud/following{/other_user}","gists_url":"https://api.github.com/users/friedmud/gists{/gist_id}","starred_url":"https://api.github.com/users/friedmud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedmud/subscriptions","organizations_url":"https://api.github.com/users/friedmud/orgs","repos_url":"https://api.github.com/users/friedmud/repos","events_url":"https://api.github.com/users/friedmud/events{/privacy}","received_events_url":"https://api.github.com/users/friedmud/received_events","type":"User","site_admin":false},"repo":{"id":17852546,"name":"moose","full_name":"friedmud/moose","owner":{"login":"friedmud","id":870705,"avatar_url":"https://avatars.githubusercontent.com/u/870705?v=3","gravatar_id":"","url":"https://api.github.com/users/friedmud","html_url":"https://github.com/friedmud","followers_url":"https://api.github.com/users/friedmud/followers","following_url":"https://api.github.com/users/friedmud/following{/other_user}","gists_url":"https://api.github.com/users/friedmud/gists{/gist_id}","starred_url":"https://api.github.com/users/friedmud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friedmud/subscriptions","organizations_url":"https://api.github.com/users/friedmud/orgs","repos_url":"https://api.github.com/users/friedmud/repos","events_url":"https://api.github.com/users/friedmud/events{/privacy}","received_events_url":"https://api.github.com/users/friedmud/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/friedmud/moose","description":"Multiphysics Object Oriented Simulation Environment","fork":true,"url":"https://api.github.com/repos/friedmud/moose","forks_url":"https://api.github.com/repos/friedmud/moose/forks","keys_url":"https://api.github.com/repos/friedmud/moose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/friedmud/moose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/friedmud/moose/teams","hooks_url":"https://api.github.com/repos/friedmud/moose/hooks","issue_events_url":"https://api.github.com/repos/friedmud/moose/issues/events{/number}","events_url":"https://api.github.com/repos/friedmud/moose/events","assignees_url":"https://api.github.com/repos/friedmud/moose/assignees{/user}","branches_url":"https://api.github.com/repos/friedmud/moose/branches{/branch}","tags_url":"https://api.github.com/repos/friedmud/moose/tags","blobs_url":"https://api.github.com/repos/friedmud/moose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/friedmud/moose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/friedmud/moose/git/refs{/sha}","trees_url":"https://api.github.com/repos/friedmud/moose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/friedmud/moose/statuses/{sha}","languages_url":"https://api.github.com/repos/friedmud/moose/languages","stargazers_url":"https://api.github.com/repos/friedmud/moose/stargazers","contributors_url":"https://api.github.com/repos/friedmud/moose/contributors","subscribers_url":"https://api.github.com/repos/friedmud/moose/subscribers","subscription_url":"https://api.github.com/repos/friedmud/moose/subscription","commits_url":"https://api.github.com/repos/friedmud/moose/commits{/sha}","git_commits_url":"https://api.github.com/repos/friedmud/moose/git/commits{/sha}","comments_url":"https://api.github.com/repos/friedmud/moose/comments{/number}","issue_comment_url":"https://api.github.com/repos/friedmud/moose/issues/comments{/number}","contents_url":"https://api.github.com/repos/friedmud/moose/contents/{+path}","compare_url":"https://api.github.com/repos/friedmud/moose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/friedmud/moose/merges","archive_url":"https://api.github.com/repos/friedmud/moose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/friedmud/moose/downloads","issues_url":"https://api.github.com/repos/friedmud/moose/issues{/number}","pulls_url":"https://api.github.com/repos/friedmud/moose/pulls{/number}","milestones_url":"https://api.github.com/repos/friedmud/moose/milestones{/number}","notifications_url":"https://api.github.com/repos/friedmud/moose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/friedmud/moose/labels{/name}","releases_url":"https://api.github.com/repos/friedmud/moose/releases{/id}","created_at":"2014-03-18T03:31:09Z","updated_at":"2015-07-15T01:31:15Z","pushed_at":"2015-09-24T22:36:29Z","git_url":"git://github.com/friedmud/moose.git","ssh_url":"git@github.com:friedmud/moose.git","clone_url":"https://github.com/friedmud/moose.git","svn_url":"https://github.com/friedmud/moose","homepage":null,"size":116755,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"idaholab:devel","ref":"devel","sha":"f7afad6e7c65e95b3461ed0073ee1b90fd82a704","user":{"login":"idaholab","id":3855370,"avatar_url":"https://avatars.githubusercontent.com/u/3855370?v=3","gravatar_id":"","url":"https://api.github.com/users/idaholab","html_url":"https://github.com/idaholab","followers_url":"https://api.github.com/users/idaholab/followers","following_url":"https://api.github.com/users/idaholab/following{/other_user}","gists_url":"https://api.github.com/users/idaholab/gists{/gist_id}","starred_url":"https://api.github.com/users/idaholab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idaholab/subscriptions","organizations_url":"https://api.github.com/users/idaholab/orgs","repos_url":"https://api.github.com/users/idaholab/repos","events_url":"https://api.github.com/users/idaholab/events{/privacy}","received_events_url":"https://api.github.com/users/idaholab/received_events","type":"Organization","site_admin":false},"repo":{"id":16851223,"name":"moose","full_name":"idaholab/moose","owner":{"login":"idaholab","id":3855370,"avatar_url":"https://avatars.githubusercontent.com/u/3855370?v=3","gravatar_id":"","url":"https://api.github.com/users/idaholab","html_url":"https://github.com/idaholab","followers_url":"https://api.github.com/users/idaholab/followers","following_url":"https://api.github.com/users/idaholab/following{/other_user}","gists_url":"https://api.github.com/users/idaholab/gists{/gist_id}","starred_url":"https://api.github.com/users/idaholab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idaholab/subscriptions","organizations_url":"https://api.github.com/users/idaholab/orgs","repos_url":"https://api.github.com/users/idaholab/repos","events_url":"https://api.github.com/users/idaholab/events{/privacy}","received_events_url":"https://api.github.com/users/idaholab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/idaholab/moose","description":"Multiphysics Object Oriented Simulation Environment","fork":false,"url":"https://api.github.com/repos/idaholab/moose","forks_url":"https://api.github.com/repos/idaholab/moose/forks","keys_url":"https://api.github.com/repos/idaholab/moose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/idaholab/moose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/idaholab/moose/teams","hooks_url":"https://api.github.com/repos/idaholab/moose/hooks","issue_events_url":"https://api.github.com/repos/idaholab/moose/issues/events{/number}","events_url":"https://api.github.com/repos/idaholab/moose/events","assignees_url":"https://api.github.com/repos/idaholab/moose/assignees{/user}","branches_url":"https://api.github.com/repos/idaholab/moose/branches{/branch}","tags_url":"https://api.github.com/repos/idaholab/moose/tags","blobs_url":"https://api.github.com/repos/idaholab/moose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/idaholab/moose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/idaholab/moose/git/refs{/sha}","trees_url":"https://api.github.com/repos/idaholab/moose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/idaholab/moose/statuses/{sha}","languages_url":"https://api.github.com/repos/idaholab/moose/languages","stargazers_url":"https://api.github.com/repos/idaholab/moose/stargazers","contributors_url":"https://api.github.com/repos/idaholab/moose/contributors","subscribers_url":"https://api.github.com/repos/idaholab/moose/subscribers","subscription_url":"https://api.github.com/repos/idaholab/moose/subscription","commits_url":"https://api.github.com/repos/idaholab/moose/commits{/sha}","git_commits_url":"https://api.github.com/repos/idaholab/moose/git/commits{/sha}","comments_url":"https://api.github.com/repos/idaholab/moose/comments{/number}","issue_comment_url":"https://api.github.com/repos/idaholab/moose/issues/comments{/number}","contents_url":"https://api.github.com/repos/idaholab/moose/contents/{+path}","compare_url":"https://api.github.com/repos/idaholab/moose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/idaholab/moose/merges","archive_url":"https://api.github.com/repos/idaholab/moose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/idaholab/moose/downloads","issues_url":"https://api.github.com/repos/idaholab/moose/issues{/number}","pulls_url":"https://api.github.com/repos/idaholab/moose/pulls{/number}","milestones_url":"https://api.github.com/repos/idaholab/moose/milestones{/number}","notifications_url":"https://api.github.com/repos/idaholab/moose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/idaholab/moose/labels{/name}","releases_url":"https://api.github.com/repos/idaholab/moose/releases{/id}","created_at":"2014-02-14T22:26:15Z","updated_at":"2015-09-03T00:35:28Z","pushed_at":"2015-09-25T15:58:22Z","git_url":"git://github.com/idaholab/moose.git","ssh_url":"git@github.com:idaholab/moose.git","clone_url":"https://github.com/idaholab/moose.git","svn_url":"https://github.com/idaholab/moose","homepage":"http://www.mooseframework.org","size":137768,"stargazers_count":97,"watchers_count":97,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":168,"mirror_url":null,"open_issues_count":458,"forks":168,"open_issues":458,"watchers":97,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/idaholab/moose/pulls/5733"},"html":{"href":"https://github.com/idaholab/moose/pull/5733"},"issue":{"href":"https://api.github.com/repos/idaholab/moose/issues/5733"},"comments":{"href":"https://api.github.com/repos/idaholab/moose/issues/5733/comments"},"review_comments":{"href":"https://api.github.com/repos/idaholab/moose/pulls/5733/comments"},"review_comment":{"href":"https://api.github.com/repos/idaholab/moose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/idaholab/moose/pulls/5733/commits"},"statuses":{"href":"https://api.github.com/repos/idaholab/moose/statuses/0983fea387c5e23ee55cc22df8b5bad97a0543d2"}}}}