liblaf.apple.sim.element.triangle
¤
Classes:
ElementTriangle
¤
Bases: Element
Methods:
-
__pdoc__
–...
-
__repr__
– -
evolve
– -
function
–Return the shape functions at given coordinates.
-
gradient
–Return the gradient of shape functions at given coordinates.
-
hessian
–Return the Hessian of shape functions at given coordinates.
-
tree_at
–
Attributes:
-
cells
(Integer[Array, ' points']
) – -
dim
(int
) – -
n_points
(int
) – -
points
(Float[Array, 'points=3 dim=2']
) – -
quadrature
(Scheme
) –
__pdoc__
¤
__pdoc__(**kwargs) -> AbstractDoc
...
Source code in src/liblaf/apple/sim/element/triangle.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
function
¤
function(
coords: Float[ArrayLike, "dim=2"],
) -> Float[Array, "points=3"]
Return the shape functions at given coordinates.
Source code in src/liblaf/apple/sim/element/triangle.py
20 21 22 23 24 25 26 |
|
gradient
¤
gradient(
coords: Float[ArrayLike, "dim=2"],
) -> Float[Array, "points=3 dim=2"]
Return the gradient of shape functions at given coordinates.
Source code in src/liblaf/apple/sim/element/triangle.py
28 29 30 31 32 33 |
|
hessian
¤
hessian(
coords: Float[ArrayLike, "dim=2"],
) -> Float[Array, "points=3 dim=2 dim=2"]
Return the Hessian of shape functions at given coordinates.
Source code in src/liblaf/apple/sim/element/triangle.py
35 36 37 38 39 40 |
|