43 real(R8P),
pointer:: s => null()
46 procedure, non_overridable::
finalize
47 procedure, non_overridable::
pprint
67 type(type_node),
pointer,
intent(IN):: node1
68 type(
type_node),
pointer,
intent(IN):: node2
70 real(R8P),
pointer,
intent(IN):: s
74 self%node(1)%p => node1
75 self%node(2)%p => node2
91 do n=lbound(self%node,dim=1),ubound(self%node,dim=1)
92 if (
associated(self%node(n)%p))
deallocate(self%node(n)%p) ; self%node(n)%p => null()
94 if (
associated(self%N))
deallocate(self%N) ; self%N => null()
95 if (
associated(self%S))
deallocate(self%S) ; self%S => null()
102 function pprint(self,unit) result(err)
106 integer(I4P),
intent(IN):: unit
112 write(unit,
'(A)',iostat=err)
' Nodes data:'
113 do n=lbound(self%node,dim=1),ubound(self%node,dim=1)
114 if (
associated(self%node(n)%p))
then
115 write(unit,
'(A)',iostat=err)
' n='//trim(
str(n=n))
116 err = self%node(n)%p%pprint(unit=unit)
119 if (
associated(self%N))
then
120 write(unit,
'(A)',iostat=err)
' Face outward unit normal:'
121 write(unit,
'(A)',iostat=err)
' x='//trim(
str(n=self%N%x))//
' y='//trim(
str(n=self%N%y))//
' z='//trim(
str(n=self%N%z))
123 write(unit,
'(A)',iostat=err)
' Face area='//trim(
str(n=self%S))
Derived type containing conservative variables.
procedure, non_overridable finalize
This module contains the definition of Type_Node and its procedures.
Pointer of Type_Face for creating array of pointers of Type_Face.
This module contains the definition of Type_Face and its procedures.
Derived type containing conservative variables.
Derived type defining vectors.
Procedure for converting number, real and integer, to string (number to string type casting); logical...
This module contains the definition of Type_Vector and its procedures.
procedure, non_overridable initialize
procedure, non_overridable pprint
Pointer of Type_Node for creating array of pointers of Type_Node.
Module IR_Precision makes available some portable kind-parameters and some useful procedures to deal ...