File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,13 +60,16 @@ void StressPlot::updateStresses() {
6060 this ->graph (2 *iLayer+1 )->data ()->clear ();
6161
6262 for (size_t iLength = 0 ; iLength < common.limb .length .size (); ++iLength) {
63+ // Back
6364 this ->graph (2 *iLayer)->addData (
6465 quantity_length.getUnit ().fromBase (common.limb .length [iLength]),
65- quantity_stress.getUnit ().fromBase (std::get<0 >(states.layer_stress [index][iLayer][iLength]))
66+ quantity_stress.getUnit ().fromBase (std::get<1 >(states.layer_stress [index][iLayer][iLength]))
6667 );
68+
69+ // Belly
6770 this ->graph (2 *iLayer+1 )->addData (
6871 quantity_length.getUnit ().fromBase (common.limb .length [iLength]),
69- quantity_stress.getUnit ().fromBase (std::get<1 >(states.layer_stress [index][iLayer][iLength]))
72+ quantity_stress.getUnit ().fromBase (std::get<0 >(states.layer_stress [index][iLayer][iLength]))
7073 );
7174 }
7275 }
You can’t perform that action at this time.
0 commit comments