Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions 3rdparty/getall
Original file line number Diff line number Diff line change
Expand Up @@ -263,19 +263,12 @@ sub downloadone{
system $cmd;
if($?){
print "Download 2 times failed from $url of $pkg\n";
my $url="http://104.46.50.187/pkg/$pkg";
my $url="https://joliv.et/freefem/pkg/$pkg";
my $cmd="../bin/build/download $url pkg/$pkg $opts";
print "Try (2 times) other site: $url\n";
system $cmd;
if ($?){
print "Download 3 times failed from $url of $pkg\n";
my $url="https://joliv.et/freefem/pkg/$pkg";
my $cmd="../bin/build/download $url pkg/$pkg $opts";
print "Try (2 times) other site: $url\n";
system $cmd;
if ($?){
$errors.="ERROR: $cmd FAILED\n"
}
$errors.="ERROR: $cmd FAILED\n"
}
}

Expand Down
2 changes: 2 additions & 0 deletions src/femlib/BamgFreeFem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ const Fem2D::Mesh * BuildMesh(Stack stack,const Fem2D::MeshL **ppmshL , int nb
}

double diameter=Max(Gh->pmax.x-Gh->pmin.x,Gh->pmax.y-Gh->pmin.y);
eps = Min(eps, diameter*1e-4);
Gh->coefIcoor= (MaxICoor)/diameter;
Icoor1 epsI = (Icoor1) (Gh->coefIcoor*eps);
ffassert(Gh->coefIcoor >0);
Expand Down Expand Up @@ -937,6 +938,7 @@ const Fem2D::Mesh * BuildMesh(Stack stack, E_BorderN const * const & b,bool jus
}

double diameter=Max(Gh->pmax.x-Gh->pmin.x,Gh->pmax.y-Gh->pmin.y);
eps = Min(eps, diameter*1e-4);
Gh->coefIcoor= (MaxICoor)/diameter;
Icoor1 epsI = (Icoor1) (Gh->coefIcoor*eps);
ffassert(Gh->coefIcoor >0);
Expand Down
Loading