Repository navigation
Fortran Project
#2078
|
Hello, I am interested in learning Fortran and want a good intro-level project by making a contribution to libCEED. Would anyone have good contribution ideas I can do relating to Fortran? (i.e. making an example or tutorial etc.) Thank you. |
Answered by
jeremylt
Oct 19, 2026
Replies: 2 comments 4 replies
|
I will have to think a bit on a good option, but I am sure we can make something work. Our foundational examples; ex1, ex2, and ex3; have been translated to Fortran, but I've been thinking about follow up examples that are a next step up. I'll ponder and get back to you soon. |
4 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think we could make ex4 - a basic explicit time integration solution to the heat equation. This shows our users 2 concepts - usage of the operator diagonal and managing a few different operators at once.
Many of the pieces you need for this are in ex1 and ex2 here: https://github.com/CEED/libCEED/tree/main/examples/ceed
We want to move the equation$M \dot{u} + A u = 0$ through time, where M is the mass matrix from ex1 and A is the Poisson operator from ex2.
We'll use Forward Euler, for simplicity, as the solver itself isn't the point of this example.$\dot{u}$ via $\dot{u_n} = f \left( u_n \right) = - M^{-1} A u_n$ in time as $u_{n + 1} = u_n + dt f \l…
In Forward Euler, we move forward