Type for SEE

Implementation of the type for Secondary Electron Emission (SEE)
This commit is contained in:
Jorge Gonzalez 2023-07-17 12:02:24 +02:00
commit 21184e91d3

View file

@ -46,6 +46,14 @@ MODULE moduleBoundary
END TYPE boundaryIonization END TYPE boundaryIonization
!Secondary electron emission (by ion impact)
TYPE, PUBLIC, EXTENDS(boundaryGeneric):: boundarySEE
!Yield as a function of ion energy
TYPE(table1D):: yield
CONTAINS
END TYPE boundarySEE
!Symmetry axis !Symmetry axis
TYPE, PUBLIC, EXTENDS(boundaryGeneric):: boundaryAxis TYPE, PUBLIC, EXTENDS(boundaryGeneric):: boundaryAxis
CONTAINS CONTAINS
@ -137,4 +145,14 @@ MODULE moduleBoundary
END SUBROUTINE initIonization END SUBROUTINE initIonization
SUBROUTINE initSEE(boundary, tableFile)
IMPLICIT NONE
CLASS(boundaryGeneric), ALLOCATABLE, INTENT(out):: boundary
CHARACTER(:), ALLOCATABLE, INTENT(in):: tableFile
ALLOCATE(boundarySEE:: boundary)
END SUBROUTINE initSEE
END MODULE moduleBoundary END MODULE moduleBoundary