My Project
Data Types | Functions/Subroutines
mod_infovar Module Reference

Data Types

type  infovar
 

Functions/Subroutines

subroutine set_infovar (v, vname, vtype, vval, vbound, xpos, ypos, vpid, vpt, vlay)
 
subroutine print_infovar (v, iunit)
 

Function/Subroutine Documentation

◆ print_infovar()

subroutine mod_infovar::print_infovar ( type(infovar), intent(inout)  v,
integer, intent(in)  iunit 
)

Definition at line 81 of file mod_boundschk.f90.

81  type(infovar), intent(inout) :: v
82  integer, intent(in) :: iunit
83 
84  write(iunit,*)'variable: ',trim(v%var)
85  if(v%vtype==1)then
86  write(iunit,*)'type : node'
87  else
88  write(iunit,*)'type : elem'
89  endif
90  write(iunit,*)'value : ',v%val
91  write(iunit,*)'bound : ',v%bnd
92  write(iunit,*)'x-pos : ',v%xpos
93  write(iunit,*)'y-pos : ',v%ypos
94  if(v%vtype==1)then
95  write(iunit,*)'vertex : ',v%pt
96  else
97  write(iunit,*)'cell : ',v%pt
98  endif
99  write(iunit,*)'prod id : ',v%pid
100  write(iunit,*)'layer : ',v%lay
101 
real(sp), dimension(:,:), allocatable, target v
Definition: mod_main.f90:1269
Here is the caller graph for this function:

◆ set_infovar()

subroutine mod_infovar::set_infovar ( type(infovar), intent(inout)  v,
character(len=20)  vname,
integer, intent(in)  vtype,
real(sp), intent(in)  vval,
real(sp), intent(in)  vbound,
real(sp), intent(in)  xpos,
real(sp), intent(in)  ypos,
integer, intent(in)  vpid,
integer, intent(in)  vpt,
integer, intent(in)  vlay 
)

Definition at line 57 of file mod_boundschk.f90.

57  type(infovar), intent(inout) :: v
58  character(len=20) :: vname
59  integer, intent(in) :: vtype
60  real(sp), intent(in) :: vval
61  real(sp), intent(in) :: vbound
62  real(sp), intent(in) :: xpos
63  real(sp), intent(in) :: ypos
64  integer, intent(in) :: vpid
65  integer, intent(in) :: vpt
66  integer, intent(in) :: vlay
67 
68  v%var = vname
69  v%vtype = vtype
70  v%val = vval
71  v%bnd = vbound
72  v%xpos = xpos
73  v%ypos = ypos
74  v%pt = vpt
75  v%pid = vpid
76  v%lay = vlay
77 
real(sp), dimension(:,:), allocatable, target v
Definition: mod_main.f90:1269
Here is the caller graph for this function: