Skip to content

Commit

Permalink
GRIDEDIT-1481 Corrected clang formatting and doxygen spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
BillSenior committed Oct 16, 2024
1 parent 09c4240 commit 40729d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libs/MeshKernel/src/Mesh2D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Mesh2D::Mesh2D(const std::vector<Point>& inputNodes, const Polygons& polygons, P

void Mesh2D::DoAdministration(CompoundUndoAction* undoAction)
{
if (!AdministrationRequired ())
if (!AdministrationRequired())
{
return;
}
Expand All @@ -171,7 +171,7 @@ void Mesh2D::DoAdministration(CompoundUndoAction* undoAction)
// classify node types
ClassifyNodes();

SetAdministrationRequired (false);
SetAdministrationRequired(false);
}

void Mesh2D::DoAdministrationGivenFaceNodesMapping(const std::vector<std::vector<UInt>>& faceNodes,
Expand Down Expand Up @@ -799,7 +799,7 @@ void Mesh2D::ComputeFaceClosedPolygon(UInt faceIndex, std::vector<Point>& polygo

std::unique_ptr<meshkernel::SphericalCoordinatesOffsetAction> Mesh2D::OffsetSphericalCoordinates(double minx, double maxx)
{
// The nodes change in value, but not in any conectivity
// The nodes change in value, but not in any connectivity
// So it is unnecessary to redo administration
std::unique_ptr<SphericalCoordinatesOffsetAction> undoAction;

Expand Down Expand Up @@ -2296,7 +2296,7 @@ std::unique_ptr<Mesh2D> Mesh2D::Merge(const Mesh2D& mesh1, const Mesh2D& mesh2)
mergedMesh.SetEdgesRTreeRequiresUpdate(true);
mergedMesh.SetFacesRTreeRequiresUpdate(true);

mergedMesh.SetAdministrationRequired (true);
mergedMesh.SetAdministrationRequired(true);

return std::make_unique<Mesh2D>(mergedMesh.m_edges,
mergedMesh.m_nodes,
Expand Down

0 comments on commit 40729d4

Please sign in to comment.