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

# Schwarz Field

## About this Block

**What it does:** Creates an unbounded Scalar Field defined by a Schwarz Triply Periodic Minimal Surface ([**TPMS**](/block-documentation/blocks/lattices/implicit/tpms.html)). The following equation defines the field:

```
cos(x) + cos(y) + cos(z) = 0
```

The Cell size input specifies the size of the period for a single repetition in x, y, and z.

The amplitude of the distance field scales from -1 to 1 through one period of the pattern.

**Common uses:** Scalar Field input for a **Ramp** block.

**Tips:**

* View the field by using the Field Viewer (hot-key f).
* The values in the **Schwarz Field** are unitless and do not represent an implicit body. Alternatively, the [**Schwarz Body**](/block-documentation/blocks/lattices/periodic/schwarz-body.html) block creates a similar field with distance units and an approximate distance field.

![Schwarz Field](https://storage.googleapis.com/files-learn/static/ExtendedBlockDocs/schwarz_field.jpg)

***

Create an unbounded Scalar Field of a dimensionless Schwarz periodic pattern, with values ranging from -1 to 1.

### Inputs

| Name      | Type                                                   | Description                                                                                 |
| --------- | ------------------------------------------------------ | ------------------------------------------------------------------------------------------- |
| Cell size | [Scalar](../../../../block-documentation/types/scalar) | Size of a single period of the Schwarz function. Amplitude is normalized between -1 and +1. |

### Outputs

| Type                                                               |
| ------------------------------------------------------------------ |
| [Scalar Field](../../../../block-documentation/types/scalar-field) |
