Metadata-Version: 2.4
Name: proface-pre-subset
Version: 0.1.1
Summary: ProFACE preprocessor tool: extract FEA subdomain
Project-URL: Repository, https://github.com/ProFACE-dev/proface-pre-subset
Project-URL: Issues, https://github.com/ProFACE-dev/proface-pre-subset/issues
Project-URL: Homepage, https://proface.polimi.it
Author-email: Stefano Miccoli <stefano.miccoli@polimi.it>, Lorenzo Rusnati <lorenzo.rusnati@polimi.it>
Maintainer-email: ProFACE developers <proface@polimi.it>
License-Expression: MIT
License-File: LICENSES/MIT.txt
Keywords: plugin,preprocessor,proface
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Scientific/Engineering
Classifier: Typing :: Typed
Requires-Python: >=3.13
Requires-Dist: attrs>=25.4.0
Requires-Dist: cattrs>=25.3.0
Requires-Dist: h5py>=3.15.1
Requires-Dist: numpy>=2.4.1
Requires-Dist: proface-pre>=0.3.0
Description-Content-Type: text/markdown

<!--
SPDX-FileCopyrightText: 2026 Lorenzo Rusnati
SPDX-FileCopyrightText: 2026 Stefano Miccoli

SPDX-License-Identifier: MIT
-->

# ProFACE preprocessor subset

This is a `transforms` plugin for `proface-pre >= 0.3.0`

## Basic usage

Append this configuration snippet to the ProFACE preprocessor `.toml` job file:

```toml
[[transforms]]
_plugin = "subset"
subdomain = "DOMAIN"
internal_interface = "INTERNAL_INTERFACE"
```

where the key

- `subdomain` must be set to the element set to keep, and
- `internal_interface` to the name of a new node set that will contain the interface nodes between the subdomain and the rest of the model.
  This setting is optional: if missing the name `"INTERNAL_INTERFACE"` will be used.

## Installation

To install, run

```bash
pip install proface-pre-subset
```
