{"action":"created","comment":{"url":"https://api.github.com/repos/mathLab/deal2lkit/pulls/comments/42919072","id":42919072,"diff_hunk":"@@ -290,8 +267,60 @@ void ParsedGridGenerator<dim, spacedim>::create(Triangulation<dim,spacedim> &tri\n \n }\n \n+template <int dim>\n+void ParsedGridGenerator<dim,dim>::create(Triangulation<dim,dim> &tria)\n+{\n+  Assert(this->grid_name != \"\", ExcNotInitialized());\n+  if (this->grid_name == \"rectangle\")\n+    {\n+      GridGenerator::subdivided_hyper_rectangle ( tria,\n+                                                  this->un_int_vec_option_one,\n+                                                  this->point_option_two,\n+                                                  this->point_option_one,\n+                                                  this->bool_option_one);\n+    }\n+  else if (this->grid_name == \"unit_hyperball\")\n+    {\n+      Point<dim> center;\n+      double radius=1.;\n+      GridGenerator::hyper_ball (tria, center, radius);\n+    }\n+  else if (this->grid_name == \"subhyperrectangle\")\n+    {\n+      std::vector<unsigned int> refinement(dim);\n+      for (unsigned int i=0; i<dim; ++i)\n+        refinement[i] = this->un_int_option_one;\n+      GridGenerator::subdivided_hyper_rectangle ( tria,\n+                                                  refinement,\n+                                                  this->point_option_two,\n+                                                  this->point_option_one);\n+    }","path":"source/parsed_grid_generator.cc","position":174,"original_position":174,"commit_id":"31a960e954415b9e3e8d183476f51b05d2cd2441","original_commit_id":"31a960e954415b9e3e8d183476f51b05d2cd2441","user":{"login":"nicola-giuliani","id":8708485,"avatar_url":"https://avatars.githubusercontent.com/u/8708485?v=3","gravatar_id":"","url":"https://api.github.com/users/nicola-giuliani","html_url":"https://github.com/nicola-giuliani","followers_url":"https://api.github.com/users/nicola-giuliani/followers","following_url":"https://api.github.com/users/nicola-giuliani/following{/other_user}","gists_url":"https://api.github.com/users/nicola-giuliani/gists{/gist_id}","starred_url":"https://api.github.com/users/nicola-giuliani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicola-giuliani/subscriptions","organizations_url":"https://api.github.com/users/nicola-giuliani/orgs","repos_url":"https://api.github.com/users/nicola-giuliani/repos","events_url":"https://api.github.com/users/nicola-giuliani/events{/privacy}","received_events_url":"https://api.github.com/users/nicola-giuliani/received_events","type":"User","site_admin":false},"body":"It seems to me that this is the same as rectangle<dim, spacedim> since we have already said that spacedim=dim as default.","created_at":"2015-10-23T21:59:57Z","updated_at":"2015-10-23T21:59:57Z","html_url":"https://github.com/mathLab/deal2lkit/pull/185#discussion_r42919072","pull_request_url":"https://api.github.com/repos/mathLab/deal2lkit/pulls/185","_links":{"self":{"href":"https://api.github.com/repos/mathLab/deal2lkit/pulls/comments/42919072"},"html":{"href":"https://github.com/mathLab/deal2lkit/pull/185#discussion_r42919072"},"pull_request":{"href":"https://api.github.com/repos/mathLab/deal2lkit/pulls/185"}}},"pull_request":{"url":"https://api.github.com/repos/mathLab/deal2lkit/pulls/185","id":48613827,"html_url":"https://github.com/mathLab/deal2lkit/pull/185","diff_url":"https://github.com/mathLab/deal2lkit/pull/185.diff","patch_url":"https://github.com/mathLab/deal2lkit/pull/185.patch","issue_url":"https://api.github.com/repos/mathLab/deal2lkit/issues/185","number":185,"state":"open","locked":false,"title":"[WIP] add unit_hyperball and subhyperrectangle","user":{"login":"ESeNonFossiIo","id":8956997,"avatar_url":"https://avatars.githubusercontent.com/u/8956997?v=3","gravatar_id":"","url":"https://api.github.com/users/ESeNonFossiIo","html_url":"https://github.com/ESeNonFossiIo","followers_url":"https://api.github.com/users/ESeNonFossiIo/followers","following_url":"https://api.github.com/users/ESeNonFossiIo/following{/other_user}","gists_url":"https://api.github.com/users/ESeNonFossiIo/gists{/gist_id}","starred_url":"https://api.github.com/users/ESeNonFossiIo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESeNonFossiIo/subscriptions","organizations_url":"https://api.github.com/users/ESeNonFossiIo/orgs","repos_url":"https://api.github.com/users/ESeNonFossiIo/repos","events_url":"https://api.github.com/users/ESeNonFossiIo/events{/privacy}","received_events_url":"https://api.github.com/users/ESeNonFossiIo/received_events","type":"User","site_admin":false},"body":"I would like to solve the problem with **codim 1**.\r\nThis seems to work.","created_at":"2015-10-23T18:30:59Z","updated_at":"2015-10-23T21:59:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c17d649c11987fefd3e95150e4877f667ddc5b75","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mathLab/deal2lkit/pulls/185/commits","review_comments_url":"https://api.github.com/repos/mathLab/deal2lkit/pulls/185/comments","review_comment_url":"https://api.github.com/repos/mathLab/deal2lkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mathLab/deal2lkit/issues/185/comments","statuses_url":"https://api.github.com/repos/mathLab/deal2lkit/statuses/31a960e954415b9e3e8d183476f51b05d2cd2441","head":{"label":"ESeNonFossiIo:parsed_grid","ref":"parsed_grid","sha":"31a960e954415b9e3e8d183476f51b05d2cd2441","user":{"login":"ESeNonFossiIo","id":8956997,"avatar_url":"https://avatars.githubusercontent.com/u/8956997?v=3","gravatar_id":"","url":"https://api.github.com/users/ESeNonFossiIo","html_url":"https://github.com/ESeNonFossiIo","followers_url":"https://api.github.com/users/ESeNonFossiIo/followers","following_url":"https://api.github.com/users/ESeNonFossiIo/following{/other_user}","gists_url":"https://api.github.com/users/ESeNonFossiIo/gists{/gist_id}","starred_url":"https://api.github.com/users/ESeNonFossiIo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESeNonFossiIo/subscriptions","organizations_url":"https://api.github.com/users/ESeNonFossiIo/orgs","repos_url":"https://api.github.com/users/ESeNonFossiIo/repos","events_url":"https://api.github.com/users/ESeNonFossiIo/events{/privacy}","received_events_url":"https://api.github.com/users/ESeNonFossiIo/received_events","type":"User","site_admin":false},"repo":{"id":33674525,"name":"dealii-sak","full_name":"ESeNonFossiIo/dealii-sak","owner":{"login":"ESeNonFossiIo","id":8956997,"avatar_url":"https://avatars.githubusercontent.com/u/8956997?v=3","gravatar_id":"","url":"https://api.github.com/users/ESeNonFossiIo","html_url":"https://github.com/ESeNonFossiIo","followers_url":"https://api.github.com/users/ESeNonFossiIo/followers","following_url":"https://api.github.com/users/ESeNonFossiIo/following{/other_user}","gists_url":"https://api.github.com/users/ESeNonFossiIo/gists{/gist_id}","starred_url":"https://api.github.com/users/ESeNonFossiIo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ESeNonFossiIo/subscriptions","organizations_url":"https://api.github.com/users/ESeNonFossiIo/orgs","repos_url":"https://api.github.com/users/ESeNonFossiIo/repos","events_url":"https://api.github.com/users/ESeNonFossiIo/events{/privacy}","received_events_url":"https://api.github.com/users/ESeNonFossiIo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ESeNonFossiIo/dealii-sak","description":"deal.II Swiss Army Knife","fork":true,"url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak","forks_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/forks","keys_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/teams","hooks_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/hooks","issue_events_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/issues/events{/number}","events_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/events","assignees_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/assignees{/user}","branches_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/branches{/branch}","tags_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/tags","blobs_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/git/refs{/sha}","trees_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/statuses/{sha}","languages_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/languages","stargazers_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/stargazers","contributors_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/contributors","subscribers_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/subscribers","subscription_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/subscription","commits_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/commits{/sha}","git_commits_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/git/commits{/sha}","comments_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/comments{/number}","issue_comment_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/issues/comments{/number}","contents_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/contents/{+path}","compare_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/merges","archive_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/downloads","issues_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/issues{/number}","pulls_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/pulls{/number}","milestones_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/milestones{/number}","notifications_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/labels{/name}","releases_url":"https://api.github.com/repos/ESeNonFossiIo/dealii-sak/releases{/id}","created_at":"2015-04-09T14:45:04Z","updated_at":"2015-05-06T07:58:59Z","pushed_at":"2015-10-23T20:51:45Z","git_url":"git://github.com/ESeNonFossiIo/dealii-sak.git","ssh_url":"git@github.com:ESeNonFossiIo/dealii-sak.git","clone_url":"https://github.com/ESeNonFossiIo/dealii-sak.git","svn_url":"https://github.com/ESeNonFossiIo/dealii-sak","homepage":null,"size":4199,"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":"mathLab:master","ref":"master","sha":"8556cf2047039417f3e7ce01f7c591cff218214d","user":{"login":"mathLab","id":14195552,"avatar_url":"https://avatars.githubusercontent.com/u/14195552?v=3","gravatar_id":"","url":"https://api.github.com/users/mathLab","html_url":"https://github.com/mathLab","followers_url":"https://api.github.com/users/mathLab/followers","following_url":"https://api.github.com/users/mathLab/following{/other_user}","gists_url":"https://api.github.com/users/mathLab/gists{/gist_id}","starred_url":"https://api.github.com/users/mathLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathLab/subscriptions","organizations_url":"https://api.github.com/users/mathLab/orgs","repos_url":"https://api.github.com/users/mathLab/repos","events_url":"https://api.github.com/users/mathLab/events{/privacy}","received_events_url":"https://api.github.com/users/mathLab/received_events","type":"Organization","site_admin":false},"repo":{"id":23152486,"name":"deal2lkit","full_name":"mathLab/deal2lkit","owner":{"login":"mathLab","id":14195552,"avatar_url":"https://avatars.githubusercontent.com/u/14195552?v=3","gravatar_id":"","url":"https://api.github.com/users/mathLab","html_url":"https://github.com/mathLab","followers_url":"https://api.github.com/users/mathLab/followers","following_url":"https://api.github.com/users/mathLab/following{/other_user}","gists_url":"https://api.github.com/users/mathLab/gists{/gist_id}","starred_url":"https://api.github.com/users/mathLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathLab/subscriptions","organizations_url":"https://api.github.com/users/mathLab/orgs","repos_url":"https://api.github.com/users/mathLab/repos","events_url":"https://api.github.com/users/mathLab/events{/privacy}","received_events_url":"https://api.github.com/users/mathLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mathLab/deal2lkit","description":"A ToolKit library for deal.II","fork":false,"url":"https://api.github.com/repos/mathLab/deal2lkit","forks_url":"https://api.github.com/repos/mathLab/deal2lkit/forks","keys_url":"https://api.github.com/repos/mathLab/deal2lkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mathLab/deal2lkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mathLab/deal2lkit/teams","hooks_url":"https://api.github.com/repos/mathLab/deal2lkit/hooks","issue_events_url":"https://api.github.com/repos/mathLab/deal2lkit/issues/events{/number}","events_url":"https://api.github.com/repos/mathLab/deal2lkit/events","assignees_url":"https://api.github.com/repos/mathLab/deal2lkit/assignees{/user}","branches_url":"https://api.github.com/repos/mathLab/deal2lkit/branches{/branch}","tags_url":"https://api.github.com/repos/mathLab/deal2lkit/tags","blobs_url":"https://api.github.com/repos/mathLab/deal2lkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mathLab/deal2lkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mathLab/deal2lkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/mathLab/deal2lkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mathLab/deal2lkit/statuses/{sha}","languages_url":"https://api.github.com/repos/mathLab/deal2lkit/languages","stargazers_url":"https://api.github.com/repos/mathLab/deal2lkit/stargazers","contributors_url":"https://api.github.com/repos/mathLab/deal2lkit/contributors","subscribers_url":"https://api.github.com/repos/mathLab/deal2lkit/subscribers","subscription_url":"https://api.github.com/repos/mathLab/deal2lkit/subscription","commits_url":"https://api.github.com/repos/mathLab/deal2lkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/mathLab/deal2lkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/mathLab/deal2lkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/mathLab/deal2lkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/mathLab/deal2lkit/contents/{+path}","compare_url":"https://api.github.com/repos/mathLab/deal2lkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mathLab/deal2lkit/merges","archive_url":"https://api.github.com/repos/mathLab/deal2lkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mathLab/deal2lkit/downloads","issues_url":"https://api.github.com/repos/mathLab/deal2lkit/issues{/number}","pulls_url":"https://api.github.com/repos/mathLab/deal2lkit/pulls{/number}","milestones_url":"https://api.github.com/repos/mathLab/deal2lkit/milestones{/number}","notifications_url":"https://api.github.com/repos/mathLab/deal2lkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mathLab/deal2lkit/labels{/name}","releases_url":"https://api.github.com/repos/mathLab/deal2lkit/releases{/id}","created_at":"2014-08-20T14:52:37Z","updated_at":"2015-10-01T20:42:45Z","pushed_at":"2015-10-23T20:51:46Z","git_url":"git://github.com/mathLab/deal2lkit.git","ssh_url":"git@github.com:mathLab/deal2lkit.git","clone_url":"https://github.com/mathLab/deal2lkit.git","svn_url":"https://github.com/mathLab/deal2lkit","homepage":"http://mathlab.github.io/deal2lkit","size":10107,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":10,"forks":8,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mathLab/deal2lkit/pulls/185"},"html":{"href":"https://github.com/mathLab/deal2lkit/pull/185"},"issue":{"href":"https://api.github.com/repos/mathLab/deal2lkit/issues/185"},"comments":{"href":"https://api.github.com/repos/mathLab/deal2lkit/issues/185/comments"},"review_comments":{"href":"https://api.github.com/repos/mathLab/deal2lkit/pulls/185/comments"},"review_comment":{"href":"https://api.github.com/repos/mathLab/deal2lkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mathLab/deal2lkit/pulls/185/commits"},"statuses":{"href":"https://api.github.com/repos/mathLab/deal2lkit/statuses/31a960e954415b9e3e8d183476f51b05d2cd2441"}}}}