MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / revertToStart

Method revertToStart

SRC/material/nD/FSAM.cpp:887–901  ·  view source on GitHub ↗

Revert to start

Source from the content-addressed store, hash-verified

885
886// Revert to start
887int FSAM::revertToStart(void)
888{
889
890 // revert all uniaxial materials to start
891 for (int i=0; i < 8; i++) {
892 theMaterial[i]->revertToStart();
893 }
894
895 // set stress, strain and tangent to zero
896 strain_vec.Zero();
897 stress_vec.Zero();
898 tangent_matrix.Zero();
899
900 return 0;
901}
902
903// Calculate initial partial stiffness matrix
904const Matrix& FSAM::getInitialTangent (void)

Callers 1

FSAMMethod · 0.95

Calls 1

ZeroMethod · 0.45

Tested by

no test coverage detected