pyrrha package¶
Subpackages¶
Submodules¶
pyrrha.constants module¶
pyrrha.method module¶
pyrrha.cli module¶
pyrrha.report module¶
Report handling.
-
class
pyrrha.report.Report¶ Bases:
objectReport class.
Store and show the status of pyrrha validations.
-
add_error_type(method_name, pos=0)¶ Add error type result to the report.
- Parameters
method_name (str) – Name of the executed method.
pos (int) – Position in the output tuple.
-
add_shape_error(method_name, pos=0)¶ Add shape error result to the report.
- Parameters
method_name (str) – Name of the executed method.
pos (int) – Position in the output tuple.
-
add_success(method_name, pos=0)¶ Add successful result to the report.
- Parameters
method_name (str) – Name of the executed method.
pos (int) – Position in the output tuple.
-
add_value_error(method_name, pos=0)¶ Add value error result to the report.
- Parameters
method_name (str) – Name of the executed method.
pos (int) – Position in the output tuple.
-
pyrrha.runner module¶
pyrrha.template_generator module¶
Public module.
-
class
pyrrha.template_generator.TemplateGenerator¶ Bases:
abc.ABCClass to generate Template Class of Numerical Method.
class inherited from ABC
-
static
gen_template(cls)¶ Generate the template according to the class received.
- Parameters
cls (class) – class received.
- Returns
- Return type
string with template generated.
-
static
Module contents¶
Pyrrha.
pyrrha is a tool for helping in the developement and testing of Computational Mechanics methods.