Skip to main content

Graph-based integration for structural mechanics using the Vereshchagin method

Project description

VereshchaginPy

VereshchaginPy is a Python library for performing graph multiplication — particularly useful in structural mechanics when applying the flexibility method.

The integration is based on the principle that the integral from two graphs can be expressed as:

∫ Mi(x) * Mj(x) dx = A * y

Where:

  • A is the area under the first moment diagram Mi(x).
  • y is the corresponding ordinate (value) from the second moment diagram Mj(x), evaluated at the centroid of the area A.
  • Mi, Mj are continuous functions (e.g., moments) over a shared length L.

This library helps formalize that process by abstracting common shape-based moment diagrams (rectangles, triangles, trapezoids, parabolas) and automating their integration and visualization.


Key Features

  • Support for standard structural figure types:
    • Rectangle
    • TriangleLeft, TriangleRight
    • Trapezoid
    • Parabola
    • ParabolicTrapezoid (combining a parabola and trapezoid)
  • Clean and extendable figure model
  • Visualizer to plot and label diagrams
  • Operator overloading for quick integration via +
  • Strict input validation for type safety

Installation

This is a pure Python module. You can simply fork and clone the repository:

git clone https://github.com/yourusername/VereshchaginPy.git
#\x00 \x00T\x00e\x00m\x00p\x00o\x00r\x00a\x00r\x00y\x00 \x00c\x00h\x00a\x00n\x00g\x00e\x00 \x00f\x00o\x00r\x00 \x00P\x00R\x00
\x00
\x00

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

vereshchaginpy-0.1.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vereshchaginpy-0.1.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file vereshchaginpy-0.1.2.tar.gz.

File metadata

  • Download URL: vereshchaginpy-0.1.2.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for vereshchaginpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b065d35b52353bddb17746d9251d95c00c0cd49d36c8d809e0a71e3f49b28d41
MD5 5bf0d985bbab2bc0ca432908269a816b
BLAKE2b-256 05c48d674dac441cba62c98038d4278d4e0f4f35a449200c41b2805b8f92cba2

See more details on using hashes here.

File details

Details for the file vereshchaginpy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: vereshchaginpy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for vereshchaginpy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e1ebb1008289276a8c7a2af3699a2612e85ae41677b6ed4425a8f932708299dd
MD5 5399e43c7702a890498130e4164742d5
BLAKE2b-256 9dcd1f0fe82e38183c208076633d6556b91b1f2fad2171afeb6467113ed41b1c

See more details on using hashes here.

Supported by

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