Small reordering
This commit is contained in:
parent
6fadc2056c
commit
9e26bcf26e
1 changed files with 2 additions and 2 deletions
|
|
@ -273,8 +273,6 @@ MODULE moduleInject
|
|||
do e = 1, self%nEdges
|
||||
edge => self%edges(e)%obj
|
||||
|
||||
Xi = edge%centerXi()
|
||||
|
||||
if (associated(edge%e1)) then
|
||||
cell => edge%e1
|
||||
|
||||
|
|
@ -283,6 +281,8 @@ MODULE moduleInject
|
|||
|
||||
end if
|
||||
|
||||
Xi = edge%centerXi()
|
||||
|
||||
! Projection of EF on the edge normal vector
|
||||
EF_normal = dot_product(cell%gatherElectricField(Xi), edge%normal)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue