pyrrha is a tool for helping in the developement and testing of Computational Mechanics methods.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.