ceed.h (52bfb9bbf17f17edbcd45876cdc8689a879bc683) ceed.h (0219ea01e2c00bd70a330a05b50ef0218d6ddcb0)
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.

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

358typedef int (*CeedQFunctionUser)(void *ctx, const CeedInt Q,
359 const CeedScalar *const *in,
360 CeedScalar *const *out);
361
362CEED_EXTERN int CeedQFunctionCreateInterior(Ceed ceed, CeedInt vlength,
363 CeedQFunctionUser f, const char *source, CeedQFunction *qf);
364CEED_EXTERN int CeedQFunctionCreateInteriorByName(Ceed ceed, const char *name,
365 CeedQFunction *qf);
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.

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

358typedef int (*CeedQFunctionUser)(void *ctx, const CeedInt Q,
359 const CeedScalar *const *in,
360 CeedScalar *const *out);
361
362CEED_EXTERN int CeedQFunctionCreateInterior(Ceed ceed, CeedInt vlength,
363 CeedQFunctionUser f, const char *source, CeedQFunction *qf);
364CEED_EXTERN int CeedQFunctionCreateInteriorByName(Ceed ceed, const char *name,
365 CeedQFunction *qf);
366CEED_EXTERN int CeedQFunctionCreateIdentity(Ceed ceed, CeedInt size,
367 CeedQFunction *qf);
366CEED_EXTERN int CeedQFunctionAddInput(CeedQFunction qf, const char *fieldname,
367 CeedInt size, CeedEvalMode emode);
368CEED_EXTERN int CeedQFunctionAddOutput(CeedQFunction qf, const char *fieldname,
369 CeedInt size, CeedEvalMode emode);
370CEED_EXTERN int CeedQFunctionSetContext(CeedQFunction qf, void *ctx,
371 size_t ctxsize);
372CEED_EXTERN int CeedQFunctionApply(CeedQFunction qf, CeedInt Q,
373 CeedVector *u, CeedVector *v);

--- 49 unchanged lines hidden ---
368CEED_EXTERN int CeedQFunctionAddInput(CeedQFunction qf, const char *fieldname,
369 CeedInt size, CeedEvalMode emode);
370CEED_EXTERN int CeedQFunctionAddOutput(CeedQFunction qf, const char *fieldname,
371 CeedInt size, CeedEvalMode emode);
372CEED_EXTERN int CeedQFunctionSetContext(CeedQFunction qf, void *ctx,
373 size_t ctxsize);
374CEED_EXTERN int CeedQFunctionApply(CeedQFunction qf, CeedInt Q,
375 CeedVector *u, CeedVector *v);

--- 49 unchanged lines hidden ---