66#if defined(__cplusplus)
68#if defined(HAVE_ACCEL)
83cs_sync_scalar_gradient_halo_d(
const cs_mesh_t *m,
87 if (m->
halo != NULL) {
110template <cs_lnum_t str
ide>
112cs_sync_strided_gradient_halo_d(
const cs_mesh_t *m,
116 if (m->
halo != NULL) {
124 else if (stride == 3)
126 else if (stride == 6)
141#if defined(HAVE_CUDA)
169cs_gradient_scalar_lsq_cuda(
const cs_mesh_t *m,
206template <cs_lnum_t str
ide>
208cs_gradient_strided_lsq_cuda
218 const cs_real_t coefbv[][stride][stride],
221 const cs_cocg_6_t *cocgb,
245template <cs_lnum_t str
ide>
247cs_gradient_strided_gg_r_cuda
255 bool warped_correction,
257 const cs_real_t coefbv[][stride][stride],
#define restrict
Definition: cs_defs.h:145
double cs_real_t
Floating-point value.
Definition: cs_defs.h:342
#define CS_REAL_TYPE
Definition: cs_defs.h:486
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:359
cs_halo_type_t
Definition: cs_halo.h:56
void cs_halo_perio_sync_var_vect(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[], int incvar)
Definition: cs_halo_perio.cpp:384
void cs_halo_perio_sync_var_tens(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[])
Definition: cs_halo_perio.cpp:455
void cs_halo_perio_sync_var_sym_tens_grad(const cs_halo_t *halo, cs_halo_type_t sync_mode, cs_real_t var[])
Definition: cs_halo_perio.cpp:595
static void cs_sync_d2h(void *ptr)
Synchronize data from device to host.
Definition: cs_mem.h:1031
static void cs_sync_h2d(const void *ptr)
Synchronize data from host to device.
Definition: cs_mem.h:997
Field boundary condition descriptor (for variables)
Definition: cs_field.h:104
Definition: cs_mesh_adjacencies.h:82
Definition: cs_mesh_quantities.h:92
int have_rotation_perio
Definition: cs_mesh.h:143
cs_halo_t * halo
Definition: cs_mesh.h:156