some work

This commit is contained in:
Matthias Hochsteger 2023-11-22 19:21:26 +01:00
parent 9995549257
commit 96488d0626
2 changed files with 478 additions and 532 deletions

File diff suppressed because it is too large Load Diff

View File

@ -34,11 +34,6 @@ DLL_HEADER int /* new_domain_number */ GenerateBoundaryLayer2 (Mesh & mesh, int
class BoundaryLayerTool
{
public:
struct Face {
ArrayMem<Point<3>, 4> p;
ArrayMem<double, 4> lam;
};
BoundaryLayerTool(Mesh & mesh_, const BoundaryLayerParameters & params_);
void Perform();
@ -81,14 +76,6 @@ class BoundaryLayerTool
void AddSegments();
void FixVolumeElements();
// utility functions
array<Point<3>, 2> GetMappedSeg( PointIndex pi );
Face GetFace( SurfaceElementIndex sei );
Face GetMappedFace( SurfaceElementIndex sei );
Face GetMappedFace( SurfaceElementIndex sei, int face );
void LimitGrowthVector(PointIndex pi, SurfaceElementIndex sei, FlatArray<double, PointIndex> new_limits, T_Range<int> range);
Vec<3> getNormal(const Element2d & el)
{
auto v0 = mesh[el[0]];