Skip to content

Commit

Permalink
clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
timryanb committed Jan 14, 2025
1 parent 7cd8c0b commit c6b91b7
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/elements/TACSElementTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ int TacsGetOutputComponentCount(ElementType etype, int comp) {
return 14;
} else if (comp == TACS_OUTPUT_LOADS) {
return 6;
}
else if (comp == TACS_OUTPUT_COORDINATE_FRAME) {
} else if (comp == TACS_OUTPUT_COORDINATE_FRAME) {
return 9;
}
} else if (etype == TACS_PLANE_STRESS_ELEMENT) {
Expand Down Expand Up @@ -351,28 +350,29 @@ const char *TacsGetOutputComponentName(ElementType etype, int comp, int index) {
default:
return NULL;
}
} if (comp == TACS_OUTPUT_COORDINATE_FRAME) {
switch (index) {
case 0:
return "t0x";
case 1:
return "t0y";
case 2:
return "t0z";
case 3:
return "t1x";
case 4:
return "t1y";
case 5:
return "t1z";
case 6:
return "t2x";
case 7:
return "t2y";
case 8:
return "t2z";
default:
return NULL;
}
if (comp == TACS_OUTPUT_COORDINATE_FRAME) {
switch (index) {
case 0:
return "t0x";
case 1:
return "t0y";
case 2:
return "t0z";
case 3:
return "t1x";
case 4:
return "t1y";
case 5:
return "t1z";
case 6:
return "t2x";
case 7:
return "t2y";
case 8:
return "t2z";
default:
return NULL;
}
}
} else if (etype == TACS_PLANE_STRESS_ELEMENT) {
Expand Down

0 comments on commit c6b91b7

Please sign in to comment.