ceed-elemrestriction.c (23e2c5dcdffa51f792574fabca48f42a7bf34313) ceed-elemrestriction.c (7aaeacdcd46b830d5bb2376cd7a5517681dd263a)
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.

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

289 @param rstr CeedElemRestriction
290 @param tmode Apply restriction or transpose
291 @param lmode Ordering of the ncomp components, i.e. it specifies
292 the ordering of the components of the l-vector used
293 by this CeedElemRestriction. CEED_NOTRANSPOSE indicates
294 the component is the outermost index and CEED_TRANSPOSE
295 indicates the component is the innermost index in
296 ordering of the l-vector
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.

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

289 @param rstr CeedElemRestriction
290 @param tmode Apply restriction or transpose
291 @param lmode Ordering of the ncomp components, i.e. it specifies
292 the ordering of the components of the l-vector used
293 by this CeedElemRestriction. CEED_NOTRANSPOSE indicates
294 the component is the outermost index and CEED_TRANSPOSE
295 indicates the component is the innermost index in
296 ordering of the l-vector
297 @param u Input vector (of size @a nnodes * @a ncomp when
298 tmode=CEED_NOTRANSPOSE)
299 @param v Output vector (of size @a nelem * @a elemsize when
300 tmode=CEED_NOTRANSPOSE)
297 @param u Input vector (of shape [@a nnodes, @a ncomp] when
298 tmode=CEED_NOTRANSPOSE, lmode=CEED_TRANSPOSE)
299 @param v Output vector (of shape [@a nelem * @a elemsize] when
300 tmode=CEED_NOTRANSPOSE). Ordering of the e-vector is decided
301 by the backend.
301 @param request Request or CEED_REQUEST_IMMEDIATE
302
303 @return An error code: 0 - success, otherwise - failure
304
305 @ref Advanced
306**/
307int CeedElemRestrictionApply(CeedElemRestriction rstr, CeedTransposeMode tmode,
308 CeedTransposeMode lmode, CeedVector u,

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

342 @param tmode Apply restriction or transpose
343 @param lmode Ordering of the ncomp components, i.e. it specifies
344 the ordering of the components of the l-vector used
345 by this CeedElemRestriction. CEED_NOTRANSPOSE indicates
346 the component is the outermost index and CEED_TRANSPOSE
347 indicates the component is the innermost index in
348 ordering of the l-vector
349 tmode=CEED_NOTRANSPOSE)
302 @param request Request or CEED_REQUEST_IMMEDIATE
303
304 @return An error code: 0 - success, otherwise - failure
305
306 @ref Advanced
307**/
308int CeedElemRestrictionApply(CeedElemRestriction rstr, CeedTransposeMode tmode,
309 CeedTransposeMode lmode, CeedVector u,

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

343 @param tmode Apply restriction or transpose
344 @param lmode Ordering of the ncomp components, i.e. it specifies
345 the ordering of the components of the l-vector used
346 by this CeedElemRestriction. CEED_NOTRANSPOSE indicates
347 the component is the outermost index and CEED_TRANSPOSE
348 indicates the component is the innermost index in
349 ordering of the l-vector
350 tmode=CEED_NOTRANSPOSE)
350 @param u Input vector (of size @a nnodes * @a ncomp when
351 tmode=CEED_NOTRANSPOSE)
352 @param v Output vector (of size @a blksize * @a elemsize when
353 tmode=CEED_NOTRANSPOSE)
351 @param u Input vector (of shape [@a nnodes, @a ncomp] when
352 tmode=CEED_NOTRANSPOSE, lmode=CEED_TRANSPOSE)
353 @param v Output vector (of shape [@a blksize * @a elemsize] when
354 tmode=CEED_NOTRANSPOSE). Ordering of the e-vector is decided
355 by the backend.
354 @param request Request or CEED_REQUEST_IMMEDIATE
355
356 @return An error code: 0 - success, otherwise - failure
357
358 @ref Advanced
359**/
360int CeedElemRestrictionApplyBlock(CeedElemRestriction rstr, CeedInt block,
361 CeedTransposeMode tmode,

--- 246 unchanged lines hidden ---
356 @param request Request or CEED_REQUEST_IMMEDIATE
357
358 @return An error code: 0 - success, otherwise - failure
359
360 @ref Advanced
361**/
362int CeedElemRestrictionApplyBlock(CeedElemRestriction rstr, CeedInt block,
363 CeedTransposeMode tmode,

--- 246 unchanged lines hidden ---