DAVE.tools¶
Module Contents¶
- DAVE.tools.assertBool(var, name='Variable')¶
- DAVE.tools.is_number(var)¶
- DAVE.tools.assert1f(var, name='Variable')¶
- DAVE.tools.assert1f_positive_or_zero(var, name='Variable')¶
- DAVE.tools.assert1f_positive(var, name='Variable')¶
- DAVE.tools.assert3f(var, name='Variable')¶
Asserts that variable has length three and contains only numbers
- DAVE.tools.assert3f_positive(var, name='Variable')¶
Asserts that variable has length three and contains only numbers
- DAVE.tools.assert6f(var, name='Variable')¶
Asserts that variable has length six and contains only numbers
- DAVE.tools.assertValidName(var)¶
- DAVE.tools.assertPoi(var, name='Node')¶
- DAVE.tools.make_iterable(v)¶
Makes an variable iterable by putting it in a list if needed
- DAVE.tools.radii_to_positions(rxx, ryy, rzz)¶
decouple radii of gyration into six point discrete positions
- DAVE.tools.rotation_from_y_axis_direction(direction)¶
Returns a rotation vector that rotates the Y-axis (0,1,0) into the given direction