Skip to main content

pyrrha is a tool for helping in the developement and testing of Computational Mechanics methods.

Project description

pyrra

pyrrha is a tool for helping in the developement and testing of Computational Mechanics methods.

This project is based in the Octave & C++ program called "Prometheus ", developed by Carlos Gentile, that allows to generate templates for programming Octave implementations of classical Computional Mechanics methods. Inspired in these ideas, this project offers the ability to generate python templates for the Finite Elements method, and tools for evaluating the intermediate steps of its implementation.

The name pyrrha comes from Pyrrha, the wife of Deucalion (the son of Prometheus ), who had a child out of wedlock with Zeus. She is basically the daughter -in-law and niece of Prometheus (a link that is in some way preserved between the original Prometheus application and this package).

Commands

Generate template from a base class

pyrrha generate FiniteElement2D --output <file_name>

A <file_name> file will be created with the FiniteElement2D template.

Test implementations

Test class

pyrrha validate <file_name>

will validate the class defined in <file_name> against the correct implementation.

Test class method

pyrrha validate <file_name> --method <method_name>

will test only the <method_name> method of the class defined in <file_name>, comparing it with the correct method implementation.

Icons made by Darius Dan from www.flaticon.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrrha-0.2.tar.gz (11.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrrha-0.2-py3-none-any.whl (341.7 kB view details)

Uploaded Python 3

File details

Details for the file pyrrha-0.2.tar.gz.

File metadata

  • Download URL: pyrrha-0.2.tar.gz
  • Upload date:
  • Size: 11.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for pyrrha-0.2.tar.gz
Algorithm Hash digest
SHA256 e4d3b3b03574e703952e25afd459e6b05bcc81cf254a175a208f2987802da2cd
MD5 5a57c00dad61d26e4d97327477f12616
BLAKE2b-256 ec80319ee6063729f5d46d89e72937b0ec773410bf5291c4a56720060c3e16e0

See more details on using hashes here.

File details

Details for the file pyrrha-0.2-py3-none-any.whl.

File metadata

  • Download URL: pyrrha-0.2-py3-none-any.whl
  • Upload date:
  • Size: 341.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for pyrrha-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a356999767431590c30751b686d6c95dd824610bb8c49862ce0ac7fb03a0a06
MD5 e8c55638209f7fe9b1737b1feb8542ca
BLAKE2b-256 8baf776901e5fc52bf24a45a3b465d5cfa78c282e3091519a5b2a4b5482bc541

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page