Skip to content

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

Merged
Leguark merged 1 commit into
mainfrom
finite_faults/serializable_input
Sep 5, 2026
Merged

[ENH] Introduce FiniteFault model with validation, serialization, and spline taper support#91
Leguark merged 1 commit into
mainfrom
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.

@Leguark
Leguark force-pushed the keops_race_condition branch from fed06f6 to d2d0f6a Compare September 4, 2026 13:17
@Leguark
Leguark force-pushed the finite_faults/serializable_input branch from 4df1bc8 to 5d0a855 Compare September 4, 2026 13:17
@Leguark
Leguark force-pushed the finite_faults/serializable_input branch from 5d0a855 to b65a607 Compare September 4, 2026 13:29
@Leguark
Leguark marked this pull request as ready for review September 4, 2026 13:30

Leguark commented Sep 5, 2026

Copy link
Copy Markdown
Member Author

Merge activity

  • Sep 5, 9:11 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Sep 5, 9:30 AM UTC: Graphite rebased this pull request as part of a merge.
  • Sep 5, 9:32 AM UTC: Graphite couldn't merge this PR because it was not satisfying all requirements (Failed CI: 'TestingEngine (Gempy)').

@Leguark
Leguark changed the base branch from keops_race_condition to graphite-base/91 September 5, 2026 09:12
@Leguark
Leguark changed the base branch from graphite-base/91 to main September 5, 2026 09:28
…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
Leguark force-pushed the finite_faults/serializable_input branch from b65a607 to 4825b3a Compare September 5, 2026 09:29
@Leguark
Leguark merged commit 6a56b98 into main Sep 5, 2026
1 of 5 checks passed
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