Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • dumux dumux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 98
    • Issues 98
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 88
    • Merge requests 88
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dumux-repositoriesdumux-repositories
  • dumuxdumux
  • Issues
  • #550
Closed
Open
Issue created Aug 09, 2018 by Timo Koch@timokOwner

Freeflow assembly clang compiler error

/data/src/dumux/dumux/multidomain/subdomainstaggeredlocalassembler.hh:360:97: error: non-type template argument is not a constant expression
1885        static constexpr auto otherDomainIds = makeIncompleteIntegerSequence<Dune::Hybrid::size(jacRow), domainId>{};
1886                                                                                                ^

jacRow is indeed not a constexpr. The result of Dune::Hybrid::size can be actually a constexpr for special types and jacRow is I think a tuple so it works. But you are proabably not allowed to directly use it in a template because it might also be not a constexpr. Maybe we can try static constexpr auto size = Dune::Hybrid::size(jacRow); and then use size as a template argument?

Assignee
Assign to
Time tracking