@@ -5155,8 +5155,10 @@ void CEulerSolver::BC_Far_Field(CGeometry *geometry, CSolver **solver_container,
51555155 /* --- Set the normal vector and the coordinates ---*/
51565156
51575157 visc_numerics->SetNormal (Normal);
5158- visc_numerics->SetCoord (geometry->nodes ->GetCoord (iPoint),
5159- geometry->nodes ->GetCoord (Point_Normal));
5158+ su2double Coord_Reflected[MAXNDIM];
5159+ GeometryToolbox::PointPointReflect (nDim, geometry->nodes ->GetCoord (Point_Normal),
5160+ geometry->nodes ->GetCoord (iPoint), Coord_Reflected);
5161+ visc_numerics->SetCoord (geometry->nodes ->GetCoord (iPoint), Coord_Reflected);
51605162
51615163 /* --- Primitive variables, and gradient ---*/
51625164
@@ -5623,7 +5625,10 @@ void CEulerSolver::BC_Riemann(CGeometry *geometry, CSolver **solver_container,
56235625 /* --- Set the normal vector and the coordinates ---*/
56245626
56255627 visc_numerics->SetNormal (Normal);
5626- visc_numerics->SetCoord (geometry->nodes ->GetCoord (iPoint), geometry->nodes ->GetCoord (Point_Normal));
5628+ su2double Coord_Reflected[MAXNDIM];
5629+ GeometryToolbox::PointPointReflect (nDim, geometry->nodes ->GetCoord (Point_Normal),
5630+ geometry->nodes ->GetCoord (iPoint), Coord_Reflected);
5631+ visc_numerics->SetCoord (geometry->nodes ->GetCoord (iPoint), Coord_Reflected);
56275632
56285633 /* --- Primitive variables, and gradient ---*/
56295634
@@ -6137,7 +6142,10 @@ void CEulerSolver::BC_TurboRiemann(CGeometry *geometry, CSolver **solver_contain
61376142 /* --- Set the normal vector and the coordinates ---*/
61386143
61396144 visc_numerics->SetNormal (Normal);
6140- visc_numerics->SetCoord (geometry->nodes ->GetCoord (iPoint), geometry->nodes ->GetCoord (Point_Normal));
6145+ su2double Coord_Reflected[MAXNDIM];
6146+ GeometryToolbox::PointPointReflect (nDim, geometry->nodes ->GetCoord (Point_Normal),
6147+ geometry->nodes ->GetCoord (iPoint), Coord_Reflected);
6148+ visc_numerics->SetCoord (geometry->nodes ->GetCoord (iPoint), Coord_Reflected);
61416149
61426150 /* --- Primitive variables, and gradient ---*/
61436151
@@ -7037,7 +7045,10 @@ void CEulerSolver::BC_Giles(CGeometry *geometry, CSolver **solver_container, CNu
70377045 /* --- Set the normal vector and the coordinates ---*/
70387046
70397047 visc_numerics->SetNormal (Normal);
7040- visc_numerics->SetCoord (geometry->nodes ->GetCoord (iPoint), geometry->nodes ->GetCoord (Point_Normal));
7048+ su2double Coord_Reflected[MAXNDIM];
7049+ GeometryToolbox::PointPointReflect (nDim, geometry->nodes ->GetCoord (Point_Normal),
7050+ geometry->nodes ->GetCoord (iPoint), Coord_Reflected);
7051+ visc_numerics->SetCoord (geometry->nodes ->GetCoord (iPoint), Coord_Reflected);
70417052
70427053 /* --- Primitive variables, and gradient ---*/
70437054
@@ -7377,7 +7388,10 @@ void CEulerSolver::BC_Inlet(CGeometry *geometry, CSolver **solver_container,
73777388// /*--- Set the normal vector and the coordinates ---*/
73787389//
73797390// visc_numerics->SetNormal(Normal);
7380- // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), geometry->nodes->GetCoord(Point_Normal));
7391+ // su2double Coord_Reflected[MAXNDIM];
7392+ // GeometryToolbox::PointPointReflect(nDim, geometry->nodes->GetCoord(Point_Normal),
7393+ // geometry->nodes->GetCoord(iPoint), Coord_Reflected);
7394+ // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), Coord_Reflected);
73817395//
73827396// /*--- Primitive variables, and gradient ---*/
73837397//
@@ -7551,7 +7565,10 @@ void CEulerSolver::BC_Outlet(CGeometry *geometry, CSolver **solver_container,
75517565// /*--- Set the normal vector and the coordinates ---*/
75527566//
75537567// visc_numerics->SetNormal(Normal);
7554- // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), geometry->nodes->GetCoord(Point_Normal));
7568+ // su2double Coord_Reflected[MAXNDIM];
7569+ // GeometryToolbox::PointPointReflect(nDim, geometry->nodes->GetCoord(Point_Normal),
7570+ // geometry->nodes->GetCoord(iPoint), Coord_Reflected);
7571+ // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), Coord_Reflected);
75557572//
75567573// /*--- Primitive variables, and gradient ---*/
75577574//
@@ -7695,7 +7712,10 @@ void CEulerSolver::BC_Supersonic_Inlet(CGeometry *geometry, CSolver **solver_con
76957712// /*--- Set the normal vector and the coordinates ---*/
76967713//
76977714// visc_numerics->SetNormal(Normal);
7698- // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), geometry->nodes->GetCoord(Point_Normal));
7715+ // su2double Coord_Reflected[MAXNDIM];
7716+ // GeometryToolbox::PointPointReflect(nDim, geometry->nodes->GetCoord(Point_Normal),
7717+ // geometry->nodes->GetCoord(iPoint), Coord_Reflected);
7718+ // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), Coord_Reflected);
76997719//
77007720// /*--- Primitive variables, and gradient ---*/
77017721//
@@ -7817,7 +7837,10 @@ void CEulerSolver::BC_Supersonic_Outlet(CGeometry *geometry, CSolver **solver_co
78177837// /*--- Set the normal vector and the coordinates ---*/
78187838//
78197839// visc_numerics->SetNormal(Normal);
7820- // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), geometry->nodes->GetCoord(Point_Normal));
7840+ // su2double Coord_Reflected[MAXNDIM];
7841+ // GeometryToolbox::PointPointReflect(nDim, geometry->nodes->GetCoord(Point_Normal),
7842+ // geometry->nodes->GetCoord(iPoint), Coord_Reflected);
7843+ // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), Coord_Reflected);
78217844//
78227845// /*--- Primitive variables, and gradient ---*/
78237846//
@@ -8037,7 +8060,10 @@ void CEulerSolver::BC_Engine_Inflow(CGeometry *geometry, CSolver **solver_contai
80378060// /*--- Set the normal vector and the coordinates ---*/
80388061//
80398062// visc_numerics->SetNormal(Normal);
8040- // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), geometry->nodes->GetCoord(Point_Normal));
8063+ // su2double Coord_Reflected[MAXNDIM];
8064+ // GeometryToolbox::PointPointReflect(nDim, geometry->nodes->GetCoord(Point_Normal),
8065+ // geometry->nodes->GetCoord(iPoint), Coord_Reflected);
8066+ // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), Coord_Reflected);
80418067//
80428068// /*--- Primitive variables, and gradient ---*/
80438069//
@@ -8288,7 +8314,10 @@ void CEulerSolver::BC_Engine_Exhaust(CGeometry *geometry, CSolver **solver_conta
82888314// /*--- Set the normal vector and the coordinates ---*/
82898315//
82908316// visc_numerics->SetNormal(Normal);
8291- // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), geometry->nodes->GetCoord(Point_Normal));
8317+ // su2double Coord_Reflected[MAXNDIM];
8318+ // GeometryToolbox::PointPointReflect(nDim, geometry->nodes->GetCoord(Point_Normal),
8319+ // geometry->nodes->GetCoord(iPoint), Coord_Reflected);
8320+ // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), Coord_Reflected);
82928321//
82938322// /*--- Primitive variables, and gradient ---*/
82948323//
@@ -8848,7 +8877,10 @@ void CEulerSolver::BC_ActDisk(CGeometry *geometry, CSolver **solver_container, C
88488877// /*--- Set the normal vector and the coordinates ---*/
88498878//
88508879// visc_numerics->SetNormal(Normal);
8851- // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), geometry->node[iPoint_Normal]->GetCoord());
8880+ // su2double Coord_Reflected[MAXNDIM];
8881+ // GeometryToolbox::PointPointReflect(nDim, geometry->nodes->GetCoord(Point_Normal),
8882+ // geometry->nodes->GetCoord(iPoint), Coord_Reflected);
8883+ // visc_numerics->SetCoord(geometry->nodes->GetCoord(iPoint), Coord_Reflected);
88528884//
88538885// /*--- Primitive variables, and gradient ---*/
88548886//
0 commit comments