ceed-elemrestriction.c (430758c82d46a36f0f94ae5e5cf52a5e5bc2b1e9) ceed-elemrestriction.c (3ac43b2cd29b7efa417eacd657e8c35fbce873db)
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.

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

142int CeedElemRestrictionRestoreOffsets(CeedElemRestriction rstr,
143 const CeedInt **offsets) {
144 *offsets = NULL;
145 rstr->numreaders--;
146 return 0;
147}
148
149/**
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.

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

142int CeedElemRestrictionRestoreOffsets(CeedElemRestriction rstr,
143 const CeedInt **offsets) {
144 *offsets = NULL;
145 rstr->numreaders--;
146 return 0;
147}
148
149/**
150 @brief Get the strided status of a CeedElemRestriction
151
152 @param rstr CeedElemRestriction
153 @param[out] status Variable to store strided status, 1 if strided else 0
154
155 @return An error code: 0 - success, otherwise - failure
156
157 @ref Backend
158**/
159int CeedElemRestrictionGetStridedStatus(CeedElemRestriction rstr,
160 bool *status) {
161 *status = rstr->strides ? 1 : 0;
162 return 0;
163}
164
165/**
150 @brief Get the backend stride status of a CeedElemRestriction
151
152 @param rstr CeedElemRestriction
153 @param[out] status Variable to store stride status
154
155 @return An error code: 0 - success, otherwise - failure
156
157 @ref Backend

--- 659 unchanged lines hidden ---
166 @brief Get the backend stride status of a CeedElemRestriction
167
168 @param rstr CeedElemRestriction
169 @param[out] status Variable to store stride status
170
171 @return An error code: 0 - success, otherwise - failure
172
173 @ref Backend

--- 659 unchanged lines hidden ---