resqpy.olio.volumeΒΆ
volume.py: Functions to calculate volumes of hexahedral cells; assumes consistent length units.
Functions
Returns volume of a quadrilateral pyramid. |
|
Returns volume of single hexahedral cell with corner points cp of shape (2, 2, 2, 3); assumes bilinear faces. |
|
Returns volume array for all hexahedral cells assuming bilinear faces, using numpy operations. |
|
Returns volume of a tetrahedron. |