New BC for quasi-neutrality
Still, the adjustment it is not iterative. I need to build new subroutines to gather values of edges.
This commit is contained in:
parent
13dde3b1f9
commit
e7e6e1bece
3 changed files with 80 additions and 59 deletions
|
|
@ -160,4 +160,19 @@ MODULE moduleBoundary
|
|||
|
||||
END SUBROUTINE initIonization
|
||||
|
||||
subroutine initQuasiNeutrality(boundary)
|
||||
implicit none
|
||||
|
||||
class(boundaryGeneric), allocatable, intent(out):: boundary
|
||||
|
||||
allocate(boundaryQuasiNeutrality:: boundary)
|
||||
|
||||
select type(boundary)
|
||||
type is(boundaryQuasiNeutrality)
|
||||
boundary%alpha = 0.d0
|
||||
|
||||
end select
|
||||
|
||||
end subroutine initQuasiNeutrality
|
||||
|
||||
END MODULE moduleBoundary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue