Skip to content

Commit

Permalink
added more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lrajendr committed Apr 6, 2021
1 parent d9cc355 commit 82ba9db
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 93 deletions.
2 changes: 0 additions & 2 deletions DensityIntegrationUncertaintyQuantification.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ def Density_integration_Poisson_uncertainty(Xn,Yn,fluid_mask,grad_x,grad_y,diric
return Pn_ex[1:-1,1:-1], sigma_Pn_ex[1:-1,1:-1]



def Density_integration_WLS_uncertainty(Xn,Yn,fluid_mask,grad_x,grad_y,dirichlet_label,dirichlet_value,
uncertainty_quantification=True, sigma_grad_x=None, sigma_grad_y=None, sigma_dirichlet=None):
# Evaluate the density field from the gradient fields by solving the WLS system.
Expand Down Expand Up @@ -323,7 +322,6 @@ def Density_integration_WLS_uncertainty(Xn,Yn,fluid_mask,grad_x,grad_y,dirichlet
sigma_Pn_ex[j,i] = Var_p_vect**0.5

return Pn_WLS_ex[1:-1,1:-1], sigma_Pn_ex[1:-1,1:-1]



def Density_integration_WLS_uncertainty_weighted_average(Xn,Yn,fluid_mask,grad_x,grad_y,dirichlet_label,dirichlet_value,
Expand Down
Binary file not shown.
Binary file modified sample-result.mat
Binary file not shown.
Binary file modified sample-result.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 82ba9db

Please sign in to comment.