Computing Assembled Stiffness Matrix - Code Flashcards

1
Q

for in = 1:nnode;

nodei = ?

A

lnods(ielem, in);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

for il = 1:ndofn;
ie = ?
ig = ?

A

(in - 1) * ndofn +il;

(nodei - 1) * ndofn + il;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

for jn = 1:nnode;

nodej = ?

A

nodej = lnods(ielem, jn);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

for jl = 1:ndofn;
je = ?
jg = ?
gstif(ig, jg) = ?

A

je = (jn - 1) * ndofn + jl;
jg = (nodej - 1) * ndofn + jl;
gstif(ig, jg) = gstif(ig, jg) + estif(ie, je);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly