Mondaic

salvus.mesh.algorithms.tensorized_elements

salvus.mesh.algorithms.tensorized_elements salvus mesh algorithms tensorized_elements

Tensor finite elements.

Functions

angles()

def angles(npoint: int, ndim: int) -> npt.NDArray: ...

Get the indices for computing angles for the equiangular skewness of elements.

Parameters
  • npoint int — The shape order of the element.
  • ndim int — The dimensionality.
Returns npt.NDArray

edges()

def edges(npoint: int, ndim: int) -> npt.NDArray: ...

Get the edge array.

Parameters
  • npoint int — The shape order of the element.
  • ndim int — The dimensionality.
Returns npt.NDArray

facet_gll_indices()

def facet_gll_indices(order: int, ndim: int) -> list[list[float]]: ...

Return the indices of all dofs on the facets of the quad / hex.

Parameters
  • order int — Shape order of the element
  • ndim int — Dimension
Returns list[list[float]]

facets()

def facets(npoint: int, ndim: int) -> npt.NDArray: ...

Get the first-order facets.

Parameters
  • npoint int — The shape order of the element.
  • ndim int — The dimensionality.
Returns npt.NDArray

facets_tensor()

def facets_tensor(npoint: int, ndim: int) -> npt.NDArray: ...

Get the tensorized facets.

Parameters
  • npoint int — The shape order of the element.
  • ndim int — The dimensionality.
Returns npt.NDArray

first_order_connectivity()

def first_order_connectivity(npoint: int, ndim: int) -> npt.NDArray: ...

Get the first-order connectivity.

Parameters
  • npoint int — The shape order of the element.
  • ndim int — The dimensionality.
Returns npt.NDArray

get_Dn_hex()

def get_Dn_hex(n: int) -> npt.NDArray: ...

Derivative matrices to compute the jacobian from the nodes.

Parameters
  • n int — index
Returns npt.NDArray

get_Dn_quad()

def get_Dn_quad(n: int) -> npt.NDArray: ...

Derivative matrices to compute the jacobian from the nodes.

Parameters
  • n int — index
Returns npt.NDArray

plot_line()

def plot_line(npoint: int, ndim: int) -> npt.NDArray: ...

Get lines for plotting.

Parameters
  • npoint int — The shape order of the element.
  • ndim int — The dimensionality.
Returns npt.NDArray

side_set_mask()

def side_set_mask(npoint: int, ndim: int) -> list[npt.NDArray]: ...

Get masks for the sides of elements.

Parameters
  • npoint int — The shape order of the element.
  • ndim int — The dimensionality.
Returns list[npt.NDArray]