Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
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
MostafaMollaali
dynamic
Commits
ed7bd73b
Commit
ed7bd73b
authored
11 years ago
by
Norihiro Watanabe
Browse files
Options
Downloads
Plain Diff
Merge pull request #27 from TomFischer/change-mesh-no-unique-nodes
Removed method makeNodesUnique().
parents
a8bdc71a
cbe411b0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MeshLib/Mesh.cpp
+0
-21
0 additions, 21 deletions
MeshLib/Mesh.cpp
MeshLib/Mesh.h
+0
-3
0 additions, 3 deletions
MeshLib/Mesh.h
with
0 additions
and
24 deletions
MeshLib/Mesh.cpp
+
0
−
21
View file @
ed7bd73b
...
...
@@ -83,27 +83,6 @@ Mesh::~Mesh()
delete
_nodes
[
i
];
}
void
Mesh
::
makeNodesUnique
()
{
//check for unique mesh nodes
//PointVec::makePntsUnique
//replace node pointers in elements
unsigned
nElements
(
_elements
.
size
());
for
(
unsigned
i
=
0
;
i
<
nElements
;
++
i
)
{
unsigned
nNodes
(
_elements
[
i
]
->
getNNodes
());
for
(
unsigned
j
=
0
;
j
<
nNodes
;
++
j
)
_elements
[
i
]
->
getNodeIndex
(
j
);
}
//set correct id for each node
//if (this->getDimension() > 1)
// this->removeMeshElements(MeshElemType::LINE);
}
void
Mesh
::
addNode
(
Node
*
node
)
{
_nodes
.
push_back
(
node
);
...
...
This diff is collapsed.
Click to expand it.
MeshLib/Mesh.h
+
0
−
3
View file @
ed7bd73b
...
...
@@ -104,9 +104,6 @@ public:
std
::
size_t
getID
()
const
{
return
_id
;
}
protected
:
/// Checks the coordinates of all mesh nodes and removes identical nodes. Elements are adapted accordingly.
void
makeNodesUnique
();
/// Removes nodes that are not part of any element.
void
removeUnusedMeshNodes
();
...
...
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