ceed-qfunction.c (f2989f2b3b8649d855bed22b6730ee0ecfa6b31b) ceed-qfunction.c (e9f76d14a1d2b6594a8aca2075cf16ebd9c3bf6f)
1// Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3//
4// SPDX-License-Identifier: BSD-2-Clause
5//
6// This file is part of CEED: http://github.com/ceed
7
8#include <ceed-impl.h>

--- 214 unchanged lines hidden (view full) ---

223int CeedQFunctionGetNumArgs(CeedQFunction qf, CeedInt *num_input, CeedInt *num_output) {
224 if (num_input) *num_input = qf->num_input_fields;
225 if (num_output) *num_output = qf->num_output_fields;
226 return CEED_ERROR_SUCCESS;
227}
228
229/**
230 @brief Get the name of the `CeedQFunction`.
1// Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3//
4// SPDX-License-Identifier: BSD-2-Clause
5//
6// This file is part of CEED: http://github.com/ceed
7
8#include <ceed-impl.h>

--- 214 unchanged lines hidden (view full) ---

223int CeedQFunctionGetNumArgs(CeedQFunction qf, CeedInt *num_input, CeedInt *num_output) {
224 if (num_input) *num_input = qf->num_input_fields;
225 if (num_output) *num_output = qf->num_output_fields;
226 return CEED_ERROR_SUCCESS;
227}
228
229/**
230 @brief Get the name of the `CeedQFunction`.
231 Use the `name` if created via @ref `CeedQFunctionCreateInteriorByName`, otherwise return the kernel name via @ref `CeedQFunctionGetKernelName`.
231 Use the `name` if created via @ref CeedQFunctionCreateInteriorByName(), otherwise return the kernel name via @ref CeedQFunctionGetKernelName().
232
232
233 @param[in] qf `CeedQFunction`
234 @param[out] kernel_name Variable to store `CeedQFunction` name
233 @param[in] qf `CeedQFunction`
234 @param[out] name Variable to store `CeedQFunction` name
235
236 @return An error code: 0 - success, otherwise - failure
237
238 @ref Backend
239**/
240int CeedQFunctionGetName(CeedQFunction qf, const char **name) {
241 if (qf->is_gallery) {
242 *name = qf->gallery_name;

--- 962 unchanged lines hidden ---
235
236 @return An error code: 0 - success, otherwise - failure
237
238 @ref Backend
239**/
240int CeedQFunctionGetName(CeedQFunction qf, const char **name) {
241 if (qf->is_gallery) {
242 *name = qf->gallery_name;

--- 962 unchanged lines hidden ---