ceed-impl.h (e6ac5b306d502db4218066c39deae8c617cc3fc2) ceed-impl.h (f04ea552c0bc984e9734ef5cac4fa0e4550ba0f1)
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.

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

235 CeedInt vec_length; /* Number of quadrature points must be padded to a
236 multiple of vec_length */
237 CeedQFunctionField *input_fields;
238 CeedQFunctionField *output_fields;
239 CeedInt num_input_fields, num_output_fields;
240 CeedQFunctionUser function;
241 const char *source_path;
242 const char *qf_name;
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.

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

235 CeedInt vec_length; /* Number of quadrature points must be padded to a
236 multiple of vec_length */
237 CeedQFunctionField *input_fields;
238 CeedQFunctionField *output_fields;
239 CeedInt num_input_fields, num_output_fields;
240 CeedQFunctionUser function;
241 const char *source_path;
242 const char *qf_name;
243 bool identity;
244 bool fortran_status;
245 CeedInt operators_set;
243 bool is_identity;
244 bool is_fortran;
245 bool is_immutable;
246 CeedQFunctionContext ctx; /* user context for function */
247 void *data; /* place for the backend to store any data */
248};
249
250struct CeedQFunctionContext_private {
251 Ceed ceed;
252 int ref_count;
253 int (*SetData)(CeedQFunctionContext, CeedMemType, CeedCopyMode, void *);

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

317 CeedOperatorField *input_fields;
318 CeedOperatorField *output_fields;
319 CeedInt num_elem; /* Number of elements */
320 CeedInt num_qpts; /* Number of quadrature points over all elements */
321 CeedInt num_fields; /* Number of fields that have been set */
322 CeedQFunction qf;
323 CeedQFunction dqf;
324 CeedQFunction dqfT;
246 CeedQFunctionContext ctx; /* user context for function */
247 void *data; /* place for the backend to store any data */
248};
249
250struct CeedQFunctionContext_private {
251 Ceed ceed;
252 int ref_count;
253 int (*SetData)(CeedQFunctionContext, CeedMemType, CeedCopyMode, void *);

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

317 CeedOperatorField *input_fields;
318 CeedOperatorField *output_fields;
319 CeedInt num_elem; /* Number of elements */
320 CeedInt num_qpts; /* Number of quadrature points over all elements */
321 CeedInt num_fields; /* Number of fields that have been set */
322 CeedQFunction qf;
323 CeedQFunction dqf;
324 CeedQFunction dqfT;
325 bool interface_setup;
326 bool backend_setup;
327 bool composite;
325 bool is_immutable;
326 bool is_interface_setup;
327 bool is_backend_setup;
328 bool is_composite;
328 bool has_restriction;
329 CeedOperator *sub_operators;
330 CeedInt num_suboperators;
331 void *data;
332};
333
334#endif
329 bool has_restriction;
330 CeedOperator *sub_operators;
331 CeedInt num_suboperators;
332 void *data;
333};
334
335#endif