Skip to content

Commit f42982e

Browse files
The code really wanted me to run formatting
1 parent c542668 commit f42982e

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

src/common/m_model.fpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@ contains
849849
real(wp) :: n(1:3), proj(1:3)
850850
real(wp) :: d, ndot, denom
851851
real(wp) :: u, v_bary, w
852-
real(wp) :: d00, d01, d11, d20, d21
852+
real(wp) :: l00, l01, l11, l20, l21
853853
real(wp) :: edge(1:3), pe(1:3)
854854
real(wp) :: verts(1:3, 1:3)
855855

@@ -876,17 +876,17 @@ contains
876876
e1(:) = v3(:) - v1(:)
877877
pv(:) = proj(:) - v1(:)
878878

879-
d00 = dot_product(e0, e0)
880-
d01 = dot_product(e0, e1)
881-
d11 = dot_product(e1, e1)
882-
d20 = dot_product(pv, e0)
883-
d21 = dot_product(pv, e1)
879+
l00 = dot_product(e0, e0)
880+
l01 = dot_product(e0, e1)
881+
l11 = dot_product(e1, e1)
882+
l20 = dot_product(pv, e0)
883+
l21 = dot_product(pv, e1)
884884

885-
denom = d00*d11 - d01*d01
885+
denom = l00*l11 - l01*l01
886886

887887
if (abs(denom) > 0._wp) then
888-
v_bary = (d11*d20 - d01*d21)/denom
889-
w = (d00*d21 - d01*d20)/denom
888+
v_bary = (l11*l20 - l01*l21)/denom
889+
w = (l00*l21 - l01*l20)/denom
890890
u = 1._wp - v_bary - w
891891
else
892892
u = -1._wp

src/simulation/m_compute_levelset.fpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,8 +702,6 @@ contains
702702
gp%levelset_norm = matmul(rotation, normals(1:3))
703703
end if
704704

705-
print *, gp%levelset, gp%levelset_norm
706-
707705
end subroutine s_model_levelset
708706

709707
end module m_compute_levelset

0 commit comments

Comments
 (0)