@@ -27,23 +27,23 @@ fespace Uh(Th,P1);
2727// Hmatrix for formulation of first kind
2828BemKernel ker1("SL",k=k);
2929varf vk1(u,v)=int1dx1d(Th)(Th)(BEM(ker1,u,v)) ;
30- HMatrix<complex> HFirstKind = vk1(Uh,Uh,eta=10,eps=1e-3,minclustersize =10);
30+ HMatrix<complex> HFirstKind = vk1(Uh,Uh,eta=10,eps=1e-3,maxleafsize =10);
3131if (mpirank == 0) cout << HFirstKind.infos << endl;
3232display(HFirstKind);
3333
3434// Hmatrix for formulation of second kind
3535BemKernel ker2("DL",k=k);
3636varf vk2(u,v)=int1dx1d(Th)(Th)(BEM(ker2,u,v)) + int1d(Th)(0.5*u*v);
3737
38- HMatrix<complex> HSecondKind = vk2(Uh,Uh,eta=10,eps=1e-3,minclustersize =10);
38+ HMatrix<complex> HSecondKind = vk2(Uh,Uh,eta=10,eps=1e-3,maxleafsize =10);
3939if (mpirank == 0) cout << HSecondKind.infos << endl;
4040display(HSecondKind);
4141
4242// Hmatrix for combined formulation
4343BemKernel ker5=-1i*k*ker1+ker2;
4444varf vk3(u,v)=int1dx1d(Th)(Th)(BEM(ker5,u,v)) + int1d(Th)(0.5*u*v);
4545
46- HMatrix<complex> HCombined = vk3(Uh,Uh,eta=10,eps=1e-3,minclustersize =10);
46+ HMatrix<complex> HCombined = vk3(Uh,Uh,eta=10,eps=1e-3,maxleafsize =10);
4747
4848if (mpirank == 0) cout << HCombined.infos << endl;
4949display(HCombined);
@@ -89,15 +89,15 @@ vinc = finc;
8989// HMatrix for single layer potential
9090BemPotential SLPot("SL",k=k);
9191varf vpSL(u,v)=int1d(Th)(POT(SLPot,u,v)) ;
92- HMatrix<complex> HSLPot = vpSL(Uh,UhOut,eta=10,eps=1e-3,minclustersize =10);
92+ HMatrix<complex> HSLPot = vpSL(Uh,UhOut,eta=10,eps=1e-3,maxleafsize =10);
9393
9494if (mpirank == 0) cout << HSLPot.infos << endl;
9595display(HSLPot);
9696
9797// HMatrix for double layer potential
9898BemPotential DLPot("DL",k=k);
9999varf vpDL(u,v)=int1d(Th)(POT(DLPot,u,v)) ;
100- HMatrix<complex> HDLPot = vpDL(Uh,UhOut,eta=10,eps=1e-3,minclustersize =10);
100+ HMatrix<complex> HDLPot = vpDL(Uh,UhOut,eta=10,eps=1e-3,maxleafsize =10);
101101
102102if (mpirank == 0) cout << HDLPot.infos << endl;
103103display(HDLPot);
0 commit comments