{ "info": { "author": "Francois Cuvelier", "author_email": "cuvelier@math.univ-paris13.fr", "bugtrack_url": null, "classifiers": [ "Topic :: Scientific/Engineering" ], "description": ".. _fc-meshtools: http://www.math.univ-paris13.fr/~cuvelier/software/Python/fc-meshtools.html\n\n.. _python: http://www.python.org\n \n\n.. image:: http://www.math.univ-paris13.fr/~cuvelier/software/codes/Python/fc-meshtools/pyfc-meshtools_400.png\n :width: 200px\n :align: left\n\nThe **fc\\_meshtools** Python package contains some simplicial meshes\ngiven by their vertices array **q** and connectivity array **me**. Theses meshes can be easily used in \nother Python codes for debugging or testing purpose. \n\n \nIntroduction:\n------------- \n\nA simplicial mesh is given by its vertices array **q** and its connectivity array **me**.\nFor demonstration purpose, some simplicial meshes are given in this package and stored in the fc_meshtools/data directory. \nThey can be load by using the functions ``getMesh2D``, ``getMesh3D`` or ``getMesh3Ds``\nof the ``fc_meshtools.simplicial`` module.\nHere are the kind of simplicial meshes present in this package: \n\n - a triangular mesh in dimension 2, made with 2-simplices (ie. triangles),\n - a tetrahedral mesh in dimension 3, made with 3-simplices (ie. tetrahedron),\n - a triangular mesh in dimension 3 (surface mesh), made with 2-simplices,\n - a line mesh in dimension 2 or 3 made with 1-simplices (ie. lines).\n\nOne can go to the dedicated web page `fc-meshtools`_ for more informations.\n\nInstallation:\n-------------\n\nThe **fc\\_meshtools** Python package is available from the Python Package Index. so to install/upgrade simply type\n\n.. code:: \n\n pip install fc_meshtools \n \nExamples\n--------\n\nfirst example\n~~~~~~~~~~~~~\n\n.. code:: python\n\n import fc_meshtools\n q,me,toG=fc_meshtools.simplicial.getMesh2D(2)\n vols=fc_meshtools.simplicial.Volumes(q,me)\n print(' q:%s, me:%s, vols:%s'%(str(q.shape),str(me.shape),str(vols.shape)))\n \nThe output of the ``print`` command is::\n\n q:(2, 4499), me:(3, 8584), vols:(8584,)\n \nsecond example\n~~~~~~~~~~~~~~\n\n.. code:: python\n\n import fc_meshtools,numpy\n q3,me3=fc_meshtools.simplicial.getMesh3D(3)[:2]\n vols3=fc_meshtools.simplicial.Volumes(q3,me3)\n G3=fc_meshtools.simplicial.GradBaCo(q3,me3)\n print(' q3:%s, me3:%s, vols3:%s, G3:%s'%(str(q3.shape),str(me3.shape),str(vols3.shape),str(G3.shape)))\n q2,me2,toG2=fc_meshtools.simplicial.getMesh3D(2)\n vols2=fc_meshtools.simplicial.Volumes(q2,me2)\n G2=fc_meshtools.simplicial.GradBaCo(q2,me2)\n print(' q2:%s, me2:%s, vols2:%s, G2:%s'%(str(q2.shape),str(me2.shape),str(vols2.shape),str(G2.shape)))\n E=numpy.max(numpy.abs(q2-q3[:,toG2]))\n print('E=%g'%E)\n \nThe output is::\n\n q3:(3, 5168), me3:(4, 22234), vols3:(22234,), G3:(22234, 3, 4)\n q2:(3, 3133), me2:(3, 6274), vols2:(6274,), G2:(6274, 3, 3)\n E=0", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.math.univ-paris13.fr/~cuvelier/software", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "fc-meshtools", "package_url": "https://pypi.org/project/fc-meshtools/", "platform": "Linux", "project_url": "https://pypi.org/project/fc-meshtools/", "project_urls": { "Homepage": "http://www.math.univ-paris13.fr/~cuvelier/software" }, "release_url": "https://pypi.org/project/fc-meshtools/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "The fc_meshtools package contains some simplicial meshes given by their vertices array and connectivity array", "version": "0.1.1" }, "last_serial": 5267219, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "552c062eff01f6d8cc11cc639864753b", "sha256": "34c10a03e9f21dcec7a05c05eac6943a226bab312d4e5a0071bb3a1bb1e41360" }, "downloads": -1, "filename": "fc_meshtools-0.1.0.tar.gz", "has_sig": false, "md5_digest": "552c062eff01f6d8cc11cc639864753b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 672228, "upload_time": "2019-05-10T14:30:16", "url": "https://files.pythonhosted.org/packages/5b/5d/6125b3a5aa5c408cf51511bff179c19fdc67fb2aa5327aeac45046dc092c/fc_meshtools-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f397af01d32d8c2237325ee80c39a1fa", "sha256": "d534fc4791db353739f3d690f1a4b6a8bafca9cdd09d7ff46f7da99087c9616a" }, "downloads": -1, "filename": "fc_meshtools-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f397af01d32d8c2237325ee80c39a1fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 670782, "upload_time": "2019-05-14T12:50:01", "url": "https://files.pythonhosted.org/packages/55/0d/8d2f854786e03ebcf0aa99a687b47e9c55fdfb5de2da91b5c2a98fb7c2da/fc_meshtools-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f397af01d32d8c2237325ee80c39a1fa", "sha256": "d534fc4791db353739f3d690f1a4b6a8bafca9cdd09d7ff46f7da99087c9616a" }, "downloads": -1, "filename": "fc_meshtools-0.1.1.tar.gz", "has_sig": false, "md5_digest": "f397af01d32d8c2237325ee80c39a1fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 670782, "upload_time": "2019-05-14T12:50:01", "url": "https://files.pythonhosted.org/packages/55/0d/8d2f854786e03ebcf0aa99a687b47e9c55fdfb5de2da91b5c2a98fb7c2da/fc_meshtools-0.1.1.tar.gz" } ] }