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

Function normVDouble

SRC/element/PFEMElement/BackgroundDef.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111double normVDouble(const VDouble& v) {
112 double res = 0.0;
113 for (unsigned int i = 0; i < v.size(); i++) {
114 res += v[i] * v[i];
115 }
116 return sqrt(res);
117}
118
119double distanceVDouble(const VDouble& v1, const VDouble& v2) {
120 double res = 0.0;

Callers 4

meshMethod · 0.85
gridNodesMethod · 0.85
moveFixedParticlesMethod · 0.85
recordMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected