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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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