ShapeFunctionMesh
- class ase2sprkkr.result_files.definitions.sfn.ShapeFunctionMesh(output, index)[source]
Generated combined view of one radial and one Voronoi mesh block.
Class hierarchy
Constructor
- property radial
- property voronoi
- property idx
- property npan
- property nr
- property jrcut
- property radial_mesh
The native, unscaled
(r, dr)array stored in the file.
- property rmesh
- property drmesh
- property nsfn
- property sfn_lm
- property sfn
- property rmt
- property rmtfill
- property vol
- property nface
- property faces
- property face_vertices
Vertices of the Voronoi faces, scaled consistently with
rmesh.
- property panel_boundaries
Radii at the ends of the radial integration panels.
- isosurface(level=0.5, n=64)[source]
Return vertices and triangular faces of a reconstructed isosurface.
- plot(what='mesh', **kwargs)[source]
Plot the Voronoi mesh, a shape-function section or radial data.
- plot_mesh(axis=None, *, show_rmt=True, show_panels=False, facecolor='tab:blue', alpha=0.22, edgecolor='black', filename=None, show=None, dpi=600, latex=None, figsize=(6, 5))[source]
Plot the Voronoi polyhedron and optional radial boundaries.
- plot_shape(axis=None, *, n=None, levels=1, level=None, facecolor=None, cmap='viridis', alpha=0.25, edgecolor='none', filename=None, show=None, dpi=600, latex=None, figsize=(6, 5))[source]
Plot isosurfaces of the reconstructed shape function.