Lines Matching refs:CeedCall
42 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()
146 CeedCall(CeedOperatorGetNumElements(op, &num_elem)); in CeedOperatorSingleView()
147 CeedCall(CeedOperatorGetNumQuadraturePoints(op, &num_qpts)); in CeedOperatorSingleView()
148 CeedCall(CeedOperatorGetNumArgs(op, &total_fields)); in CeedOperatorSingleView()
149 …CeedCall(CeedOperatorGetFields(op, &num_input_fields, &op_input_fields, &num_output_fields, &op_ou… in CeedOperatorSingleView()
150 CeedCall(CeedOperatorGetQFunction(op, &qf)); in CeedOperatorSingleView()
151 CeedCall(CeedQFunctionGetFields(qf, NULL, &qf_input_fields, NULL, &qf_output_fields)); in CeedOperatorSingleView()
152 CeedCall(CeedQFunctionDestroy(&qf)); in CeedOperatorSingleView()
158 CeedCall(CeedOperatorAtPointsGetPoints(op, &rstr_points, NULL)); in CeedOperatorSingleView()
159 CeedCall(CeedElemRestrictionGetMaxPointsInElement(rstr_points, &max_points)); in CeedOperatorSingleView()
161 CeedCall(CeedElemRestrictionDestroy(&rstr_points)); in CeedOperatorSingleView()
168 CeedCall(CeedOperatorFieldView(op_input_fields[i], qf_input_fields[i], i, tabs, 1, stream)); in CeedOperatorSingleView()
172 CeedCall(CeedOperatorFieldView(op_output_fields[i], qf_output_fields[i], i, tabs, 0, stream)); in CeedOperatorSingleView()
188 CeedCall(CeedOperatorView((CeedOperator)op, stream)); in CeedOperatorView_Object()
202 CeedCall(CeedOperatorDestroy((CeedOperator *)op)); in CeedOperatorDestroy_Object()
219 CeedCall(CeedOperatorGetActiveBases(op, active_basis, NULL)); in CeedOperatorGetActiveBasis()
241 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetActiveBases()
242 …CeedCall(CeedOperatorGetFields(op, &num_input_fields, &op_input_fields, &num_output_fields, &op_ou… in CeedOperatorGetActiveBases()
250 CeedCall(CeedOperatorFieldGetVector(op_input_fields[i], &vec)); in CeedOperatorGetActiveBases()
254 CeedCall(CeedOperatorFieldGetBasis(op_input_fields[i], &basis)); in CeedOperatorGetActiveBases()
257 if (!*active_input_basis) CeedCall(CeedBasisReferenceCopy(basis, active_input_basis)); in CeedOperatorGetActiveBases()
258 CeedCall(CeedBasisDestroy(&basis)); in CeedOperatorGetActiveBases()
260 CeedCall(CeedVectorDestroy(&vec)); in CeedOperatorGetActiveBases()
271 CeedCall(CeedOperatorFieldGetVector(op_output_fields[i], &vec)); in CeedOperatorGetActiveBases()
275 CeedCall(CeedOperatorFieldGetBasis(op_output_fields[i], &basis)); in CeedOperatorGetActiveBases()
278 if (!*active_output_basis) CeedCall(CeedBasisReferenceCopy(basis, active_output_basis)); in CeedOperatorGetActiveBases()
279 CeedCall(CeedBasisDestroy(&basis)); in CeedOperatorGetActiveBases()
281 CeedCall(CeedVectorDestroy(&vec)); in CeedOperatorGetActiveBases()
302 CeedCall(CeedOperatorGetActiveElemRestrictions(op, active_rstr, NULL)); in CeedOperatorGetActiveElemRestriction()
324 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetActiveElemRestrictions()
325 …CeedCall(CeedOperatorGetFields(op, &num_input_fields, &op_input_fields, &num_output_fields, &op_ou… in CeedOperatorGetActiveElemRestrictions()
333 CeedCall(CeedOperatorFieldGetVector(op_input_fields[i], &vec)); in CeedOperatorGetActiveElemRestrictions()
337 CeedCall(CeedOperatorFieldGetElemRestriction(op_input_fields[i], &rstr)); in CeedOperatorGetActiveElemRestrictions()
340 … if (!*active_input_rstr) CeedCall(CeedElemRestrictionReferenceCopy(rstr, active_input_rstr)); in CeedOperatorGetActiveElemRestrictions()
341 CeedCall(CeedElemRestrictionDestroy(&rstr)); in CeedOperatorGetActiveElemRestrictions()
343 CeedCall(CeedVectorDestroy(&vec)); in CeedOperatorGetActiveElemRestrictions()
354 CeedCall(CeedOperatorFieldGetVector(op_output_fields[i], &vec)); in CeedOperatorGetActiveElemRestrictions()
358 CeedCall(CeedOperatorFieldGetElemRestriction(op_output_fields[i], &rstr)); in CeedOperatorGetActiveElemRestrictions()
361 … if (!*active_output_rstr) CeedCall(CeedElemRestrictionReferenceCopy(rstr, active_output_rstr)); in CeedOperatorGetActiveElemRestrictions()
362 CeedCall(CeedElemRestrictionDestroy(&rstr)); in CeedOperatorGetActiveElemRestrictions()
364 CeedCall(CeedVectorDestroy(&vec)); in CeedOperatorGetActiveElemRestrictions()
402 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorContextSetGeneric()
407 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_sub)); in CeedOperatorContextSetGeneric()
408 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorContextSetGeneric()
415 CeedCall(CeedOperatorGetContext(sub_operators[i], &ctx)); in CeedOperatorContextSetGeneric()
418 … CeedCall(CeedQFunctionContextSetGeneric(ctx, field_label->sub_labels[i], field_type, values)); in CeedOperatorContextSetGeneric()
420 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedOperatorContextSetGeneric()
425 CeedCall(CeedOperatorGetContext(op, &ctx)); in CeedOperatorContextSetGeneric()
427 CeedCall(CeedQFunctionContextSetGeneric(ctx, field_label, field_type, values)); in CeedOperatorContextSetGeneric()
428 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedOperatorContextSetGeneric()
430 CeedCall(CeedOperatorSetQFunctionAssemblyDataUpdateNeeded(op, true)); in CeedOperatorContextSetGeneric()
469 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorContextGetGenericRead()
474 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_sub)); in CeedOperatorContextGetGenericRead()
475 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorContextGetGenericRead()
482 CeedCall(CeedOperatorGetContext(sub_operators[i], &ctx)); in CeedOperatorContextGetGenericRead()
485 …CeedCall(CeedQFunctionContextGetGenericRead(ctx, field_label->sub_labels[i], field_type, num_value… in CeedOperatorContextGetGenericRead()
486 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedOperatorContextGetGenericRead()
489 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedOperatorContextGetGenericRead()
494 CeedCall(CeedOperatorGetContext(op, &ctx)); in CeedOperatorContextGetGenericRead()
496 CeedCall(CeedQFunctionContextGetGenericRead(ctx, field_label, field_type, num_values, values)); in CeedOperatorContextGetGenericRead()
497 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedOperatorContextGetGenericRead()
532 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorContextRestoreGenericRead()
537 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_sub)); in CeedOperatorContextRestoreGenericRead()
538 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorContextRestoreGenericRead()
545 CeedCall(CeedOperatorGetContext(sub_operators[i], &ctx)); in CeedOperatorContextRestoreGenericRead()
548 …CeedCall(CeedQFunctionContextRestoreGenericRead(ctx, field_label->sub_labels[i], field_type, value… in CeedOperatorContextRestoreGenericRead()
549 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedOperatorContextRestoreGenericRead()
552 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedOperatorContextRestoreGenericRead()
557 CeedCall(CeedOperatorGetContext(op, &ctx)); in CeedOperatorContextRestoreGenericRead()
559 CeedCall(CeedQFunctionContextRestoreGenericRead(ctx, field_label, field_type, values)); in CeedOperatorContextRestoreGenericRead()
560 CeedCall(CeedQFunctionContextDestroy(&ctx)); in CeedOperatorContextRestoreGenericRead()
586 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetNumArgs()
608 CeedCall(CeedOperatorGetFields(op, &num_inputs, &input_fields, &num_outputs, &output_fields)); in CeedOperatorHasTensorBases()
614 CeedCall(CeedOperatorFieldGetBasis(input_fields[i], &basis)); in CeedOperatorHasTensorBases()
616 CeedCall(CeedBasisIsTensor(basis, &is_tensor)); in CeedOperatorHasTensorBases()
619 CeedCall(CeedBasisDestroy(&basis)); in CeedOperatorHasTensorBases()
625 CeedCall(CeedOperatorFieldGetBasis(output_fields[i], &basis)); in CeedOperatorHasTensorBases()
627 CeedCall(CeedBasisIsTensor(basis, &is_tensor)); in CeedOperatorHasTensorBases()
630 CeedCall(CeedBasisDestroy(&basis)); in CeedOperatorHasTensorBases()
678 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetQFunction()
681 CeedCall(CeedQFunctionReferenceCopy(op->qf, qf)); in CeedOperatorGetQFunction()
740 CeedCall(CeedObjectReference((CeedObject)op)); in CeedOperatorReference()
785 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Operator")); in CeedOperatorCreate()
787 CeedCall(CeedOperatorCreate(delegate, qf, dqf, dqfT, op)); in CeedOperatorCreate()
788 CeedCall(CeedDestroy(&delegate)); in CeedOperatorCreate()
794 CeedCall(CeedCalloc(1, op)); in CeedOperatorCreate()
795 …CeedCall(CeedObjectCreate(ceed, CeedOperatorView_Object, CeedOperatorDestroy_Object, &(*op)->obj)); in CeedOperatorCreate()
798 CeedCall(CeedQFunctionReferenceCopy(qf, &(*op)->qf)); in CeedOperatorCreate()
799 if (dqf && dqf != CEED_QFUNCTION_NONE) CeedCall(CeedQFunctionReferenceCopy(dqf, &(*op)->dqf)); in CeedOperatorCreate()
800 if (dqfT && dqfT != CEED_QFUNCTION_NONE) CeedCall(CeedQFunctionReferenceCopy(dqfT, &(*op)->dqfT)); in CeedOperatorCreate()
801 CeedCall(CeedCalloc(CEED_FIELD_MAX, &(*op)->input_fields)); in CeedOperatorCreate()
802 CeedCall(CeedCalloc(CEED_FIELD_MAX, &(*op)->output_fields)); in CeedOperatorCreate()
803 CeedCall(ceed->OperatorCreate(*op)); in CeedOperatorCreate()
827 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Operator")); in CeedOperatorCreateAtPoints()
829 CeedCall(CeedOperatorCreateAtPoints(delegate, qf, dqf, dqfT, op)); in CeedOperatorCreateAtPoints()
830 CeedCall(CeedDestroy(&delegate)); in CeedOperatorCreateAtPoints()
836 CeedCall(CeedCalloc(1, op)); in CeedOperatorCreateAtPoints()
837 …CeedCall(CeedObjectCreate(ceed, CeedOperatorView_Object, CeedOperatorDestroy_Object, &(*op)->obj)); in CeedOperatorCreateAtPoints()
841 CeedCall(CeedQFunctionReferenceCopy(qf, &(*op)->qf)); in CeedOperatorCreateAtPoints()
842 if (dqf && dqf != CEED_QFUNCTION_NONE) CeedCall(CeedQFunctionReferenceCopy(dqf, &(*op)->dqf)); in CeedOperatorCreateAtPoints()
843 if (dqfT && dqfT != CEED_QFUNCTION_NONE) CeedCall(CeedQFunctionReferenceCopy(dqfT, &(*op)->dqfT)); in CeedOperatorCreateAtPoints()
844 CeedCall(CeedCalloc(CEED_FIELD_MAX, &(*op)->input_fields)); in CeedOperatorCreateAtPoints()
845 CeedCall(CeedCalloc(CEED_FIELD_MAX, &(*op)->output_fields)); in CeedOperatorCreateAtPoints()
846 CeedCall(ceed->OperatorCreateAtPoints(*op)); in CeedOperatorCreateAtPoints()
864 CeedCall(CeedGetObjectDelegate(ceed, &delegate, "Operator")); in CeedOperatorCreateComposite()
866 CeedCall(CeedOperatorCreateComposite(delegate, op)); in CeedOperatorCreateComposite()
867 CeedCall(CeedDestroy(&delegate)); in CeedOperatorCreateComposite()
872 CeedCall(CeedCalloc(1, op)); in CeedOperatorCreateComposite()
873 …CeedCall(CeedObjectCreate(ceed, CeedOperatorView_Object, CeedOperatorDestroy_Object, &(*op)->obj)); in CeedOperatorCreateComposite()
875 CeedCall(CeedCalloc(CEED_COMPOSITE_MAX, &(*op)->sub_operators)); in CeedOperatorCreateComposite()
879 if (ceed->CompositeOperatorCreate) CeedCall(ceed->CompositeOperatorCreate(*op)); in CeedOperatorCreateComposite()
899 CeedCall(CeedOperatorReference(op)); in CeedOperatorReferenceCopy()
900 CeedCall(CeedOperatorDestroy(op_copy)); in CeedOperatorReferenceCopy()
935 CeedCall(CeedOperatorIsAtPoints(op, &is_at_points)); in CeedOperatorSetField()
936 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorSetField()
937 CeedCall(CeedOperatorIsImmutable(op, &is_immutable)); in CeedOperatorSetField()
944 CeedCall(CeedElemRestrictionGetNumElements(rstr, &num_elem)); in CeedOperatorSetField()
950 CeedCall(CeedElemRestrictionGetType(rstr, &rstr_type)); in CeedOperatorSetField()
957 CeedCall(CeedElemRestrictionReferenceCopy(rstr, &op->first_points_rstr)); in CeedOperatorSetField()
961 … CeedCall(CeedElemRestrictionAtPointsAreCompatible(op->first_points_rstr, rstr, &are_compatible)); in CeedOperatorSetField()
968 if (basis == CEED_BASIS_NONE) CeedCall(CeedElemRestrictionGetElementSize(rstr, &num_qpts)); in CeedOperatorSetField()
969 else CeedCall(CeedBasisGetNumQuadraturePoints(basis, &num_qpts)); in CeedOperatorSetField()
975 CeedCall(CeedOperatorGetQFunction(op, &qf)); in CeedOperatorSetField()
976 …CeedCall(CeedQFunctionGetFields(qf, &num_input_fields, &qf_input_fields, &num_output_fields, &qf_o… in CeedOperatorSetField()
977 CeedCall(CeedQFunctionDestroy(&qf)); in CeedOperatorSetField()
981 CeedCall(CeedQFunctionFieldGetName(qf_input_fields[i], &qf_field_name)); in CeedOperatorSetField()
992 CeedCall(CeedQFunctionFieldGetName(qf_output_fields[i], &qf_field_name)); in CeedOperatorSetField()
1003 CeedCall(CeedOperatorCheckField(CeedOperatorReturnCeed(op), qf_field, rstr, basis)); in CeedOperatorSetField()
1004 CeedCall(CeedCalloc(1, op_field)); in CeedOperatorSetField()
1009 CeedCall(CeedElemRestrictionGetLVectorSize(rstr, &l_size)); in CeedOperatorSetField()
1021 CeedCall(CeedVectorReferenceCopy(vec, &(*op_field)->vec)); in CeedOperatorSetField()
1022 CeedCall(CeedElemRestrictionReferenceCopy(rstr, &(*op_field)->elem_rstr)); in CeedOperatorSetField()
1027 CeedCall(CeedBasisReferenceCopy(basis, &(*op_field)->basis)); in CeedOperatorSetField()
1030 CeedCall(CeedStringAllocCopy(field_name, (char **)&(*op_field)->field_name)); in CeedOperatorSetField()
1054 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetFields()
1056 CeedCall(CeedOperatorCheckReady(op)); in CeedOperatorGetFields()
1058 CeedCall(CeedOperatorGetQFunction(op, &qf)); in CeedOperatorGetFields()
1059 CeedCall(CeedQFunctionGetFields(qf, num_input_fields, NULL, num_output_fields, NULL)); in CeedOperatorGetFields()
1060 CeedCall(CeedQFunctionDestroy(&qf)); in CeedOperatorGetFields()
1082 CeedCall(CeedOperatorIsAtPoints(op, &is_at_points)); in CeedOperatorAtPointsSetPoints()
1083 CeedCall(CeedOperatorIsImmutable(op, &is_immutable)); in CeedOperatorAtPointsSetPoints()
1088 CeedCall(CeedElemRestrictionReferenceCopy(rstr_points, &op->first_points_rstr)); in CeedOperatorAtPointsSetPoints()
1092 …CeedCall(CeedElemRestrictionAtPointsAreCompatible(op->first_points_rstr, rstr_points, &are_compati… in CeedOperatorAtPointsSetPoints()
1097 CeedCall(CeedElemRestrictionReferenceCopy(rstr_points, &op->rstr_points)); in CeedOperatorAtPointsSetPoints()
1098 CeedCall(CeedVectorReferenceCopy(point_coords, &op->point_coords)); in CeedOperatorAtPointsSetPoints()
1133 CeedCall(CeedOperatorIsAtPoints(op, &is_at_points)); in CeedOperatorAtPointsGetPoints()
1135 CeedCall(CeedOperatorCheckReady(op)); in CeedOperatorAtPointsGetPoints()
1139 CeedCall(CeedElemRestrictionReferenceCopy(op->rstr_points, rstr_points)); in CeedOperatorAtPointsGetPoints()
1143 CeedCall(CeedVectorReferenceCopy(op->point_coords, point_coords)); in CeedOperatorAtPointsGetPoints()
1169 …CeedCall(CeedOperatorGetFields(op, &num_input_fields, &input_fields, &num_output_fields, &output_f… in CeedOperatorGetFieldByName()
1171 CeedCall(CeedOperatorFieldGetName(input_fields[i], &name)); in CeedOperatorGetFieldByName()
1178 CeedCall(CeedOperatorFieldGetName(output_fields[i], &name)); in CeedOperatorGetFieldByName()
1216 CeedCall(CeedElemRestrictionReferenceCopy(op_field->elem_rstr, rstr)); in CeedOperatorFieldGetElemRestriction()
1234 CeedCall(CeedBasisReferenceCopy(op_field->basis, basis)); in CeedOperatorFieldGetBasis()
1252 CeedCall(CeedVectorReferenceCopy(op_field->vec, vec)); in CeedOperatorFieldGetVector()
1274 if (field_name) CeedCall(CeedOperatorFieldGetName(op_field, field_name)); in CeedOperatorFieldGetData()
1275 if (rstr) CeedCall(CeedOperatorFieldGetElemRestriction(op_field, rstr)); in CeedOperatorFieldGetData()
1276 if (basis) CeedCall(CeedOperatorFieldGetBasis(op_field, basis)); in CeedOperatorFieldGetData()
1277 if (vec) CeedCall(CeedOperatorFieldGetVector(op_field, vec)); in CeedOperatorFieldGetData()
1297 CeedCall(CeedOperatorIsImmutable(composite_op, &is_immutable)); in CeedOperatorCompositeAddSub()
1303 CeedCall(CeedOperatorGetActiveVectorLengths(sub_op, &input_size, &output_size)); in CeedOperatorCompositeAddSub()
1316 CeedCall(CeedOperatorReference(sub_op)); in CeedOperatorCompositeAddSub()
1334 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorCompositeGetNumSub()
1353 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorCompositeGetSubList()
1379 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorCompositeGetSubByName()
1382 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_sub_ops)); in CeedOperatorCompositeGetSubByName()
1383 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_ops)); in CeedOperatorCompositeGetSubByName()
1408 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorCompositeSetSequential()
1429 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorCompositeIsSequential()
1450 CeedCall(CeedOperatorIsAtPoints(op, &is_at_points)); in CeedOperatorCheckReady()
1451 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorCheckReady()
1452 if (!is_composite) CeedCall(CeedOperatorGetQFunction(op, &qf)); in CeedOperatorCheckReady()
1456 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_suboperators)); in CeedOperatorCheckReady()
1464 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorCheckReady()
1466 CeedCall(CeedOperatorCheckReady(sub_operators[i])); in CeedOperatorCheckReady()
1471 CeedCall(CeedOperatorGetActiveVectorLengths(op, &input_size, &output_size)); in CeedOperatorCheckReady()
1477 CeedCall(CeedQFunctionGetFields(qf, &num_input_fields, NULL, &num_output_fields, NULL)); in CeedOperatorCheckReady()
1487 if (qf && qf != CEED_QFUNCTION_NONE) CeedCall(CeedQFunctionSetImmutable(qf)); in CeedOperatorCheckReady()
1488 CeedCall(CeedQFunctionDestroy(&qf)); in CeedOperatorCheckReady()
1489 if (op->dqf && op->dqf != CEED_QFUNCTION_NONE) CeedCall(CeedQFunctionSetImmutable(op->dqf)); in CeedOperatorCheckReady()
1490 if (op->dqfT && op->dqfT != CEED_QFUNCTION_NONE) CeedCall(CeedQFunctionSetImmutable(op->dqfT)); in CeedOperatorCheckReady()
1513 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetActiveVectorLengths()
1518 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_suboperators)); in CeedOperatorGetActiveVectorLengths()
1519 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorGetActiveVectorLengths()
1523 … CeedCall(CeedOperatorGetActiveVectorLengths(sub_operators[i], &sub_input_size, &sub_output_size)); in CeedOperatorGetActiveVectorLengths()
1554 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorSetQFunctionAssemblyReuse()
1557 CeedCall(CeedOperatorSetQFunctionAssemblyReuse(op->sub_operators[i], reuse_assembly_data)); in CeedOperatorSetQFunctionAssemblyReuse()
1562 CeedCall(CeedOperatorGetQFunctionAssemblyData(op, &data)); in CeedOperatorSetQFunctionAssemblyReuse()
1563 CeedCall(CeedQFunctionAssemblyDataSetReuse(data, reuse_assembly_data)); in CeedOperatorSetQFunctionAssemblyReuse()
1581 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorSetQFunctionAssemblyDataUpdateNeeded()
1586 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_suboperators)); in CeedOperatorSetQFunctionAssemblyDataUpdateNeeded()
1587 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorSetQFunctionAssemblyDataUpdateNeeded()
1589 … CeedCall(CeedOperatorSetQFunctionAssemblyDataUpdateNeeded(sub_operators[i], needs_data_update)); in CeedOperatorSetQFunctionAssemblyDataUpdateNeeded()
1594 CeedCall(CeedOperatorGetQFunctionAssemblyData(op, &data)); in CeedOperatorSetQFunctionAssemblyDataUpdateNeeded()
1595 CeedCall(CeedQFunctionAssemblyDataSetUpdateNeeded(data, needs_data_update)); in CeedOperatorSetQFunctionAssemblyDataUpdateNeeded()
1614 CeedCall(CeedFree(&op->name)); in CeedOperatorSetName()
1616 CeedCall(CeedCalloc(name_len + 1, &name_copy)); in CeedOperatorSetName()
1639 CeedCall(CeedOperatorGetQFunction(op, &qf)); in CeedOperatorGetName()
1640 if (qf) CeedCall(CeedQFunctionGetName(qf, name)); in CeedOperatorGetName()
1641 CeedCall(CeedQFunctionDestroy(&qf)); in CeedOperatorGetName()
1663 CeedCall(CeedOperatorGetName(op, &name)); in CeedOperatorView_Core()
1665 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorView_Core()
1666 CeedCall(CeedOperatorIsAtPoints(op, &is_at_points)); in CeedOperatorView_Core()
1668 CeedCall(CeedOperatorGetNumViewTabs(op, &num_tabs)); in CeedOperatorView_Core()
1669 CeedCall(CeedCalloc(CEED_TAB_WIDTH * (num_tabs + is_composite) + 1, &tabs)); in CeedOperatorView_Core()
1675 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_suboperators)); in CeedOperatorView_Core()
1676 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorView_Core()
1685 if (is_full) CeedCall(CeedOperatorSingleView(sub_operators[i], tabs, stream)); in CeedOperatorView_Core()
1690 if (is_full) CeedCall(CeedOperatorSingleView(op, tabs, stream)); in CeedOperatorView_Core()
1692 CeedCall(CeedFree(&tabs)); in CeedOperatorView_Core()
1707 CeedCall(CeedObjectSetNumViewTabs((CeedObject)op, num_tabs)); in CeedOperatorSetNumViewTabs()
1722 CeedCall(CeedObjectGetNumViewTabs((CeedObject)op, num_tabs)); in CeedOperatorGetNumViewTabs()
1737 CeedCall(CeedOperatorView_Core(op, stream, true)); in CeedOperatorView()
1752 CeedCall(CeedOperatorView_Core(op, stream, false)); in CeedOperatorViewTerse()
1767 CeedCall(CeedObjectGetCeed((CeedObject)op, ceed)); in CeedOperatorGetCeed()
1795 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetNumElements()
1814 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetNumQuadraturePoints()
1831 CeedCall(CeedOperatorCheckReady(op)); in CeedOperatorGetFlopsEstimate()
1834 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetFlopsEstimate()
1838 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_suboperators)); in CeedOperatorGetFlopsEstimate()
1840 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorGetFlopsEstimate()
1846 CeedCall(CeedOperatorGetFlopsEstimate(sub_operators[i], &suboperator_flops)); in CeedOperatorGetFlopsEstimate()
1856 CeedCall(CeedOperatorGetNumElements(op, &num_elem)); in CeedOperatorGetFlopsEstimate()
1858 CeedCall(CeedOperatorIsAtPoints(op, &is_at_points)); in CeedOperatorGetFlopsEstimate()
1863 CeedCall(CeedOperatorAtPointsGetPoints(op, &rstr_points, NULL)); in CeedOperatorGetFlopsEstimate()
1864 CeedCall(CeedGetPreferredMemType(CeedOperatorReturnCeed(op), &mem_type)); in CeedOperatorGetFlopsEstimate()
1867 CeedCall(CeedElemRestrictionGetMaxPointsInElement(rstr_points, &num_points)); in CeedOperatorGetFlopsEstimate()
1873 CeedCall(CeedElemRestrictionGetNumPointsInElement(rstr_points, i, &points_in_elem)); in CeedOperatorGetFlopsEstimate()
1878 CeedCall(CeedElemRestrictionDestroy(&rstr_points)); in CeedOperatorGetFlopsEstimate()
1880 CeedCall(CeedOperatorGetQFunction(op, &qf)); in CeedOperatorGetFlopsEstimate()
1881 …CeedCall(CeedQFunctionGetFields(qf, &num_input_fields, &qf_input_fields, &num_output_fields, &qf_o… in CeedOperatorGetFlopsEstimate()
1882 CeedCall(CeedQFunctionDestroy(&qf)); in CeedOperatorGetFlopsEstimate()
1883 CeedCall(CeedOperatorGetFields(op, NULL, &op_input_fields, NULL, &op_output_fields)); in CeedOperatorGetFlopsEstimate()
1889 CeedCall(CeedOperatorFieldGetVector(op_input_fields[i], &vec)); in CeedOperatorGetFlopsEstimate()
1896 CeedCall(CeedOperatorFieldGetElemRestriction(op_input_fields[i], &rstr)); in CeedOperatorGetFlopsEstimate()
1897 CeedCall(CeedElemRestrictionGetFlopsEstimate(rstr, CEED_NOTRANSPOSE, &rstr_flops)); in CeedOperatorGetFlopsEstimate()
1898 CeedCall(CeedElemRestrictionDestroy(&rstr)); in CeedOperatorGetFlopsEstimate()
1900 CeedCall(CeedOperatorFieldGetBasis(op_input_fields[i], &basis)); in CeedOperatorGetFlopsEstimate()
1901 CeedCall(CeedQFunctionFieldGetEvalMode(qf_input_fields[i], &eval_mode)); in CeedOperatorGetFlopsEstimate()
1902 …CeedCall(CeedBasisGetFlopsEstimate(basis, CEED_NOTRANSPOSE, eval_mode, is_at_points, num_points, &… in CeedOperatorGetFlopsEstimate()
1903 CeedCall(CeedBasisDestroy(&basis)); in CeedOperatorGetFlopsEstimate()
1906 CeedCall(CeedVectorDestroy(&vec)); in CeedOperatorGetFlopsEstimate()
1915 else CeedCall(CeedOperatorGetNumQuadraturePoints(op, &num_qpts)); in CeedOperatorGetFlopsEstimate()
1916 CeedCall(CeedOperatorGetQFunction(op, &qf)); in CeedOperatorGetFlopsEstimate()
1917 CeedCall(CeedQFunctionGetFlopsEstimate(qf, &qf_flops)); in CeedOperatorGetFlopsEstimate()
1918 CeedCall(CeedQFunctionDestroy(&qf)); in CeedOperatorGetFlopsEstimate()
1928 CeedCall(CeedOperatorFieldGetVector(op_output_fields[i], &vec)); in CeedOperatorGetFlopsEstimate()
1935 CeedCall(CeedOperatorFieldGetElemRestriction(op_output_fields[i], &rstr)); in CeedOperatorGetFlopsEstimate()
1936 CeedCall(CeedElemRestrictionGetFlopsEstimate(rstr, CEED_TRANSPOSE, &rstr_flops)); in CeedOperatorGetFlopsEstimate()
1937 CeedCall(CeedElemRestrictionDestroy(&rstr)); in CeedOperatorGetFlopsEstimate()
1939 CeedCall(CeedOperatorFieldGetBasis(op_output_fields[i], &basis)); in CeedOperatorGetFlopsEstimate()
1940 CeedCall(CeedQFunctionFieldGetEvalMode(qf_output_fields[i], &eval_mode)); in CeedOperatorGetFlopsEstimate()
1941 …CeedCall(CeedBasisGetFlopsEstimate(basis, CEED_TRANSPOSE, eval_mode, is_at_points, num_points, &ba… in CeedOperatorGetFlopsEstimate()
1942 CeedCall(CeedBasisDestroy(&basis)); in CeedOperatorGetFlopsEstimate()
1945 CeedCall(CeedVectorDestroy(&vec)); in CeedOperatorGetFlopsEstimate()
1971 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetContext()
1973 CeedCall(CeedOperatorGetQFunction(op, &qf)); in CeedOperatorGetContext()
1974 CeedCall(CeedQFunctionGetInnerContext(qf, &qf_ctx)); in CeedOperatorGetContext()
1975 CeedCall(CeedQFunctionDestroy(&qf)); in CeedOperatorGetContext()
1977 if (qf_ctx) CeedCall(CeedQFunctionContextReferenceCopy(qf_ctx, ctx)); in CeedOperatorGetContext()
1997 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorGetContextFieldLabel()
2014 CeedCall(CeedCalloc(1, &new_field_label)); in CeedOperatorGetContextFieldLabel()
2015 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_sub)); in CeedOperatorGetContextFieldLabel()
2016 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorGetContextFieldLabel()
2017 CeedCall(CeedCalloc(num_sub, &new_field_label->sub_labels)); in CeedOperatorGetContextFieldLabel()
2024 …CeedCall(CeedQFunctionContextGetFieldLabel(sub_operators[i]->qf->ctx, field_name, &new_field_label… in CeedOperatorGetContextFieldLabel()
2032 CeedCall(CeedFree(&new_field_label)); in CeedOperatorGetContextFieldLabel()
2041 CeedCall(CeedFree(&new_field_label)); in CeedOperatorGetContextFieldLabel()
2057 CeedCall(CeedFree(&new_field_label->sub_labels)); in CeedOperatorGetContextFieldLabel()
2058 CeedCall(CeedFree(&new_field_label)); in CeedOperatorGetContextFieldLabel()
2067 CeedCall(CeedOperatorGetQFunction(op, &qf)); in CeedOperatorGetContextFieldLabel()
2068 CeedCall(CeedQFunctionGetInnerContext(qf, &ctx)); in CeedOperatorGetContextFieldLabel()
2069 CeedCall(CeedQFunctionDestroy(&qf)); in CeedOperatorGetContextFieldLabel()
2071 CeedCall(CeedQFunctionContextGetFieldLabel(ctx, field_name, field_label)); in CeedOperatorGetContextFieldLabel()
2083 CeedCall(CeedCalloc(1, &op->context_labels)); in CeedOperatorGetContextFieldLabel()
2086 CeedCall(CeedRealloc(2 * op->num_context_labels, &op->context_labels)); in CeedOperatorGetContextFieldLabel()
2265 CeedCall(CeedOperatorCheckReady(op)); in CeedOperatorApply()
2267 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorApply()
2270 CeedCall(op->ApplyComposite(op, in, out, request)); in CeedOperatorApply()
2273 CeedCall(op->Apply(op, in, out, request)); in CeedOperatorApply()
2277 if (out != CEED_VECTOR_NONE) CeedCall(CeedVectorSetValue(out, 0.0)); in CeedOperatorApply()
2280 CeedCall(CeedOperatorApplyAddActive(op, in, out, request)); in CeedOperatorApply()
2307 CeedCall(CeedOperatorCheckReady(op)); in CeedOperatorApplyAdd()
2309 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorApplyAdd()
2313 CeedCall(op->ApplyAddComposite(op, in, out, request)); in CeedOperatorApplyAdd()
2318 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_suboperators)); in CeedOperatorApplyAdd()
2319 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorApplyAdd()
2321 CeedCall(CeedOperatorApplyAdd(sub_operators[i], in, out, request)); in CeedOperatorApplyAdd()
2326 CeedCall(op->ApplyAdd(op, in, out, request)); in CeedOperatorApplyAdd()
2351 CeedCall(CeedOperatorCheckReady(op)); in CeedOperatorApplyAddActive()
2353 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorApplyAddActive()
2359 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_suboperators)); in CeedOperatorApplyAddActive()
2360 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorApplyAddActive()
2367 … CeedCall(CeedOperatorGetFields(sub_operators[i], NULL, NULL, &num_output_fields, &output_fields)); in CeedOperatorApplyAddActive()
2371 CeedCall(CeedOperatorFieldGetVector(output_fields[j], &vec)); in CeedOperatorApplyAddActive()
2372 … if (vec != CEED_VECTOR_ACTIVE && vec != CEED_VECTOR_NONE) CeedCall(CeedVectorSetValue(vec, 0.0)); in CeedOperatorApplyAddActive()
2373 CeedCall(CeedVectorDestroy(&vec)); in CeedOperatorApplyAddActive()
2377 CeedCall(CeedOperatorApplyAdd(op, in, out, request)); in CeedOperatorApplyAddActive()
2383 CeedCall(CeedOperatorGetFields(op, NULL, NULL, &num_output_fields, &output_fields)); in CeedOperatorApplyAddActive()
2388 CeedCall(CeedOperatorFieldGetVector(output_fields[i], &vec)); in CeedOperatorApplyAddActive()
2389 … if (vec != CEED_VECTOR_ACTIVE && vec != CEED_VECTOR_NONE) CeedCall(CeedVectorSetValue(vec, 0.0)); in CeedOperatorApplyAddActive()
2390 CeedCall(CeedVectorDestroy(&vec)); in CeedOperatorApplyAddActive()
2393 CeedCall(CeedOperatorApplyAdd(op, in, out, request)); in CeedOperatorApplyAddActive()
2410 CeedCall(CeedQFunctionAssemblyDataDestroy(&op->qf_assembled)); in CeedOperatorAssemblyDataStrip()
2411 CeedCall(CeedOperatorAssemblyDataDestroy(&op->op_assembled)); in CeedOperatorAssemblyDataStrip()
2412 CeedCall(CeedOperatorIsComposite(op, &is_composite)); in CeedOperatorAssemblyDataStrip()
2417 CeedCall(CeedOperatorCompositeGetNumSub(op, &num_suboperators)); in CeedOperatorAssemblyDataStrip()
2418 CeedCall(CeedOperatorCompositeGetSubList(op, &sub_operators)); in CeedOperatorAssemblyDataStrip()
2420 CeedCall(CeedQFunctionAssemblyDataDestroy(&sub_operators[i]->qf_assembled)); in CeedOperatorAssemblyDataStrip()
2421 CeedCall(CeedOperatorAssemblyDataDestroy(&sub_operators[i]->op_assembled)); in CeedOperatorAssemblyDataStrip()
2443 CeedCall((*op)->Destroy(*op)); in CeedOperatorDestroy()
2449 CeedCall(CeedElemRestrictionDestroy(&(*op)->input_fields[i]->elem_rstr)); in CeedOperatorDestroy()
2452 CeedCall(CeedBasisDestroy(&(*op)->input_fields[i]->basis)); in CeedOperatorDestroy()
2455 CeedCall(CeedVectorDestroy(&(*op)->input_fields[i]->vec)); in CeedOperatorDestroy()
2457 CeedCall(CeedFree(&(*op)->input_fields[i]->field_name)); in CeedOperatorDestroy()
2458 CeedCall(CeedFree(&(*op)->input_fields[i])); in CeedOperatorDestroy()
2463 CeedCall(CeedElemRestrictionDestroy(&(*op)->output_fields[i]->elem_rstr)); in CeedOperatorDestroy()
2465 CeedCall(CeedBasisDestroy(&(*op)->output_fields[i]->basis)); in CeedOperatorDestroy()
2468 CeedCall(CeedVectorDestroy(&(*op)->output_fields[i]->vec)); in CeedOperatorDestroy()
2470 CeedCall(CeedFree(&(*op)->output_fields[i]->field_name)); in CeedOperatorDestroy()
2471 CeedCall(CeedFree(&(*op)->output_fields[i])); in CeedOperatorDestroy()
2474 CeedCall(CeedFree(&(*op)->input_fields)); in CeedOperatorDestroy()
2475 CeedCall(CeedFree(&(*op)->output_fields)); in CeedOperatorDestroy()
2477 CeedCall(CeedVectorDestroy(&(*op)->point_coords)); in CeedOperatorDestroy()
2478 CeedCall(CeedElemRestrictionDestroy(&(*op)->rstr_points)); in CeedOperatorDestroy()
2479 CeedCall(CeedElemRestrictionDestroy(&(*op)->first_points_rstr)); in CeedOperatorDestroy()
2481 CeedCall(CeedOperatorAssemblyDataStrip(*op)); in CeedOperatorDestroy()
2485 CeedCall(CeedOperatorDestroy(&(*op)->sub_operators[i])); in CeedOperatorDestroy()
2488 CeedCall(CeedFree(&(*op)->sub_operators)); in CeedOperatorDestroy()
2489 CeedCall(CeedQFunctionDestroy(&(*op)->qf)); in CeedOperatorDestroy()
2490 CeedCall(CeedQFunctionDestroy(&(*op)->dqf)); in CeedOperatorDestroy()
2491 CeedCall(CeedQFunctionDestroy(&(*op)->dqfT)); in CeedOperatorDestroy()
2495 CeedCall(CeedFree(&(*op)->context_labels[i]->sub_labels)); in CeedOperatorDestroy()
2496 CeedCall(CeedFree(&(*op)->context_labels[i])); in CeedOperatorDestroy()
2499 CeedCall(CeedFree(&(*op)->context_labels)); in CeedOperatorDestroy()
2502 CeedCall(CeedOperatorDestroy(&(*op)->op_fallback)); in CeedOperatorDestroy()
2504 CeedCall(CeedFree(&(*op)->name)); in CeedOperatorDestroy()
2505 CeedCall(CeedObjectDestroy_Private(&(*op)->obj)); in CeedOperatorDestroy()
2506 CeedCall(CeedFree(op)); in CeedOperatorDestroy()