Debian Codegraph @

src/atlas_f/mesh/atlas_mesh_Edges_module.F90

raw
1 ! (C) Copyright 2013 ECMWF.
2 !
3 ! This software is licensed under the terms of the Apache Licence Version 2.0
4 ! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5 ! In applying this licence, ECMWF does not waive the privileges and immunities
6 ! granted to it by virtue of its status as an intergovernmental organisation nor
7 ! does it submit to any jurisdiction.
8
9 #include "atlas/atlas_f.h"
10
11 module atlas_mesh_Edges_module
12
13 use, intrinsic :: iso_c_binding, only: c_ptr
14 use atlas_HybridElements_module, only: atlas_HybridElements
15
16 implicit none
17
18 private :: atlas_HybridElements
19
20 public :: atlas_mesh_Edges
21
22 private
23
24 type, extends(atlas_HybridElements) :: atlas_mesh_Edges
25 contains
26 #if FCKIT_FINAL_NOT_INHERITING
27 final :: atlas_mesh_Edges__final_auto
28 #endif
29 end type
30
31 interface atlas_mesh_Edges
32 module procedure atlas_mesh_Edges__cptr
33 module procedure atlas_mesh_Edges__constructor
34 end interface
35
36 !========================================================
37 contains
38 !========================================================
39
40 function atlas_mesh_edges__cptr(cptr) result(this)
41 use atlas_hybridelements_c_binding
42 type(atlas_mesh_Edges) :: this
43 type(c_ptr), intent(in) :: cptr
44 call this%reset_c_ptr( cptr )
45 call this%return()
46 end function
47
48 function atlas_mesh_edges__constructor() result(this)
49 use atlas_hybridelements_c_binding
50 type(atlas_mesh_Edges) :: this
51 call this%reset_c_ptr( atlas__mesh__HybridElements__create() )
52 call this%return()
53 end function
54
55 !-------------------------------------------------------------------------------
56
57 #if FCKIT_FINAL_NOT_INHERITING
58 ATLAS_FINAL subroutine atlas_mesh_Edges__final_auto(this)
59 type(atlas_mesh_Edges), intent(inout) :: this
60 #if FCKIT_FINAL_DEBUGGING
61 write(0,*) "atlas_mesh_Edges__final_auto"
62 #endif
63 #if FCKIT_FINAL_NOT_PROPAGATING
64 call this%final()
65 #endif
66 FCKIT_SUPPRESS_UNUSED( this )
67 end subroutine
68 #endif
69
70 ! ----------------------------------------------------------------------------------------
71
72 end module atlas_mesh_Edges_module
73