mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20:34 +05:00
fix warnings
This commit is contained in:
parent
bcc15fbc30
commit
75e84ea40f
@ -480,7 +480,7 @@ namespace netgen
|
|||||||
|
|
||||||
NgArray<PointIndex, PointIndex::BASE> nextpi(bnp);
|
NgArray<PointIndex, PointIndex::BASE> nextpi(bnp);
|
||||||
NgArray<int, PointIndex::BASE> si1(bnp), si2(bnp);
|
NgArray<int, PointIndex::BASE> si1(bnp), si2(bnp);
|
||||||
PointIndex firstpi;
|
// PointIndex firstpi;
|
||||||
|
|
||||||
nextpi = -1;
|
nextpi = -1;
|
||||||
si1 = -1;
|
si1 = -1;
|
||||||
|
@ -102,7 +102,7 @@ namespace netgen
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Refinement2d :: ProjectToSurface (Point<3> & p, int surfi, const PointGeomInfo & /* gi */) const
|
void Refinement2d :: ProjectToSurface (Point<3> & p, int surfi, PointGeomInfo & /* gi */) const
|
||||||
{
|
{
|
||||||
p(2) = 0;
|
p(2) = 0;
|
||||||
}
|
}
|
||||||
|
@ -23,25 +23,25 @@ namespace netgen
|
|||||||
int surfi,
|
int surfi,
|
||||||
const PointGeomInfo & gi1,
|
const PointGeomInfo & gi1,
|
||||||
const PointGeomInfo & gi2,
|
const PointGeomInfo & gi2,
|
||||||
Point<3> & newp, PointGeomInfo & newgi) const;
|
Point<3> & newp, PointGeomInfo & newgi) const override;
|
||||||
|
|
||||||
virtual void PointBetween (const Point<3> & p1, const Point<3> & p2, double secpoint,
|
virtual void PointBetween (const Point<3> & p1, const Point<3> & p2, double secpoint,
|
||||||
int surfi1, int surfi2,
|
int surfi1, int surfi2,
|
||||||
const EdgePointGeomInfo & ap1,
|
const EdgePointGeomInfo & ap1,
|
||||||
const EdgePointGeomInfo & ap2,
|
const EdgePointGeomInfo & ap2,
|
||||||
Point<3> & newp, EdgePointGeomInfo & newgi) const;
|
Point<3> & newp, EdgePointGeomInfo & newgi) const override;
|
||||||
|
|
||||||
|
|
||||||
virtual Vec<3> GetTangent (const Point<3> & p, int surfi1, int surfi2,
|
virtual Vec<3> GetTangent (const Point<3> & p, int surfi1, int surfi2,
|
||||||
const EdgePointGeomInfo & ap1) const;
|
const EdgePointGeomInfo & ap1) const override;
|
||||||
|
|
||||||
virtual Vec<3> GetNormal (const Point<3> & p, int surfi1,
|
virtual Vec<3> GetNormal (const Point<3> & p, int surfi1,
|
||||||
const PointGeomInfo & gi) const;
|
const PointGeomInfo & gi) const override;
|
||||||
|
|
||||||
virtual void ProjectToSurface (Point<3> & p, int surfi, const PointGeomInfo & /* gi */) const;
|
virtual void ProjectToSurface (Point<3> & p, int surfi, PointGeomInfo & /* gi */) const override;
|
||||||
|
|
||||||
virtual void ProjectToEdge (Point<3> & p, int surfi1, int surfi2,
|
virtual void ProjectToEdge (Point<3> & p, int surfi1, int surfi2,
|
||||||
const EdgePointGeomInfo & egi) const;
|
const EdgePointGeomInfo & egi) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ namespace netgen
|
|||||||
NgArray < SplineSeg<D>* > splines;
|
NgArray < SplineSeg<D>* > splines;
|
||||||
|
|
||||||
SplineGeometry() : geompoints{}, splines{} { ; }
|
SplineGeometry() : geompoints{}, splines{} { ; }
|
||||||
DLL_HEADER ~SplineGeometry();
|
virtual DLL_HEADER ~SplineGeometry();
|
||||||
|
|
||||||
DLL_HEADER int Load (const NgArray<double> & raw_data, const int startpos = 0);
|
DLL_HEADER int Load (const NgArray<double> & raw_data, const int startpos = 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user