| ceed-operator.c (d965c7a71afb833cd21b66efc6c6ec81679c68a9) | ceed-operator.c (c04a41a732cea3148b46ee2e65fa9c6567e2e3ca) |
|---|---|
| 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. --- 308 unchanged lines hidden (view full) --- 317 return CeedError(op->ceed, 1, "Not defined for composite operator"); 318 // LCOV_EXCL_STOP 319 320 *qf = op->qf; 321 return 0; 322} 323 324/** | 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. --- 308 unchanged lines hidden (view full) --- 317 return CeedError(op->ceed, 1, "Not defined for composite operator"); 318 // LCOV_EXCL_STOP 319 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 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; 337 return 0; 338} 339 340/** |
|
| 325 @brief Get the number of suboperators associated with a CeedOperator 326 327 @param op CeedOperator 328 @param[out] numsub Variable to store number of suboperators 329 330 @return An error code: 0 - success, otherwise - failure 331 332 @ref Backend --- 445 unchanged lines hidden (view full) --- 778 return 0; 779} 780 781/** 782 @brief Assemble the diagonal of a square linear CeedOperator 783 784 This returns a CeedVector containing the diagonal of a linear CeedOperator. 785 | 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 345 346 @return An error code: 0 - success, otherwise - failure 347 348 @ref Backend --- 445 unchanged lines hidden (view full) --- 794 return 0; 795} 796 797/** 798 @brief Assemble the diagonal of a square linear CeedOperator 799 800 This returns a CeedVector containing the diagonal of a linear CeedOperator. 801 |
| 786 Note: Currently only non-composite CeedOperators with a single field are 787 supported. | 802 Note: Currently only non-composite CeedOperators with a single field and 803 composite CeedOperators with single field sub-operators are supported. |
| 788 789 @param op CeedOperator to assemble CeedQFunction 790 @param[out] assembled CeedVector to store assembled CeedOperator diagonal 791 @param request Address of CeedRequest for non-blocking completion, else 792 @ref CEED_REQUEST_IMMEDIATE 793 794 @return An error code: 0 - success, otherwise - failure 795 --- 22 unchanged lines hidden (view full) --- 818} 819 820/** 821 @brief Assemble the point block diagonal of a square linear CeedOperator 822 823 This returns a CeedVector containing the point block diagonal of a linear 824 CeedOperator. 825 | 804 805 @param op CeedOperator to assemble CeedQFunction 806 @param[out] assembled CeedVector to store assembled CeedOperator diagonal 807 @param request Address of CeedRequest for non-blocking completion, else 808 @ref CEED_REQUEST_IMMEDIATE 809 810 @return An error code: 0 - success, otherwise - failure 811 --- 22 unchanged lines hidden (view full) --- 834} 835 836/** 837 @brief Assemble the point block diagonal of a square linear CeedOperator 838 839 This returns a CeedVector containing the point block diagonal of a linear 840 CeedOperator. 841 |
| 826 Note: Currently only non-composite CeedOperators with a single field are 827 supported. | 842 Note: Currently only non-composite CeedOperators with a single field and 843 composite CeedOperators with single field sub-operators are supported. |
| 828 829 @param op CeedOperator to assemble CeedQFunction 830 @param[out] assembled CeedVector to store assembled CeedOperator point block 831 diagonal, provided in row-major form with an 832 @a ncomp * @a ncomp block at each node. The dimensions 833 of this vector are derived from the active vector 834 for the CeedOperator. The array has shape 835 [nodes, component out, component in]. --- 301 unchanged lines hidden --- | 844 845 @param op CeedOperator to assemble CeedQFunction 846 @param[out] assembled CeedVector to store assembled CeedOperator point block 847 diagonal, provided in row-major form with an 848 @a ncomp * @a ncomp block at each node. The dimensions 849 of this vector are derived from the active vector 850 for the CeedOperator. The array has shape 851 [nodes, component out, component in]. --- 301 unchanged lines hidden --- |