You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a polygon with phase & temperature structure to a 3D model setup in the xy plane. This function extends the capabilities of `add_polygon!` by allowing the creation of polygons in the xy plane and projecting them along the z-axis, making it particularly useful for creating tectonic plates with varying geometries.
761
+
762
+
Parameters
763
+
==========
764
+
- `Phase` - Phase array (consistent with Grid)
765
+
- `Temp` - Temperature array (consistent with Grid)
766
+
- `Grid` - Grid structure (usually obtained with read_LaMEM_inputfile)
767
+
- `xlim` - `x`-coordinate of the polygon points, same ordering as ylim, number of points unlimited
768
+
- `ylim` - `y`-coordinate of the polygon points, same ordering as xlim, number of points unlimited
769
+
- `zlim` - `z`-coordinate range for projecting the polygon (start and stop, two values)
770
+
- `phase` - Specifies the phase of the polygon. See `ConstantPhase()`
771
+
- `T` - Specifies the temperature of the polygon. See `ConstantTemp()`, `LinearTemp()`, `HalfspaceCoolingTemp()`, `SpreadingRateTemp()`
772
+
- `segments` - Optional. Allows for thermal segmentation within the polygon. Useful for ridge systems or complex thermal structures.
773
+
- `cell` - If true, `Phase` and `Temp` are defined on cell centers
774
+
775
+
Example
776
+
========
777
+
778
+
Polygon in the xy plane with constant phase and temperature:
0 commit comments