Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D dune-structures
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Lukas Riedel
  • dune-structures
  • Merge requests
  • !4

Resolve "Unroll parameter list for FieldVector constructor"

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Lukas Riedel requested to merge 9-unroll-parameter-list-for-fieldvector-constructor into master Apr 14, 2021
  • Overview 0
  • Commits 2
  • Pipelines 2
  • Changes 2

This MR uses a template parameter pack (as it likely was intended) in the parameter_unrolled method of the ElasticMaterialBase class instead of a variadic function argument. This requires templating the function. The coordinates are then passed to the FieldVector constructor taking an initializer list as argument.

This, in turn, resolves the assertion error reported in #9 (closed).

Closes #9 (closed)

Edited Apr 15, 2021 by Lukas Riedel
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: 9-unroll-parameter-list-for-fieldvector-constructor