Commit 02c0e82c authored by Michael Turner's avatar Michael Turner
Browse files

small fix

parent a5ed0011
......@@ -57,11 +57,11 @@ public:
{
ElementSharedPtr e =
boost::shared_ptr<Element>(new Prism(pConf, pNodeList, pTagList));
std::vector<FaceSharedPtr> faces = e->GetFaceList();
for (int i = 0; i < faces.size(); ++i)
{
faces[i]->m_elLink.push_back(std::pair<ElementSharedPtr, int>(e, i));
}
//std::vector<FaceSharedPtr> faces = e->GetFaceList();
//for (int i = 0; i < faces.size(); ++i)
//{
// faces[i]->m_elLink.push_back(std::pair<ElementSharedPtr, int>(e, i));
//}
return e;
}
/// Element type
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment