Finally, using the right center for each element
This commit is contained in:
parent
ab7cf76be6
commit
9f4d357593
8 changed files with 83 additions and 9 deletions
|
|
@ -119,6 +119,7 @@ MODULE moduleMesh
|
|||
PROCEDURE(intersectionEdge_interface), DEFERRED, PASS:: intersection
|
||||
PROCEDURE(randPosEdge_interface), DEFERRED, PASS:: randPos
|
||||
procedure(centerEdge_interface), deferred, pass:: center
|
||||
procedure(centerXiEdge_interface), deferred, nopass:: centerXi
|
||||
PROCEDURE(fPsi_interface), DEFERRED, NOPASS:: fPsi
|
||||
!Gather value and spatial derivative on the nodes at position Xi
|
||||
PROCEDURE, PASS, PRIVATE:: gatherF_edge_scalar
|
||||
|
|
@ -185,6 +186,12 @@ MODULE moduleMesh
|
|||
|
||||
END FUNCTION centerEdge_interface
|
||||
|
||||
! Returns the center point of an edge in natural coordinates
|
||||
FUNCTION centerXiEdge_interface() RESULT(Xi)
|
||||
REAL(8):: Xi(1:3)
|
||||
|
||||
END FUNCTION centerXiEdge_interface
|
||||
|
||||
END INTERFACE
|
||||
|
||||
!Containers for edges in the mesh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue