Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenVolumeMesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
aa83f978
Commit
aa83f978
authored
May 24, 2019
by
Martin Heistermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add cppcheck suppressions for unused functions that belong to the public library interface
parent
8b6042b6
Pipeline
#10526
passed with stage
in 6 minutes and 5 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
src/OpenVolumeMesh/Core/TopologyKernel.cc
src/OpenVolumeMesh/Core/TopologyKernel.cc
+4
-0
src/OpenVolumeMesh/FileManager/FileManager.cc
src/OpenVolumeMesh/FileManager/FileManager.cc
+1
-0
src/OpenVolumeMesh/Mesh/TetrahedralMeshTopologyKernel.cc
src/OpenVolumeMesh/Mesh/TetrahedralMeshTopologyKernel.cc
+4
-0
No files found.
src/OpenVolumeMesh/Core/TopologyKernel.cc
View file @
aa83f978
...
...
@@ -468,6 +468,7 @@ CellHandle TopologyKernel::add_cell(const std::vector<HalfFaceHandle>& _halfface
//========================================================================================
/// Set the vertices of an edge
// cppcheck-suppress unusedFunction ; public interface
void
TopologyKernel
::
set_edge
(
const
EdgeHandle
&
_eh
,
const
VertexHandle
&
_fromVertex
,
const
VertexHandle
&
_toVertex
)
{
assert
(
_fromVertex
.
is_valid
()
&&
(
size_t
)
_fromVertex
.
idx
()
<
n_vertices
()
&&
!
is_deleted
(
_fromVertex
));
...
...
@@ -502,6 +503,7 @@ void TopologyKernel::set_edge(const EdgeHandle& _eh, const VertexHandle& _fromVe
//========================================================================================
/// Set the half-edges of a face
// cppcheck-suppress unusedFunction ; public interface
void
TopologyKernel
::
set_face
(
const
FaceHandle
&
_fh
,
const
std
::
vector
<
HalfEdgeHandle
>&
_hes
)
{
Face
&
f
=
face
(
_fh
);
...
...
@@ -542,6 +544,7 @@ void TopologyKernel::set_face(const FaceHandle& _fh, const std::vector<HalfEdgeH
//========================================================================================
/// Set the half-faces of a cell
// cppcheck-suppress unusedFunction ; public interface
void
TopologyKernel
::
set_cell
(
const
CellHandle
&
_ch
,
const
std
::
vector
<
HalfFaceHandle
>&
_hfs
)
{
Cell
&
c
=
cell
(
_ch
);
...
...
@@ -1954,6 +1957,7 @@ void TopologyKernel::delete_multiple_cells(const std::vector<bool>& _tag) {
//========================================================================================
// cppcheck-suppress unusedFunction ; public interface
CellIter
TopologyKernel
::
delete_cell_range
(
const
CellIter
&
_first
,
const
CellIter
&
_last
)
{
assert
(
_first
>=
cells_begin
());
...
...
src/OpenVolumeMesh/FileManager/FileManager.cc
View file @
aa83f978
...
...
@@ -184,6 +184,7 @@ bool FileManager::isHexahedralMesh(const std::string& _filename) const {
return
true
;
}
// cppcheck-suppress unusedFunction ; public interface
bool
FileManager
::
isTetrahedralMesh
(
const
std
::
string
&
_filename
)
const
{
std
::
ifstream
iff
(
_filename
.
c_str
(),
std
::
ios
::
in
);
...
...
src/OpenVolumeMesh/Mesh/TetrahedralMeshTopologyKernel.cc
View file @
aa83f978
...
...
@@ -330,6 +330,7 @@ void TetrahedralMeshTopologyKernel::collapse_edge(HalfEdgeHandle _heh)
// swapPropertyElements(halfedge_props_begin(), halfedge_props_end(), source, destination);
//}
// cppcheck-suppress unusedFunction ; public interface
VertexHandle
TetrahedralMeshTopologyKernel
::
collapse_edge
(
HalfEdgeHandle
_heh
)
{
bool
deferred_deletion_tmp
=
deferred_deletion_enabled
();
...
...
@@ -420,6 +421,7 @@ VertexHandle TetrahedralMeshTopologyKernel::collapse_edge(HalfEdgeHandle _heh)
}
// cppcheck-suppress unusedFunction ; public interface
void
TetrahedralMeshTopologyKernel
::
split_edge
(
HalfEdgeHandle
_heh
,
VertexHandle
_vh
)
{
bool
deferred_deletion_tmp
=
deferred_deletion_enabled
();
...
...
@@ -448,6 +450,7 @@ void TetrahedralMeshTopologyKernel::split_edge(HalfEdgeHandle _heh, VertexHandle
}
// cppcheck-suppress unusedFunction ; public interface
void
TetrahedralMeshTopologyKernel
::
split_face
(
FaceHandle
_fh
,
VertexHandle
_vh
)
{
bool
deferred_deletion_tmp
=
deferred_deletion_enabled
();
...
...
@@ -560,6 +563,7 @@ std::vector<VertexHandle> TetrahedralMeshTopologyKernel::get_halfface_vertices(H
return
std
::
vector
<
VertexHandle
>
();
}
// cppcheck-suppress unusedFunction ; public interface
std
::
vector
<
VertexHandle
>
TetrahedralMeshTopologyKernel
::
get_halfface_vertices
(
HalfFaceHandle
hfh
,
HalfEdgeHandle
heh
)
const
{
std
::
vector
<
VertexHandle
>
vertices
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment