Skip to content
Snippets Groups Projects

Export IdSet interface to Python

Merged Martin Nolte requested to merge feature/export-idset into master
1 unresolved thread

Merge request reports

Pipeline #5040 passed

Pipeline passed for d45d6a06 on feature/export-idset

Approval is optional

Merged by avatar (Apr 18, 2025 6:09pm UTC)

Merge details

  • Changes merged into master with b80ea608.
  • Deleted the source branch.

Pipeline #5044 passed

Pipeline passed for b80ea608 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
136 {
137 return registerSubId< Entity >( cls, PriorityTag< 42 >() );
138 }
139
140 } // namespace detail
141
142
143
144 // registerGridIdSet
145 // -----------------
146
147 template< class Grid, class IdSet, class... options >
148 inline static void registerGridIdSet ( pybind11::handle scope, pybind11::class_< IdSet, options... > cls )
149 {
150 typedef detail::GridId< typename IdSet::IdType > Id;
151 auto id = insertClass< Id >( cls, "Id", GenerateTypeName( "Dune::Python::detail::GridId", GenerateTypeName( cls, "IdType" ) ) );
  • Author Maintainer

    Sorry about the missing include - this is still untested work in progress.

  • Are you planning on exporting the PersistentContainer as well?

  • Author Maintainer

    Yes, but in a separate MR.

  • Martin Nolte added 1 commit

    added 1 commit

    • d45d6a06 - Export IdSet interface to Python

    Compare with previous version

  • Martin Nolte unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Andreas Dedner mentioned in commit b80ea608

    mentioned in commit b80ea608

  • Please register or sign in to reply
    Loading