2.2. okada.core

The okada.core module provides Python bindings for the library of compiled C routines implementing the equations set out in Okada, 1992.

copyright:

2024, Conor A. Bacon.

license:

GNU General Public License, Version 3 (https://www.gnu.org/licenses/gpl-3.0.html)

2.2.1. Functions

Bindings for the C library functions:

  • _evaluate_displacement

  • _evaluate_strain

  • _evaluate_stress

copyright:

2024, Conor A. Bacon.

license:

GNU General Public License, Version 3 (https://www.gnu.org/licenses/gpl-3.0.html)

okada.core.lib.evaluate_okada_model(model: Model, calculation_depth: float, mode: str, threads: int) Result[source]

Evaluate the model using the analytical equations presented in Okada, 1992.