Compute current strain for 1d material mat dispDiff are the displacements of node 2 minus those of node 1
| 1610 | // dispDiff are the displacements of node 2 minus those |
| 1611 | // of node 1 |
| 1612 | double |
| 1613 | ZeroLengthVG_HG::computeCurrentStrain1d( int mat, |
| 1614 | const Vector& dispDiff ) const |
| 1615 | { |
| 1616 | double strain = 0.0; |
| 1617 | |
| 1618 | for (int i=0; i<numDOF/2; i++){ |
| 1619 | strain += -dispDiff(i) * (*t1d)(mat,i); |
| 1620 | } |
| 1621 | |
| 1622 | return strain; |
| 1623 | } |
| 1624 | |
| 1625 | void |
| 1626 | ZeroLengthVG_HG::updateDir(const Vector& x, const Vector& y) |
no outgoing calls
no test coverage detected