FE-Project
Loading...
Searching...
No Matches
scale_file_monitor_meshfield::file_monitor_meshfield_put Interface Reference

Public Member Functions

subroutine file_monitor_meshfield_put2d (itemid, field)
subroutine file_monitor_meshfield_put3d (itemid, field)

Detailed Description

Definition at line 54 of file scale_file_monitor_meshfield.F90.

Member Function/Subroutine Documentation

◆ file_monitor_meshfield_put2d()

subroutine scale_file_monitor_meshfield::file_monitor_meshfield_put::file_monitor_meshfield_put2d ( integer, intent(in) itemid,
class(meshfield2d), intent(in) field )

Definition at line 128 of file scale_file_monitor_meshfield.F90.

129 implicit none
130
131 class(MeshField2D), intent(in) :: field
132 integer, intent(in) :: itemid
133
134 real(RP) :: total_lc(1,1)
135 integer :: n
136 !---------------------------------------------------------------------------
137
138 if ( itemid <= 0 ) return
139
140 total_lc(1,1) = 0.0_rp
141 do n=1, field%mesh%LOCAL_MESH_NUM
142 total_lc(1,1) = total_lc(1,1) &
143 + cal_total_lc( field%mesh%lcmesh_list(n), field%local(n)%val )
144 end do
145 call monitor_put( itemid, total_lc(:,:) )
146
147 return

◆ file_monitor_meshfield_put3d()

subroutine scale_file_monitor_meshfield::file_monitor_meshfield_put::file_monitor_meshfield_put3d ( integer, intent(in) itemid,
class(meshfield3d), intent(in) field )

Definition at line 151 of file scale_file_monitor_meshfield.F90.

152 implicit none
153
154 class(MeshField3D), intent(in) :: field
155 integer, intent(in) :: itemid
156
157 real(RP) :: total_lc(1,1)
158 integer :: n
159 !---------------------------------------------------------------------------
160
161 if ( itemid <= 0 ) return
162
163 total_lc(1,1) = 0.0_rp
164 do n=1, field%mesh%LOCAL_MESH_NUM
165 total_lc(1,1) = total_lc(1,1) &
166 + cal_total_lc( field%mesh%lcmesh_list(n), field%local(n)%val )
167 end do
168 call monitor_put( itemid, total_lc(:,:) )
169
170 return

The documentation for this interface was generated from the following file: