Search found 6 matches

by docmao
Thu Nov 19, 2009 11:04 pm
Forum: Framework
Topic: The code does the same thing repeatly!
Replies: 0
Views: 1059

The code does the same thing repeatly!

int TransformationConstraintHandler::enforceSPs(void) { for (int i=1; i<=numConstrainedNodes; i++) { // upward cast - safe as i put it in this location TransformationDOF_Group *theDof = (TransformationDOF_Group *)theDOFs[numDOF-i]; theDof->enforceSPs(1); } for (int k=1; k<=numConstrainedNodes; k++) ...
by docmao
Thu Nov 12, 2009 6:26 pm
Forum: Framework
Topic: A bug?There are no reference of temp varible MPtr!
Replies: 2
Views: 1149

Thanks! I see.
by docmao
Fri Nov 06, 2009 5:51 am
Forum: Framework
Topic: A bug?There are no reference of temp varible MPtr!
Replies: 2
Views: 1149

A bug?There are no reference of temp varible MPtr!

In the following code, I found no reference of MPtr in anywhere of the soft. A bug? It happened many times in other similar methods. It seems strange because MPtr should be returned or referenced guessed from the method name. int FullGenEigenSOE::addM(const Matrix &m, const ID &id, double fa...
by docmao
Fri Nov 06, 2009 5:31 am
Forum: Framework
Topic: How to impose displacement excitation?
Replies: 1
Views: 1747

How to impose displacement excitation?

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::applyCons...
by docmao
Fri Nov 06, 2009 5:01 am
Forum: Framework
Topic: why are there 4*numberDOF elements in the disp array?
Replies: 2
Views: 1289

In my thought, it should be numberDOF elements in the disp array. But it seems the disp array keeps more displacements information in the Node class. So, what do they means?
by docmao
Fri Nov 06, 2009 12:48 am
Forum: Framework
Topic: why are there 4*numberDOF elements in the disp array?
Replies: 2
Views: 1289

why are there 4*numberDOF elements in the disp array?

int
Node::createDisp(void)
{
// trial , committed, incr = (committed-trial)
disp = new double[4*numberDOF];
.......
}


I want to know what means of the disp elements?