| 188 | } |
| 189 | |
| 190 | int |
| 191 | PFEMElement2DQuasi::commitState() |
| 192 | { |
| 193 | Vector bdisp(2); |
| 194 | for(int a=0; a<3; a++) { |
| 195 | const Vector& disp = nodes[2*a]->getTrialDisp(); |
| 196 | bdisp(0) += disp(0); |
| 197 | bdisp(1) += disp(1); |
| 198 | } |
| 199 | bdisp /= 3.0; |
| 200 | nodes[6]->setTrialDisp(bdisp); |
| 201 | nodes[6]->commitState(); |
| 202 | return Element::commitState(); |
| 203 | } |
| 204 | |
| 205 | int |
| 206 | PFEMElement2DQuasi::update() |
nothing calls this directly
no test coverage detected