Skip to content
Snippets Groups Projects
Commit 9596985c authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Add a table constant view utility for ItemArray

parent aea12a2d
No related branches found
No related tags found
1 merge request!176Add HDF5 support
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment