MCPcopy Create free account
hub / github.com/OpenSees/OpenSees / det3

Function det3

SRC/element/CEqElement/ASDEmbeddedNodeElement.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 double det3(const Matrix& J) {
54 return J(0, 0) * J(1, 1) * J(2, 2) - J(0, 0) * J(1, 2) * J(2, 1) - J(0, 1) * J(1, 0) * J(2, 2) +
55 J(0, 1) * J(1, 2) * J(2, 0) + J(0, 2) * J(1, 0) * J(2, 1) - J(0, 2) * J(1, 1) * J(2, 0);
56 }
57
58 void cross(const Vector& a, const Vector& b, Vector& c) {
59 c(0) = a(1) * b(2) - a(2) * b(1);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected