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 101
    • Issues 101
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 90
    • Merge requests 90
  • 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
  • #342
Closed
Open
Issue created Oct 28, 2016 by Timo Koch@timokOwner

Implement classes facilitating a custom start.hh

I often feel restricted by the way our start.hh and the main.cc file is structured. The idea is to make it simple to run a problem in dumux so the start function is predefined. However it's currently annoying to implement your own main function since many of the steps in the standard start.hh method are just written out sequentially or in simple functions. It would be nice to make it more customizable by some OO programming. E.g. a simple class called the DumuxMessageGenerator and more important classes like a grid setup class or a parameter file / command line option reading class.

Simple examples would be:

  1. I want to write a grid convergence test with a simple loop in main refining the grid and output the errors and rates.
  2. I want to solve a problem with two grids.
  3. I want to have objects or variables living outside the scope of a problem

These things are overly complicated now I think.

Assignee
Assign to
Time tracking