Skip to content

FIX: properly handle zero epicentral distance without clamping r - #281

Merged
Dengda98 merged 1 commit into
mainfrom
zero_distance
Aug 5, 2026
Merged

FIX: properly handle zero epicentral distance without clamping r#281
Dengda98 merged 1 commit into
mainfrom
zero_distance

Conversation

@Dengda98

@Dengda98 Dengda98 commented Aug 5, 2026

Copy link
Copy Markdown
Owner
  • Remove the old practice of rewriting r=0 to 1e-5. Introduce GRT_IS_ZERO (threshold 1e-8) and evaluate near-field Bessel terms via exact kr→0 limits in k_integ, so displacement/derivatives remain well-defined on axis.
  • At r=0, keep the two-step ZRT covariant split: synthesize the finite part of (1/r)∂_θ with ∂_r Green's functions, and replace u/r connection terms by ∂_r u in coord / stress / strain / rotation.
  • Force azimuth to 0° (e_r→N, e_θ→E) and reject FIM/SAFIM when any distance is zero.

@Dengda98
Dengda98 merged commit 8f6c92f into main Aug 5, 2026
9 checks passed
@Dengda98
Dengda98 deleted the zero_distance branch August 5, 2026 04:44
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