pytornado package¶
Submodules¶
pytornado.__version__ module¶
pytornado._assembly module¶
Assembly
-
pytornado._assembly.create_system_matrices(m)¶ Assemble global tensors
pytornado._log module¶
Logging
pytornado._meshing module¶
Module for creating the geometric mesh
-
pytornado._meshing.create_mesh(m)¶ Top-level function for mesh creation
pytornado._model module¶
Model definition
-
class
pytornado._model.Builtin(value)¶ Bases:
enum.EnumBuilt-in models
-
RECT_WING= 'rect_wing'¶
-
classmethod
to_list()¶
-
-
class
pytornado._model.Model¶ Bases:
mframework._mframework._BaseSpec._provide_user_class_from_base.<locals>.UserSpace-
_abc_impl= <_abc_data object>¶
-
classmethod
from_cpacs()¶
-
classmethod
from_example(example='rect_wing')¶
-
run()¶ The ‘run()’ method is the main entry point for evaluating the user model. This method needs to be overridden in the subclass. The ‘run()’ method should return an instance of ‘_result_user_class’. When implementing ‘run()’ in the subclass, the superclass ‘run()’ method should first be called with ‘super().run()’.
-
-
pytornado._model.get_rectangular_wing()¶
pytornado._plot module¶
Plotting
-
pytornado._plot.plot_all(m)¶ Create all plots defined in the model object
pytornado._run module¶
Run the model
-
pytornado._run.run_model(m)¶ Run the complete model analysis
- Args:
- m
model instance
pytornado._util module¶
Utils
-
class
pytornado._util.Schemas¶ Bases:
object-
any_int= {'type': <class 'int'>}¶
-
any_num= {'type': <class 'numbers.Number'>}¶
-
pos_int= {'>': 0, 'type': <class 'int'>}¶
-
pos_number= {'>': 0, 'type': <class 'numbers.Number'>}¶
-
string= {'>': 0, 'type': <class 'str'>}¶
-
vector3x1= {'item_types': <class 'numbers.Number'>, 'max_len': 3, 'min_len': 3, 'type': <class 'list'>}¶
-
vector6x1= {'item_types': <class 'numbers.Number'>, 'max_len': 6, 'min_len': 6, 'type': <class 'list'>}¶
-