ceed-elemrestriction.c (b997b43b3e6b3d35e705186853d7f2e867a1904d) ceed-elemrestriction.c (96b902e2a709bcaf161c65c2cb076b00357cddfa)
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.

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

165int CeedElemRestrictionIsStrided(CeedElemRestriction rstr, bool *is_strided) {
166 *is_strided = rstr->strides ? true : false;
167 return CEED_ERROR_SUCCESS;
168}
169
170/**
171 @brief Get the backend stride status of a CeedElemRestriction
172
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.

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

165int CeedElemRestrictionIsStrided(CeedElemRestriction rstr, bool *is_strided) {
166 *is_strided = rstr->strides ? true : false;
167 return CEED_ERROR_SUCCESS;
168}
169
170/**
171 @brief Get the backend stride status of a CeedElemRestriction
172
173 @param rstr CeedElemRestriction
174 @param[out] status Variable to store stride status
173 @param rstr CeedElemRestriction
174 @param[out] has_backend_strides Variable to store stride status
175
176 @return An error code: 0 - success, otherwise - failure
177
178 @ref Backend
179**/
180int CeedElemRestrictionHasBackendStrides(CeedElemRestriction rstr,
181 bool *has_backend_strides) {
182 if (!rstr->strides)

--- 752 unchanged lines hidden ---
175
176 @return An error code: 0 - success, otherwise - failure
177
178 @ref Backend
179**/
180int CeedElemRestrictionHasBackendStrides(CeedElemRestriction rstr,
181 bool *has_backend_strides) {
182 if (!rstr->strides)

--- 752 unchanged lines hidden ---