Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 30) sorted by relevance

12

/libCEED/examples/petsc/qfunctions/bps/
H A Dcommon.h15 const CeedScalar *u = in[0], *target = in[1], *q_data = in[2]; in Error() local
18 error[i] = (u[i] - target[i]) * (u[i] - target[i]) * q_data[i]; in Error()
25 const CeedScalar *u = in[0], *target = in[1], *q_data = in[2]; in Error3() local
28 …error[i + 0 * Q] = (u[i + 0 * Q] - target[i + 0 * Q]) * (u[i + 0 * Q] - target[i + 0 * Q]) * q_dat… in Error3()
29 …error[i + 1 * Q] = (u[i + 1 * Q] - target[i + 1 * Q]) * (u[i + 1 * Q] - target[i + 1 * Q]) * q_dat… in Error3()
30 …error[i + 2 * Q] = (u[i + 2 * Q] - target[i + 2 * Q]) * (u[i + 2 * Q] - target[i + 2 * Q]) * q_dat… in Error3()
/libCEED/examples/petsc/src/
H A Dlibceedsetup.c44 CeedVector rhs_ceed, CeedVector *target) { in SetupLibceedByDegree() argument
152 CeedVectorCreate(ceed, num_elem * num_qpts * num_comp_u, target); in SetupLibceedByDegree()
164 CeedOperatorSetField(op_setup_rhs, "true solution", elem_restr_u_i, CEED_BASIS_NONE, *target); in SetupLibceedByDegree()
250 CeedVector x_coord, q_data, target, rhs; in SetupErrorOperator() local
304 CeedVectorCreate(ceed, num_elem * num_qpts * num_comp_u, &target); in SetupErrorOperator()
316 CeedOperatorSetField(op_setup_rhs, "true solution", elem_restr_u_i, CEED_BASIS_NONE, target); in SetupErrorOperator()
341 CeedOperatorSetField(*op_error, "true_soln", elem_restr_u_i, CEED_BASIS_NONE, target); in SetupErrorOperator()
353 CeedVectorDestroy(&target); in SetupErrorOperator()
H A Dswarmutils.c586 …(DM dm_swarm, Ceed ceed, BPData bp_data, CeedData data, PetscBool setup_rhs, Vec rhs, Vec target) { in SetupProblemSwarm() argument
751 PetscCall(VecP2C(target, &target_mem_type, target_ceed)); in SetupProblemSwarm()
754 PetscCall(VecC2P(target_ceed, target_mem_type, target)); in SetupProblemSwarm()
/libCEED/examples/rust/ex1-volume-vector/
H A D.gitignore1 target
/libCEED/examples/rust/ex3-volume-vector/
H A D.gitignore1 target
/libCEED/examples/rust/ex2-surface-vector/
H A D.gitignore1 target
/libCEED/examples/rust/ex1-volume/
H A D.gitignore1 target
/libCEED/examples/rust/mesh/
H A D.gitignore1 target
/libCEED/examples/rust/ex3-volume/
H A D.gitignore1 target
/libCEED/rust/libceed/
H A D.gitignore1 target
/libCEED/examples/rust/ex2-surface/
H A D.gitignore1 target
/libCEED/rust/libceed-sys/
H A D.gitignore1 target
H A DREADME.md44 …pkg-config, then you'll need to set `LD_LIBRARY_PATH` to the appropriate target directory for doct…
48 export LD_LIBRARY_PATH=$CEED_DIR/target/debug/build/libceed-sys-d1ea22c6e1ad3f23/out/lib
51 …e is printed during `cargo build --verbose` or you can find it with `find target -name libceed.so`.
/libCEED/examples/rust-qfunctions/ex1-volume-rs/
H A D.gitignore1 target
/libCEED/examples/rust-qfunctions/ex1-volume-rs/.cargo/
H A Dconfig.toml1 [target.nvptx64-nvidia-cuda]
/libCEED/examples/petsc/
H A Dbpssphere.c65 CeedVector rhs_ceed, target; in main() local
176 true, rhs_ceed, &target)); in main()
194 CeedOperatorSetField(op_error, "true_soln", ceed_data->elem_restr_u_i, CEED_BASIS_NONE, target); in main()
323 CeedVectorDestroy(&target); in main()
H A Dbpsswarm.c288 Vec target; in main() local
290 PetscCall(DMCreateLocalVector(dm_swarm, &target)); in main()
292 PetscCall(SetupProblemSwarm(dm_swarm, ceed, bp_options[bp_choice], ceed_data, true, rhs, target)); in main()
377 PetscCall(VecCopy(target, u_swarm)); in main()
440 PetscCall(VecDestroy(&target)); in main()
H A Dbpsraw.c298 …ratorApplyContext op_apply_ctx, CeedOperator op_error, Vec X, CeedVector target, PetscReal *max_er… in ComputeErrorMax() argument
305 CeedVectorGetLength(target, &length); in ComputeErrorMax()
359 CeedVector x_coord, q_data, rhs_ceed, target; in main() local
612 CeedVectorCreate(ceed, num_elem * num_qpts * num_comp_u, &target); in main()
626 CeedOperatorSetField(op_setup_rhs, "true_soln", elem_restr_u_i, CEED_BASIS_NONE, target); in main()
638 CeedOperatorSetField(op_error, "true_soln", elem_restr_u_i, CEED_BASIS_NONE, target); in main()
757 PetscCall(ComputeErrorMax(op_apply_ctx, op_error, X, target, &max_error)); in main()
798 CeedVectorDestroy(&target); in main()
H A Dbps.c66 CeedVector rhs_ceed, target; in RunWithDM() local
168 ceed_data, true, true, rhs_ceed, &target)); in RunWithDM()
186 CeedOperatorSetField(op_error, "true_soln", ceed_data->elem_restr_u_i, CEED_BASIS_NONE, target); in RunWithDM()
312 CeedVectorDestroy(&target); in RunWithDM()
H A Dmultigrid.c68 CeedVector rhs_ceed, target; in main() local
271 … ceed_data[i], i == fine_level, i == fine_level, rhs_ceed, &target)); in main()
290 …torSetField(op_error, "true_soln", ceed_data[fine_level]->elem_restr_u_i, CEED_BASIS_NONE, target); in main()
571 CeedVectorDestroy(&target); in main()
/libCEED/examples/petsc/include/
H A Dlibceedsetup.h20 CeedVector rhs_ceed, CeedVector *target);
H A Dswarmutils.h48 …m(DM dm_swarm, Ceed ceed, BPData bp_data, CeedData data, PetscBool setup_rhs, Vec rhs, Vec target);
/libCEED/examples/rust-qfunctions/
H A DMakefile30 … -o $@ $(CEED_LIBS) -L$(CEED_DIR)/examples/rust-qfunctions/ex1-volume-rs/target/release -lex1_volu…
/libCEED/
H A D.gitignore43 /target/
/libCEED/backends/magma/tuning/
H A DREADME.md10 generate the optimal `NB` selections for a new target architecture.

12