Computing B-Matrix - Code Answer Flashcards
1
Q
What line comes under ‘i = (in-1) * ndime+1’?
A
j = i+1;
2
Q
What FIVE LINES come under ‘bmatx(1, i) = cartd(1, in);’?
A
bmatx(1, j) = 0.0; bmatx(2, i) = 0.0; bmatx(2, j) = cartd(2, in); bmatx(3, i) = cartd(2, in); bmatx(3, j) = cartd(1, in);