{"action":"created","issue":{"url":"https://api.github.com/repos/underworldcode/underworld2/issues/332","repository_url":"https://api.github.com/repos/underworldcode/underworld2","labels_url":"https://api.github.com/repos/underworldcode/underworld2/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/underworldcode/underworld2/issues/332/comments","events_url":"https://api.github.com/repos/underworldcode/underworld2/issues/332/events","html_url":"https://github.com/underworldcode/underworld2/issues/332","id":370851218,"node_id":"MDU6SXNzdWUzNzA4NTEyMTg=","number":332,"title":"Mixed elements support (Q2/Q1), (Q2/Q0)","user":{"login":"rbeucher","id":3680918,"node_id":"MDQ6VXNlcjM2ODA5MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/3680918?v=4","gravatar_id":"","url":"https://api.github.com/users/rbeucher","html_url":"https://github.com/rbeucher","followers_url":"https://api.github.com/users/rbeucher/followers","following_url":"https://api.github.com/users/rbeucher/following{/other_user}","gists_url":"https://api.github.com/users/rbeucher/gists{/gist_id}","starred_url":"https://api.github.com/users/rbeucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbeucher/subscriptions","organizations_url":"https://api.github.com/users/rbeucher/orgs","repos_url":"https://api.github.com/users/rbeucher/repos","events_url":"https://api.github.com/users/rbeucher/events{/privacy}","received_events_url":"https://api.github.com/users/rbeucher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jmansour","id":1439389,"node_id":"MDQ6VXNlcjE0MzkzODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1439389?v=4","gravatar_id":"","url":"https://api.github.com/users/jmansour","html_url":"https://github.com/jmansour","followers_url":"https://api.github.com/users/jmansour/followers","following_url":"https://api.github.com/users/jmansour/following{/other_user}","gists_url":"https://api.github.com/users/jmansour/gists{/gist_id}","starred_url":"https://api.github.com/users/jmansour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmansour/subscriptions","organizations_url":"https://api.github.com/users/jmansour/orgs","repos_url":"https://api.github.com/users/jmansour/repos","events_url":"https://api.github.com/users/jmansour/events{/privacy}","received_events_url":"https://api.github.com/users/jmansour/received_events","type":"User","site_admin":false},"assignees":[{"login":"jmansour","id":1439389,"node_id":"MDQ6VXNlcjE0MzkzODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1439389?v=4","gravatar_id":"","url":"https://api.github.com/users/jmansour","html_url":"https://github.com/jmansour","followers_url":"https://api.github.com/users/jmansour/followers","following_url":"https://api.github.com/users/jmansour/following{/other_user}","gists_url":"https://api.github.com/users/jmansour/gists{/gist_id}","starred_url":"https://api.github.com/users/jmansour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmansour/subscriptions","organizations_url":"https://api.github.com/users/jmansour/orgs","repos_url":"https://api.github.com/users/jmansour/repos","events_url":"https://api.github.com/users/jmansour/events{/privacy}","received_events_url":"https://api.github.com/users/jmansour/received_events","type":"User","site_admin":false},{"login":"rbeucher","id":3680918,"node_id":"MDQ6VXNlcjM2ODA5MTg=","avatar_url":"https://avatars2.githubusercontent.com/u/3680918?v=4","gravatar_id":"","url":"https://api.github.com/users/rbeucher","html_url":"https://github.com/rbeucher","followers_url":"https://api.github.com/users/rbeucher/followers","following_url":"https://api.github.com/users/rbeucher/following{/other_user}","gists_url":"https://api.github.com/users/rbeucher/gists{/gist_id}","starred_url":"https://api.github.com/users/rbeucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbeucher/subscriptions","organizations_url":"https://api.github.com/users/rbeucher/orgs","repos_url":"https://api.github.com/users/rbeucher/repos","events_url":"https://api.github.com/users/rbeucher/events{/privacy}","received_events_url":"https://api.github.com/users/rbeucher/received_events","type":"User","site_admin":false},{"login":"julesghub","id":13825704,"node_id":"MDQ6VXNlcjEzODI1NzA0","avatar_url":"https://avatars2.githubusercontent.com/u/13825704?v=4","gravatar_id":"","url":"https://api.github.com/users/julesghub","html_url":"https://github.com/julesghub","followers_url":"https://api.github.com/users/julesghub/followers","following_url":"https://api.github.com/users/julesghub/following{/other_user}","gists_url":"https://api.github.com/users/julesghub/gists{/gist_id}","starred_url":"https://api.github.com/users/julesghub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julesghub/subscriptions","organizations_url":"https://api.github.com/users/julesghub/orgs","repos_url":"https://api.github.com/users/julesghub/repos","events_url":"https://api.github.com/users/julesghub/events{/privacy}","received_events_url":"https://api.github.com/users/julesghub/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-10-17T00:30:21Z","updated_at":"2018-10-17T09:55:29Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The manual states that we can use mixed elements such as Q2/dQ0, Q2/Q1 etc...\r\n\r\nI tried and in only works for discontinuous elements.\r\n\r\nI think that is OK as those are the ones we use. \r\nWould be good to raise a proper exception, unless we want to support them...\r\nIn that case we need to update the manual...\r\n\r\n```\r\n\r\nNameErrorTraceback (most recent call last)\r\n<ipython-input-9-428b3fa9c230> in <module>()\r\n      4                                  elementRes  = (8, 8),\r\n      5                                  minCoord    = (0.0, 0.0),\r\n----> 6                                  maxCoord    = (2.0, 1.0) )\r\n      7 \r\n      8 # visualising the result\r\n\r\n/opt/underworld2/underworld/_stgermain.pyc in __call__(cls, *args, **kwargs)\r\n    111                 _setup = _setup.__get__(self, cls)\r\n    112             if callable(_setup):\r\n--> 113                 _setup()\r\n    114 \r\n    115         te = time.time()\r\n\r\n/opt/underworld2/underworld/mesh/_mesh.pyc in _setup(self)\r\n   1142         if len(self._elementTypes) == 2:\r\n   1143             if  self._elementTypes[1].upper() == self._supportedElementTypes[1]:\r\n-> 1144                 genSecondary = LinearCartesianGenerator(elementRes=elementRes, minCoord=minCoord, maxCoord=maxCoord, periodic=periodic, **kwargs)\r\n   1145             elif self._elementTypes[1].upper() == self._supportedElementTypes[2]:\r\n   1146                 genSecondary = dQ1Generator( geometryMesh=self )\r\n\r\nNameError: global name 'elementRes' is not defined\r\n```"},"comment":{"url":"https://api.github.com/repos/underworldcode/underworld2/issues/comments/430566333","html_url":"https://github.com/underworldcode/underworld2/issues/332#issuecomment-430566333","issue_url":"https://api.github.com/repos/underworldcode/underworld2/issues/332","id":430566333,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDU2NjMzMw==","user":{"login":"jmansour","id":1439389,"node_id":"MDQ6VXNlcjE0MzkzODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1439389?v=4","gravatar_id":"","url":"https://api.github.com/users/jmansour","html_url":"https://github.com/jmansour","followers_url":"https://api.github.com/users/jmansour/followers","following_url":"https://api.github.com/users/jmansour/following{/other_user}","gists_url":"https://api.github.com/users/jmansour/gists{/gist_id}","starred_url":"https://api.github.com/users/jmansour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmansour/subscriptions","organizations_url":"https://api.github.com/users/jmansour/orgs","repos_url":"https://api.github.com/users/jmansour/repos","events_url":"https://api.github.com/users/jmansour/events{/privacy}","received_events_url":"https://api.github.com/users/jmansour/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T09:55:29Z","updated_at":"2018-10-17T09:55:29Z","author_association":"CONTRIBUTOR","body":"That notebook needs a big overhaul. "}}
{"actor":{"display_login":"jmansour"}}