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
f5fad6d0
Commit
f5fad6d0
authored
5 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MeL] Remove unused VtkCellTypeToOGS().
parent
672220ab
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/VtkOGSEnum.cpp
+0
-46
0 additions, 46 deletions
MeshLib/VtkOGSEnum.cpp
MeshLib/VtkOGSEnum.h
+0
-2
0 additions, 2 deletions
MeshLib/VtkOGSEnum.h
with
0 additions
and
48 deletions
MeshLib/VtkOGSEnum.cpp
+
0
−
46
View file @
f5fad6d0
...
@@ -14,52 +14,6 @@
...
@@ -14,52 +14,6 @@
#include
<vtkCellType.h>
#include
<vtkCellType.h>
MeshLib
::
CellType
VtkCellTypeToOGS
(
int
type
)
{
switch
(
type
)
{
case
VTK_LINE
:
return
MeshLib
::
CellType
::
LINE2
;
case
VTK_QUADRATIC_EDGE
:
return
MeshLib
::
CellType
::
LINE3
;
case
VTK_TRIANGLE
:
return
MeshLib
::
CellType
::
TRI3
;
case
VTK_QUADRATIC_TRIANGLE
:
return
MeshLib
::
CellType
::
TRI6
;
case
VTK_QUAD
:
return
MeshLib
::
CellType
::
QUAD4
;
case
VTK_QUADRATIC_QUAD
:
return
MeshLib
::
CellType
::
QUAD8
;
case
VTK_BIQUADRATIC_QUAD
:
return
MeshLib
::
CellType
::
QUAD9
;
case
VTK_HEXAHEDRON
:
return
MeshLib
::
CellType
::
HEX8
;
case
VTK_QUADRATIC_HEXAHEDRON
:
return
MeshLib
::
CellType
::
HEX20
;
case
VTK_TRIQUADRATIC_HEXAHEDRON
:
return
MeshLib
::
CellType
::
HEX27
;
case
VTK_TETRA
:
return
MeshLib
::
CellType
::
TET4
;
case
VTK_QUADRATIC_TETRA
:
return
MeshLib
::
CellType
::
TET10
;
case
VTK_WEDGE
:
return
MeshLib
::
CellType
::
PRISM6
;
case
VTK_QUADRATIC_WEDGE
:
return
MeshLib
::
CellType
::
PRISM15
;
case
VTK_BIQUADRATIC_QUADRATIC_WEDGE
:
return
MeshLib
::
CellType
::
PRISM18
;
case
VTK_PYRAMID
:
return
MeshLib
::
CellType
::
PYRAMID5
;
case
VTK_QUADRATIC_PYRAMID
:
return
MeshLib
::
CellType
::
PYRAMID13
;
default:
OGS_FATAL
(
"Unknown cell type in conversion from VTK to OGS. Given cell "
"type value is %d."
,
type
);
}
}
int
OGSToVtkCellType
(
MeshLib
::
CellType
ogs
)
int
OGSToVtkCellType
(
MeshLib
::
CellType
ogs
)
{
{
switch
(
ogs
)
switch
(
ogs
)
...
...
This diff is collapsed.
Click to expand it.
MeshLib/VtkOGSEnum.h
+
0
−
2
View file @
f5fad6d0
...
@@ -12,6 +12,4 @@
...
@@ -12,6 +12,4 @@
#include
"MeshEnums.h"
#include
"MeshEnums.h"
MeshLib
::
CellType
VtkCellTypeToOGS
(
int
type
);
int
OGSToVtkCellType
(
MeshLib
::
CellType
ogs
);
int
OGSToVtkCellType
(
MeshLib
::
CellType
ogs
);
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