Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pugs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
code
pugs
Commits
9596985c
Commit
9596985c
authored
1 year ago
by
Stéphane Del Pino
Browse files
Options
Downloads
Patches
Plain Diff
Add a table constant view utility for ItemArray
parent
aea12a2d
No related branches found
No related tags found
1 merge request
!176
Add HDF5 support
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/mesh/ItemArray.hpp
+7
-0
7 additions, 0 deletions
src/mesh/ItemArray.hpp
with
7 additions
and
0 deletions
src/mesh/ItemArray.hpp
+
7
−
0
View file @
9596985c
...
...
@@ -43,6 +43,13 @@ class ItemArray
friend
ItemArray
<
std
::
remove_const_t
<
DataType
>
,
item_type
,
ConnectivityWeakPtr
>
;
public
:
// This is not the correct way to look at ItemArray, use with care
Table
<
const
DataType
>
tableView
()
const
{
return
m_values
;
}
[[
nodiscard
]]
friend
PUGS_INLINE
ItemArray
<
std
::
remove_const_t
<
DataType
>
,
item_type
,
ConnectivityPtr
>
copy
(
const
ItemArray
<
DataType
,
item_type
,
ConnectivityPtr
>&
source
)
{
...
...
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