66 #if defined(__cplusplus)
68 #if defined(HAVE_ACCEL)
83 cs_sync_scalar_gradient_halo_d(
const cs_mesh_t *m,
87 if (m->
halo != NULL) {
110 template <cs_lnum_t str
ide>
112 cs_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)
169 cs_gradient_scalar_lsq_cuda(
const cs_mesh_t *m,
206 template <cs_lnum_t str
ide>
208 cs_gradient_strided_lsq_cuda(
const cs_mesh_t *m,
242 template <cs_lnum_t str
ide>
244 cs_gradient_strided_gg_r_cuda(
const cs_mesh_t *m,
250 bool warped_correction,
void cs_sync_h2d(const void *ptr)
Synchronize data from host to device.
Definition: cs_base_accel.cxx:1256
void cs_sync_d2h(void *ptr)
Synchronize data from device to host.
Definition: cs_base_accel.cxx:1434
#define restrict
Definition: cs_defs.h:141
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
#define CS_REAL_TYPE
Definition: cs_defs.h:472
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:347
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.c:435
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.c:506
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.c:646
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