You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
real(wp), parameter:: small_alf =1e-11_wp !< Small alf tolerance
14
+
real(wp), parameter:: pi =3.141592653589793_wp !< Pi
15
+
real(wp), parameter:: verysmall =1.e-12_wp !< Very small number
14
16
15
17
integer, parameter:: num_stcls_min =5 !< Minimum # of stencils
16
18
integer, parameter:: path_len =400 !< Maximum path length
@@ -22,21 +24,21 @@ module m_constants
22
24
integer, parameter:: num_patches_max =10
23
25
integer, parameter:: pathlen_max =400
24
26
integer, parameter:: nnode =4 !< Number of QBMM nodes
25
-
real(kind(0d0)), parameter:: capillary_cutoff =1e-6 !< color function gradient magnitude at which to apply the surface tension fluxes
26
-
real(kind(0d0)), parameter:: acoustic_spatial_support_width =2.5d0 !< Spatial support width of acoustic source, used in s_source_spatial
27
-
real(kind(0d0)), parameter:: dflt_vcfl_dt =100d0 !< value of vcfl_dt when viscosity is off for computing adaptive timestep size
28
-
real(kind(0d0)), parameter:: broadband_spectral_level_constant =20d0 !< The constant to scale the spectral level at the lower frequency bound
29
-
real(kind(0d0)), parameter:: broadband_spectral_level_growth_rate =10d0 !< The spectral level constant to correct the magnitude at each frqeuency to ensure the source is overall broadband
27
+
real(wp), parameter:: capillary_cutoff =1e-6 !< color function gradient magnitude at which to apply the surface tension fluxes
28
+
real(wp), parameter:: acoustic_spatial_support_width =2.5_wp !< Spatial support width of acoustic source, used in s_source_spatial
29
+
real(wp), parameter:: dflt_vcfl_dt =100._wp !< value of vcfl_dt when viscosity is off for computing adaptive timestep size
30
+
real(wp), parameter:: broadband_spectral_level_constant =20._wp !< The constant to scale the spectral level at the lower frequency bound
31
+
real(wp), parameter:: broadband_spectral_level_growth_rate =10._wp !< The spectral level constant to correct the magnitude at each frqeuency to ensure the source is overall broadband
30
32
31
33
! IBM+STL interpolation constants
32
34
integer, parameter:: Ifactor_2D =50 !< Multiple factor of the ratio (edge to cell width) for interpolation along edges for 2D models
33
35
integer, parameter:: Ifactor_3D =5 !< Multiple factor of the ratio (edge to cell width) for interpolation along edges for 3D models
34
36
integer, parameter:: Ifactor_bary_3D =20 !< Multiple factor of the ratio (triangle area to cell face area) for interpolation on triangle facets for 3D models
35
37
integer, parameter:: num_ray =20 !< Default number of rays traced per cell
36
-
real(kind(0d0)), parameter:: ray_tracing_threshold =0.9d0 !< Threshold above which the cell is marked as the model patch
37
-
real(kind(0d0)), parameter:: threshold_vector_zero =1d-10 !< Threshold to treat the component of a vector to be zero
38
-
real(kind(0d0)), parameter:: threshold_edge_zero =1d-10 !< Threshold to treat two edges to be overlapped
39
-
real(kind(0d0)), parameter:: threshold_bary =1d-1 !< Threshold to interpolate a barycentric facet
40
-
real(kind(0d0)), parameter:: initial_distance_buffer =1d12 !< Initialized levelset distance for the shortest path pair algorithm
38
+
real(wp), parameter:: ray_tracing_threshold =0.9_wp !< Threshold above which the cell is marked as the model patch
39
+
real(wp), parameter:: threshold_vector_zero =1e-10 !< Threshold to treat the component of a vector to be zero
40
+
real(wp), parameter:: threshold_edge_zero =1e-10 !< Threshold to treat two edges to be overlapped
41
+
real(wp), parameter:: threshold_bary =1e-1 !< Threshold to interpolate a barycentric facet
42
+
real(wp), parameter:: initial_distance_buffer =1e12_wp !< Initialized levelset distance for the shortest path pair algorithm
0 commit comments