Skip to content

Commit

Permalink
adapting to the new multidim_galerkin_pod interface
Browse files Browse the repository at this point in the history
  • Loading branch information
highlando committed Apr 6, 2022
1 parent a202ec0 commit 7787ac0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion gen_pod_uq/mc_pce_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ def comppart(itspart, filestr):
def setup_pce(distribution='uniform', distrpars={}, pcedim=None, uncdims=None):
# compute the expected value
if distribution == 'uniform':
abscissae, weights = ceu.get_gaussqr_uniform(N=pcedim, **distrpars)
abscissae, weights = ceu.\
get_weighted_gaussqr(N=pcedim, weightfunction=distribution,
**distrpars)

scalefac = (1./weights.sum())**uncdims

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ numpy
scipy
dolfin-navier-scipy>=1.0.0
sadptprj-riclyap-adi>=1.0.0
multidim-galerkin-pod>=1.0.2
multidim-galerkin-pod>=1.1.0

0 comments on commit 7787ac0

Please sign in to comment.