← Back to team overview

yade-dev team mailing list archive

Re: getStress in Triax

 

assert's are disabled in optimized build. Does it answer your question? :-)

B

On 17/05/11 19:12, Chiara Modenese wrote:
> 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
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp


-- 
_______________
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53 - 38041, Grenoble cedex 9 - France
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43
________________


Follow ups

References