Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example case ff-pm/flow-over-cube-3d/ does not compile with DuMux v3.6 #17

Closed
IshaanDesai opened this issue Oct 13, 2022 · 1 comment · Fixed by #18
Closed

Example case ff-pm/flow-over-cube-3d/ does not compile with DuMux v3.6 #17

IshaanDesai opened this issue Oct 13, 2022 · 1 comment · Fixed by #18

Comments

@IshaanDesai
Copy link
Member

Description

The example case examples/ff-pm/flow-over-cube-3d/ fails to compile as part of the test suite compilation. The error is:

/dune-modules/dumux-adapter/examples/ff-pm/flow-over-cube-3d/ffproblem-reversed.hh: In member function ‘Dumux::StokesSubProblem<TypeTag>::BoundaryTypes Dumux::StokesSubProblem<TypeTag>::boundaryTypes(const Element&, const SubControlVolumeFace&) const’:
/dune-modules/dumux-adapter/examples/ff-pm/flow-over-cube-3d/ffproblem-reversed.hh:193:20: error: ‘dataIdsWereSet_setBeaversJoseph’ was not declared in this scope
  193 |             assert(dataIdsWereSet_setBeaversJoseph);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Environment

Ubuntu 22.04 LTS, preCICE 2.5.0, DuMuX 3.6, DuMuX-preCICE 1.0

Steps to reproduce

After building the adapter, go to dumux-adapter/build-cmake and run make -j1 build_tests.

@ajaust
Copy link
Collaborator

ajaust commented Oct 18, 2022

Looks like a copy and paste error to me. This should probably just be a

assert(dataIdsWereSet_);

in line 193.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants