Fortran Interface

The core of AMReX is written in C++. For Fortran users who want to write all of their programs in Fortran, AMReX provides Fortran interfaces around most of functionalities except for the AmrLevel class (see the chapter on Amr Source Code) and particles (see the chapter on Particles). We should not confuse the Fortran interface in this chapter with the Fortran kernel functions called inside MFIter loops in codes (see the section on Fortran and C++ Kernels). For the latter, Fortran is used in some sense as a domain-specific language with native multi-dimensional arrays, whereas here Fortran is used to drive the whole application code. In order to better understand AMReX, Fortran interface users should read the rest of the documentation except for the Chapters on Amr Source Code & Particles.