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
Chaofan Chen
ogs
Commits
20e49069
Commit
20e49069
authored
1 year ago
by
Julian Heinze
Browse files
Options
Downloads
Patches
Plain Diff
changed docu for removeUnusedGridCells
-now in header
parent
56aa794c
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
MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp
+0
-1
0 additions, 1 deletion
MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp
MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h
+1
-0
1 addition, 0 deletions
MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h
with
1 addition
and
1 deletion
MeshToolsLib/MeshGenerators/VoxelGridFromMesh.cpp
+
0
−
1
View file @
20e49069
...
@@ -86,7 +86,6 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
...
@@ -86,7 +86,6 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
return
cell_ids
;
return
cell_ids
;
}
}
// PropertyVector is required to contain parameter cell_id_name
bool
removeUnusedGridCells
(
vtkSmartPointer
<
vtkUnstructuredGrid
>
const
&
mesh
,
bool
removeUnusedGridCells
(
vtkSmartPointer
<
vtkUnstructuredGrid
>
const
&
mesh
,
std
::
unique_ptr
<
MeshLib
::
Mesh
>&
grid
)
std
::
unique_ptr
<
MeshLib
::
Mesh
>&
grid
)
{
{
...
...
This diff is collapsed.
Click to expand it.
MeshToolsLib/MeshGenerators/VoxelGridFromMesh.h
+
1
−
0
View file @
20e49069
...
@@ -43,6 +43,7 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
...
@@ -43,6 +43,7 @@ std::vector<int> assignCellIds(vtkSmartPointer<vtkUnstructuredGrid> const& mesh,
std
::
array
<
std
::
size_t
,
3
>
const
&
dims
,
std
::
array
<
std
::
size_t
,
3
>
const
&
dims
,
std
::
array
<
double
,
3
>
const
&
cellsize
);
std
::
array
<
double
,
3
>
const
&
cellsize
);
// grid has to contain a PropertyVector with the name 'CellIds'
bool
removeUnusedGridCells
(
vtkSmartPointer
<
vtkUnstructuredGrid
>
const
&
mesh
,
bool
removeUnusedGridCells
(
vtkSmartPointer
<
vtkUnstructuredGrid
>
const
&
mesh
,
std
::
unique_ptr
<
MeshLib
::
Mesh
>&
grid
);
std
::
unique_ptr
<
MeshLib
::
Mesh
>&
grid
);
...
...
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