ceed-impl.h (389b3d932a124a0aac28799927fddea4f2230f2a) ceed-impl.h (4e35ef053a4ca6d42bd4fa6764313dea5d12ef4c)
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.

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

26#define CEED_ALIGN 64
27
28struct Ceed_private {
29 int (*Error)(Ceed, const char *, int, const char *, int, const char *, va_list);
30 int (*Destroy)(Ceed);
31 int (*VecCreate)(Ceed, CeedInt, CeedVector);
32 int (*ElemRestrictionCreate)(CeedElemRestriction, CeedMemType, CeedCopyMode,
33 const CeedInt *);
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.

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

26#define CEED_ALIGN 64
27
28struct Ceed_private {
29 int (*Error)(Ceed, const char *, int, const char *, int, const char *, va_list);
30 int (*Destroy)(Ceed);
31 int (*VecCreate)(Ceed, CeedInt, CeedVector);
32 int (*ElemRestrictionCreate)(CeedElemRestriction, CeedMemType, CeedCopyMode,
33 const CeedInt *);
34 int (*ElemRestrictionCreateBlocked)(CeedElemRestriction, CeedMemType, CeedCopyMode,
35 const CeedInt *);
34 int (*BasisCreateTensorH1)(Ceed, CeedInt, CeedInt, CeedInt, const CeedScalar *,
35 const CeedScalar *, const CeedScalar *, const CeedScalar *, CeedBasis);
36 int (*QFunctionCreate)(CeedQFunction);
37 int (*OperatorCreate)(CeedOperator);
38 int refcount;
39 void *data;
40};
41

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

71 Ceed ceed;
72 int (*Apply)(CeedElemRestriction, CeedTransposeMode, CeedTransposeMode,
73 CeedVector, CeedVector, CeedRequest *);
74 int (*Destroy)(CeedElemRestriction);
75 int refcount;
76 CeedInt nelem; /* number of elements */
77 CeedInt elemsize; /* number of dofs per element */
78 CeedInt ndof; /* size of the L-vector, can be used for checking for
36 int (*BasisCreateTensorH1)(Ceed, CeedInt, CeedInt, CeedInt, const CeedScalar *,
37 const CeedScalar *, const CeedScalar *, const CeedScalar *, CeedBasis);
38 int (*QFunctionCreate)(CeedQFunction);
39 int (*OperatorCreate)(CeedOperator);
40 int refcount;
41 void *data;
42};
43

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

73 Ceed ceed;
74 int (*Apply)(CeedElemRestriction, CeedTransposeMode, CeedTransposeMode,
75 CeedVector, CeedVector, CeedRequest *);
76 int (*Destroy)(CeedElemRestriction);
77 int refcount;
78 CeedInt nelem; /* number of elements */
79 CeedInt elemsize; /* number of dofs per element */
80 CeedInt ndof; /* size of the L-vector, can be used for checking for
79 correct vector sizes */
81 correct vector sizes */
80 CeedInt ncomp; /* number of components */
82 CeedInt ncomp; /* number of components */
83 CeedInt blksize; /* number of elements in a batch */
84 CeedInt nblk; /* number of blocks of elements */
81 void *data; /* place for the backend to store any data */
82};
83
84struct CeedBasis_private {
85 Ceed ceed;
86 int (*Apply)(CeedBasis, CeedTransposeMode, CeedEvalMode, const CeedScalar *,
87 CeedScalar *);
88 int (*Destroy)(CeedBasis);

--- 66 unchanged lines hidden ---
85 void *data; /* place for the backend to store any data */
86};
87
88struct CeedBasis_private {
89 Ceed ceed;
90 int (*Apply)(CeedBasis, CeedTransposeMode, CeedEvalMode, const CeedScalar *,
91 CeedScalar *);
92 int (*Destroy)(CeedBasis);

--- 66 unchanged lines hidden ---