49 ProcessLinkCheck::create,
50 "Checks elemental links within elements.");
65 cout <<
"ProcessLinkCheck: Checking links... " << endl;
81 for(eit =
m_mesh->m_edgeSet.begin();
82 eit !=
m_mesh->m_edgeSet.end(); eit++)
84 if((*eit)->m_elLink.size() != 2)
93 for(fit =
m_mesh->m_faceSet.begin();
94 fit !=
m_mesh->m_faceSet.end(); fit++)
96 if((*fit)->m_elLink.size() != 2)
105 if (count -
m_mesh->m_element[
m_mesh->m_expDim-1].size() != 0)
107 cout <<
"Link Check Error: mesh contains incorrectly connected"
108 <<
" entities and is not valid: "
virtual void Process()
Write mesh to output file.
pair< ModuleType, string > ModuleKey
MeshSharedPtr m_mesh
Mesh object.
virtual NEKMESHUTILS_EXPORT void ProcessFaces(bool ReprocessFaces=true)
Extract element faces.
virtual NEKMESHUTILS_EXPORT void ProcessElements()
Generate element IDs.
virtual NEKMESHUTILS_EXPORT void ClearElementLinks()
StandardMatrixTag boost::call_traits< LhsDataType >::const_reference rhs typedef NekMatrix< LhsDataType, StandardMatrixTag >::iterator iterator
boost::shared_ptr< Mesh > MeshSharedPtr
Shared pointer to a mesh.
Abstract base class for processing modules.
virtual NEKMESHUTILS_EXPORT void ProcessVertices()
Extract element vertices.
virtual NEKMESHUTILS_EXPORT void ProcessEdges(bool ReprocessEdges=true)
Extract element edges.
std::pair< ModuleType, std::string > ModuleKey
virtual ~ProcessLinkCheck()
virtual NEKMESHUTILS_EXPORT void ProcessComposites()
Generate composites.
ModuleFactory & GetModuleFactory()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.