{"action":"closed","issue":{"url":"https://api.github.com/repos/dealii/dealii/issues/2299","repository_url":"https://api.github.com/repos/dealii/dealii","labels_url":"https://api.github.com/repos/dealii/dealii/issues/2299/labels{/name}","comments_url":"https://api.github.com/repos/dealii/dealii/issues/2299/comments","events_url":"https://api.github.com/repos/dealii/dealii/issues/2299/events","html_url":"https://github.com/dealii/dealii/issues/2299","id":138290641,"number":2299,"title":"Expression template syntax to build FESystem","user":{"login":"bangerth","id":7504421,"avatar_url":"https://avatars2.githubusercontent.com/u/7504421?v=4","gravatar_id":"","url":"https://api.github.com/users/bangerth","html_url":"https://github.com/bangerth","followers_url":"https://api.github.com/users/bangerth/followers","following_url":"https://api.github.com/users/bangerth/following{/other_user}","gists_url":"https://api.github.com/users/bangerth/gists{/gist_id}","starred_url":"https://api.github.com/users/bangerth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bangerth/subscriptions","organizations_url":"https://api.github.com/users/bangerth/orgs","repos_url":"https://api.github.com/users/bangerth/repos","events_url":"https://api.github.com/users/bangerth/events{/privacy}","received_events_url":"https://api.github.com/users/bangerth/received_events","type":"User","site_admin":false},"labels":[{"id":531968235,"url":"https://api.github.com/repos/dealii/dealii/labels/C++11","name":"C++11","color":"006b75","default":false},{"id":255865986,"url":"https://api.github.com/repos/dealii/dealii/labels/Discussion","name":"Discussion","color":"800080","default":false},{"id":114738734,"url":"https://api.github.com/repos/dealii/dealii/labels/Enhancement","name":"Enhancement","color":"c2e0c6","default":false},{"id":538374046,"url":"https://api.github.com/repos/dealii/dealii/labels/Finite%20Element","name":"Finite Element","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-03-03T20:37:47Z","updated_at":"2017-09-14T17:51:32Z","closed_at":"2017-09-14T17:51:32Z","author_association":"OWNER","body":"The syntax to initialize FESystem objects is not bad, but it occurred to me that with relatively little effort, it should be possible to do something like\n\n```\n  FESystem<dim> stokes_fe = (FE_Q<dim>(2) ^ dim\n                                                  +\n                                                  FE_Q<dim>(1));\n```\n\nThe only things that need to be overloaded are `operator +` and `operator ^` for finite elements and for an fe-composition-expression. A total of 4 operators should be enough.\n"}}
{"actor":{"display_login":"bangerth"}}