| ceed-elemrestriction.c (1c7d1e03ac27ada5e9694647853364f9cb704467) | ceed-elemrestriction.c (6cec60aa69ab3e1903e8a1b3664d4dfbf92b3310) |
|---|---|
| 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> --- 1114 unchanged lines hidden (view full) --- 1123 if (rstr->num_elem > 0) CeedCall(rstr->Apply(rstr, t_mode, u, ru, request)); 1124 return CEED_ERROR_SUCCESS; 1125} 1126 1127/** 1128 @brief Restrict an L-vector of points to a single element or apply its transpose 1129 1130 @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> --- 1114 unchanged lines hidden (view full) --- 1123 if (rstr->num_elem > 0) CeedCall(rstr->Apply(rstr, t_mode, u, ru, request)); 1124 return CEED_ERROR_SUCCESS; 1125} 1126 1127/** 1128 @brief Restrict an L-vector of points to a single element or apply its transpose 1129 1130 @param[in] rstr CeedElemRestriction |
| 1131 @param[in] elem Element number in range 0..@a num_elem |
|
| 1131 @param[in] t_mode Apply restriction or transpose 1132 @param[in] u Input vector (of size @a l_size when t_mode=@ref CEED_NOTRANSPOSE) 1133 @param[out] ru Output vector (of shape [@a num_elem * @a elem_size] when t_mode=@ref CEED_NOTRANSPOSE). 1134 Ordering of the e-vector is decided by the backend. 1135 @param[in] request Request or @ref CEED_REQUEST_IMMEDIATE 1136 1137 @return An error code: 0 - success, otherwise - failure 1138 --- 359 unchanged lines hidden --- | 1132 @param[in] t_mode Apply restriction or transpose 1133 @param[in] u Input vector (of size @a l_size when t_mode=@ref CEED_NOTRANSPOSE) 1134 @param[out] ru Output vector (of shape [@a num_elem * @a elem_size] when t_mode=@ref CEED_NOTRANSPOSE). 1135 Ordering of the e-vector is decided by the backend. 1136 @param[in] request Request or @ref CEED_REQUEST_IMMEDIATE 1137 1138 @return An error code: 0 - success, otherwise - failure 1139 --- 359 unchanged lines hidden --- |