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

Public Member Functions

subroutine file_monitor_meshfield_set_dim2d (mesh2d, dim_type)
subroutine file_monitor_meshfield_set_dim3d (mesh3d, dim_type)

Detailed Description

Definition at line 46 of file scale_file_monitor_meshfield.F90.

Member Function/Subroutine Documentation

◆ file_monitor_meshfield_set_dim2d()

subroutine scale_file_monitor_meshfield::file_monitor_meshfield_set_dim::file_monitor_meshfield_set_dim2d ( class(meshbase2d), intent(in) mesh2d,
character(*), intent(in) dim_type )

Definition at line 76 of file scale_file_monitor_meshfield.F90.

77 implicit none
78
79 class(MeshBase2D), intent(in) :: mesh2D
80 character(*), intent(in) :: dim_type
81
82 real(RP) :: area(1,1)
83 real(RP) :: total_area, total_area_lc
84
85 integer :: n
86 integer :: ke
87 !---------------------------------------------------------------------------
88
89 total_area = 0.0_rp
90 do n=1, mesh2d%LOCAL_MESH_NUM
91 total_area = total_area + cal_total_lc( mesh2d%lcmesh_list(n) )
92 end do
93 area(1,1) = 1.0_rp
94
95 call monitor_set_dim( 1, 1, 1, 1, 1, 1, 1, 1, 1, &
96 dim_type, 2, area=area(:,:), total_area=total_area )
97
98 return

◆ file_monitor_meshfield_set_dim3d()

subroutine scale_file_monitor_meshfield::file_monitor_meshfield_set_dim::file_monitor_meshfield_set_dim3d ( class(meshbase3d), intent(in) mesh3d,
character(*), intent(in) dim_type )

Definition at line 102 of file scale_file_monitor_meshfield.F90.

103 implicit none
104
105 class(MeshBase3D), intent(in) :: mesh3D
106 character(*), intent(in) :: dim_type
107
108 real(RP) :: area(1,1)
109 real(RP) :: total_area, total_area_lc
110
111 integer :: n
112 integer :: ke
113 !---------------------------------------------------------------------------
114
115 total_area = 0.0_rp
116 do n=1, mesh3d%LOCAL_MESH_NUM
117 total_area = total_area + cal_total_lc( mesh3d%lcmesh_list(n) )
118 end do
119 area(1,1) = 1.0_rp
120
121 call monitor_set_dim( 1, 1, 1, 1, 1, 1, 1, 1, 1, &
122 dim_type, 2, area=area(:,:), total_area=total_area )
123
124 return

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