{ "info": { "author": "Thomas Titscher", "author_email": "thomas.titscher@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# xdmf_dolfin_fix\n\nThere is an xdmf import issue in FEniCS/DOLFIN. Quadratic triangles and tetrahedrons\nare imported incorrectly. The CLI tool `xdmf-dolfin-fix` fixes this issue by reordering element numbers.\n\n### Example usage\n~~~\nxdmf-dolfin-fix old.xdmf # fix old.xdmf\nxdmf-dolfin-fix old.xdmf new.xdmf # create fixed new.xdmf\nxdmf-dolfin-fix old.geo -d3 # create fixed old.xdmf from gmsh\nxdmf-dolfin-fix old.msh new.xdmf # create fixed new.xdmf from gmsh\n~~~\n\n### Problem\n\nAt some point of the simulation FEniCS/DOLFIN orders the vertices of all elements\nin numerically accending order. Nodes on the edges of elements -- as present\nin quadratic triangles and quadratic tetrahedrons -- are not swapped.\n\nSo internally, the node numbers of an arbitrary quadratic tetrahedron\n\n~~~\n[ vertices | edges ]\n[ 51 74 12 | 14 72 1003 ]\n~~~\n\nwould be reordered to\n\n~~~\n[ 12 51 74 | 14 72 1003 ]\n~~~\n\nNow, the vertex nodes `[12 51 74]` are sorted, but the edge nodes `[14 72 1003]`\nare left unchanged. This results in a twisted geometry.\n\n### Fix\n\n`xdmf-dolfin-fix` sorts the vertex nodes **and** reorders the edge nodes accordingly. This\nwill result in\n\n~~~\n[ 12 51 74 | 1003 14 74 ]\n~~~\n\nA further sorting within DOLFIN has no effect and, thus, will not mess up\nthis ordering.\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TTitscher/xdmf_dolfin_fix", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "xdmf-dolfin-fix", "package_url": "https://pypi.org/project/xdmf-dolfin-fix/", "platform": "", "project_url": "https://pypi.org/project/xdmf-dolfin-fix/", "project_urls": { "Homepage": "https://github.com/TTitscher/xdmf_dolfin_fix" }, "release_url": "https://pypi.org/project/xdmf-dolfin-fix/0.6.2/", "requires_dist": [ "h5py", "lxml", "meshio" ], "requires_python": "", "summary": "A tiny package to modify the node order of quadratic triangles and tets in a xdmf-hdf mesh to work with FEniCS/DOLFIN.", "version": "0.6.2" }, "last_serial": 4759767, "releases": { "0.6.2": [ { "comment_text": "", "digests": { "md5": "918d081baf17901b5b43e42b9692bb09", "sha256": "e6f347f4cbaee42d94d10c6f19b0f80a53f0896c6afff9bc4697edc8d87394c2" }, "downloads": -1, "filename": "xdmf_dolfin_fix-0.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "918d081baf17901b5b43e42b9692bb09", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9401, "upload_time": "2019-01-30T13:27:25", "url": "https://files.pythonhosted.org/packages/1e/f4/2c11a4d564e306154645cff55630e70b0126a52dcd85ad2c96784d0a85ef/xdmf_dolfin_fix-0.6.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "49ee6cf335a4e1295936753453464754", "sha256": "1dda5a4216fa45af859d14668cb57be74168fd38ba3b95bd1bd534f3f37ac928" }, "downloads": -1, "filename": "xdmf-dolfin-fix-0.6.2.tar.gz", "has_sig": false, "md5_digest": "49ee6cf335a4e1295936753453464754", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6109, "upload_time": "2019-01-30T13:27:27", "url": "https://files.pythonhosted.org/packages/f7/81/be8f722d5d313168fbbadae48c5d246ec8b5ac6d7c239211a2711e7ab7f8/xdmf-dolfin-fix-0.6.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "918d081baf17901b5b43e42b9692bb09", "sha256": "e6f347f4cbaee42d94d10c6f19b0f80a53f0896c6afff9bc4697edc8d87394c2" }, "downloads": -1, "filename": "xdmf_dolfin_fix-0.6.2-py3-none-any.whl", "has_sig": false, "md5_digest": "918d081baf17901b5b43e42b9692bb09", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9401, "upload_time": "2019-01-30T13:27:25", "url": "https://files.pythonhosted.org/packages/1e/f4/2c11a4d564e306154645cff55630e70b0126a52dcd85ad2c96784d0a85ef/xdmf_dolfin_fix-0.6.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "49ee6cf335a4e1295936753453464754", "sha256": "1dda5a4216fa45af859d14668cb57be74168fd38ba3b95bd1bd534f3f37ac928" }, "downloads": -1, "filename": "xdmf-dolfin-fix-0.6.2.tar.gz", "has_sig": false, "md5_digest": "49ee6cf335a4e1295936753453464754", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6109, "upload_time": "2019-01-30T13:27:27", "url": "https://files.pythonhosted.org/packages/f7/81/be8f722d5d313168fbbadae48c5d246ec8b5ac6d7c239211a2711e7ab7f8/xdmf-dolfin-fix-0.6.2.tar.gz" } ] }