Commit 25047a44 authored by Jeremy BLEYER's avatar Jeremy BLEYER

Increase to 256 resolution for FE with Mumps

parent 2897e76a
......@@ -117,7 +117,7 @@ def reference(tabC,res1,c,ec,fr):
ee = np.zeros((3,))
ee[j] = 1
Eps.assign(Constant(ee))
solve(a == L, w, [])#, solver_parameters={"linear_solver": "bicgstab", "preconditioner":"ilu"})
solve(a == L, w, solver_parameters={"linear_solver": "mumps"})#, solver_parameters={"linear_solver": "bicgstab", "preconditioner":"ilu"})
(v, lamb) = split(w)
ffile = XDMFFile('c='+str(c)+'/ech='+str(ec)+'/frac='+str(fr)+'/Strain EF '+case+'.xdmf')
ffile.parameters["functions_share_mesh"] = True
......
......@@ -65,7 +65,7 @@ for c in [100,0.01]:
if im[ii,jj]==1:
tC[ii,jj]=C[1]
ChomEF,CVoigt = reference(tC,128,c,i,f)
ChomEF,CVoigt = reference(tC,256,c,i,f)
fi['ChomEF'][j]=ChomEF
fi['CVoigt'][j]=CVoigt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment