fields.components#

Field component classes for structured geometric data.

This module defines the FieldComponent class, the core data container for single-buffer components of structured geometric fields in Pisces Geometry. A FieldComponent binds together a numerical buffer (such as a NumPy array, unyt_array, or HDF5-backed dataset) with metadata that describes how it aligns with a structured grid and how it should behave under NumPy-style operations.

Field components are the atomic building blocks of all field objects in the Pisces framework. They support spatial axis labeling, broadcasting, ufunc overrides, and type coercion, and are designed to integrate cleanly with NumPy and scientific Python workflows.

Classes

FieldComponent(grid, buffer, axes, /, **kwargs)

A single buffer-aligned component of a geometric field.