Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
873ceda6
Commit
873ceda6
authored
12 years ago
by
Karsten Rink
Browse files
Options
Downloads
Patches
Plain Diff
added neighbor management, nEdges, nFaces
parent
d43994e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MeshLib/Node.cpp
+1
-14
1 addition, 14 deletions
MeshLib/Node.cpp
MeshLib/Node.h
+1
-4
1 addition, 4 deletions
MeshLib/Node.h
with
2 additions
and
18 deletions
MeshLib/Node.cpp
+
1
−
14
View file @
873ceda6
...
...
@@ -27,19 +27,6 @@ Node::Node(const Node &node)
Node
::~
Node
()
{
}
/*
void Node::removeElement(const Element* elem)
{
for (std::vector<const Element*>::iterator it = _elements.begin();
it != _elements.end(); ++it)
{
if (*it == elem)
{
_elements.erase(it);
return;
}
}
}
*/
}
This diff is collapsed.
Click to expand it.
MeshLib/Node.h
+
1
−
4
View file @
873ceda6
...
...
@@ -44,7 +44,7 @@ public:
size_t
getNElements
()
const
{
return
_elements
.
size
();
};
/// Destructor
~
Node
();
virtual
~
Node
();
protected
:
/**
...
...
@@ -53,9 +53,6 @@ protected:
*/
void
addElement
(
const
Element
*
elem
)
{
_elements
.
push_back
(
elem
);
};
/// Remove an element the node is part of.
//void removeElement(const Element* elem);
std
::
vector
<
const
Element
*>
_elements
;
/* friend functions: */
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment