Source code for buffalo_panel.singularities.descriptors

"""Singularity descriptors used by supported panel element families."""

from __future__ import annotations

from dataclasses import dataclass


[docs] @dataclass(frozen=True, slots=True) class SingularityDescriptor: """ Describe one supported singularity family. These descriptors identify the physical singularity type associated with an element family. Kernel lookup and formulation assembly use the descriptor name together with the support and basis descriptors to select compatible implementations. """ name: str """Registry name used to identify this singularity family."""
SOURCE = SingularityDescriptor("source") """Descriptor for source singularity families.""" VORTEX = SingularityDescriptor("vortex") """Descriptor for vortex singularity families.""" DOUBLET = SingularityDescriptor("doublet") """Descriptor for doublet singularity families."""