mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 06:10:34 +05:00
fixes for bisect
This commit is contained in:
parent
dc50dd51f8
commit
b911ab22d7
@ -4013,7 +4013,7 @@ namespace netgen
|
|||||||
const EdgePointGeomInfo & ap2,
|
const EdgePointGeomInfo & ap2,
|
||||||
Point<3> & newp, EdgePointGeomInfo & newgi) const
|
Point<3> & newp, EdgePointGeomInfo & newgi) const
|
||||||
{
|
{
|
||||||
cout << "base class edge point between" << endl;
|
//cout << "base class edge point between" << endl;
|
||||||
newp = p1+secpoint*(p2-p1);
|
newp = p1+secpoint*(p2-p1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -432,7 +432,10 @@ DLL_HEADER void ExportNetgenMeshing()
|
|||||||
.def ("Refine", FunctionPointer
|
.def ("Refine", FunctionPointer
|
||||||
([](Mesh & self)
|
([](Mesh & self)
|
||||||
{
|
{
|
||||||
|
if (self.GetGeometry())
|
||||||
self.GetGeometry()->GetRefinement().Refine(self);
|
self.GetGeometry()->GetRefinement().Refine(self);
|
||||||
|
else
|
||||||
|
Refinement().Refine(self);
|
||||||
}))
|
}))
|
||||||
|
|
||||||
.def ("BoundaryLayer", FunctionPointer
|
.def ("BoundaryLayer", FunctionPointer
|
||||||
|
Loading…
Reference in New Issue
Block a user