Moved the element type functions into a static class

This commit is contained in:
Jacob Støren
2015-04-27 15:04:05 +02:00
parent c0217a68a4
commit 8be93ae448
6 changed files with 90 additions and 48 deletions

View File

@@ -58,7 +58,7 @@ void RigFemPart::appendElement(RigElementType elmType, int id, const int* connec
m_elementTypes.push_back(elmType);
m_elementConnectivityStartIndices.push_back(m_allAlementConnectivities.size());
int nodeCount = elmentNodeCount(elmType);
int nodeCount = RigFemTypes::elmentNodeCount(elmType);
for (int lnIdx = 0; lnIdx < nodeCount; ++lnIdx)
{
m_allAlementConnectivities.push_back(connectivities[lnIdx]);