Commit f74f47ce authored by Amaury Johnen's avatar Amaury Johnen

cleanup old code for curving 2D BL

parent d949002d
......@@ -110,31 +110,6 @@ namespace BoundaryLayerCurver
void curveEdges(std::vector<MEdgeN> &stack, int iFirst, int iLast);
}
struct Parameters2DCurve {
double thickness[2];
double coeffb[2];
double thicknessAtPoint(double xi, int triDirection = 0) {
if (triDirection == 0)
return thickness[0] * (1 - xi) / 2 + thickness[1] * (1 + xi) / 2;
else if (triDirection > 0)
return thickness[1] * (1 + xi) / 2;
else
return thickness[0] * (1 - xi) / 2;
}
double coeffbAtPoint(double xi, int triDirection = 0) {
if (triDirection == 0)
return coeffb[0] * (1 - xi) / 2 + coeffb[1] * (1 + xi) / 2;
else if (triDirection > 0)
return coeffb[1] * (1 + xi) / 2;
else
return coeffb[0] * (1 - xi) / 2;
}
double characteristicThickness() {
return std::min(std::abs(thickness[0]), std::abs(thickness[1]));
}
};
struct Parameters3DCurve {
double thickness[2];
double coeffb[2];
......@@ -200,13 +175,6 @@ namespace BoundaryLayerCurver
IntPt *intPoints;
};
struct InteriorPlacementData {
std::vector<int> iToMove;
std::vector<double> factor;
std::vector<int> i0;
std::vector<int> i1;
};
struct TFIData {
fullMatrix<double> T0;
fullMatrix<double> T1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment