kronbichler / adaflo

adaflo, an adaptive finite element solver for incompressible fluid flow and two-phase flow
Other
24 stars 14 forks source link

Add `set_time_step` function #70

Closed mschreter closed 2 years ago

mschreter commented 2 years ago

This PR introduces a set_time_step function to obtain external access of the time step size. To this end, I renamed the existing set_time_step function to set_desired_time_step, since the existing function potentially modifies the time step size to fulfill some restrictions.

mschreter commented 2 years ago

The indentation check fails. Locally I use clang-format v11.1. I'll come up with a solution asap.

peterrum commented 2 years ago

The indentation check fails. Locally I use clang-format v11.1. I'll come up with a solution asap.

We are using:

https://github.com/kronbichler/adaflo/blob/b65df326c695df5954a18533164bf046d0603997/.github/workflows/indentation.yml#L22

peterrum commented 2 years ago

@mschreter I have formatted the code. Let me know when the PR is ready to merge.

mschreter commented 2 years ago

Oh thanks a lot. From my side it is ready!