ceed-impl.h (1b435e3e1693e8fff7833242fcaf0c0eb0e7b47d) ceed-impl.h (9f0427d99e9674f1e08f64878fc1ceefe3e53022)
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.

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

124 int (*Apply)(CeedQFunction, CeedInt, CeedVector *,
125 CeedVector *);
126 int (*Destroy)(CeedQFunction);
127 int refcount;
128 CeedInt vlength; // Number of quadrature points must be padded to a multiple of vlength
129 CeedQFunctionField *inputfields;
130 CeedQFunctionField *outputfields;
131 CeedInt numinputfields, numoutputfields;
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.

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

124 int (*Apply)(CeedQFunction, CeedInt, CeedVector *,
125 CeedVector *);
126 int (*Destroy)(CeedQFunction);
127 int refcount;
128 CeedInt vlength; // Number of quadrature points must be padded to a multiple of vlength
129 CeedQFunctionField *inputfields;
130 CeedQFunctionField *outputfields;
131 CeedInt numinputfields, numoutputfields;
132 int (*function)(void*, CeedInt, const CeedScalar *const*, CeedScalar *const*);
132 CeedQFunctionUser function;
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
140/// Struct to handle the context data to use the Fortran QFunction stub

--- 59 unchanged lines hidden ---
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
140/// Struct to handle the context data to use the Fortran QFunction stub

--- 59 unchanged lines hidden ---