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
12ec7ce0
Commit
12ec7ce0
authored
3 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MeL/VTK] Remove code for old VTK<=7.1 version.
parent
34ced08b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MeshLib/Vtk/VtkMeshNodalCoordinatesTemplate-impl.h
+0
-38
0 additions, 38 deletions
MeshLib/Vtk/VtkMeshNodalCoordinatesTemplate-impl.h
with
0 additions
and
38 deletions
MeshLib/Vtk/VtkMeshNodalCoordinatesTemplate-impl.h
+
0
−
38
View file @
12ec7ce0
...
@@ -428,7 +428,6 @@ template <class Scalar> vtkIdType VtkMeshNodalCoordinatesTemplate<Scalar>
...
@@ -428,7 +428,6 @@ template <class Scalar> vtkIdType VtkMeshNodalCoordinatesTemplate<Scalar>
}
}
#if !(VTK_MAJOR_VERSION < 7 || VTK_MAJOR_VERSION == 7 && VTK_MINOR_VERSION < 1)
template
<
class
Scalar
>
Scalar
&
VtkMeshNodalCoordinatesTemplate
<
Scalar
>
template
<
class
Scalar
>
Scalar
&
VtkMeshNodalCoordinatesTemplate
<
Scalar
>
::
GetValueReference
(
vtkIdType
idx
)
const
::
GetValueReference
(
vtkIdType
idx
)
const
{
{
...
@@ -474,41 +473,4 @@ vtkIdType VtkMeshNodalCoordinatesTemplate<Scalar>::InsertNextTypedTuple(
...
@@ -474,41 +473,4 @@ vtkIdType VtkMeshNodalCoordinatesTemplate<Scalar>::InsertNextTypedTuple(
vtkErrorMacro
(
"Read only container."
);
vtkErrorMacro
(
"Read only container."
);
return
-
1
;
return
-
1
;
}
}
#else
template
<
class
Scalar
>
Scalar
VtkMeshNodalCoordinatesTemplate
<
Scalar
>
::
GetValue
(
vtkIdType
idx
)
{
return
this
->
GetValueReference
(
idx
);
}
template
<
class
Scalar
>
void
VtkMeshNodalCoordinatesTemplate
<
Scalar
>
::
GetTupleValue
(
vtkIdType
tupleId
,
Scalar
*
tuple
)
{
tuple
[
0
]
=
(
*
(
*
this
->
_nodes
)[
tupleId
])[
0
];
tuple
[
1
]
=
(
*
(
*
this
->
_nodes
)[
tupleId
])[
1
];
tuple
[
2
]
=
(
*
(
*
this
->
_nodes
)[
tupleId
])[
2
];
}
template
<
class
Scalar
>
void
VtkMeshNodalCoordinatesTemplate
<
Scalar
>
::
SetTupleValue
(
vtkIdType
,
const
Scalar
*
)
{
vtkErrorMacro
(
"Read only container."
);
return
;
}
template
<
class
Scalar
>
void
VtkMeshNodalCoordinatesTemplate
<
Scalar
>
::
InsertTupleValue
(
vtkIdType
,
const
Scalar
*
)
{
vtkErrorMacro
(
"Read only container."
);
return
;
}
template
<
class
Scalar
>
vtkIdType
VtkMeshNodalCoordinatesTemplate
<
Scalar
>
::
InsertNextTupleValue
(
const
Scalar
*
)
{
vtkErrorMacro
(
"Read only container."
);
return
-
1
;
}
#endif // vtk version
}
// namespace MeshLib
}
// namespace MeshLib
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