revertToStart() ???

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

Moderators: silvia, selimgunay, Moderators

Post Reply
msa_imeg
Posts: 19
Joined: Sun Mar 09, 2008 9:15 pm
Location: Ferdowsi University of Mashhad

revertToStart() ???

Post by msa_imeg »

Hi dear frank
in the middle of dynamic analysis (t=t0-dt) i remove domain load patterns and rivert it to start state .
it has no displacement at t=t0 but at t>t0
it's displacement not equal to zero !!!
why ?
I use codes like this
.
.
.
if(t==t0-dt)
{
theDomain->removeLoadPattern(1);
theDomain->revertToStart();
}
.
.
.

thanks
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

i am not quite understading what is is you are asking .. if you invoke revertToStart on the domain the nodes, elements should go back to their original condition and all nodal displacements should be 0.0 .. you could do a Print on the nodes to check this.
Post Reply