ceed-impl.h (c360dbdf7be710089f1c988eae047df8591af9a4) ceed-impl.h (5107b09fcb4710dffb8bf2363d6d7d4be3d24cc9)
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.

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

43} objdelegate;
44
45struct Ceed_private {
46 const char *resource;
47 Ceed delegate;
48 Ceed parent;
49 objdelegate *objdelegates;
50 int objdelegatecount;
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.

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

43} objdelegate;
44
45struct Ceed_private {
46 const char *resource;
47 Ceed delegate;
48 Ceed parent;
49 objdelegate *objdelegates;
50 int objdelegatecount;
51 Ceed opfallbackceed, opfallbackparent;
52 const char *opfallbackresource;
51 int (*Error)(Ceed, const char *, int, const char *, int, const char *,
52 va_list);
53 int (*GetPreferredMemType)(CeedMemType *);
54 int (*Destroy)(Ceed);
55 int (*VectorCreate)(CeedInt, CeedVector);
56 int (*ElemRestrictionCreate)(CeedMemType, CeedCopyMode,
57 const CeedInt *, CeedElemRestriction);
58 int (*ElemRestrictionCreateBlocked)(CeedMemType, CeedCopyMode,

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

197 CeedTransposeMode lmode; /// Transpose mode for lvector ordering
198 CeedBasis basis; /// Basis or NULL for collocated fields
199 CeedVector
200 vec; /// State vector for passive fields, NULL for active fields
201};
202
203struct CeedOperator_private {
204 Ceed ceed;
53 int (*Error)(Ceed, const char *, int, const char *, int, const char *,
54 va_list);
55 int (*GetPreferredMemType)(CeedMemType *);
56 int (*Destroy)(Ceed);
57 int (*VectorCreate)(CeedInt, CeedVector);
58 int (*ElemRestrictionCreate)(CeedMemType, CeedCopyMode,
59 const CeedInt *, CeedElemRestriction);
60 int (*ElemRestrictionCreateBlocked)(CeedMemType, CeedCopyMode,

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

199 CeedTransposeMode lmode; /// Transpose mode for lvector ordering
200 CeedBasis basis; /// Basis or NULL for collocated fields
201 CeedVector
202 vec; /// State vector for passive fields, NULL for active fields
203};
204
205struct CeedOperator_private {
206 Ceed ceed;
207 CeedOperator opfallback;
208 CeedQFunction qffallback;
205 int refcount;
206 int (*AssembleLinearQFunction)(CeedOperator, CeedVector *,
207 CeedElemRestriction *, CeedRequest *);
208 int (*AssembleLinearDiagonal)(CeedOperator, CeedVector *, CeedRequest *);
209 int (*Apply)(CeedOperator, CeedVector, CeedVector, CeedRequest *);
210 int (*ApplyJacobian)(CeedOperator, CeedVector, CeedVector, CeedVector,
211 CeedVector, CeedRequest *);
212 int (*Destroy)(CeedOperator);

--- 28 unchanged lines hidden ---
209 int refcount;
210 int (*AssembleLinearQFunction)(CeedOperator, CeedVector *,
211 CeedElemRestriction *, CeedRequest *);
212 int (*AssembleLinearDiagonal)(CeedOperator, CeedVector *, CeedRequest *);
213 int (*Apply)(CeedOperator, CeedVector, CeedVector, CeedRequest *);
214 int (*ApplyJacobian)(CeedOperator, CeedVector, CeedVector, CeedVector,
215 CeedVector, CeedRequest *);
216 int (*Destroy)(CeedOperator);

--- 28 unchanged lines hidden ---