Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • dumux-preCICE dumux-preCICE
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dumux-appl
  • dumux-preCICEdumux-preCICE
  • Merge requests
  • !18

Restructure repository and tests

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alexander Jaust requested to merge restructure-repository into develop Jan 11, 2022
  • Overview 0
  • Commits 18
  • Pipelines 26
  • Changes 140

This MR does a restructures the repository. This has the following goals:

  • Be closer to the directory structure of dumux and other DUNE modules. We separate the adapter stricter from the tests and examples.
  • Remove

The following changes have been made:

  • The actual preCICE adapter code moved into the dumux-precice directory.

  • The adapter was renamed from PreciceAdapter to CouplingAdapter which is more in line with the CouplingManager of the monolithic coupling. The source files have been renamed accordingly to couplingadapter.hh and couplingadapter.cc.

  • The namespace has been renamed from precice_adapter to Dumux::Precice.

  • The preCICE adapter is build as static library libdumux-precice.a. Using a static library makes sure that the executables are "self-container" and do not rely on the adapter code that is build intermediately for convenience. It does not have to be rebuild for each executable. The header is installed in the "include" path. This means that the header can be included as

    #include <dumux-precice/couplingadapter.hh>
  • The current test cases have been adapted to respect the new file and class names.

  • Moved FVCA test cases to test/ subdirectory. This includes the renaming of the directories and the executables. Test executables are prefixed with test_.

  • Example cases moved from appl/ into examples/ directory.

  • Moved additional monolithic tests (ff-pm-3d and flow-over-step-2d) into test/monolithic directory.

  • Moved conjugated heat transfer into examples/legacy/cht as it is an older test case that is not working at the moment.

  • Removed broken or incomplete cases from example/ directory. Most of these cases did not work and it is/was also not clear anymore what they should do. These test cases went into a private repository in case on would need them later again.

  • The CI has been adapted to run only on the simpler test cases (flow-over-square-2d for partitioned and monolithic coupling) for commits. During night the full pipeline would run.

Edited Jan 12, 2022 by Alexander Jaust
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: restructure-repository