{"action":"created","issue":{"url":"https://api.github.com/repos/libMesh/libmesh/issues/442","labels_url":"https://api.github.com/repos/libMesh/libmesh/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/libMesh/libmesh/issues/442/comments","events_url":"https://api.github.com/repos/libMesh/libmesh/issues/442/events","html_url":"https://github.com/libMesh/libmesh/pull/442","id":54620166,"number":442,"title":"Slightly Better Support for Mixed Dimension Meshes","user":{"login":"pbauman","id":3051555,"avatar_url":"https://avatars.githubusercontent.com/u/3051555?v=3","gravatar_id":"","url":"https://api.github.com/users/pbauman","html_url":"https://github.com/pbauman","followers_url":"https://api.github.com/users/pbauman/followers","following_url":"https://api.github.com/users/pbauman/following{/other_user}","gists_url":"https://api.github.com/users/pbauman/gists{/gist_id}","starred_url":"https://api.github.com/users/pbauman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbauman/subscriptions","organizations_url":"https://api.github.com/users/pbauman/orgs","repos_url":"https://api.github.com/users/pbauman/repos","events_url":"https://api.github.com/users/pbauman/events{/privacy}","received_events_url":"https://api.github.com/users/pbauman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-16T20:17:37Z","updated_at":"2015-01-16T21:45:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libMesh/libmesh/pulls/442","html_url":"https://github.com/libMesh/libmesh/pull/442","diff_url":"https://github.com/libMesh/libmesh/pull/442.diff","patch_url":"https://github.com/libMesh/libmesh/pull/442.patch"},"body":"This is the first PR to help better support mixed dimensional meshes. The second will update FEMContext/FEMSystem. (FYI, my main focus is mixed 1D/2D meshes.)\r\n\r\nI'm going to push a test case to this branch later, but wanted people to be able to start laying eyes on this sooner rather than later as it changes `MeshBase`. Before, it was assumed that the mesh had only one dimension (`MeshBase::_dim`). The issue is that we will need to be able to query the different dimensions of elements present in the mesh without doing a loop over elements each time (e.g. for deciding which FE objects need to be created). So, the main goal of this PR is to add that capability. `mesh_dimension()` still returns the largest dimension present in the mesh. Internally, the dimensions are stored in `std::set` instead of a single `unsigned char`. We can also now query this `std::set` to grab which element dimensions are present in the mesh.\r\n\r\nmake check passes for me. Again, I'll push a test case here later (hopefully today) - the test case is a mixed 1D and 2D element mesh where 1 EDGE2 element overlaps the edge where 2 QUAD4 elements meet. Then, I do a uniform refinement and check that the node numbers and dof numbers also overlap, i.e. the 1D nodes shared by the 2D element nodes are the same node and similarly for the dofs. I've manually checked so far in the test, now  just need to automate that part and put it in the tests (somewhere... any suggestions?)."},"comment":{"url":"https://api.github.com/repos/libMesh/libmesh/issues/comments/70327491","html_url":"https://github.com/libMesh/libmesh/pull/442#issuecomment-70327491","issue_url":"https://api.github.com/repos/libMesh/libmesh/issues/442","id":70327491,"user":{"login":"roystgnr","id":2367346,"avatar_url":"https://avatars.githubusercontent.com/u/2367346?v=3","gravatar_id":"","url":"https://api.github.com/users/roystgnr","html_url":"https://github.com/roystgnr","followers_url":"https://api.github.com/users/roystgnr/followers","following_url":"https://api.github.com/users/roystgnr/following{/other_user}","gists_url":"https://api.github.com/users/roystgnr/gists{/gist_id}","starred_url":"https://api.github.com/users/roystgnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roystgnr/subscriptions","organizations_url":"https://api.github.com/users/roystgnr/orgs","repos_url":"https://api.github.com/users/roystgnr/repos","events_url":"https://api.github.com/users/roystgnr/events{/privacy}","received_events_url":"https://api.github.com/users/roystgnr/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T21:45:42Z","updated_at":"2015-01-16T21:45:42Z","body":"BuildBot is back on life support at the moment, but when it's running, yes, we've got cppunit installed.  As should anyone who has \"yum\", \"apt-get\", or \"the ability to find a better OS\".  ;-)"}}