41 real(R8P):: re = 500._r8p
42 real(R8P):: beta = 0.6_r8p
47 procedure, non_overridable::
finalize
48 procedure, non_overridable::
pprint
59 elemental subroutine initialize(self,Re,beta,N)
63 real(R8P),
intent(IN):: re
64 real(R8P),
intent(IN):: beta
65 integer(I4P),
intent(IN):: n
71 call self%mesh%initialize(n=n)
72 if (
allocated(self%cons))
deallocate(self%cons) ;
allocate(self%cons(0:n,0:n))
87 call self%mesh%finalize
88 if (
allocated(self%cons))
deallocate(self%cons)
95 function pprint(self,unit) result(err)
99 integer(I4P),
intent(IN):: unit
105 write(unit,
'(A)',iostat=err)
' Re='//
str(n=self%Re)
106 write(unit,
'(A)',iostat=err)
' beta='//
str(n=self%beta)
107 write(unit,
'(A)',iostat=err)
' Mesh data'
108 err = self%mesh%pprint(unit)
109 write(unit,
'(A)',iostat=err)
' Conservative variables data'
112 err = self%cons(i,j)%pprint(unit)
procedure, non_overridable finalize
This module contains the definition of Type_Cavity and its procedures.
Derived type containing conservative variables.
Procedure for converting number, real and integer, to string (number to string type casting); logical...
Derived type containing conservative variables.
procedure, non_overridable initialize
This module contains the definition of Type_Conservative and its procedures.
Derived type containing conservative variables.
This module contains the definition of Type_Mesh and its procedures.
procedure, non_overridable pprint
Module IR_Precision makes available some portable kind-parameters and some useful procedures to deal ...