mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
Merge branch 'calclocalh_use_point' into 'master'
change CalcLocalH to use Point<D> instead of PointDd See merge request jschoeberl/netgen!258
This commit is contained in:
commit
78094016bf
@ -50,7 +50,7 @@ int Meshing2Surfaces :: TransformFromPlain (const Point<2> & planepoint,
|
||||
|
||||
|
||||
|
||||
double Meshing2Surfaces :: CalcLocalH (const Point3d & p, double gh) const
|
||||
double Meshing2Surfaces :: CalcLocalH (const Point<3> & p, double gh) const
|
||||
{
|
||||
return surface.LocH (p, 3, 1, mparam, gh);
|
||||
/*
|
||||
|
@ -36,7 +36,7 @@ namespace netgen
|
||||
PointGeomInfo & gi,
|
||||
double h) override;
|
||||
///
|
||||
double CalcLocalH(const Point3d & p, double gh) const override;
|
||||
double CalcLocalH(const Point<3> & p, double gh) const override;
|
||||
};
|
||||
|
||||
|
||||
|
@ -116,7 +116,7 @@ namespace netgen
|
||||
}
|
||||
|
||||
|
||||
double Meshing2 :: CalcLocalH (const Point3d & /* p */, double gh) const
|
||||
double Meshing2 :: CalcLocalH (const Point<3> & /* p */, double gh) const
|
||||
{
|
||||
return gh;
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ protected:
|
||||
///
|
||||
virtual void EndMesh ();
|
||||
///
|
||||
virtual double CalcLocalH (const Point3d & p, double gh) const;
|
||||
virtual double CalcLocalH (const Point<3> & p, double gh) const;
|
||||
|
||||
///
|
||||
virtual void DefineTransformation (const Point<3> & p1, const Point<3> & p2,
|
||||
|
@ -458,7 +458,7 @@ namespace netgen
|
||||
|
||||
|
||||
|
||||
double Meshing2OCCSurfaces :: CalcLocalH (const Point3d & p, double gh) const
|
||||
double Meshing2OCCSurfaces :: CalcLocalH (const Point<3> & p, double gh) const
|
||||
{
|
||||
return gh;
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ protected:
|
||||
PointGeomInfo & gi,
|
||||
double h) override;
|
||||
///
|
||||
double CalcLocalH (const Point3d & p, double gh) const override;
|
||||
double CalcLocalH (const Point<3> & p, double gh) const override;
|
||||
|
||||
};
|
||||
|
||||
|
@ -1042,7 +1042,7 @@ BelongsToActiveChart (const Point3d & p,
|
||||
|
||||
|
||||
|
||||
double MeshingSTLSurface :: CalcLocalH (const Point3d & p, double gh) const
|
||||
double MeshingSTLSurface :: CalcLocalH (const Point<3> & p, double gh) const
|
||||
{
|
||||
return gh;
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ protected:
|
||||
NgArray<INDEX_2> & lines, double h) const override;
|
||||
|
||||
///
|
||||
double CalcLocalH (const Point3d & p, double gh) const override;
|
||||
double CalcLocalH (const Point<3> & p, double gh) const override;
|
||||
|
||||
///
|
||||
double Area () const override;
|
||||
|
Loading…
Reference in New Issue
Block a user