Metadata-Version: 2.4
Name: mass-assignment
Version: 1.0.0
Summary: Single-process mass assignment (NGP/CIC/TSC/PCS) with OpenMP
License-Expression: MIT
License-File: LICENSE
Project-URL: Homepage, https://github.com/stanaka2/mass_assignment
Project-URL: Repository, https://github.com/stanaka2/mass_assignment
Project-URL: Issues, https://github.com/stanaka2/mass_assignment/issues
Requires-Python: >=3.9
Requires-Dist: numpy
Description-Content-Type: text/markdown

# mass_assignment

A Python extension module for single-process mass assignment on a 3D mesh with OpenMP parallelization.

This package provides:
- `dens`: mass density field
- `velc`: mass-weighted mean velocity field
- `sigma`: mass-weighted velocity dispersion tensor (second order moment)

Supported assignment schemes:
- 1: NGP
- 2: CIC
- 3: TSC
- 4: PCS (cubic B-spline)

## Installation

```bash
pip install mass-assignment
```
