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

bugfixes in tridiagonal and diffusion #34

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

knutaros
Copy link
Contributor

@knutaros knutaros commented Jul 7, 2022

  • avoid segfaults in tridiagonal() for one element [see new test_tridiagonal]
  • avoid multiple divisions in tridiagonal
  • avoid segfaults in diff_center() and diff_face() for one layer
  • rewrite of diffusion routine: clearer code; less divisions; consider cell volumes and interface areas (required for e.g. porosity or gotm-lake)
  • branch should be merged without squash to keep atomic commits

@bolding
Copy link
Collaborator

bolding commented Jul 8, 2022

Hi Knut

Do you have Github Actions enabled? If so - I assume the changes passes?

And can you add test of test_tridiagonal to GA?

Karsten

@knutaros
Copy link
Contributor Author

knutaros commented Jul 8, 2022 via email

@bolding
Copy link
Collaborator

bolding commented Jul 8, 2022

The GOTM code has a folder called .github/workflows

in there is a file called gotm.yml - and in that you can do a whole lot of nifty things on the Github servers.

After the section " -name: Build and run all test cases" you can add a new section that will build and test tridiagonal.

Typical a few tries are needed :-) If you use Gitlab - I don't know - or the IOW repository.

@bolding
Copy link
Collaborator

bolding commented Jul 8, 2022

@bolding
Copy link
Collaborator

bolding commented Dec 15, 2022

Hi Knut

What is the status on this?

Karsten

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 this pull request may close these issues.

2 participants