| 210 | } |
| 211 | |
| 212 | int |
| 213 | PFEMElement2DCompressible::commitState() |
| 214 | { |
| 215 | // Vector bdisp(2); |
| 216 | // for(int a=0; a<3; a++) { |
| 217 | // const Vector& disp = nodes[2*a]->getTrialDisp(); |
| 218 | // bdisp(0) += disp(0); |
| 219 | // bdisp(1) += disp(1); |
| 220 | // } |
| 221 | // bdisp /= 3.0; |
| 222 | // nodes[6]->setTrialDisp(bdisp); |
| 223 | // nodes[6]->commitState(); |
| 224 | if (!dispon) { |
| 225 | if (updateJacobian() < 0) return -1; |
| 226 | } |
| 227 | return Element::commitState(); |
| 228 | } |
| 229 | |
| 230 | int |
| 231 | PFEMElement2DCompressible::update() |
nothing calls this directly
no test coverage detected