Skip to content

Commit 743d0d9

Browse files
committed
Removed tabs for spaces
1 parent d576687 commit 743d0d9

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

Common/src/grid_movement/CSurfaceMovement.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ void CSurfaceMovement::SetSurface_Deformation(CGeometry *geometry, CConfig *conf
320320
}
321321

322322
/*--- Set total deformation values in config ---*/
323-
if (config->GetKind_SU2() == SU2_DEF){
323+
if (config->GetKind_SU2() == SU2_DEF){
324324
unsigned short iDV_Value;
325325
su2double dv_value;
326326
for (iDV = 0; iDV < config->GetnDV(); iDV++) {
@@ -354,17 +354,17 @@ void CSurfaceMovement::SetSurface_Deformation(CGeometry *geometry, CConfig *conf
354354
}
355355

356356
/*--- Lower the deformation magnitude and add this to the total deformation value in config ---*/
357-
for (iDV = 0; iDV < config->GetnDV(); iDV++) {
357+
for (iDV = 0; iDV < config->GetnDV(); iDV++) {
358358
for (iDV_Value = 0; iDV_Value < config->GetnDV_Value(iDV); iDV_Value++) {
359359
dv_value = config->GetDV_Value(iDV, iDV_Value);
360360
config->SetDV_Value(iDV, iDV_Value, -dv_value/2);
361361
totaldeformation[iDV][iDV_Value] -= dv_value/2;
362362
}
363363
}
364-
365-
DeformationDifference /= 2.0;
366-
DeformationFactor -= DeformationDifference;
367-
nNegativeDeterminants_previous = nNegativeDeterminants;
364+
365+
DeformationDifference /= 2.0;
366+
DeformationFactor -= DeformationDifference;
367+
nNegativeDeterminants_previous = nNegativeDeterminants;
368368

369369
/*--- Recursively check for self-intersections. ---*/
370370
unsigned short FFD_IntPrev_Iter, FFD_IntPrev_Depth = 0;
@@ -393,7 +393,7 @@ void CSurfaceMovement::SetSurface_Deformation(CGeometry *geometry, CConfig *conf
393393
/*--- Recompute cartesian coordinates using the new control point location ---*/
394394
MaxDiff = SetCartesianCoord(geometry, config, FFDBox[iFFDBox], iFFDBox, false);
395395

396-
/*--- Check for self-intersections in FFD box ---*/
396+
/*--- Check for self-intersections in FFD box ---*/
397397
nNegativeDeterminants = calculateJacobianDeterminant(geometry, config, FFDBox[iFFDBox]);
398398

399399
if (rank == MASTER_NODE) {
@@ -404,8 +404,8 @@ void CSurfaceMovement::SetSurface_Deformation(CGeometry *geometry, CConfig *conf
404404

405405
/*--- Recursively change deformation magnitude.
406406
Increase if there are no points with negative determinants, decrease otherwise. ---*/
407-
if (nNegativeDeterminants == 0){
408-
DeformationDifference = abs(DeformationDifference/2.0);
407+
if (nNegativeDeterminants == 0){
408+
DeformationDifference = abs(DeformationDifference/2.0);
409409

410410
/*--- Update recursion depth if there are no points with negative determinant.
411411
Quit if maximum depth is reached. ---*/

0 commit comments

Comments
 (0)