ESTEL:ESTEL-3D module template

This is a module template for ESTEL-3D.

This template is also available as a [[Media:M_ESTEL3D_TEMPLATE.f90 | download]].

Please, read the formatting guidelines first.

module m_name_of_module !--- ! This file is part of ESTEL-3D ! Copyright (c) EDF 2007 !--- ! Function : Blah blah ! ! List of PUBLIC Subroutines : ! ! sub1   : does stuff ! sub2   : does some other stuff ! ! Any other general comments here !---

use m_thing

! Note that declarations are private, by default. ! This avoids interference with similar variables declared by other ! modules.

private

! PUBLIC Subroutines !---

public :: sub1 public :: sub2

! PUBLIC Variables !--

integer, public :: foo

! PRIVATE Variables !--

integer :: bar

!---

contains

subroutine sub1 !---

! LOOK AT THE ESTEL3D subroutine template

!--- end subroutine sub1

subroutine sub2 !---

! LOOK AT THE ESTEL3D subroutine template

!--- end subroutine sub2

!--- end module m_modulename