| ceed-elemrestriction.c (ca94c3ddc8f82b7d93a79f9e4812e99b8be840ff) | ceed-elemrestriction.c (bafebce16a7da2c6afe5a069f690fc31b8ccb4ef) |
|---|---|
| 1// Copyright (c) 2017-2022, 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> --- 1243 unchanged lines hidden (view full) --- 1252 CeedCall(rstr->ApplyBlock(rstr, block, t_mode, u, ru, request)); 1253 return CEED_ERROR_SUCCESS; 1254} 1255 1256/** 1257 @brief Get the `Ceed` associated with a `CeedElemRestriction` 1258 1259 @param[in] rstr `CeedElemRestriction` | 1// Copyright (c) 2017-2022, 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> --- 1243 unchanged lines hidden (view full) --- 1252 CeedCall(rstr->ApplyBlock(rstr, block, t_mode, u, ru, request)); 1253 return CEED_ERROR_SUCCESS; 1254} 1255 1256/** 1257 @brief Get the `Ceed` associated with a `CeedElemRestriction` 1258 1259 @param[in] rstr `CeedElemRestriction` |
| 1260 @param[out] ceed Variable to store `Ceed` | 1260 @param[out] ceed Variable to store `Ceed` |
| 1261 1262 @return An error code: 0 - success, otherwise - failure 1263 1264 @ref Advanced 1265**/ 1266int CeedElemRestrictionGetCeed(CeedElemRestriction rstr, Ceed *ceed) { 1267 *ceed = rstr->ceed; 1268 return CEED_ERROR_SUCCESS; --- 279 unchanged lines hidden --- | 1261 1262 @return An error code: 0 - success, otherwise - failure 1263 1264 @ref Advanced 1265**/ 1266int CeedElemRestrictionGetCeed(CeedElemRestriction rstr, Ceed *ceed) { 1267 *ceed = rstr->ceed; 1268 return CEED_ERROR_SUCCESS; --- 279 unchanged lines hidden --- |