fracture_energy
gripyth.solving.integration.fracture_energy
Python wrapper for fracture_energy()
Fortran routine.
FUNCTION | DESCRIPTION |
---|---|
fracture_energy |
Calculates the fracture energy. |
fracture_energy
fracture_energy(
mesh: Mesh,
t: float,
quadrature: Quadrature,
material: Material,
elasticity_tensor: NDArray[float64],
p_field: NDArray[float64],
c_w: float,
order: int,
) -> float
Calculates the fracture energy.
This function dispatches to a Fortran routine for performance reasons. Python data structures not supported by Fortran, such as classes, are unpacked into simpler types, which is why the underlying Fortran routine has a different signature. Array indices are converted from 0-based to 1-based.