Skip to content

Commit e88cb81

Browse files
fixed error in OpenMP test for 3D distances
1 parent 5b65847 commit e88cb81

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

src/common/m_model.fpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module m_model
3636
integer, allocatable :: gpu_boundary_edge_count(:)
3737
integer, allocatable :: gpu_total_vertices(:)
3838
real(wp), allocatable :: stl_bounding_boxes(:, :, :)
39-
$:GPU_DECLARE(create='[gpu_trs_v,gpu_trs_n,gpu_boundary_v]')
39+
$:GPU_DECLARE(create='[gpu_ntrs,gpu_trs_v,gpu_trs_n,gpu_boundary_v,gpu_boundary_edge_count,gpu_total_vertices]')
4040

4141
contains
4242

src/simulation/m_compute_levelset.fpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,6 @@ contains
678678
end if
679679
xyz_local = matmul(inverse_rotation, xyz_local)
680680

681-
if (grid_geometry == 3) then
682-
xyz_local = f_convert_cyl_to_cart(xyz_local)
683-
end if
684-
685681
! 3D models
686682
if (p > 0) then
687683
! Get the boundary normals and shortest distance between the cell center and the model boundary

0 commit comments

Comments
 (0)