ceed-operator.c (c04a41a732cea3148b46ee2e65fa9c6567e2e3ca) ceed-operator.c (fd364f385fcf8d7fc7b4a70eff195ce997d4a2a4)
1// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
2// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
3// reserved. See files LICENSE and NOTICE for details.
4//
5// This file is part of CEED, a collection of benchmarks, miniapps, software
6// libraries and APIs for efficient high-order finite element and spectral
7// element discretizations for exascale applications. For more information and
8// source code availability see http://github.com/ceed.

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

282
283 *numargs = op->nfields;
284 return 0;
285}
286
287/**
288 @brief Get the setup status of a CeedOperator
289
1// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
2// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
3// reserved. See files LICENSE and NOTICE for details.
4//
5// This file is part of CEED, a collection of benchmarks, miniapps, software
6// libraries and APIs for efficient high-order finite element and spectral
7// element discretizations for exascale applications. For more information and
8// source code availability see http://github.com/ceed.

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

282
283 *numargs = op->nfields;
284 return 0;
285}
286
287/**
288 @brief Get the setup status of a CeedOperator
289
290 @param op CeedOperator
291 @param[out] setupdone Variable to store setup status
290 @param op CeedOperator
291 @param[out] issetupdone Variable to store setup status
292
293 @return An error code: 0 - success, otherwise - failure
294
295 @ref Backend
296**/
297
292
293 @return An error code: 0 - success, otherwise - failure
294
295 @ref Backend
296**/
297
298int CeedOperatorGetSetupStatus(CeedOperator op, bool *setupdone) {
299 *setupdone = op->setupdone;
298int CeedOperatorIsSetupDone(CeedOperator op, bool *issetupdone) {
299 *issetupdone = op->setupdone;
300 return 0;
301}
302
303/**
304 @brief Get the QFunction associated with a CeedOperator
305
306 @param op CeedOperator
307 @param[out] qf Variable to store QFunction

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

320 *qf = op->qf;
321 return 0;
322}
323
324/**
325 @brief Get a boolean value indicating if the CeedOperator is composite
326
327 @param op CeedOperator
300 return 0;
301}
302
303/**
304 @brief Get the QFunction associated with a CeedOperator
305
306 @param op CeedOperator
307 @param[out] qf Variable to store QFunction

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

320 *qf = op->qf;
321 return 0;
322}
323
324/**
325 @brief Get a boolean value indicating if the CeedOperator is composite
326
327 @param op CeedOperator
328 @param[out] isComposite Variable to store composite status
328 @param[out] iscomposite Variable to store composite status
329
330 @return An error code: 0 - success, otherwise - failure
331
332 @ref Backend
333**/
334
329
330 @return An error code: 0 - success, otherwise - failure
331
332 @ref Backend
333**/
334
335int CeedOperatorGetCompositeStatus(CeedOperator op, bool *isComposite) {
336 *isComposite = op->composite;
335int CeedOperatorIsComposite(CeedOperator op, bool *iscomposite) {
336 *iscomposite = op->composite;
337 return 0;
338}
339
340/**
341 @brief Get the number of suboperators associated with a CeedOperator
342
343 @param op CeedOperator
344 @param[out] numsub Variable to store number of suboperators

--- 808 unchanged lines hidden ---
337 return 0;
338}
339
340/**
341 @brief Get the number of suboperators associated with a CeedOperator
342
343 @param op CeedOperator
344 @param[out] numsub Variable to store number of suboperators

--- 808 unchanged lines hidden ---