Skip to content
Snippets Groups Projects

Fix compiler warning -Wunused-function

1 file
+ 0
20
Compare changes
  • Side-by-side
  • Inline
@@ -4483,8 +4483,6 @@ namespace {
virtual ~HydroMesh();
int GetNumConnectedNodes() const;
void GetConnectedNodes(std::vector<const Node*>& rgNodes) const;
int GetNumConnectedElements() const;
void GetConnectedElements(std::vector<const ElemWithDofs*>& rgElem) const;
/**
* @param p returns the pressure at the node by taking into account
* the specific boundary conditions of the selected elements
@@ -22697,24 +22695,6 @@ namespace {
}
}
int HydroMesh::GetNumConnectedElements() const
{
int iNumConnectedElements = 0;
if (pCompliance) {
iNumConnectedElements += pCompliance->GetNumConnectedElements();
}
return iNumConnectedElements;
}
void HydroMesh::GetConnectedElements(std::vector<const ElemWithDofs*>& rgElem) const
{
if (pCompliance) {
pCompliance->GetConnectedElements(rgElem);
}
}
void HydroMesh::ParseGeometry(DataManager* pDM, MBDynParser& HP)
{
if (!HP.IsKeyWord("geometry")) {
Loading