graphlow.core.MeshGeometry.isoAM_with_neumann#
- MeshGeometry.isoAM_with_neumann(with_moment_matrix: bool = True, consider_volume: bool = False, normal_weight: float = 10.0, normal_interp_mode: Literal['mean', 'conservative'] = 'conservative', eps: float = 1e-12) tuple[T, T, T | None]#
Compute IsoAM with a Neumann boundary model.
- Parameters:
- with_moment_matrixbool, default=True
If True, also returns the inverse moment matrix.
- consider_volumebool, default=False
If True, includes volume-related terms (for volume meshes).
- normal_weightfloat, default=10.0
Weight for the Neumann boundary normal term.
- normal_interp_mode{“mean”, “conservative”}, default=”conservative”
Mode used to interpolate normals.
- epsfloat, default=1e-12
Numerical epsilon used for normalization.
- Returns:
- isoamT
IsoAM operator of shape
(dims, n_points, n_points).- weighted_normalsT
Weighted normals for Neumann boundary condition, shape
(n_points, dims).- moment_invT or None
Inverse moment matrix of shape
(n_points, dims, dims)if requested; otherwise None.