warp.fem.adaptive_nanogrid_from_hierarchy#
- warp.fem.adaptive_nanogrid_from_hierarchy(
- grids,
- grading=None,
- temporary_store=None,
Constructs a
warp.fem.AdaptiveNanogridfrom a non-overlapping grid hierarchy.Warning: The result is undefined if there are partial overlaps between levels, that is if a cell at level l is only partially covered by cells at levels l-1 or lower.
- Parameters:
grids (list[Volume]) – List of sparse Volumes, from finest to coarsest
grading (str | None) – Supplementary grading condition, may be
None, “face” or “vertex”; seeenforce_nanogrid_grading()temporary_store (TemporaryStore | None) – Storage for temporary allocations
- Return type: