sph_density_pressure — DRIVE swarmflow op

• Datenarten: matrix × scalar → table

• Aufruf: import fullseye as fs; fs.ledger.sph_density_pressure(points, h: 'float', mass: 'float' = 1.0, rho0: 'float' = 1.0, c: 'float' = 10.0, box=None) -> 'dict' (die Implementierung direkt: import swarmflow; swarmflow.sph_density_pressure(points, h: 'float', mass: 'float' = 1.0, rho0: 'float' = 1.0, c: 'float' = 10.0, box=None) -> 'dict'; aus dem Register: opsdrive.get("sph_density_pressure"))

Verwendung

> Für diesen Operator gibt es noch keine Übersetzung. Es folgt der Originaltext unverändert.

点の集まりの SPH 密度 ρ_i = Σ_j m W(|x_i − x_j|, h)(自分を含む)と、弱圧縮の状態方程式 p = c² (ρ − ρ₀)。

格子の間隔 Δ で m = ρ₀ Δ² に置けば、内側の点の ρ は ρ₀ に近い(h = 1.3Δ で 0.3 % 以内 —— 門で数える)。

Args:

points: (N, 2) の位置 [m]。

h: 平滑化の長さ [m]。

mass: 1 点の質量(群れでは 1 = 個体数の密度)。

rho0: 静止の密度。

c: 音速 [m/s] (圧力の硬さ)。

box: 周期境界の箱 (Lx, Ly) か None。

Returns:

dict: `rho (N,)、p (N,)、n_neighbors` (N,)(台の中の他の点の数)。

Referenzen (Beispieldaten, Literatur)

• Katalog der Beispieldaten (Download-URLs / Lizenzen) — 2-D nutzt skimage.data (BSD/Public Domain) plus synthetische Bilder, 3-D nennt Download-URLs echter Datenquellen (Stanford, PDS, …).

• Herkunft und Literatur der Operatoren — die Quellen der Forschung/Verfahren, auf denen diese Operatorfamilie beruht.

• Der kanonische Algorithmus (Autor, Jahr) und seine Anwendungen stehen im Familienleitfaden oben.

Ausführbare Beispiele (verifizierte Samples, die diesen Operator wirklich aufrufen)

• (noch keine)

Typkompatible Folge-Operatoren (nehmen table als Eingabe)

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

Gleiche Kategorie (swarmflow)

sph_kernel · swarm_simulate · swarm_render_overhead · swarm_field_from_tracks · swarm_field_from_piv · potential_flow_cylinder · velocity_deficit_map · stagnation_from_centerline


*Provenance: swarmflow.py — DRIVE Operator-Registry. Diese Notiz wird von tools/opdocs.py md erzeugt (nicht von Hand bearbeiten).*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.