Bond-Filters
Rectangular Plane
A rectangle in a plane given by its normal; bonds crossing it are cut.

The yaml definition looks like this
Bond Filters:
bf_1:
Bottom Length: 2.0
Bottom Unit Vector X: 1.0
Bottom Unit Vector Y: 0.0
Bottom Unit Vector Z: 0.0
Lower Left Corner X: -0.5
Lower Left Corner Y: 0.0
Lower Left Corner Z: -1.0
Normal X: 0.0
Normal Y: 1.0
Normal Z: 0.0
Side Length: 2.0
Type: Rectangular_PlaneDisk
A disk given by its center, normal and radius; bonds crossing it are cut.
Keys
Both filters are entries of Bond Filters in the Discretization section:
| YAML key | Type | Required | Default | Range | Quantity | Description |
|---|---|---|---|---|---|---|
| Type | text | required | one of: Disk, Rectangular_Plane | Shape of the filter | ||
| Normal X | number | required | x component of the normal of the filter plane | |||
| Normal Y | number | required | y component of the normal of the filter plane | |||
| Normal Z | number | optional | — | z component of the normal of the filter plane (3D only) | ||
| Center X | number | optional | — | x coordinate of the disk center; only with Type: Disk | ||
| Center Y | number | optional | — | y coordinate of the disk center; only with Type: Disk | ||
| Center Z | number | optional | — | z coordinate of the disk center (3D only); only with Type: Disk | ||
| Radius | number | optional | — | ≥ 0 | Radius of the disk; only with Type: Disk | |
| Lower Left Corner X | number | optional | — | x coordinate of the lower left corner of the rectangle; only with Type: Rectangular_Plane | ||
| Lower Left Corner Y | number | optional | — | y coordinate of the lower left corner of the rectangle; only with Type: Rectangular_Plane | ||
| Lower Left Corner Z | number | optional | — | z coordinate of the lower left corner of the rectangle (3D only); only with Type: Rectangular_Plane | ||
| Bottom Unit Vector X | number | optional | — | x component of the direction of the rectangle's bottom edge; only with Type: Rectangular_Plane | ||
| Bottom Unit Vector Y | number | optional | — | y component of the direction of the rectangle's bottom edge; only with Type: Rectangular_Plane | ||
| Bottom Unit Vector Z | number | optional | — | z component of the direction of the rectangle's bottom edge (3D only); only with Type: Rectangular_Plane | ||
| Bottom Length | number | optional | — | ≥ 0 | Length of the rectangle along the bottom unit vector; only with Type: Rectangular_Plane | |
| Side Length | number | optional | — | ≥ 0 | Length of the rectangle perpendicular to the bottom edge; only with Type: Rectangular_Plane | |
| Allow Contact | true/false | optional | false | Keeps the filtered bonds as contact bonds so the two sides cannot penetrate each other | ||
| Contact Stiffness Factor | number | optional | 1 | Scales the contact stiffness of the filtered bonds (bond-based micromodulus with the Young's modulus along the filter normal) |