Home
last modified time | relevance | path

Searched refs:CeedCall (Results 1 – 25 of 34) sorted by relevance

12

/libCEED/interface/
H A Dceed-preconditioning.c50 CeedCall(CeedCalloc(path_len + name_len + 2, &source_path_with_name)); in CeedQFunctionCreateFallback()
55 CeedCall(CeedStringAllocCopy(qf->user_source, &source_path_with_name)); in CeedQFunctionCreateFallback()
57 CeedCall(CeedCalloc(1, &source_path_with_name)); in CeedQFunctionCreateFallback()
64 CeedCall(CeedQFunctionGetVectorLength(qf, &vec_length)); in CeedQFunctionCreateFallback()
65 CeedCall(CeedQFunctionGetUserFunction(qf, &f)); in CeedQFunctionCreateFallback()
66CeedCall(CeedQFunctionCreateInterior(fallback_ceed, vec_length, f, source_path_with_name, qf_fallb… in CeedQFunctionCreateFallback()
71 CeedCall(CeedQFunctionGetContext(qf, &ctx)); in CeedQFunctionCreateFallback()
72 CeedCall(CeedQFunctionSetContext(*qf_fallback, ctx)); in CeedQFunctionCreateFallback()
73 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedQFunctionCreateFallback()
75CeedCall(CeedQFunctionGetFields(qf, &num_input_fields, &input_fields, &num_output_fields, &output_… in CeedQFunctionCreateFallback()
[all …]
H A Dceed-operator.c42 CeedCall(CeedQFunctionFieldGetData(qf_field, &field_name, &size, &eval_mode)); in CeedOperatorCheckField()
48 CeedCall(CeedElemRestrictionGetNumComponents(rstr, &rstr_num_comp)); in CeedOperatorCheckField()
54 CeedCall(CeedBasisGetDimension(basis, &dim)); in CeedOperatorCheckField()
55 CeedCall(CeedBasisGetNumComponents(basis, &num_comp)); in CeedOperatorCheckField()
56 CeedCall(CeedBasisGetNumQuadratureComponents(basis, eval_mode, &q_comp)); in CeedOperatorCheckField()
108 CeedCall(CeedQFunctionFieldGetData(qf_field, &field_name, &size, &eval_mode)); in CeedOperatorFieldView()
109 CeedCall(CeedOperatorFieldGetData(op_field, NULL, NULL, &basis, &vec)); in CeedOperatorFieldView()
122 CeedCall(CeedVectorDestroy(&vec)); in CeedOperatorFieldView()
123 CeedCall(CeedBasisDestroy(&basis)); in CeedOperatorFieldView()
145 CeedCall(CeedOperatorIsAtPoints(op, &is_at_points)); in CeedOperatorSingleView()
[all …]
H A Dceed-vector.c53 CeedCall(CeedVectorView((CeedVector)vec, "%12.8f", stream)); in CeedVectorView_Object()
67 CeedCall(CeedVectorDestroy((CeedVector *)vec)); in CeedVectorDestroy_Object()
93 CeedCall(CeedVectorGetLength(vec, &length)); in CeedVectorHasValidArray()
98 CeedCall(vec->HasValidArray(vec, has_valid_array)); in CeedVectorHasValidArray()
116 CeedCall(vec->HasBorrowedArrayOfType(vec, mem_type, has_borrowed_array_of_type)); in CeedVectorHasBorrowedArrayOfType()
175 CeedCall(CeedObjectReference((CeedObject)vec)); in CeedVectorReference()
203 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Vector")); in CeedVectorCreate()
205 CeedCall(CeedVectorCreate(delegate, length, vec)); in CeedVectorCreate()
206 CeedCall(CeedDestroy(&delegate)); in CeedVectorCreate()
210 CeedCall(CeedCalloc(1, vec)); in CeedVectorCreate()
[all …]
H A Dceed-qfunction.c70 CeedCall(CeedGetJitRelativePath(source, &relative_file_path)); in CeedQFunctionRegister()
107 CeedCall(CeedCalloc(1, f)); in CeedQFunctionFieldSet()
108 CeedCall(CeedStringAllocCopy(field_name, (char **)&(*f)->field_name)); in CeedQFunctionFieldSet()
133 CeedCall(CeedQFunctionFieldGetData(field, &field_name, &size, &eval_mode)); in CeedQFunctionFieldView()
156 CeedCall(CeedQFunctionView((CeedQFunction)qf, stream)); in CeedQFunctionView_Object()
170 CeedCall(CeedQFunctionDestroy((CeedQFunction *)qf)); in CeedQFunctionDestroy_Object()
244 CeedCall(CeedQFunctionGetKernelName(qf, name)); in CeedQFunctionGetName()
267 CeedCall(CeedCalloc(kernel_name_len + 1, &kernel_name_copy)); in CeedQFunctionGetKernelName()
270 CeedCall(CeedCalloc(1, &kernel_name_copy)); in CeedQFunctionGetKernelName()
298 CeedCall(CeedQFunctionGetCeed(qf, &ceed)); in CeedQFunctionGetSourcePath()
[all …]
H A Dceed-elemrestriction.c112 CeedCall(CeedElemRestrictionView((CeedElemRestriction)rstr, stream)); in CeedElemRestrictionView_Object()
126 CeedCall(CeedElemRestrictionDestroy((CeedElemRestriction *)rstr)); in CeedElemRestrictionDestroy_Object()
203 CeedCall(CeedElemRestrictionGetNumElements(rstr_a, &num_elem_a)); in CeedElemRestrictionAtPointsAreCompatible()
204 CeedCall(CeedElemRestrictionGetNumElements(rstr_b, &num_elem_b)); in CeedElemRestrictionAtPointsAreCompatible()
205 CeedCall(CeedElemRestrictionGetNumPoints(rstr_a, &num_points_a)); in CeedElemRestrictionAtPointsAreCompatible()
206 CeedCall(CeedElemRestrictionGetNumPoints(rstr_b, &num_points_b)); in CeedElemRestrictionAtPointsAreCompatible()
215 CeedCall(CeedElemRestrictionGetOffsets(rstr_a, CEED_MEM_HOST, &offsets_a)); in CeedElemRestrictionAtPointsAreCompatible()
216 CeedCall(CeedElemRestrictionGetOffsets(rstr_b, CEED_MEM_HOST, &offsets_b)); in CeedElemRestrictionAtPointsAreCompatible()
218 CeedCall(CeedElemRestrictionRestoreOffsets(rstr_a, &offsets_a)); in CeedElemRestrictionAtPointsAreCompatible()
219 CeedCall(CeedElemRestrictionRestoreOffsets(rstr_b, &offsets_b)); in CeedElemRestrictionAtPointsAreCompatible()
[all …]
H A Dceed-basis.c191 CeedCall(CeedBasisView((CeedBasis)basis, stream)); in CeedBasisView_Object()
205 CeedCall(CeedBasisDestroy((CeedBasis *)basis)); in CeedBasisDestroy_Object()
231 CeedCall(CeedBasisGetNumQuadraturePoints(basis_to, &Q_to)); in CeedBasisCreateProjectionMatrices()
232 CeedCall(CeedBasisGetNumQuadraturePoints(basis_from, &Q_from)); in CeedBasisCreateProjectionMatrices()
243 CeedCall(CeedBasisIsTensor(basis_to, &is_tensor_to)); in CeedBasisCreateProjectionMatrices()
244 CeedCall(CeedBasisIsTensor(basis_from, &is_tensor_from)); in CeedBasisCreateProjectionMatrices()
248 CeedCall(CeedBasisGetNumNodes1D(basis_to, &P_to)); in CeedBasisCreateProjectionMatrices()
249 CeedCall(CeedBasisGetNumNodes1D(basis_from, &P_from)); in CeedBasisCreateProjectionMatrices()
250 CeedCall(CeedBasisGetNumQuadraturePoints1D(basis_from, &Q)); in CeedBasisCreateProjectionMatrices()
252 CeedCall(CeedBasisGetNumNodes(basis_to, &P_to)); in CeedBasisCreateProjectionMatrices()
[all …]
H A Dceed-qfunctioncontext.c64 CeedCall(CeedQFunctionContextGetFieldIndex(ctx, field_name, &field_index)); in CeedQFunctionContextRegisterGeneric()
70 CeedCall(CeedCalloc(1, &ctx->field_labels)); in CeedQFunctionContextRegisterGeneric()
73 CeedCall(CeedRealloc(2 * ctx->max_fields, &ctx->field_labels)); in CeedQFunctionContextRegisterGeneric()
76 CeedCall(CeedCalloc(1, &ctx->field_labels[ctx->num_fields])); in CeedQFunctionContextRegisterGeneric()
92 CeedCall(CeedStringAllocCopy(field_name, (char **)&ctx->field_labels[ctx->num_fields]->name)); in CeedQFunctionContextRegisterGeneric()
93CeedCall(CeedStringAllocCopy(field_description, (char **)&ctx->field_labels[ctx->num_fields]->desc… in CeedQFunctionContextRegisterGeneric()
113 CeedCall(ctx->DataDestroy(ctx)); in CeedQFunctionContextDestroyData()
118CeedCall(CeedQFunctionContextGetDataDestroy(ctx, &data_destroy_mem_type, &data_destroy_function)); in CeedQFunctionContextDestroyData()
122 CeedCall(CeedQFunctionContextGetData(ctx, data_destroy_mem_type, &data)); in CeedQFunctionContextDestroyData()
123 CeedCall(data_destroy_function(data)); in CeedQFunctionContextDestroyData()
[all …]
H A Dceed.c151 CeedCall(CeedCalloc(1, &ceed->work_vectors)); in CeedWorkVectorsCreate()
169 CeedCall(CeedObjectReference((CeedObject)ceed)); in CeedWorkVectorsDestroy()
170 CeedCall(CeedObjectReference((CeedObject)ceed)); in CeedWorkVectorsDestroy()
171 CeedCall(CeedVectorDestroy(&ceed->work_vectors->vecs[i])); in CeedWorkVectorsDestroy()
175 CeedCall(CeedFree(&ceed->work_vectors->is_in_use)); in CeedWorkVectorsDestroy()
176 CeedCall(CeedFree(&ceed->work_vectors->vecs)); in CeedWorkVectorsDestroy()
177 CeedCall(CeedFree(&ceed->work_vectors)); in CeedWorkVectorsDestroy()
192 CeedCall(CeedView((Ceed)ceed, stream)); in CeedView_Object()
206 CeedCall(CeedDestroy((Ceed *)ceed)); in CeedDestroy_Object()
346 CeedCall(CeedCalloc(len + 1, copy)); in CeedStringAllocCopy()
[all …]
H A Dceed-tensor.c32 CeedCall(CeedTensorContractDestroy((CeedTensorContract *)contract)); in CeedTensorContractDestroy_Object()
58 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "TensorContract")); in CeedTensorContractCreate()
60 CeedCall(CeedTensorContractCreate(delegate, contract)); in CeedTensorContractCreate()
61 CeedCall(CeedDestroy(&delegate)); in CeedTensorContractCreate()
65 CeedCall(CeedCalloc(1, contract)); in CeedTensorContractCreate()
66 CeedCall(CeedObjectCreate(ceed, NULL, CeedTensorContractDestroy_Object, &(*contract)->obj)); in CeedTensorContractCreate()
67 CeedCall(ceed->TensorContractCreate(*contract)); in CeedTensorContractCreate()
96 CeedCall(contract->Apply(contract, A, B, C, J, t, t_mode, add, u, v)); in CeedTensorContractApply()
128CeedCall(contract->Apply(contract, A, J, C, B, t + d * B * J, t_mode, add, u + d * A * J * C, v)); in CeedTensorContractStridedApply()
132CeedCall(contract->Apply(contract, A, B, C, J, t + d * B * J, t_mode, add, u, v + d * A * J * C)); in CeedTensorContractStridedApply()
[all …]
H A Dceed-jit-tools.c36 CeedCall(CeedCalloc(source_file_path_length, &source_file_path_only)); in CeedCheckFilePath()
59 if (last_colon) CeedCall(CeedFree(&source_file_path_only)); in CeedCheckFilePath()
75 CeedCall(CeedStringAllocCopy(source_file_path, normalized_source_file_path)); in CeedNormalizePath()
147 CeedCall(ierr); in CeedLoadSourceToInitializedBuffer()
153 CeedCall(CeedFree(&temp_buffer)); in CeedLoadSourceToInitializedBuffer()
186 CeedCall(CeedRealloc(current_size + copy_size + 2, buffer)); in CeedLoadSourceToInitializedBuffer()
211 CeedCall(CeedRealloc(current_size + copy_size + 2, buffer)); in CeedLoadSourceToInitializedBuffer()
236 CeedCall(CeedCalloc(root_length + include_file_name_len + 2, &include_source_path)); in CeedLoadSourceToInitializedBuffer()
245 CeedCall(CeedCalloc(ceed_relative_path_length + 1, &ceed_relative_path)); in CeedLoadSourceToInitializedBuffer()
247CeedCall(CeedGetJitAbsolutePath(ceed, ceed_relative_path, (const char **)&include_source_path)); in CeedLoadSourceToInitializedBuffer()
[all …]
/libCEED/gallery/identity/
H A Dceed-identity.c29 CeedCall(CeedQFunctionContextCreate(ceed, &ctx)); in CeedQFunctionInit_Identity()
30CeedCall(CeedQFunctionContextSetData(ctx, CEED_MEM_HOST, CEED_COPY_VALUES, sizeof(ctx_data), &ctx_… in CeedQFunctionInit_Identity()
31CeedCall(CeedQFunctionContextRegisterInt32(ctx, "size", offsetof(IdentityCtx, size), 1, "field siz… in CeedQFunctionInit_Identity()
32 CeedCall(CeedQFunctionSetContext(qf, ctx)); in CeedQFunctionInit_Identity()
33 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedQFunctionInit_Identity()
35 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, 0)); in CeedQFunctionInit_Identity()
/libCEED/gallery/mass/
H A Dceed-massapply.c23 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.c25 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.c25 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.c25 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.c25 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.c25 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.c25 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.c25 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.c25 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.c25 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.c25 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.c25 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()
H A Dceed-vectorpoisson2dapply.c25 CeedCall(CeedQFunctionAddInput(qf, "du", num_comp * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Vector3Poisson2DApply()
26 CeedCall(CeedQFunctionAddInput(qf, "qdata", dim * (dim + 1) / 2, CEED_EVAL_NONE)); in CeedQFunctionInit_Vector3Poisson2DApply()
27 CeedCall(CeedQFunctionAddOutput(qf, "dv", num_comp * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Vector3Poisson2DApply()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, num_comp * 6)); in CeedQFunctionInit_Vector3Poisson2DApply()
H A Dceed-vectorpoisson1dapply.c25 CeedCall(CeedQFunctionAddInput(qf, "du", num_comp * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Vector3Poisson1DApply()
26 CeedCall(CeedQFunctionAddInput(qf, "qdata", dim * (dim + 1) / 2, CEED_EVAL_NONE)); in CeedQFunctionInit_Vector3Poisson1DApply()
27 CeedCall(CeedQFunctionAddOutput(qf, "dv", num_comp * dim, CEED_EVAL_GRAD)); in CeedQFunctionInit_Vector3Poisson1DApply()
29 CeedCall(CeedQFunctionSetUserFlopsEstimate(qf, num_comp)); in CeedQFunctionInit_Vector3Poisson1DApply()

12