getdisp()

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
tangzhen
Posts: 30
Joined: Thu May 30, 2013 4:58 am
Location: HIT

getdisp()

Post by tangzhen »

why i get 0 when i use the getDisp() class in element. is there any thing i forget?
tangzhen
Posts: 30
Joined: Thu May 30, 2013 4:58 am
Location: HIT

Re: getdisp()

Post by tangzhen »

i used theNodes[0]->getDisp()
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Re: getdisp()

Post by fmk »

it returns a const Vector, does that Vector contain 0's .. if so the committed displalecements of the node are 0, so either node has not moved or is back at it's original position.

if this is the first step and you are looking for trial displacements instead of committed displacements, ise getTrialDisp() instead.
Post Reply