ceed-impl.h (418fb8c26cd03fc44256773f44bb9ece8ec63e5f) ceed-impl.h (069aeaba34b4b3cfb8ce3ee7622d1de203dfbf5c)
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.

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

132 int (*function)(void*, CeedInt, const CeedScalar *const*, CeedScalar *const*);
133 const char *focca;
134 bool fortranstatus;
135 void *ctx; /* user context for function */
136 size_t ctxsize; /* size of user context; may be used to copy to a device */
137 void *data; /* backend data */
138};
139
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.

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

132 int (*function)(void*, CeedInt, const CeedScalar *const*, CeedScalar *const*);
133 const char *focca;
134 bool fortranstatus;
135 void *ctx; /* user context for function */
136 size_t ctxsize; /* size of user context; may be used to copy to a device */
137 void *data; /* backend data */
138};
139
140typedef struct {
141 void *innerctx;
142 size_t innerctxsize;
143 void (*f)(void *ctx, int *nq,
144 const CeedScalar *u,const CeedScalar *u1,
145 const CeedScalar *u2,const CeedScalar *u3,
146 const CeedScalar *u4,const CeedScalar *u5,
147 const CeedScalar *u6,const CeedScalar *u7,
148 const CeedScalar *u8,const CeedScalar *u9,
149 const CeedScalar *u10,const CeedScalar *u11,
150 const CeedScalar *u12,const CeedScalar *u13,
151 const CeedScalar *u14,const CeedScalar *u15,
152 CeedScalar *v,CeedScalar *v1,CeedScalar *v2,
153 CeedScalar *v3,CeedScalar *v4,CeedScalar *v5,
154 CeedScalar *v6,CeedScalar *v7,CeedScalar *v8,
155 CeedScalar *v9, CeedScalar *v10,CeedScalar *v11,
156 CeedScalar *v12,CeedScalar *v13,CeedScalar *v14,
157 CeedScalar *v15, int *err);
158} fContext;
159
140struct CeedOperatorField_private {
141 CeedElemRestriction Erestrict; /// Restriction from L-vector or NULL if identity
142 CeedTransposeMode lmode; /// Transpose mode for lvector ordering
143 CeedBasis basis; /// Basis or NULL for collocated fields
144 CeedVector
145 vec; /// State vector for passive fields, NULL for active fields
146};
147

--- 30 unchanged lines hidden ---
160struct CeedOperatorField_private {
161 CeedElemRestriction Erestrict; /// Restriction from L-vector or NULL if identity
162 CeedTransposeMode lmode; /// Transpose mode for lvector ordering
163 CeedBasis basis; /// Basis or NULL for collocated fields
164 CeedVector
165 vec; /// State vector for passive fields, NULL for active fields
166};
167

--- 30 unchanged lines hidden ---