Reformatted whitespace.

This commit is contained in:
Ryan Latture 2017-10-24 14:24:52 -07:00
parent cc304ce779
commit 3a756f4eb5
1 changed files with 4 additions and 5 deletions

View File

@ -299,7 +299,7 @@ TEST_F(beamFEATest, CorrectTipDisplacementCantileverBeam) {
// for the given load in the y-direction of 0.01 yields the correct // for the given load in the y-direction of 0.01 yields the correct
// displacement and rotation // displacement and rotation
std::vector<std::vector<double> > expected = {{0., 0., 0., 0., 0., 0.}, std::vector<std::vector<double> > expected = {{0., 0., 0., 0., 0., 0.},
{0., 0.033333333333333333, 0., 0.0, 0.0, 0.05}}; {0., 0.033333333333333333, 0., 0., 0., 0.05}};
for (size_t i = 0; i < summary.nodal_displacements.size(); ++i) { for (size_t i = 0; i < summary.nodal_displacements.size(); ++i) {
for (size_t j = 0; j < summary.nodal_displacements[i].size(); ++j) for (size_t j = 0; j < summary.nodal_displacements[i].size(); ++j)
@ -324,7 +324,7 @@ TEST_F(beamFEATest, CorrectTipForcesCantileverBeam) {
Summary summary = solve(JOB_CANTILEVER, bcs, forces, ties, equations, opts); Summary summary = solve(JOB_CANTILEVER, bcs, forces, ties, equations, opts);
std::vector<std::vector<double> > expected = {{-0.1, -0.3, 0., 0., 0., -0.3}, std::vector<std::vector<double> > expected = {{-0.1, -0.3, 0., 0., 0., -0.3},
{0.1, 0.3, 0., 0.0, 0.0, 0.0}}; { 0.1, 0.3, 0., 0., 0., 0.}};
for (size_t i = 0; i < summary.nodal_forces.size(); ++i) { for (size_t i = 0; i < summary.nodal_forces.size(); ++i) {
for (size_t j = 0; j < summary.nodal_forces[i].size(); ++j) for (size_t j = 0; j < summary.nodal_forces[i].size(); ++j)
@ -332,7 +332,6 @@ TEST_F(beamFEATest, CorrectTipForcesCantileverBeam) {
} }
} }
// This tests the tie constraints correctly deform. // This tests the tie constraints correctly deform.
// I have extremely stiff elements and apply a // I have extremely stiff elements and apply a
// displacement to the end node. It is expected // displacement to the end node. It is expected