Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FaultSlip: interpolation error if 0 < l_difference < 1 #104

Open
VvanderHeiden opened this issue Feb 14, 2025 · 0 comments
Open

FaultSlip: interpolation error if 0 < l_difference < 1 #104

VvanderHeiden opened this issue Feb 14, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@VvanderHeiden
Copy link
Collaborator

When the slip patch length is approaching the theoretical nucleation length but still above zero, we cannot interpolate as there is not 'zero crossing'.

ERROR:
Error using interp1 (line 188)
Interpolation requires at least two sample points for each grid dimension.

Error in FaultSlip/detect_nucleation (line 174)
nucleation_per_slip_zone(j) = interp1(l_difference(unique_index), x(unique_index), 0);

Error in panther (line 79)
parfor (i = 1 : n_members, matlab_workers)

Error in MultiFaultCalculator/run (line 40)
parfor i = 1 : n

SOURCE:
https://github.com/TNO/PANTHER/blob/f19dad44702c84555740b8d4290f35639ba24c15/src/calculator/FaultSlip.m#L163C21-L163C72

@VvanderHeiden VvanderHeiden added the bug Something isn't working label Feb 14, 2025
@VvanderHeiden VvanderHeiden self-assigned this Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant