Skip to content

Commit

Permalink
add prepare_wavefield_discontinuity_device to gpu stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianshi Liu committed Jan 2, 2025
1 parent 3c62f5f commit ae76eb0
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/gpu/specfem3D_gpu_cuda_method_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,21 @@ void FC_FUNC_(prepare_fault_device,
int* KELVIN_VOIGT_DAMPING,
realw* Kelvin_Voigt_eta) {}

void FC_FUNC_(prepare_wavefield_discontinuity_device,
PREPARE_WAVEFIELD_DISCONTINUITY_DEVICE)(
long* Mesh_pointer,
int* ispec_to_elem_wd,
int* nglob_wd,
int* nspec_wd,
int* ibool_wd,
int* boundary_to_iglob_wd,
realw* mass_in_wd,
int* nfaces_wd,
int* face_ijk_wd,
int* face_ispec_wd,
realw* face_normal_wd,
realw* face_jacobian2Dw_wd) {}

void FC_FUNC_(prepare_cleanup_device,
PREPARE_CLEANUP_DEVICE)(long* Mesh_pointer,
int* ACOUSTIC_SIMULATION,
Expand Down Expand Up @@ -675,7 +690,6 @@ void FC_FUNC_(get_smooth_gpu,
GET_SMOOTH_gpu)(long * smooth_pointer,
realw * data_smooth) {}


//
// src/gpu/transfer_fields_cuda.cu
//
Expand Down

0 comments on commit ae76eb0

Please sign in to comment.