Skip to content

Commit 0b0d635

Browse files
committed
fix minclustersize -> maxleafsize
1 parent 98c65be commit 0b0d635

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/bem/Helmholtz_circle_Dirichlet_all_indirect.edp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,23 @@ fespace Uh(Th,P1);
2727
// Hmatrix for formulation of first kind
2828
BemKernel ker1("SL",k=k);
2929
varf 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);
3131
if (mpirank == 0) cout << HFirstKind.infos << endl;
3232
display(HFirstKind);
3333

3434
// Hmatrix for formulation of second kind
3535
BemKernel ker2("DL",k=k);
3636
varf 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);
3939
if (mpirank == 0) cout << HSecondKind.infos << endl;
4040
display(HSecondKind);
4141

4242
// Hmatrix for combined formulation
4343
BemKernel ker5=-1i*k*ker1+ker2;
4444
varf 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

4848
if (mpirank == 0) cout << HCombined.infos << endl;
4949
display(HCombined);
@@ -89,15 +89,15 @@ vinc = finc;
8989
// HMatrix for single layer potential
9090
BemPotential SLPot("SL",k=k);
9191
varf 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

9494
if (mpirank == 0) cout << HSLPot.infos << endl;
9595
display(HSLPot);
9696

9797
// HMatrix for double layer potential
9898
BemPotential DLPot("DL",k=k);
9999
varf 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

102102
if (mpirank == 0) cout << HDLPot.infos << endl;
103103
display(HDLPot);

0 commit comments

Comments
 (0)