Calculates a reflection parameter (alpha) per edge based on the ratio of densities between the incident species and the rest
This commit is contained in:
parent
ecb1364d6a
commit
776734db58
3 changed files with 60 additions and 8 deletions
|
|
@ -675,8 +675,9 @@ MODULE moduleMesh
|
|||
|
||||
end subroutine initIonization
|
||||
|
||||
module subroutine initQuasiNeutrality(boundary)
|
||||
module subroutine initQuasiNeutrality(boundary, s_incident)
|
||||
class(boundaryParticleGeneric), allocatable, intent(inout):: boundary
|
||||
integer, intent(in):: s_incident
|
||||
|
||||
end subroutine initQuasiNeutrality
|
||||
|
||||
|
|
@ -762,7 +763,7 @@ MODULE moduleMesh
|
|||
|
||||
! Ensures quasi-neutrality by changing the reflection coefficient
|
||||
type, public, extends(boundaryParticleGeneric):: boundaryQuasiNeutrality
|
||||
real(8):: alpha ! Reflection parameter
|
||||
real(8), allocatable:: alpha(:) ! Reflection parameter
|
||||
integer:: s_incident ! species index of the incident species
|
||||
type(meshEdgePointer), allocatable:: edges(:) !Array with edges
|
||||
contains
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue