/dports/science/code_saturne/code_saturne-7.1.0/src/cdo/ |
H A D | cs_hho_stokes.c | 181 size = CS_MAX(38, n_fc*(n_fc+1)); in _cell_builder_create() 185 size = CS_MAX(2*n_fc, 15); in _cell_builder_create() 199 size = n_fc + 1; in _cell_builder_create() 218 size = CS_MAX(15, 5 + n_fc); in _cell_builder_create() 225 cb->ids[n_fc] = 4; in _cell_builder_create() 226 cb->loc = cs_sdm_block_create(n_fc + 1, n_fc + 1, cb->ids, cb->ids); in _cell_builder_create() 234 size = n_fc + 1; in _cell_builder_create() 260 cb->ids[n_fc] = 10; in _cell_builder_create() 261 cb->loc = cs_sdm_block_create(n_fc + 1, n_fc + 1, cb->ids, cb->ids); in _cell_builder_create() 379 cb->ids[n_fc] = cbs; in cs_hho_stokes_initialize() [all …]
|
H A D | cs_hho_scaleq.c | 197 size = CS_MAX(38, n_fc*(n_fc+1)); in _cell_builder_create() 215 size = n_fc + 1; in _cell_builder_create() 241 cb->ids[n_fc] = 4; in _cell_builder_create() 242 cb->loc = cs_sdm_block_create(n_fc + 1, n_fc + 1, cb->ids, cb->ids); in _cell_builder_create() 250 size = n_fc + 1; in _cell_builder_create() 276 cb->ids[n_fc] = 10; in _cell_builder_create() 277 cb->loc = cs_sdm_block_create(n_fc + 1, n_fc + 1, cb->ids, cb->ids); in _cell_builder_create() 465 const cs_sdm_t *mCC = cs_sdm_get_block(m, n_fc, n_fc); in _condense_and_store() 556 int shift = n_fc; in _condense_and_store() 672 cb->ids[n_fc] = cbs; in cs_hho_scaleq_init_common() [all …]
|
H A D | cs_hho_vecteq.c | 193 size = CS_MAX(38, n_fc*(n_fc+1)); in _cell_builder_create() 204 cb->loc = cs_sdm_block33_create(n_fc + 1, n_fc + 1); in _cell_builder_create() 213 size = n_fc + 1; in _cell_builder_create() 244 cb->ids[n_fc] = 3*4; in _cell_builder_create() 245 cb->loc = cs_sdm_block_create(n_fc + 1, n_fc + 1, cb->ids, cb->ids); in _cell_builder_create() 253 size = n_fc + 1; in _cell_builder_create() 287 cb->loc = cs_sdm_block_create(n_fc + 1, n_fc + 1, cb->ids, cb->ids); in _cell_builder_create() 476 const cs_sdm_t *mCC = cs_sdm_get_block(m, n_fc, n_fc); in _condense_and_store() 560 int shift = n_fc; in _condense_and_store() 679 cb->ids[n_fc] = cbs; in cs_hho_vecteq_init_common() [all …]
|
H A D | cs_cdofb_scaleq.c | 138 int size = n_fc*(n_fc+1); in _cell_builder_create() 142 size = 2*n_fc; in _cell_builder_create() 1379 csys->rhs[cm->n_fc] += csys->source[cm->n_fc]; in cs_cdofb_scaleq_interpolate() 1626 csys->rhs[cm->n_fc] += csys->source[cm->n_fc]; in cs_cdofb_scaleq_solve_steady_state() 1875 csys->rhs[cm->n_fc] += csys->source[cm->n_fc]; in cs_cdofb_scaleq_solve_implicit() 1900 csys->rhs[cm->n_fc] += ptyc * csys->val_n[cm->n_fc]; in cs_cdofb_scaleq_solve_implicit() 1901 csys->mat->val[cm->n_fc*csys->n_dofs + cm->n_fc] += ptyc; in cs_cdofb_scaleq_solve_implicit() 2187 csys->rhs[cm->n_fc] += tcoef * csys->source[cm->n_fc]; in cs_cdofb_scaleq_solve_theta() 2214 csys->rhs[cm->n_fc] += eqp->theta * csys->source[cm->n_fc]; in cs_cdofb_scaleq_solve_theta() 2257 csys->rhs[cm->n_fc] += ptyc*csys->val_n[cm->n_fc]; in cs_cdofb_scaleq_solve_theta() [all …]
|
H A D | cs_hho_builder.c | 752 int n_fc) in cs_hho_builder_create() argument 763 b->n_max_face_basis = n_fc; in cs_hho_builder_create() 765 for (int i = 0; i < n_fc; i++) in cs_hho_builder_create() 779 for (int f = 0; f < n_fc; f++) { in cs_hho_builder_create() 782 block_size[n_fc] = cbs; in cs_hho_builder_create() 788 b->jstab = cs_sdm_block_create(1 + n_fc, 1 + n_fc, block_size, block_size); in cs_hho_builder_create() 871 hhob->n_face_basis = cm->n_fc; in cs_hho_builder_cellwise_setup() 934 for (int f = 0; f < cm->n_fc; f++) { in cs_hho_builder_compute_grad_reco() 1181 cb->ids[cm->n_fc] = cs; in cs_hho_builder_diffusion() 1184 cs_sdm_block_init(cb->loc, cm->n_fc + 1, cm->n_fc + 1, cb->ids, cb->ids); in cs_hho_builder_diffusion() [all …]
|
H A D | cs_hodge.c | 369 size = 2*n_vc + 3*n_ec + n_fc; in _cell_builder_create() 379 size = n_fc*(n_fc+1); in _cell_builder_create() 383 size = 2*n_fc; in _cell_builder_create() 1873 sval_i[cm->n_fc] = -row_sum; in cs_hodge_fb_cost_get_stiffness() 1880 sval_crow[cm->n_fc] = full_sum; in cs_hodge_fb_cost_get_stiffness() 1935 sval_i[cm->n_fc] = -row_sum; in cs_hodge_fb_bubble_get_stiffness() 1942 sval_crow[cm->n_fc] = full_sum; in cs_hodge_fb_bubble_get_stiffness() 1994 sval_i[cm->n_fc] = -row_sum; in cs_hodge_fb_voro_get_stiffness() 2001 sval_crow[cm->n_fc] = full_sum; in cs_hodge_fb_voro_get_stiffness() 3545 hmat->val[f*cm->n_fc+f] = in cs_hodge_fped_voro_get() [all …]
|
H A D | cs_cdofb_vecteq.c | 118 const int n_fc = connect->n_max_fbyc; in _cell_builder_create() local 119 const int n_dofs = n_fc + 1; in _cell_builder_create() 125 BFT_MALLOC(cb->adv_fluxes, n_fc, double); in _cell_builder_create() 135 size = 2*n_fc; in _cell_builder_create() 349 const int n_blocks = cm->n_fc + 1; in cs_cdofb_vecteq_init_cell_system() 357 cs_cell_sys_reset(cm->n_fc, csys); in cs_cdofb_vecteq_init_cell_system() 364 for (int f = 0; f < cm->n_fc; f++) { in cs_cdofb_vecteq_init_cell_system() 377 for (int f = 0; f < cm->n_fc; f++) { in cs_cdofb_vecteq_init_cell_system() 611 cs_sdm_t *bcc = cs_sdm_get_block(csys->mat, cm->n_fc, cm->n_fc); in cs_cdofb_vecteq_conv_diff_reac() 1075 const short int n_f = cm->n_fc; in cs_cdofb_vecteq_solve_implicit() [all …]
|
H A D | cs_cdo_advection.c | 1176 for (int f = 0; f < cm->n_fc; f++) in cs_cdofb_advection_open_default() 1288 for (int i = 0; i < cm->n_fc + 1; i++) in cs_cdofb_advection_close_exp_none_scal() 1327 for (int i = 0; i < cm->n_fc + 1; i++) in cs_cdofb_advection_close_exp_none_vect() 1333 for (int i = 0; i < cm->n_fc + 1; i++) in cs_cdofb_advection_close_exp_none_vect() 1371 cs_sdm_square_init(cm->n_fc + 1, adv); in cs_cdofb_advection_no_diffusion() 1388 for (int f = 0; f < cm->n_fc; f++) in cs_cdofb_advection_no_diffusion() 1393 for (int f = 0; f < cm->n_fc; f++) { in cs_cdofb_advection_no_diffusion() 1399 f_row[cm->n_fc] += -1; in cs_cdofb_advection_no_diffusion() 1410 for (int f = 0; f < cm->n_fc; f++) in cs_cdofb_advection_no_diffusion() 1450 cs_sdm_square_init(cm->n_fc + 1, adv); in cs_cdofb_advection() [all …]
|
H A D | cs_cdo_local.c | 586 cm->n_fc = 0; in cs_cell_mesh_create() 677 cm->n_fc = -1; in cs_cell_mesh_reset() 808 for (short int f = 0; f < cm->n_fc; f++) { in cs_cell_mesh_dump() 826 for (short int f = 0; f < cm->n_fc; f++) { in cs_cell_mesh_dump() 946 cm->n_fc = c2f_idx[1] - c2f_idx[0]; in cs_cell_mesh_build() 1594 const int n_fc = c2f_idx[1] - c2f_idx[0]; in cs_face_mesh_build() local 1598 short int _f = n_fc; in cs_face_mesh_build() 1599 for (short int f = 0; f < n_fc; f++) { in cs_face_mesh_build() 1616 if (_f == n_fc) /* Sanity check */ in cs_face_mesh_build() 1724 assert(f > -1 && f < cm->n_fc); in cs_face_mesh_build_from_cell_mesh() [all …]
|
H A D | cs_source_term.c | 1247 for (short int f = 0; f < cm->n_fc; f++) { in cs_source_term_dcsd_bary_by_analytic() 1323 for (short int f = 0; f < cm->n_fc; f++) { in cs_source_term_dcsd_q1o1_by_analytic() 1491 for (short int f = 0; f < cm->n_fc; f++) { in cs_source_term_dcsd_q10o2_by_analytic() 1614 for (short int f = 0; f < cm->n_fc; f++) { in cs_source_term_dcsd_q5o3_by_analytic() 1863 values[cm->n_fc] += cell_eval * cm->vol_c; in cs_source_term_pcsd_by_dof_func() 2001 values[cm->n_fc] += cm->vol_c * eval_xc; in cs_source_term_pcsd_bary_by_analytic() 2129 values[cm->n_fc] += cell_values; in cs_source_term_pcsd_by_analytic() 2171 values[cm->n_fc] += ai->values[cm->c_id]; in cs_source_term_pcsd_by_array() 2221 cs_real_t *c_val = values + 3*cm->n_fc; in cs_source_term_pcvd_bary_by_analytic() 2353 cs_real_t *c_val = values + 3*cm->n_fc; in cs_source_term_pcvd_by_analytic() [all …]
|
H A D | cs_cdofb_navsto.c | 178 const short int nfc = cm->n_fc; in _normal_flux_reco() 316 const short int n_fc = cm->n_fc; in cs_cdofb_navsto_define_builder() local 331 for (short int f = 0; f < n_fc; f++) { in cs_cdofb_navsto_define_builder() 349 for (short int f = 0; f < cm->n_fc; f++) in cs_cdofb_navsto_define_builder() 617 for (short int bi = 0; bi < n_fc; bi++) { in cs_cdofb_navsto_add_grad_div() 1440 assert(bd->n_row_blocks == cm->n_fc || bd->n_row_blocks == cm->n_fc + 1); in cs_cdofb_block_dirichlet_alge() 1606 for (short int f = 0; f < cm->n_fc; f++) { in cs_cdofb_block_dirichlet_weak() 1690 for (short int f = 0; f < cm->n_fc; f++) { in cs_cdofb_block_dirichlet_wsym() 2073 for (int f = 0; f < cm->n_fc; f++) { in cs_cdofb_navsto_gravity_term() 2127 for (int f = 0; f < cm->n_fc; f++) { in cs_cdofb_navsto_boussinesq_at_cell() [all …]
|
H A D | cs_cdofb_predco.c | 299 for (short int i = 0; i < 3*cm->n_fc; i++) in _predco_apply_bc_partly() 656 for (short int f = 0; f < cm->n_fc; f++) { in _update_variables() 672 for (short int f = 0; f < cm->n_fc; f++) { in _update_variables() 1231 const short int n_fc = cm->n_fc, nf_dofs = 3*n_fc; in cs_cdofb_predco_compute_implicit() local 1253 cs_sdm_t *acc = cs_sdm_get_block(csys->mat, n_fc, n_fc); in cs_cdofb_predco_compute_implicit() 1256 csys->rhs[3*n_fc + k] += ptyc * csys->val_n[3*n_fc+k]; in cs_cdofb_predco_compute_implicit()
|
/dports/multimedia/dav1d/dav1d-99172b11470776177939c3d2bc366fe8d904eab7/src/ |
H A D | lib.c | 191 memset(c->fc, 0, sizeof(*c->fc) * c->n_fc); in dav1d_open() 207 c->task_thread.cur = c->n_fc; in dav1d_open() 213 if (c->n_fc > 1) { in dav1d_open() 218 for (unsigned n = 0; n < c->n_fc; n++) { in dav1d_open() 408 } while (++drain_count < c->n_fc); in drain_picture() 483 if (c->n_fc > 1 && drain) in dav1d_get_picture() 560 if (c->n_fc == 1 && c->n_tc == 1) return; in dav1d_flush() 578 c->task_thread.cur = c->n_fc; in dav1d_flush() 585 if (c->n_fc > 1) { in dav1d_flush() 587 if (next == c->n_fc) next = 0; in dav1d_flush() [all …]
|
H A D | thread_task.c | 64 if (frame_idx < first) frame_idx += c->n_fc; in reset_task_cur() 73 for (unsigned i = ttd->cur; i < c->n_fc; i++) in reset_task_cur() 177 const int uses_2pass = f->c->n_fc > 1; in create_filter_sbrow() 225 const int uses_2pass = f->c->n_fc > 1; in dav1d_task_create_tile_sbrow() 490 f = &c->fc[(first + i) % c->n_fc]; in dav1d_worker_task() 602 assert(c->n_fc > 1); in dav1d_worker_task() 618 assert(c->n_fc > 1); in dav1d_worker_task() 627 assert(c->n_fc > 1); in dav1d_worker_task() 658 const int uses_2pass = c->n_fc > 1; in dav1d_worker_task() 692 if (c->n_fc > 1) in dav1d_worker_task() [all …]
|
/dports/www/firefox/firefox-99.0/third_party/dav1d/src/ |
H A D | lib.c | 191 memset(c->fc, 0, sizeof(*c->fc) * c->n_fc); in dav1d_open() 207 c->task_thread.cur = c->n_fc; in dav1d_open() 213 if (c->n_fc > 1) { in dav1d_open() 218 for (unsigned n = 0; n < c->n_fc; n++) { in dav1d_open() 408 } while (++drain_count < c->n_fc); in drain_picture() 483 if (c->n_fc > 1 && drain) in dav1d_get_picture() 560 if (c->n_fc == 1 && c->n_tc == 1) return; in dav1d_flush() 578 c->task_thread.cur = c->n_fc; in dav1d_flush() 585 if (c->n_fc > 1) { in dav1d_flush() 587 if (next == c->n_fc) next = 0; in dav1d_flush() [all …]
|
H A D | thread_task.c | 64 if (frame_idx < first) frame_idx += c->n_fc; in reset_task_cur() 73 for (unsigned i = ttd->cur; i < c->n_fc; i++) in reset_task_cur() 177 const int uses_2pass = f->c->n_fc > 1; in create_filter_sbrow() 225 const int uses_2pass = f->c->n_fc > 1; in dav1d_task_create_tile_sbrow() 490 f = &c->fc[(first + i) % c->n_fc]; in dav1d_worker_task() 602 assert(c->n_fc > 1); in dav1d_worker_task() 618 assert(c->n_fc > 1); in dav1d_worker_task() 627 assert(c->n_fc > 1); in dav1d_worker_task() 658 const int uses_2pass = c->n_fc > 1; in dav1d_worker_task() 692 if (c->n_fc > 1) in dav1d_worker_task() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/dav1d/src/ |
H A D | lib.c | 145 c->n_fc = s->n_frame_threads; in dav1d_open() 149 if (c->n_fc > 1) { in dav1d_open() 196 if (c->n_fc > 1) { in dav1d_open() 360 if (++c->frame_thread.next == c->n_fc) in drain_picture() 372 } while (++drain_count < c->n_fc); in drain_picture() 389 if (c->n_fc == 1) return DAV1D_ERR(EAGAIN); in dav1d_get_picture() 412 if (c->n_fc > 1 && drain) in dav1d_get_picture() 440 if (c->n_fc == 1) return; in dav1d_flush() 446 if (next == c->n_fc) next = 0; in dav1d_flush() 476 for (unsigned n = 0; c->fc && n < c->n_fc; n++) { in close_internal() [all …]
|
/dports/science/mpqc/mpqc-2.3.1/src/lib/chemistry/molecule/ |
H A D | taylor.cc | 72 int n_fc = keyval->count("force_constants"); in TaylorMolecularEnergy() local 75 if (coordinates_.null() && n_fc == 0) { in TaylorMolecularEnergy() 77 n_fc = (moldim().n()*(moldim().n()+1))/2; in TaylorMolecularEnergy() 81 force_constant_index_.resize(n_fc1+n_fc); in TaylorMolecularEnergy() 82 force_constant_value_.resize(n_fc1+n_fc); in TaylorMolecularEnergy() 108 for (i=0; i<n_fc; i++) { in TaylorMolecularEnergy()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/dav1d/libdav1d/src/ |
H A D | lib.c | 145 c->n_fc = s->n_frame_threads; in dav1d_open() 149 if (c->n_fc > 1) { in dav1d_open() 195 if (c->n_fc > 1) { in dav1d_open() 344 if (++c->frame_thread.next == c->n_fc) in drain_picture() 356 } while (++drain_count < c->n_fc); in drain_picture() 422 if (c->n_fc > 1 && drain) in dav1d_get_picture() 450 if (c->n_fc == 1) return; in dav1d_flush() 456 if (next == c->n_fc) next = 0; in dav1d_flush() 486 for (unsigned n = 0; c->fc && n < c->n_fc; n++) { in close_internal() 552 if (c->n_fc > 1 && c->frame_thread.out_delayed) { in close_internal() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/dav1d/libdav1d/src/ |
H A D | lib.c | 145 c->n_fc = s->n_frame_threads; in dav1d_open() 149 if (c->n_fc > 1) { in dav1d_open() 195 if (c->n_fc > 1) { in dav1d_open() 344 if (++c->frame_thread.next == c->n_fc) in drain_picture() 356 } while (++drain_count < c->n_fc); in drain_picture() 422 if (c->n_fc > 1 && drain) in dav1d_get_picture() 450 if (c->n_fc == 1) return; in dav1d_flush() 456 if (next == c->n_fc) next = 0; in dav1d_flush() 486 for (unsigned n = 0; c->fc && n < c->n_fc; n++) { in close_internal() 552 if (c->n_fc > 1 && c->frame_thread.out_delayed) { in close_internal() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/dav1d/src/ |
H A D | lib.c | 170 c->n_fc = s->n_frame_threads; in dav1d_open() 209 if (c->n_fc > 1) { in dav1d_open() 255 if (c->n_fc > 1) { in dav1d_open() 404 if (++c->frame_thread.next == c->n_fc) in drain_picture() 418 } while (++drain_count < c->n_fc); in drain_picture() 484 if (c->n_fc > 1 && drain) in dav1d_get_picture() 512 if (c->n_fc == 1 && c->n_pfc == 1) return; in dav1d_flush() 522 if (c->n_fc == 1) goto skip_ft_flush; in dav1d_flush() 524 if (next == c->n_fc) next = 0; in dav1d_flush() 553 for (unsigned i = 0; i < c->n_fc; ++i) { in dav1d_flush() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/dav1d/src/ |
H A D | lib.c | 170 c->n_fc = s->n_frame_threads; in dav1d_open() 209 if (c->n_fc > 1) { in dav1d_open() 255 if (c->n_fc > 1) { in dav1d_open() 404 if (++c->frame_thread.next == c->n_fc) in drain_picture() 418 } while (++drain_count < c->n_fc); in drain_picture() 484 if (c->n_fc > 1 && drain) in dav1d_get_picture() 512 if (c->n_fc == 1 && c->n_pfc == 1) return; in dav1d_flush() 522 if (c->n_fc == 1) goto skip_ft_flush; in dav1d_flush() 524 if (next == c->n_fc) next = 0; in dav1d_flush() 553 for (unsigned i = 0; i < c->n_fc; ++i) { in dav1d_flush() [all …]
|
/dports/multimedia/handbrake/dav1d-0.9.0/src/ |
H A D | lib.c | 170 c->n_fc = s->n_frame_threads; in dav1d_open() 209 if (c->n_fc > 1) { in dav1d_open() 255 if (c->n_fc > 1) { in dav1d_open() 404 if (++c->frame_thread.next == c->n_fc) in drain_picture() 418 } while (++drain_count < c->n_fc); in drain_picture() 484 if (c->n_fc > 1 && drain) in dav1d_get_picture() 512 if (c->n_fc == 1 && c->n_pfc == 1) return; in dav1d_flush() 522 if (c->n_fc == 1) goto skip_ft_flush; in dav1d_flush() 524 if (next == c->n_fc) next = 0; in dav1d_flush() 553 for (unsigned i = 0; i < c->n_fc; ++i) { in dav1d_flush() [all …]
|
/dports/science/code_saturne/code_saturne-7.1.0/tests/ |
H A D | cs_check_cdo.c | 489 cm->n_fc = 6; in _define_cm_hexa_unif() 491 for (short int f = 0; f < cm->n_fc; f++) in _define_cm_hexa_unif() 536 assert(cm->f2e_idx[cm->n_fc] == 24); in _define_cm_hexa_unif() 657 cm->n_fc = 4; in _define_cm_tetra_ref() 699 assert(cm->f2e_idx[cm->n_fc] == 12); in _define_cm_tetra_ref() 956 double *crow_vals = hdg->val + cm->n_fc*(cm->n_fc + 1); in _test_hodge_fb() 960 assert(cm->n_fc + 1 <= 7); in _test_hodge_fb() 964 for (int i = 0; i < cm->n_fc + 1; i++) in _test_hodge_fb() 1732 int shift = cm->n_fc*3; in _test_hho_schemes() 2082 csys->n_dofs = cm->n_fc + 1; in _main_cdofb_schemes() [all …]
|
H A D | cs_check_quadrature.c | 668 cm->n_fc = 6; in _define_cm_hexa_unif() 670 for (short int f = 0; f < cm->n_fc; f++) in _define_cm_hexa_unif() 715 assert(cm->f2e_idx[cm->n_fc] == 24); in _define_cm_hexa_unif() 717 for (short int f = 0; f < cm->n_fc; f++) { in _define_cm_hexa_unif() 835 cm->n_fc = 4; in _define_cm_tetra_ref() 842 for (short int f = 0; f < cm->n_fc; f++) in _define_cm_tetra_ref() 877 assert(cm->f2e_idx[cm->n_fc] == 12); in _define_cm_tetra_ref() 1059 const short int nf = cm->n_fc; in _dump_quad_res() 1520 const short int nf = cm->n_fc; in _test_quadratures_misc() 1624 const short int nf = cm->n_fc; in _test_quadratures_xdef() [all …]
|