Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Jens Munk Hansen
VTK
Commits
1a685845
Commit
1a685845
authored
1 month ago
by
Louis Gombert
Browse files
Options
Downloads
Patches
Plain Diff
GCG: Warn properly for HTG inputs
parent
0ecbd2ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Filters/Parallel/vtkHyperTreeGridGhostCellsGenerator.cxx
+1
-0
1 addition, 0 deletions
Filters/Parallel/vtkHyperTreeGridGhostCellsGenerator.cxx
Filters/ParallelDIY2/vtkGhostCellsGenerator.cxx
+8
-2
8 additions, 2 deletions
Filters/ParallelDIY2/vtkGhostCellsGenerator.cxx
with
9 additions
and
2 deletions
Filters/Parallel/vtkHyperTreeGridGhostCellsGenerator.cxx
+
1
−
0
View file @
1a685845
...
...
@@ -33,6 +33,7 @@ void vtkHyperTreeGridGhostCellsGenerator::PrintSelf(ostream& os, vtkIndent inden
int
vtkHyperTreeGridGhostCellsGenerator
::
FillOutputPortInformation
(
int
,
vtkInformation
*
info
)
{
info
->
Set
(
vtkDataObject
::
DATA_TYPE_NAME
(),
"vtkHyperTreeGrid"
);
info
->
Set
(
vtkDataObject
::
DATA_TYPE_NAME
(),
"vtkPartitionedDataSet"
);
return
1
;
}
...
...
This diff is collapsed.
Click to expand it.
Filters/ParallelDIY2/vtkGhostCellsGenerator.cxx
+
8
−
2
View file @
1a685845
...
...
@@ -190,8 +190,14 @@ int vtkGhostCellsGenerator::GenerateGhostCells(
error
=
true
;
}
if
(
vtkHyperTreeGrid
::
SafeDownCast
(
inputPartition
)
||
vtkExplicitStructuredGrid
::
SafeDownCast
(
inputPartition
))
if
(
vtkHyperTreeGrid
::
SafeDownCast
(
inputPartition
))
{
error
=
true
;
vtkErrorMacro
(
<<
"vtkHyperTreeGrid is not supported by this filter. Please use the "
"appropriate vtkHyperTreeGridGhostCellsGenerator filter instead."
);
}
if
(
vtkExplicitStructuredGrid
::
SafeDownCast
(
inputPartition
))
{
error
=
true
;
vtkErrorMacro
(
<<
"Input data set type "
<<
inputPartition
->
GetClassName
()
...
...
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