Skip to content

[ENH] Introduce FiniteFault model with validation, serialization, and spline taper support - #91

Draft
Leguark wants to merge 1 commit into
keops_race_conditionfrom
finite_faults/serializable_input
Draft

[ENH] Introduce FiniteFault model with validation, serialization, and spline taper support#91
Leguark wants to merge 1 commit into
keops_race_conditionfrom
finite_faults/serializable_input

Conversation

@Leguark

@Leguark Leguark commented Jul 27, 2026

Copy link
Copy Markdown
Member

Adds a Pydantic-based FiniteFault dataclass to define finite faults with validated, JSON-serializable fields. Supports cubic, quadratic, and spline tapers, with validation for radii, rotation, and spline control points. Refactors slip calculation logic to use FiniteFault and centralizes controls for consistency. Includes tests for serialization, validation, and taper configurations, along with updated documentation.

…nd spline taper support

Adds a Pydantic-based `FiniteFault` dataclass to define finite faults with validated, JSON-serializable fields. Supports cubic, quadratic, and spline tapers, with validation for radii, rotation, and spline control points. Refactors slip calculation logic to use `FiniteFault` and centralizes controls for consistency. Includes tests for serialization, validation, and taper configurations, along with updated documentation.

Leguark commented Jul 27, 2026

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant