← Back to team overview

yade-dev team mailing list archive

getStress in TSC

 

Hi,

I see this function in TSC engine

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

Even if you assert the id of the boundary, it seems that it returns a value
with no error message also if you type label.stress(20) in python (being
label the name of the engine). Is it expected? Just to know.

Chiara

Follow ups