Skip to content

Commit 04e82b6

Browse files
Deleted some old constants taht don't need to be here anymore
1 parent 8709609 commit 04e82b6

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/common/m_constants.fpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,10 @@ module m_constants
5050
real(wp), parameter :: dflt_T_guess = 1200._wp ! Default guess for temperature (when a previous value is not available)
5151

5252
! IBM+STL interpolation constants
53-
integer, parameter :: Ifactor_2D = 50 !< Multiple factor of the ratio (edge to cell width) for interpolation along edges for 2D models
54-
integer, parameter :: Ifactor_3D = 5 !< Multiple factor of the ratio (edge to cell width) for interpolation along edges for 3D models
55-
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
5653
integer, parameter :: num_ray = 20 !< Default number of rays traced per cell
5754
real(wp), parameter :: ray_tracing_threshold = 0.9_wp !< Threshold above which the cell is marked as the model patch
5855
real(wp), parameter :: threshold_vector_zero = 1.e-10_wp !< Threshold to treat the component of a vector to be zero
5956
real(wp), parameter :: threshold_edge_zero = 1.e-10_wp !< Threshold to treat two edges to be overlapped
60-
real(wp), parameter :: threshold_bary = 1.e-1_wp !< Threshold to interpolate a barycentric facet
6157
real(wp), parameter :: initial_distance_buffer = 1.e12_wp !< Initialized levelset distance for the shortest path pair algorithm
6258

6359
! Lagrange bubbles constants

src/common/m_model.fpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ contains
853853
real(wp) :: edge(1:3), pe(1:3)
854854
real(wp) :: verts(1:3, 1:3)
855855

856-
dist_min = 1.e12_wp
856+
dist_min = initial_distance_buffer
857857
normals = 0._wp
858858

859859
do i = 1, ntrs
@@ -971,7 +971,7 @@ contains
971971
real(wp) :: v1(1:2), v2(1:2), edge(1:2), pv(1:2)
972972
real(wp) :: edge_len_sq, proj(1:2)
973973

974-
dist_min = 1.e12_wp
974+
dist_min = initial_distance_buffer
975975
normals = 0._wp
976976

977977
do i = 1, boundary_edge_count

0 commit comments

Comments
 (0)