Skip to content

Commit

Permalink
updates code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeter committed Nov 15, 2023
1 parent 22568da commit 2afc818
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/decompose_mesh/README
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ to compile this executable xdecompose_mesh for partitioning your mesh files

for example, a call could look like:

> ./xdecompose_mesh 4 ../examples/homogeneous_halfspace/MESH/ ../OUTPUT_FILES/DATABASES_MPI/
> ./xdecompose_mesh 4 ../EXAMPLES/applications/homogeneous_halfspace/MESH/ ../OUTPUT_FILES/DATABASES_MPI/



2 changes: 1 addition & 1 deletion src/gpu/kernels/kernel_proto.cu.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
!=====================================================================
*/

// this file has been automatically generated by script utils/create_specfem3D_gpu_cuda_kernel_proto.pl
// this file has been automatically generated by script utils/scripts/create_specfem3D_gpu_cuda_kernel_proto.pl

#ifndef KERNEL_PROTO_CUDA_H
#define KERNEL_PROTO_CUDA_H
Expand Down
2 changes: 1 addition & 1 deletion src/gpu/specfem3D_gpu_cuda_method_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
!=====================================================================
*/

// this file has been automatically generated by script utils/create_specfem3D_gpu_cuda_method_stubs.pl
// this file has been automatically generated by script utils/scripts/create_specfem3D_gpu_cuda_method_stubs.pl

#include <stdio.h>
#include <stdlib.h>
Expand Down
4 changes: 2 additions & 2 deletions src/specfem3D/fault_solver_common.f90
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ subroutine fault_check_mesh_resolution()
logical :: has_vs_zero

! tabulated values of critical frequency (non-dimensional, 1D)
! (taken from utils/critical_timestep.m)
! (taken from utils/small_utilities/critical_timestep.m)
real(kind=CUSTOM_REAL),dimension(19),parameter :: &
Omega_max = (/2.0000000e+00, 4.8989795e+00, 8.6203822e+00, 1.3540623e+01, 1.9797952e+01, 2.7378050e+01, &
3.6256848e+01, 4.6421894e+01, 5.7867306e+01, 7.0590158e+01, 8.4588883e+01, 9.9862585e+01, &
Expand Down Expand Up @@ -1094,7 +1094,7 @@ subroutine fault_check_mesh_resolution()
call get_timestep_limit_significant_digit(dt_suggested)

! critical time step estimation
! see: utils/critical_timestep.m
! see: utils/small_utilities/critical_timestep.m
NGLL = max(NGLLX,NGLLY,NGLLZ)
! checks
if (NGLL < 2 .or. NGLL > 20) stop 'Error critical time step estimation: NGLL must be from 2 to 20'
Expand Down
2 changes: 1 addition & 1 deletion src/specfem3D/prepare_optimized_arrays.F90
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ subroutine prepare_timerun_OpenMP()
integer :: OMP_GET_MAX_THREADS


! the old OpenMP implementation for compute_forces_viscoelastic is in utils/unused_routines/:
! the old OpenMP implementation for compute_forces_viscoelastic is in utils/infos/unused_routines/:
! older_please_do_not_use_anymore_partial_OpenMP_port/older_not_maintained_compute_forces_viscoelastic_Dev_openmp.f90

! gets number of openMP threads
Expand Down

0 comments on commit 2afc818

Please sign in to comment.