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
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
Yuhao Liu
ogs
Commits
8238eca9
Commit
8238eca9
authored
3 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[MeL/Node] Rm node connection information.
The connection information can be computed on the fly required.
parent
b7e149c0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MeshLib/Node.h
+0
-11
0 additions, 11 deletions
MeshLib/Node.h
with
0 additions
and
11 deletions
MeshLib/Node.h
+
0
−
11
View file @
8238eca9
...
...
@@ -56,9 +56,6 @@ public:
/// Copy constructor
Node
(
const
Node
&
node
);
/// Return all the nodes connected to this one
const
std
::
vector
<
MeshLib
::
Node
*>&
getConnectedNodes
()
const
{
return
_connected_nodes
;
}
/// Get an element the node is part of.
const
Element
*
getElement
(
std
::
size_t
idx
)
const
{
return
_elements
[
idx
];
}
...
...
@@ -82,14 +79,6 @@ protected:
/// clear stored elements connecting to this node
void
clearElements
()
{
_elements
.
clear
();
}
/// Resets the connected nodes of this node. The connected nodes are
/// generated by Mesh::setNodesConnectedByElements().
void
setConnectedNodes
(
std
::
vector
<
Node
*>
const
&
connected_nodes
)
{
_connected_nodes
=
connected_nodes
;
}
std
::
vector
<
Node
*>
_connected_nodes
;
std
::
vector
<
Element
*>
_elements
;
};
/* class */
...
...
This diff is collapsed.
Click to expand it.
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