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

change function to read in presample stress and fault points #13

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

wangwj679
Copy link
Contributor

user_prescribed_fault
(1) UserPrescribedFaultActivation.EvaluatePfail(Npressures=2, Nsamples=1e6)
Similar as before, change the function to read in the pre-sampled stress points to save time .
CriticalFaultActivation.EvaluatePfail(self, Npressures=20, Nsamples=1e6,shmin=None, shmax=None, sv=None)

(2) change the PlotFailureProbability so that it plots (dP versus Prob, instead of Pressure versus Prob), optional inputs for fault samples
CriticalFaultActivation.PlotFailureProbability(Npressures, Nsamples, figwidth, n_fault_p)

(3) change the evaluateFail to read in pre-sampled faults and stress infos
CriticalFaultActivation.EvaluatePfail(self, Npressures=20, Nsamples=1e6,
shmin=None, shmax=None, sv=None,
n_fault_p=n_fault_p)

@jeff788 jeff788 merged commit ab67c71 into master Jun 6, 2024
4 checks passed
@wangwj679 wangwj679 deleted the changeplot2dP branch June 6, 2024 22:36
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.

2 participants