Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 100
    • Issues 100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • 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
  • #1089
Closed
Open
Issue created Oct 26, 2021 by Timo Koch@timokOwner

Remove deprecation warning from extended source stencil

/builds/dumux-repositories/dumux/dumux/multidomain/embedded/couplingmanager1d3d_average.hh:138:9: warning: ‘decltype(auto) Dumux::CouplingManager<Traits>::curSol() [with Traits = Dumux::MultiDomainTraits<Dumux::Properties::TTag::TissueBox, Dumux::Properties::TTag::BloodFlowBox>]’ is deprecated: This function returns a Dune::MultiTypeBlockVector<SubDomainSolutionVector&, ....> (i.e. storing references). Use curSol(domainIdx) to get a reference to the corresponding subdomain solution vector. Will be removed after 3.5 [-Wdeprecated-declarations]
  138 |         extendedSourceStencil_.evalAdditionalDomainDerivatives(*this, domainI, localAssemblerI, this->curSol(), A, gridVariables);
      |         ^~~~~~~~~~~~~~~~~~~~~~

The extended source stencil receives this->curSol() but this is actually not necessary since it already gets *this. Internally it currently only uses the solution of domainI which can be obtained from the couplingmanager.

TODO

  • deprecated old interface
  • implement interface without curSol
Assignee
Assign to
Time tracking