SCOREC / core

parallel finite element unstructured meshes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getElementNodeData assumes scalar field

jacobmerson opened this issue · comments

The function here:

core/apf/apfElement.cc

Lines 122 to 127 in 8959c59

void Element::getElementNodeData(NewArray<double>& d)
{
d.allocated() ? d.resize(nen) : d.allocate(nen);
for (int i = 0; i < nen; i++)
d[i] = nodeData[i];
}

Assumes that the field stored at the nodes is a scalar.

Closed based on #443