liblaf.apple.region.tetra
Classes:
RegionTetra
¤
Methods:
Attributes:
-
aux
(PyTree
) – -
cells
(Integer[Array, 'c a']
) – -
dirichlet_mask
(Bool[ndarray, 'V 3']
) – -
dirichlet_values
(Float[Array, 'V 3']
) – -
free_mask
(Bool[ndarray, 'V 3']
) – -
material
(MaterialTetra
) – -
mesh
(UnstructuredGrid
) – -
n_cells
(int
) – -
n_dof
(int
) – -
n_points
(int
) – -
params
(PyTree
) – -
points
(Float[Array, 'V 3']
) –
dirichlet_mask
class-attribute
instance-attribute
¤
dirichlet_mask: Bool[ndarray, "V 3"] = field(
metadata={"static": True}, converter=asarray
)
dirichlet_values
class-attribute
instance-attribute
¤
dirichlet_values: Float[Array, "V 3"] = field(
converter=asarray
)
material
class-attribute
instance-attribute
¤
material: MaterialTetra = field(metadata={'static': True})
fill
¤
fill(u_free: Float[Array, ' F']) -> Float[Array, 'V 3']
Source code in src/liblaf/apple/region/tetra.py
107 108 109 110 |
|
fun
¤
fun(u: Float[Array, ' F'], q: PyTree) -> Float[Array, '']
Source code in src/liblaf/apple/region/tetra.py
55 56 57 58 |
|
fun_jac
¤
fun_jac(
u: Float[Array, " F"], q: PyTree
) -> tuple[Float[Array, ""], Float[Array, " F"]]
Source code in src/liblaf/apple/region/tetra.py
69 70 71 72 73 74 75 76 77 78 |
|
hess
¤
hess(
u: Float[Array, " F"], q: PyTree
) -> Float[LinearOperator, "F F"]
Source code in src/liblaf/apple/region/tetra.py
80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 |
|
hess_diag
¤
hess_diag(
u: Float[Array, " F"], q: PyTree
) -> Float[Array, " F"]
Source code in src/liblaf/apple/region/tetra.py
96 97 98 99 100 101 102 103 104 105 |
|
jac
¤
jac(u: Float[Array, ' F'], q: PyTree) -> Float[Array, ' F']
Source code in src/liblaf/apple/region/tetra.py
60 61 62 63 64 65 66 67 |
|
prepare
¤
prepare() -> None
Source code in src/liblaf/apple/region/tetra.py
49 50 51 52 53 |
|