Inout working
This commit is contained in:
parent
9f7b73054b
commit
73f585ed8b
5 changed files with 66 additions and 12 deletions
|
|
@ -963,8 +963,8 @@ MODULE moduleMesh
|
|||
integer:: nNodes
|
||||
type(meshNodePointer), allocatable:: nodes(:)
|
||||
|
||||
procedure(updateEM_interface), pointer, pass:: update => null()
|
||||
procedure(printEM_interface), pointer, pass:: print => null()
|
||||
procedure(updateEM_interface), pointer, pass:: update => null()
|
||||
procedure(printEMboundary_interface), pointer, pass:: print => null()
|
||||
contains
|
||||
procedure(applyEM_interface), deferred, pass:: apply
|
||||
|
||||
|
|
@ -989,13 +989,13 @@ MODULE moduleMesh
|
|||
end subroutine updateEM_interface
|
||||
|
||||
! Write the values of the particle boundary model
|
||||
subroutine printEM_interface(self, fileID)
|
||||
subroutine printEMboundary_interface(self, fileID)
|
||||
import boundaryEMGeneric
|
||||
|
||||
class(boundaryEMGeneric), intent(inout):: self
|
||||
integer, intent(in):: fileID
|
||||
|
||||
end subroutine printEM_interface
|
||||
end subroutine printEMboundary_interface
|
||||
|
||||
end interface
|
||||
|
||||
|
|
@ -1060,6 +1060,7 @@ MODULE moduleMesh
|
|||
type, extends(boundaryEMGeneric):: boundaryEMFloating
|
||||
real(8):: potential
|
||||
real(8):: invC ! Inverse of the capacitance of the surface
|
||||
real(8):: charge ! Charge accumulated on surface
|
||||
type(meshEdgePointer), allocatable:: edges(:) !Array with edges
|
||||
contains
|
||||
! boundaryEMGeneric DEFERRED PROCEDURES
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue