Home
last modified time | relevance | path

Searched refs:qf (Results 1 – 25 of 93) sorted by relevance

1234

/libCEED/interface/ !
H A Dceed-qfunction.c38 int (*init)(Ceed ceed, const char *name, CeedQFunction qf);
155 static int CeedQFunctionView_Object(CeedObject qf, FILE *stream) { in CeedQFunctionView_Object() argument
156 CeedCall(CeedQFunctionView((CeedQFunction)qf, stream)); in CeedQFunctionView_Object()
169 static int CeedQFunctionDestroy_Object(CeedObject *qf) { in CeedQFunctionDestroy_Object() argument
170 CeedCall(CeedQFunctionDestroy((CeedQFunction *)qf)); in CeedQFunctionDestroy_Object()
184 int CeedQFunctionSetFortranStatus(CeedQFunction qf, bool status) { in CeedQFunctionSetFortranStatus() argument
185 qf->is_fortran = status; in CeedQFunctionSetFortranStatus()
207 int CeedQFunctionGetVectorLength(CeedQFunction qf, CeedInt *vec_length) { in CeedQFunctionGetVectorLength() argument
208 *vec_length = qf->vec_length; in CeedQFunctionGetVectorLength()
223 int CeedQFunctionGetNumArgs(CeedQFunction qf, CeedInt *num_input, CeedInt *num_output) { in CeedQFunctionGetNumArgs() argument
[all …]
H A Dceed-cuda.c24 int CeedQFunctionSetCUDAUserFunction(CeedQFunction qf, CUfunction f) { in CeedQFunctionSetCUDAUserFunction() argument
25 if (!qf->SetCUDAUserFunction) { in CeedQFunctionSetCUDAUserFunction()
26 …CeedDebug(CeedQFunctionReturnCeed(qf), "Backend does not support CUfunction pointers for QFunction… in CeedQFunctionSetCUDAUserFunction()
28 CeedCall(qf->SetCUDAUserFunction(qf, f)); in CeedQFunctionSetCUDAUserFunction()
H A Dceed-hip.c24 int CeedQFunctionSetHIPUserFunction(CeedQFunction qf, hipFunction_t f) { in CeedQFunctionSetHIPUserFunction() argument
25 if (!qf->SetHIPUserFunction) { in CeedQFunctionSetHIPUserFunction()
26 …CeedDebug(CeedQFunctionReturnCeed(qf), "Backend does not support hipFunction_t pointers for QFunct… in CeedQFunctionSetHIPUserFunction()
28 CeedCall(qf->SetHIPUserFunction(qf, f)); in CeedQFunctionSetHIPUserFunction()
/libCEED/backends/cuda-ref/ !
H A Dceed-cuda-ref-qfunction.c21 static int CeedQFunctionApply_Cuda(CeedQFunction qf, CeedInt Q, CeedVector *U, CeedVector *V) { in CeedQFunctionApply_Cuda() argument
27 CeedCallBackend(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionApply_Cuda()
30 CeedCallBackend(CeedQFunctionBuildKernel_Cuda_ref(qf)); in CeedQFunctionApply_Cuda()
32 CeedCallBackend(CeedQFunctionGetData(qf, &data)); in CeedQFunctionApply_Cuda()
34 CeedCallBackend(CeedQFunctionGetNumArgs(qf, &num_input_fields, &num_output_fields)); in CeedQFunctionApply_Cuda()
45 CeedCallBackend(CeedQFunctionGetInnerContextData(qf, CEED_MEM_DEVICE, &data->d_c)); in CeedQFunctionApply_Cuda()
60 CeedCallBackend(CeedQFunctionRestoreInnerContextData(qf, &data->d_c)); in CeedQFunctionApply_Cuda()
68 static int CeedQFunctionDestroy_Cuda(CeedQFunction qf) { in CeedQFunctionDestroy_Cuda() argument
71 CeedCallBackend(CeedQFunctionGetData(qf, &data)); in CeedQFunctionDestroy_Cuda()
72 if (data->module) CeedCallCuda(CeedQFunctionReturnCeed(qf), cuModuleUnload(data->module)); in CeedQFunctionDestroy_Cuda()
[all …]
/libCEED/backends/hip-ref/ !
H A Dceed-hip-ref-qfunction.c21 static int CeedQFunctionApply_Hip(CeedQFunction qf, CeedInt Q, CeedVector *U, CeedVector *V) { in CeedQFunctionApply_Hip() argument
27 CeedCallBackend(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionApply_Hip()
30 CeedCallBackend(CeedQFunctionBuildKernel_Hip_ref(qf)); in CeedQFunctionApply_Hip()
32 CeedCallBackend(CeedQFunctionGetData(qf, &data)); in CeedQFunctionApply_Hip()
34 CeedCallBackend(CeedQFunctionGetNumArgs(qf, &num_input_fields, &num_output_fields)); in CeedQFunctionApply_Hip()
46 CeedCallBackend(CeedQFunctionGetInnerContextData(qf, CEED_MEM_DEVICE, &data->d_c)); in CeedQFunctionApply_Hip()
62 CeedCallBackend(CeedQFunctionRestoreInnerContextData(qf, &data->d_c)); in CeedQFunctionApply_Hip()
70 static int CeedQFunctionDestroy_Hip(CeedQFunction qf) { in CeedQFunctionDestroy_Hip() argument
73 CeedCallBackend(CeedQFunctionGetData(qf, &data)); in CeedQFunctionDestroy_Hip()
74 if (data->module) CeedCallHip(CeedQFunctionReturnCeed(qf), hipModuleUnload(data->module)); in CeedQFunctionDestroy_Hip()
[all …]
/libCEED/backends/hip-gen/ !
H A Dceed-hip-gen-qfunction.c18 static int CeedQFunctionApply_Hip_gen(CeedQFunction qf, CeedInt Q, CeedVector *U, CeedVector *V) { in CeedQFunctionApply_Hip_gen() argument
19 …return CeedError(CeedQFunctionReturnCeed(qf), CEED_ERROR_BACKEND, "Backend does not implement QFun… in CeedQFunctionApply_Hip_gen()
25 static int CeedQFunctionDestroy_Hip_gen(CeedQFunction qf) { in CeedQFunctionDestroy_Hip_gen() argument
28 CeedCallBackend(CeedQFunctionGetData(qf, &data)); in CeedQFunctionDestroy_Hip_gen()
29 CeedCallHip(CeedQFunctionReturnCeed(qf), hipFree(data->d_c)); in CeedQFunctionDestroy_Hip_gen()
37 int CeedQFunctionCreate_Hip_gen(CeedQFunction qf) { in CeedQFunctionCreate_Hip_gen() argument
41 CeedCallBackend(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionCreate_Hip_gen()
43 CeedCallBackend(CeedQFunctionSetData(qf, data)); in CeedQFunctionCreate_Hip_gen()
45 CeedCallBackend(CeedQFunctionGetKernelName(qf, &data->qfunction_name)); in CeedQFunctionCreate_Hip_gen()
47 …CeedCallBackend(CeedSetBackendFunction(ceed, "QFunction", qf, "Apply", CeedQFunctionApply_Hip_gen)… in CeedQFunctionCreate_Hip_gen()
[all …]
/libCEED/backends/cuda-gen/ !
H A Dceed-cuda-gen-qfunction.c18 static int CeedQFunctionApply_Cuda_gen(CeedQFunction qf, CeedInt Q, CeedVector *U, CeedVector *V) { in CeedQFunctionApply_Cuda_gen() argument
19 …return CeedError(CeedQFunctionReturnCeed(qf), CEED_ERROR_BACKEND, "Backend does not implement QFun… in CeedQFunctionApply_Cuda_gen()
25 static int CeedQFunctionDestroy_Cuda_gen(CeedQFunction qf) { in CeedQFunctionDestroy_Cuda_gen() argument
28 CeedCallBackend(CeedQFunctionGetData(qf, &data)); in CeedQFunctionDestroy_Cuda_gen()
29 CeedCallCuda(CeedQFunctionReturnCeed(qf), cudaFree(data->d_c)); in CeedQFunctionDestroy_Cuda_gen()
37 int CeedQFunctionCreate_Cuda_gen(CeedQFunction qf) { in CeedQFunctionCreate_Cuda_gen() argument
41 CeedCallBackend(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionCreate_Cuda_gen()
43 CeedCallBackend(CeedQFunctionSetData(qf, data)); in CeedQFunctionCreate_Cuda_gen()
45 CeedCallBackend(CeedQFunctionGetKernelName(qf, &data->qfunction_name)); in CeedQFunctionCreate_Cuda_gen()
47 …CeedCallBackend(CeedSetBackendFunction(ceed, "QFunction", qf, "Apply", CeedQFunctionApply_Cuda_gen… in CeedQFunctionCreate_Cuda_gen()
[all …]
/libCEED/backends/sycl-gen/ !
H A Dceed-sycl-gen-qfunction.sycl.cpp19 static int CeedQFunctionApply_Sycl_gen(CeedQFunction qf, CeedInt Q, CeedVector *U, CeedVector *V) { in CeedQFunctionApply_Sycl_gen() argument
20 …return CeedError(CeedQFunctionReturnCeed(qf), CEED_ERROR_BACKEND, "Backend does not implement QFun… in CeedQFunctionApply_Sycl_gen()
26 static int CeedQFunctionDestroy_Sycl_gen(CeedQFunction qf) { in CeedQFunctionDestroy_Sycl_gen() argument
31 CeedCallBackend(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionDestroy_Sycl_gen()
32 CeedCallBackend(CeedQFunctionGetData(qf, &impl)); in CeedQFunctionDestroy_Sycl_gen()
48 int CeedQFunctionCreate_Sycl_gen(CeedQFunction qf) { in CeedQFunctionCreate_Sycl_gen() argument
52 CeedCallBackend(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionCreate_Sycl_gen()
54 CeedCallBackend(CeedQFunctionSetData(qf, impl)); in CeedQFunctionCreate_Sycl_gen()
57 CeedCallBackend(CeedQFunctionGetKernelName(qf, &impl->qfunction_name)); in CeedQFunctionCreate_Sycl_gen()
59 CeedCallBackend(CeedQFunctionLoadSourceToBuffer(qf, &impl->qfunction_source)); in CeedQFunctionCreate_Sycl_gen()
[all …]
/libCEED/backends/ref/ !
H A Dceed-ref-qfunction.c17 static int CeedQFunctionApply_Ref(CeedQFunction qf, CeedInt Q, CeedVector *U, CeedVector *V) { in CeedQFunctionApply_Ref() argument
23 CeedCallBackend(CeedQFunctionGetData(qf, &impl)); in CeedQFunctionApply_Ref()
24 CeedCallBackend(CeedQFunctionGetContextData(qf, CEED_MEM_HOST, &ctx_data)); in CeedQFunctionApply_Ref()
25 CeedCallBackend(CeedQFunctionGetUserFunction(qf, &f)); in CeedQFunctionApply_Ref()
26 CeedCallBackend(CeedQFunctionGetNumArgs(qf, &num_in, &num_out)); in CeedQFunctionApply_Ref()
43 CeedCallBackend(CeedQFunctionRestoreContextData(qf, &ctx_data)); in CeedQFunctionApply_Ref()
50 static int CeedQFunctionDestroy_Ref(CeedQFunction qf) { in CeedQFunctionDestroy_Ref() argument
53 CeedCallBackend(CeedQFunctionGetData(qf, &impl)); in CeedQFunctionDestroy_Ref()
63 int CeedQFunctionCreate_Ref(CeedQFunction qf) { in CeedQFunctionCreate_Ref() argument
67 CeedCallBackend(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionCreate_Ref()
[all …]
/libCEED/backends/memcheck/ !
H A Dceed-memcheck-qfunction.c19 static int CeedQFunctionApply_Memcheck(CeedQFunction qf, CeedInt Q, CeedVector *U, CeedVector *V) { in CeedQFunctionApply_Memcheck() argument
27 CeedCallBackend(CeedQFunctionGetData(qf, &impl)); in CeedQFunctionApply_Memcheck()
28 CeedCallBackend(CeedQFunctionGetContextData(qf, CEED_MEM_HOST, &ctx_data)); in CeedQFunctionApply_Memcheck()
29 CeedCallBackend(CeedQFunctionGetUserFunction(qf, &f)); in CeedQFunctionApply_Memcheck()
30 CeedCallBackend(CeedQFunctionGetNumArgs(qf, &num_in, &num_out)); in CeedQFunctionApply_Memcheck()
72 CeedCallBackend(CeedQFunctionGetSourcePath(qf, &kernel_path)); in CeedQFunctionApply_Memcheck()
73 CeedCallBackend(CeedQFunctionGetKernelName(qf, &kernel_name)); in CeedQFunctionApply_Memcheck()
74 CeedCallBackend(CeedQFunctionGetFields(qf, NULL, NULL, NULL, &output_fields)); in CeedQFunctionApply_Memcheck()
83 CeedCheck(!isnan(impl->outputs[i][j]), CeedQFunctionReturnCeed(qf), CEED_ERROR_BACKEND, in CeedQFunctionApply_Memcheck()
91 CeedCallBackend(CeedQFunctionRestoreContextData(qf, &ctx_data)); in CeedQFunctionApply_Memcheck()
[all …]
/libCEED/backends/sycl-ref/ !
H A Dceed-sycl-ref-qfunction.sycl.cpp26 static int CeedQFunctionApply_Sycl(CeedQFunction qf, CeedInt Q, CeedVector *U, CeedVector *V) { in CeedQFunctionApply_Sycl() argument
33 CeedCallBackend(CeedQFunctionGetData(qf, &impl)); in CeedQFunctionApply_Sycl()
36 if (!impl->QFunction) CeedCallBackend(CeedQFunctionBuildKernel_Sycl(qf)); in CeedQFunctionApply_Sycl()
38 CeedCallBackend(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionApply_Sycl()
42 CeedCallBackend(CeedQFunctionGetNumArgs(qf, &num_input_fields, &num_output_fields)); in CeedQFunctionApply_Sycl()
60 CeedCallBackend(CeedQFunctionGetInnerContextData(qf, CEED_MEM_DEVICE, &context_data)); in CeedQFunctionApply_Sycl()
106 CeedCallBackend(CeedQFunctionRestoreInnerContextData(qf, &context_data)); in CeedQFunctionApply_Sycl()
113 static int CeedQFunctionDestroy_Sycl(CeedQFunction qf) { in CeedQFunctionDestroy_Sycl() argument
117 CeedCallBackend(CeedQFunctionGetData(qf, &impl)); in CeedQFunctionDestroy_Sycl()
118 CeedCallBackend(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionDestroy_Sycl()
[all …]
/libCEED/tests/ !
H A Dt409-qfunction.c14 CeedQFunction qf; in main() local
27 CeedQFunctionCreateInterior(ceed, 1, scale, scale_loc, &qf); in main()
28 CeedQFunctionAddInput(qf, "u", 1, CEED_EVAL_INTERP); in main()
29 CeedQFunctionAddOutput(qf, "v", 1, CEED_EVAL_INTERP); in main()
33 CeedQFunctionSetContext(qf, ctx); in main()
34 CeedQFunctionSetContextWritable(qf, is_writable); in main()
38 CeedQFunctionApply(qf, q, in, out); in main()
76 CeedQFunctionSetContextWritable(qf, is_writable); in main()
82 CeedQFunctionApply(qf, q, in, out); in main()
87 CeedQFunctionDestroy(&qf); in main()
/libCEED/julia/LibCEED.jl/src/ !
H A DQFunction.jl29 destroy(qf::QFunction) = C.CeedQFunctionDestroy(qf.ref) # COV_EXCL_LINE
30 Base.getindex(qf::QFunction) = qf.ref[]
31 Base.show(io::IO, ::MIME"text/plain", qf::QFunction) =
32 ceed_show(io, qf, C.CeedQFunctionView)
93 function add_input!(qf::AbstractQFunction, name::AbstractString, size, emode)
94 C.CeedQFunctionAddInput(qf[], name, size, emode)
97 function add_output!(qf::AbstractQFunction, name::AbstractString, size, emode)
98 C.CeedQFunctionAddOutput(qf[], name, size, emode)
102 set_context!(qf::QFunction, ctx::Context)
104 Associate a [`Context`](@ref) object `ctx` with the given Q-function `qf`.
[all …]
/libCEED/gallery/mass/ !
H A Dceed-massapply.c16 static int CeedQFunctionInit_MassApply(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_MassApply() argument
23 CeedCall(CeedQFunctionAddInput(qf, "u", 1, CEED_EVAL_INTERP)); in CeedQFunctionInit_MassApply()
24 CeedCall(CeedQFunctionAddInput(qf, "qdata", 1, CEED_EVAL_NONE)); in CeedQFunctionInit_MassApply()
25 CeedCall(CeedQFunctionAddOutput(qf, "v", 1, CEED_EVAL_INTERP)); in CeedQFunctionInit_MassApply()
27 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 1)); in CeedQFunctionInit_MassApply()
H A Dceed-mass2dbuild.c16 static int CeedQFunctionInit_Mass2DBuild(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Mass2DBuild() argument
25 CeedCall(CeedQFunctionAddInput(qf, "dx", dim * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Mass2DBuild()
26 CeedCall(CeedQFunctionAddInput(qf, "weights", 1, CEED_EVAL_WEIGHT)); in CeedQFunctionInit_Mass2DBuild()
27 CeedCall(CeedQFunctionAddOutput(qf, "qdata", 1, CEED_EVAL_NONE)); in CeedQFunctionInit_Mass2DBuild()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 4)); in CeedQFunctionInit_Mass2DBuild()
H A Dceed-mass3dbuild.c16 static int CeedQFunctionInit_Mass3DBuild(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Mass3DBuild() argument
25 CeedCall(CeedQFunctionAddInput(qf, "dx", dim * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Mass3DBuild()
26 CeedCall(CeedQFunctionAddInput(qf, "weights", 1, CEED_EVAL_WEIGHT)); in CeedQFunctionInit_Mass3DBuild()
27 CeedCall(CeedQFunctionAddOutput(qf, "qdata", 1, CEED_EVAL_NONE)); in CeedQFunctionInit_Mass3DBuild()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 15)); in CeedQFunctionInit_Mass3DBuild()
H A Dceed-mass1dbuild.c16 static int CeedQFunctionInit_Mass1DBuild(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Mass1DBuild() argument
25 CeedCall(CeedQFunctionAddInput(qf, "dx", dim * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Mass1DBuild()
26 CeedCall(CeedQFunctionAddInput(qf, "weights", 1, CEED_EVAL_WEIGHT)); in CeedQFunctionInit_Mass1DBuild()
27 CeedCall(CeedQFunctionAddOutput(qf, "qdata", 1, CEED_EVAL_NONE)); in CeedQFunctionInit_Mass1DBuild()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 1)); in CeedQFunctionInit_Mass1DBuild()
/libCEED/gallery/poisson/ !
H A Dceed-poisson1dapply.c16 static int CeedQFunctionInit_Poisson1DApply(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Poisson1DApply() argument
25 CeedCall(CeedQFunctionAddInput(qf, "du", dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Poisson1DApply()
26 CeedCall(CeedQFunctionAddInput(qf, "qdata", dim * (dim + 1) / 2, CEED_EVAL_NONE)); in CeedQFunctionInit_Poisson1DApply()
27 CeedCall(CeedQFunctionAddOutput(qf, "dv", dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Poisson1DApply()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 1)); in CeedQFunctionInit_Poisson1DApply()
H A Dceed-poisson1dbuild.c16 static int CeedQFunctionInit_Poisson1DBuild(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Poisson1DBuild() argument
25 CeedCall(CeedQFunctionAddInput(qf, "dx", dim * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Poisson1DBuild()
26 CeedCall(CeedQFunctionAddInput(qf, "weights", 1, CEED_EVAL_WEIGHT)); in CeedQFunctionInit_Poisson1DBuild()
27 CeedCall(CeedQFunctionAddOutput(qf, "qdata", dim * (dim + 1) / 2, CEED_EVAL_NONE)); in CeedQFunctionInit_Poisson1DBuild()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 1)); in CeedQFunctionInit_Poisson1DBuild()
H A Dceed-poisson2dbuild.c16 static int CeedQFunctionInit_Poisson2DBuild(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Poisson2DBuild() argument
25 CeedCall(CeedQFunctionAddInput(qf, "dx", dim * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Poisson2DBuild()
26 CeedCall(CeedQFunctionAddInput(qf, "weights", 1, CEED_EVAL_WEIGHT)); in CeedQFunctionInit_Poisson2DBuild()
27 CeedCall(CeedQFunctionAddOutput(qf, "qdata", dim * (dim + 1) / 2, CEED_EVAL_NONE)); in CeedQFunctionInit_Poisson2DBuild()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 17)); in CeedQFunctionInit_Poisson2DBuild()
H A Dceed-poisson2dapply.c16 static int CeedQFunctionInit_Poisson2DApply(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Poisson2DApply() argument
25 CeedCall(CeedQFunctionAddInput(qf, "du", dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Poisson2DApply()
26 CeedCall(CeedQFunctionAddInput(qf, "qdata", dim * (dim + 1) / 2, CEED_EVAL_NONE)); in CeedQFunctionInit_Poisson2DApply()
27 CeedCall(CeedQFunctionAddOutput(qf, "dv", dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Poisson2DApply()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 6)); in CeedQFunctionInit_Poisson2DApply()
H A Dceed-poisson3dbuild.c16 static int CeedQFunctionInit_Poisson3DBuild(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Poisson3DBuild() argument
25 CeedCall(CeedQFunctionAddInput(qf, "dx", dim * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Poisson3DBuild()
26 CeedCall(CeedQFunctionAddInput(qf, "weights", 1, CEED_EVAL_WEIGHT)); in CeedQFunctionInit_Poisson3DBuild()
27 CeedCall(CeedQFunctionAddOutput(qf, "qdata", dim * (dim + 1) / 2, CEED_EVAL_NONE)); in CeedQFunctionInit_Poisson3DBuild()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 69)); in CeedQFunctionInit_Poisson3DBuild()
H A Dceed-poisson3dapply.c16 static int CeedQFunctionInit_Poisson3DApply(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Poisson3DApply() argument
25 CeedCall(CeedQFunctionAddInput(qf, "du", dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Poisson3DApply()
26 CeedCall(CeedQFunctionAddInput(qf, "qdata", dim * (dim + 1) / 2, CEED_EVAL_NONE)); in CeedQFunctionInit_Poisson3DApply()
27 CeedCall(CeedQFunctionAddOutput(qf, "dv", dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Poisson3DApply()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 15)); in CeedQFunctionInit_Poisson3DApply()
/libCEED/gallery/mass-vector/ !
H A Dceed-vectormassapply.c16 static int CeedQFunctionInit_Vector3MassApply(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Vector3MassApply() argument
25 CeedCall(CeedQFunctionAddInput(qf, "u", num_comp, CEED_EVAL_INTERP)); in CeedQFunctionInit_Vector3MassApply()
26 CeedCall(CeedQFunctionAddInput(qf, "qdata", 1, CEED_EVAL_NONE)); in CeedQFunctionInit_Vector3MassApply()
27 CeedCall(CeedQFunctionAddOutput(qf, "v", num_comp, CEED_EVAL_INTERP)); in CeedQFunctionInit_Vector3MassApply()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, num_comp)); in CeedQFunctionInit_Vector3MassApply()
/libCEED/gallery/poisson-vector/ !
H A Dceed-vectorpoisson3dapply.c16 …c int CeedQFunctionInit_Vector3Poisson3DApply(Ceed ceed, const char *requested, CeedQFunction qf) { in CeedQFunctionInit_Vector3Poisson3DApply() argument
25 CeedCall(CeedQFunctionAddInput(qf, "du", num_comp * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Vector3Poisson3DApply()
26 CeedCall(CeedQFunctionAddInput(qf, "qdata", dim * (dim + 1) / 2, CEED_EVAL_NONE)); in CeedQFunctionInit_Vector3Poisson3DApply()
27 CeedCall(CeedQFunctionAddOutput(qf, "dv", num_comp * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Vector3Poisson3DApply()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, num_comp * 15)); in CeedQFunctionInit_Vector3Poisson3DApply()

1234