GEOS-DEV / GEOS-DEV/GEOS

Refactor MeshLevel to Accommodate Mesh/Particle Discretization

Open
#1,919 0 comments 0 reactions 1 assignee View on GitHub

@povolny1 is already working on this.

Since May 16, 2022.

type: cleanup / refactor
Dominant language
C++
Stars
287
Forks
109
Avg merge
4d 41m
Merged PRs (30d)
5

Description

Describe the issue
With the merge of #1756 into develop, a ParticleManager will be registered on any MeshLevel. Conceptually, a given MeshLevel corresponds to a given discretization (they will be renamed DiscretizationLevel or something similar soon), and so it does not make sense for a MeshLevel to contain both mesh and particle managers.

Proposed cleanup
In a discussion with @rrsettgast, @CusiniM, @TotoGaz and @homel1, it was proposed to create a base class for mesh/discretization levels and derive from it MeshDiscretization and ParticleDiscretization classes. These will only register their respective managers, removing the issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.