> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ProximitySizingParams

### *class* ansys.meshing.prime.ProximitySizingParams(model=None, min=None, max=None, growth\_rate=None, elements\_per\_gap=None, ignore\_self\_proximity=None, ignore\_orientation=None, json\_data=None, \*\*kwargs)

Size field using proximity size control computes edge and face sizes in gaps using the specified minimum number of element layers.

* **Parameters:**

  **model: Model**
  : Model to create a `ProximitySizingParams` object with default parameters.

  **min: float, optional**
  : Minimum size used for computing edge and face size using proximity size control.

  **max: float, optional**
  : Maximum size used for computing edge and face size using proximity size control.

  **growth\_rate: float, optional**
  : Growth rate used for transitioning from one element size to neighbor element size.

  **elements\_per\_gap: float, optional**
  : The number of elements per gap can be a real value.  This has the effect of stretching face elements with larger sizes along side faces,  or gaps, thereby reducing the overall face count, and ultimately the cell count.

  **ignore\_self\_proximity: bool, optional**
  : Ignore proximity within zonelets.

  **ignore\_orientation: bool, optional**
  : The ignore orientation option can be used to ignore the face normal orientation during the proximity calculation. The default is false.

  **json\_data: dict, optional**
  : JSON dictionary to create a `ProximitySizingParams` object with provided parameters.

### Examples

```python theme={null}
>>> proximity_sizing_params = prime.ProximitySizingParams(model = model)
```

### Methods

| Name | Description |
| - | - |
| [`ProximitySizingParams.print_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.ProximitySizingParams.print_default)() | Print the default values of `ProximitySizingParams` object. |
| [`ProximitySizingParams.set_default`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.ProximitySizingParams.set_default)(\[min, ...]) | Set the default values of the `ProximitySizingParams` object. |

### Attributes

| Name | Description |
| - | - |
| [`ProximitySizingParams.elements_per_gap`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.ProximitySizingParams.elements_per_gap) | The number of elements per gap can be a real value. |
| [`ProximitySizingParams.growth_rate`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.ProximitySizingParams.growth_rate) | Growth rate used for transitioning from one element size to neighbor element size. |
| [`ProximitySizingParams.ignore_orientation`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.ProximitySizingParams.ignore_orientation) | The ignore orientation option can be used to ignore the face normal orientation during the proximity calculation. |
| [`ProximitySizingParams.ignore_self_proximity`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.ProximitySizingParams.ignore_self_proximity) | Ignore proximity within zonelets. |
| [`ProximitySizingParams.max`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.ProximitySizingParams.max) | Maximum size used for computing edge and face size using proximity size control. |
| [`ProximitySizingParams.min`](https://developer.synopsys.com/docs/primemesh/prime-mesh-python-client-library/2025-r2-sp04/api/_autosummary/ansys.meshing.prime.ProximitySizingParams.min) | Minimum size used for computing edge and face size using proximity size control. |
