Home
last modified time | relevance | path

Searched refs:n_cells_ext (Results 1 – 25 of 48) sorted by last modified time

12

/dports/science/code_saturne/code_saturne-7.1.0/src/rayt/
H A Dcs_rad_transfer_absorption.c129 const int n_cells_ext = m->n_cells_with_ghosts; in cs_rad_transfer_absorption() local
140 BFT_MALLOC(w1, n_cells_ext, cs_real_t); in cs_rad_transfer_absorption()
141 BFT_MALLOC(w2, n_cells_ext, cs_real_t); in cs_rad_transfer_absorption()
142 BFT_MALLOC(w3, n_cells_ext, cs_real_t); in cs_rad_transfer_absorption()
367 BFT_MALLOC(w3, n_cells_ext, cs_real_t); in cs_rad_transfer_absorption()
H A Dcs_rad_transfer_bcs.c154 cs_lnum_t n_cells_ext = m->n_cells_with_ghosts; in _set_internal_coupling_bcs() local
155 BFT_MALLOC(is_solid, n_cells_ext, int); in _set_internal_coupling_bcs()
156 for (cs_lnum_t i = 0; i < n_cells_ext; i++) in _set_internal_coupling_bcs()
H A Dcs_rad_transfer_pun.c159 const cs_lnum_t n_cells_ext = cs_glob_mesh->n_cells_with_ghosts; in cs_rad_transfer_pun() local
178 BFT_MALLOC(dpvar, n_cells_ext, cs_real_t); in cs_rad_transfer_pun()
179 BFT_MALLOC(thetaa, n_cells_ext, cs_real_t); in cs_rad_transfer_pun()
208 for (cs_lnum_t cell_id = n_cells; cell_id < n_cells_ext; cell_id++) in cs_rad_transfer_pun()
H A Dcs_rad_transfer_solve.c411 BFT_MALLOC(rhs0, n_cells_ext, cs_real_t); in _cs_rad_transfer_sol()
412 BFT_MALLOC(dpvar, n_cells_ext, cs_real_t); in _cs_rad_transfer_sol()
413 BFT_MALLOC(radiance, n_cells_ext, cs_real_t); in _cs_rad_transfer_sol()
420 BFT_MALLOC(dcp, n_cells_ext, cs_real_t); in _cs_rad_transfer_sol()
442 BFT_MALLOC(ck_u_d, n_cells_ext, cs_real_t); in _cs_rad_transfer_sol()
1108 BFT_MALLOC(rhs, n_cells_ext, cs_real_t); in cs_rad_transfer_solve()
1109 BFT_MALLOC(rovsdt, n_cells_ext, cs_real_t); in cs_rad_transfer_solve()
1124 BFT_MALLOC(ckmix, n_cells_ext, cs_real_t); in cs_rad_transfer_solve()
1153 BFT_MALLOC(iqpar, n_cells_ext, cs_real_3_t); in cs_rad_transfer_solve()
1239 BFT_MALLOC(int_emi, n_cells_ext, cs_real_t); in cs_rad_transfer_solve()
[all …]
/dports/science/code_saturne/code_saturne-7.1.0/src/turb/
H A Dcs_turbulence_rotation.c126 const cs_lnum_t n_cells_ext = m->n_cells_with_ghosts; in cs_turbulence_rotation_correction() local
174 BFT_MALLOC(strain, n_cells_ext, cs_real_6_t); in cs_turbulence_rotation_correction()
175 BFT_MALLOC(vortab, n_cells_ext, cs_real_3_t); in cs_turbulence_rotation_correction()
176 BFT_MALLOC(gradv, n_cells_ext, cs_real_33_t); in cs_turbulence_rotation_correction()
229 BFT_MALLOC(grdsij, n_cells_ext, cs_real_63_t); in cs_turbulence_rotation_correction()
H A Dcs_turbulence_sa.c148 BFT_MALLOC(grad_nu, n_cells_ext, cs_real_3_t); in _vort_trace()
239 BFT_MALLOC(w1, n_cells_ext, cs_real_t); in _src_terms()
469 BFT_MALLOC(vort, n_cells_ext, cs_real_t); in cs_turbulence_sa()
470 BFT_MALLOC(tr_gr_u, n_cells_ext, cs_real_t); in cs_turbulence_sa()
471 BFT_MALLOC(tr_gr_nu, n_cells_ext, cs_real_t); in cs_turbulence_sa()
472 BFT_MALLOC(rhs_sa, n_cells_ext, cs_real_t); in cs_turbulence_sa()
473 BFT_MALLOC(imp_sa, n_cells_ext, cs_real_t); in cs_turbulence_sa()
507 BFT_MALLOC(st_imp, n_cells_ext, cs_real_t); in cs_turbulence_sa()
508 BFT_MALLOC(st_exp, n_cells_ext, cs_real_t); in cs_turbulence_sa()
562 BFT_MALLOC(w_1, n_cells_ext, cs_real_t); in cs_turbulence_sa()
[all …]
H A Dcs_les_filter.c111 const cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in _les_filter_ext_neighborhood() local
113 const cs_lnum_t n_elts = n_cells_ext * _stride; in _les_filter_ext_neighborhood()
157 for (cs_lnum_t i = n_cells; i < n_cells_ext; i++) { in _les_filter_ext_neighborhood()
231 for (cs_lnum_t i = n_cells; i < n_cells_ext; i++) { in _les_filter_ext_neighborhood()
H A Dcs_turbulence_ke.c152 BFT_MALLOC(w7, n_cells_ext, cs_real_33_t); in _tsepls()
328 BFT_MALLOC(smbrk, n_cells_ext, cs_real_t); in cs_turbulence_ke()
329 BFT_MALLOC(smbre, n_cells_ext, cs_real_t); in cs_turbulence_ke()
334 BFT_MALLOC(divu, n_cells_ext, cs_real_t); in cs_turbulence_ke()
341 BFT_MALLOC(w1, n_cells_ext, cs_real_t); in cs_turbulence_ke()
342 BFT_MALLOC(w2, n_cells_ext, cs_real_t); in cs_turbulence_ke()
343 BFT_MALLOC(w3, n_cells_ext, cs_real_t); in cs_turbulence_ke()
344 BFT_MALLOC(w4, n_cells_ext, cs_real_t); in cs_turbulence_ke()
345 BFT_MALLOC(w5, n_cells_ext, cs_real_t); in cs_turbulence_ke()
349 BFT_MALLOC(w7, n_cells_ext, cs_real_t); in cs_turbulence_ke()
[all …]
H A Dcs_turbulence_kw.c186 BFT_MALLOC(smbrk, n_cells_ext, cs_real_t); in cs_turbulence_kw()
187 BFT_MALLOC(smbrw, n_cells_ext, cs_real_t); in cs_turbulence_kw()
190 BFT_MALLOC(tinstk, n_cells_ext, cs_real_t); in cs_turbulence_kw()
191 BFT_MALLOC(tinstw, n_cells_ext, cs_real_t); in cs_turbulence_kw()
192 BFT_MALLOC(xf1, n_cells_ext, cs_real_t); in cs_turbulence_kw()
197 BFT_MALLOC(w1, n_cells_ext, cs_real_t); in cs_turbulence_kw()
198 BFT_MALLOC(dpvar, n_cells_ext, cs_real_t); in cs_turbulence_kw()
199 BFT_MALLOC(gdkgdw, n_cells_ext, cs_real_t); in cs_turbulence_kw()
200 BFT_MALLOC(prodk, n_cells_ext, cs_real_t); in cs_turbulence_kw()
201 BFT_MALLOC(prodw, n_cells_ext, cs_real_t); in cs_turbulence_kw()
[all …]
/dports/science/code_saturne/code_saturne-7.1.0/src/user_examples/
H A Dcs_cad_intersect.cxx509 const cs_lnum_t n_cells_ext = m->n_cells_with_ghosts; in _cad_intersect() local
590 BFT_MALLOC(c_restrict_id, n_cells_ext, cs_lnum_t); in _cad_intersect()
592 for (cs_lnum_t i = 0; i < n_cells_ext; i++) in _cad_intersect()
598 for (cs_lnum_t i = 0; i < n_cells_ext; i++) in _cad_intersect()
H A Dcs_user_extra_operations-scalar_balance.c99 const cs_lnum_t n_cells_ext = m->n_cells_with_ghosts; in cs_user_extra_operations() local
193 BFT_MALLOC(grad, n_cells_ext, cs_real_3_t); in cs_user_extra_operations()
H A Dcs_user_extra_operations-vorticity_field.c119 const cs_lnum_t n_cells_ext = cs_glob_mesh->n_cells_with_ghosts; in cs_user_extra_operations() local
126 BFT_MALLOC(gradv, n_cells_ext, cs_real_33_t); in cs_user_extra_operations()
/dports/science/code_saturne/code_saturne-7.1.0/src/mesh/
H A Dcs_mesh_quantities.c1128 const cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in _compute_cell_quantities() local
1141 BFT_MALLOC(a_cell_cen, n_cells_ext, cs_real_3_t); in _compute_cell_quantities()
1152 for (cs_lnum_t j = 0; j < n_cells_ext; j++) in _compute_cell_quantities()
1155 for (cs_lnum_t j = 0; j < n_cells_ext; j++) { in _compute_cell_quantities()
2576 cs_lnum_t n_cells_ext = n_cells_with_ghosts; in cs_mesh_quantities_compute() local
2577 BFT_MALLOC(mq->c_disable_flag, n_cells_ext, int); in cs_mesh_quantities_compute()
2578 for (cs_lnum_t cell_id = 0; cell_id < n_cells_ext; cell_id++) in cs_mesh_quantities_compute()
H A Dcs_mesh_remove.c115 cs_lnum_t n_cells_ext = m->n_cells_with_ghosts; in cs_mesh_remove_cells() local
126 BFT_MALLOC(c_o2n, n_cells_ext, cs_lnum_t); in cs_mesh_remove_cells()
170 BFT_MALLOC(b_gc_id, n_cells_ext, int); in cs_mesh_remove_cells()
171 for (cs_lnum_t i = 0; i < n_cells_ext; i++) in cs_mesh_remove_cells()
H A Dcs_mesh_bad_cells.c635 cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in _to_regularize() local
650 BFT_MALLOC(vol, n_cells_ext, cs_real_3_t); in _to_regularize()
653 for (cs_lnum_t cell_id = 0; cell_id < n_cells_ext; cell_id++) { in _to_regularize()
/dports/science/code_saturne/code_saturne-7.1.0/src/elec/
H A Dcs_elec_model.c1369 cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in cs_elec_compute_fields() local
1379 BFT_MALLOC(grad, n_cells_ext, cs_real_3_t); in cs_elec_compute_fields()
1580 BFT_MALLOC(gradv, n_cells_ext, cs_real_33_t); in cs_elec_compute_fields()
1655 cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in cs_elec_source_terms() local
1665 BFT_MALLOC(w1, n_cells_ext, cs_real_t); in cs_elec_source_terms()
/dports/science/code_saturne/code_saturne-7.1.0/src/lagr/
H A Dcs_lagr_lec.c106 cs_lnum_t n_cells_ext = cs_glob_mesh->n_cells_with_ghosts; in cs_restart_lagrangian_checkpoint_read() local
114 cs_real_t *st_val = cs_glob_lagr_source_terms->st_val + ivar*n_cells_ext; in cs_restart_lagrangian_checkpoint_read()
635 cs_real_t *st_val = cs_glob_lagr_source_terms->st_val + ivar*n_cells_ext; in cs_restart_lagrangian_checkpoint_read()
1415 const cs_lnum_t n_cells_ext = cs_glob_mesh->n_cells_with_ghosts; in cs_restart_lagrangian_checkpoint_write() local
1419 cs_real_t *st_val = cs_glob_lagr_source_terms->st_val + ii*n_cells_ext; in cs_restart_lagrangian_checkpoint_write()
/dports/science/code_saturne/code_saturne-7.1.0/src/alge/
H A Dcs_bad_cells_regularisation.c90 cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in cs_bad_cells_regularisation_scalar() local
114 BFT_MALLOC(dam, n_cells_ext, cs_real_t); in cs_bad_cells_regularisation_scalar()
115 BFT_MALLOC(rhs, n_cells_ext, cs_real_t); in cs_bad_cells_regularisation_scalar()
218 cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in cs_bad_cells_regularisation_vector() local
255 BFT_MALLOC(dam, n_cells_ext, cs_real_33_t); in cs_bad_cells_regularisation_vector()
256 BFT_MALLOC(rhs, n_cells_ext, cs_real_3_t); in cs_bad_cells_regularisation_vector()
398 cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in cs_bad_cells_regularisation_sym_tensor() local
429 BFT_MALLOC(dam, n_cells_ext, cs_real_66_t); in cs_bad_cells_regularisation_sym_tensor()
430 BFT_MALLOC(rhs, n_cells_ext, cs_real_6_t); in cs_bad_cells_regularisation_sym_tensor()
611 BFT_MALLOC(dam, n_cells_ext, cs_real_99_t); in cs_bad_cells_regularisation_tensor()
[all …]
H A Dcs_benchmark.c423 for (jj = 0; jj < n_cells_ext; jj++) in _sub_matrix_vector_test()
458 for (jj = 0; jj < n_cells_ext; jj++) in _sub_matrix_vector_test()
1008 n_cells_ext, in cs_benchmark()
1016 BFT_MALLOC(x, n_cells_ext, cs_real_t); in cs_benchmark()
1018 for (ii = 0; ii < n_cells_ext; ii++) in cs_benchmark()
1024 BFT_MALLOC(y, n_cells_ext, cs_real_t); in cs_benchmark()
1026 BFT_MALLOC(da, n_cells_ext, cs_real_t); in cs_benchmark()
1029 for (ii = 0; ii < n_cells_ext; ii++) in cs_benchmark()
1053 n_cells_ext, in cs_benchmark()
1070 n_cells_ext, in cs_benchmark()
[all …]
H A Dcs_benchmark_matrix.c775 cs_lnum_t n_cells_ext, in _matrix_time_test() argument
805 BFT_MALLOC(x, n_cells_ext*d_block_size[1], cs_real_t); in _matrix_time_test()
806 BFT_MALLOC(y, n_cells_ext*d_block_size[1], cs_real_t); in _matrix_time_test()
809 BFT_MALLOC(da, n_cells_ext*d_block_size[3], cs_real_t); in _matrix_time_test()
813 for (ii = 0; ii < n_cells_ext*d_block_size[3]; ii++) in _matrix_time_test()
816 for (ii = 0; ii < n_cells_ext*d_block_size[1]; ii++) in _matrix_time_test()
817 x[ii] = ii*0.1/n_cells_ext; in _matrix_time_test()
851 n_cells_ext, in _matrix_time_test()
1455 cs_lnum_t n_cells_ext, in cs_benchmark_matrix() argument
1512 n_cells_ext, in cs_benchmark_matrix()
[all …]
H A Dcs_face_viscosity.c366 const cs_lnum_t n_cells_ext = m->n_cells_with_ghosts; in cs_face_anisotropic_viscosity_vector() local
404 BFT_MALLOC(w2, n_cells_ext, cs_real_6_t); in cs_face_anisotropic_viscosity_vector()
415 BFT_MALLOC(w2, n_cells_ext, cs_real_6_t); in cs_face_anisotropic_viscosity_vector()
583 const cs_lnum_t n_cells_ext = m->n_cells_with_ghosts; in cs_face_anisotropic_viscosity_scalar() local
636 BFT_MALLOC(w2, n_cells_ext, cs_real_6_t); in cs_face_anisotropic_viscosity_scalar()
647 BFT_MALLOC(w2, n_cells_ext, cs_real_6_t); in cs_face_anisotropic_viscosity_scalar()
H A Dcs_gradient.c800 BFT_MALLOC(buf, 3*n_cells_ext, cs_real_t); in _scalar_gradient_clipping()
802 BFT_MALLOC(buf, 2*n_cells_ext, cs_real_t); in _scalar_gradient_clipping()
805 denom = buf + n_cells_ext; in _scalar_gradient_clipping()
808 clip_factor = buf + 2*n_cells_ext; in _scalar_gradient_clipping()
1703 BFT_MALLOC(rhs, n_cells_ext, cs_real_3_t); in _iterative_scalar_gradient()
2539 BFT_MALLOC(rhsv, n_cells_ext, cs_real_4_t); in _lsq_scalar_gradient()
2960 BFT_MALLOC(rhsv, n_cells_ext, cs_real_4_t); in _lsq_scalar_gradient_ani()
4330 denom = buf + n_cells_ext; in _vector_gradient_clipping()
4333 clip_factor = buf + 2*n_cells_ext; in _vector_gradient_clipping()
7755 denom = buf + n_cells_ext; in _tensor_gradient_clipping()
[all …]
H A Dcs_gradient_cuda.cu532 const cs_lnum_t n_cells_ext = m->n_cells_with_ghosts; in cs_gradient_scalar_lsq_cuda() local
547 CS_CUDA_CHECK(cudaMalloc(&rhsv, n_cells_ext * sizeof(cs_real_4_t))); in cs_gradient_scalar_lsq_cuda()
552 _sync_or_copy_real_h2d(pvar, n_cells_ext, device_id, stream1, in cs_gradient_scalar_lsq_cuda()
567 = (unsigned int)ceil((double)n_cells_ext / blocksize); in cs_gradient_scalar_lsq_cuda()
604 (n_cells_ext, rhsv, pvar_d); in cs_gradient_scalar_lsq_cuda()
738 size_t size = n_cells_ext * sizeof(cs_real_t) * 3; in cs_gradient_scalar_lsq_cuda()
754 size_t size = n_cells_ext * sizeof(cs_real_t) * 3; in cs_gradient_scalar_lsq_cuda()
H A Dcs_convection_diffusion.h140 const cs_lnum_t n_cells_ext = cs_glob_mesh->n_cells_with_ghosts; in cs_get_v_slope_test() local
142 for (cs_lnum_t cell_id = 0; cell_id < n_cells_ext; cell_id++) in cs_get_v_slope_test()
168 const cs_lnum_t n_cells_ext = m->n_cells_with_ghosts; in cs_cell_courant_number() local
198 for (cs_lnum_t ii = 0; ii < n_cells_ext; ii++) { in cs_cell_courant_number()
/dports/science/code_saturne/code_saturne-7.1.0/src/base/
H A Dcs_fan.c442 const cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in cs_fan_build_all() local
464 BFT_MALLOC(cell_fan_id, n_cells_ext, int); in cs_fan_build_all()
466 for (cs_lnum_t cell_id = 0; cell_id < n_cells_ext; cell_id++) in cs_fan_build_all()
639 const cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in cs_fan_compute_flows() local
651 BFT_MALLOC(cell_fan_id, n_cells_ext, int); in cs_fan_compute_flows()
923 const cs_lnum_t n_cells_ext = mesh->n_cells_with_ghosts; in cs_fan_flag_cells() local
926 for (cs_lnum_t cell_id = 0; cell_id < n_cells_ext; cell_id++) in cs_fan_flag_cells()
949 for (cs_lnum_t cell_id = 0; cell_id < n_cells_ext; cell_id++) in cs_fan_flag_cells()

12