← Back to team overview

yade-dev team mailing list archive

getStress in Triax

 

Hi,

I was looking at this function, line 24 of TriaxialStressController.cpp

Vector3r TriaxialStressController::getStress(int boundId) {assert
(boundId>=0 && boundId<=5); return stress[boundId];}

and my question is: how is it possible that typing in python
triax.stress(100) gives a result? What is assert function doing here?

Chiara

Follow ups