How to impose displacement excitation?

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

Moderators: silvia, selimgunay, Moderators

Post Reply
docmao
Posts: 6
Joined: Wed Jan 09, 2008 6:54 pm
Location: China

How to impose displacement excitation?

Post by docmao »

In the ImposedMotionSP class, I find the method of imposing vel and acc excitation. It also point out that the disp excitation is not in the method as follows,but i can't find the responsibility code in any other constraint class. Could anyone help me to find out that?

int
ImposedMotionSP::applyConstraint(double time)
{
....
/* ***********************************************************
* disp response the responsibility of constraint handler

*theNodeResponse = theNode->getTrialDisp();
(*theNodeResponse)(dofNumber) = theGroundMotionResponse(0);
theNode->setTrialDisp(*theNodeResponse);
*************************************************************/
*theNodeResponse = theNode->getTrialVel();
(*theNodeResponse)(dofNumber) = theGroundMotionResponse(1);
theNode->setTrialVel(*theNodeResponse);

*theNodeResponse = theNode->getTrialAccel();
(*theNodeResponse)(dofNumber) = theGroundMotionResponse(2);
theNode->setTrialAccel(*theNodeResponse);

return 0;
}
fmk
Site Admin
Posts: 5884
Joined: Fri Jun 11, 2004 2:33 pm
Location: UC Berkeley
Contact:

Post by fmk »

the displacement constraint is imposed by the constraint handler and the DOF_Group subclass of that constraint handler.
Post Reply