xref: /libCEED/rust/libceed-sys/c-src/backends/memcheck/ceed-memcheck.h (revision 3d576824e8d990e1f48c6609089904bee9170514)
1fc7cf9a0Sjeremylt // Copyright (c) 2017-2018, Lawrence Livermore National Security, LLC.
2fc7cf9a0Sjeremylt // Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707.
3fc7cf9a0Sjeremylt // All Rights reserved. See files LICENSE and NOTICE for details.
4fc7cf9a0Sjeremylt //
5fc7cf9a0Sjeremylt // This file is part of CEED, a collection of benchmarks, miniapps, software
6fc7cf9a0Sjeremylt // libraries and APIs for efficient high-order finite element and spectral
7fc7cf9a0Sjeremylt // element discretizations for exascale applications. For more information and
8fc7cf9a0Sjeremylt // source code availability see http://github.com/ceed.
9fc7cf9a0Sjeremylt //
10fc7cf9a0Sjeremylt // The CEED research is supported by the Exascale Computing Project 17-SC-20-SC,
11fc7cf9a0Sjeremylt // a collaborative effort of two U.S. Department of Energy organizations (Office
12fc7cf9a0Sjeremylt // of Science and the National Nuclear Security Administration) responsible for
13fc7cf9a0Sjeremylt // the planning and preparation of a capable exascale ecosystem, including
14fc7cf9a0Sjeremylt // software, applications, hardware, advanced system engineering and early
15fc7cf9a0Sjeremylt // testbed platforms, in support of the nation's exascale computing imperative.
16fc7cf9a0Sjeremylt 
17*3d576824SJeremy L Thompson #ifndef _ceed_memcheck_h
18*3d576824SJeremy L Thompson #define _ceed_memcheck_h
19*3d576824SJeremy L Thompson 
20*3d576824SJeremy L Thompson #include <ceed.h>
21fc7cf9a0Sjeremylt #include <ceed-backend.h>
22fc7cf9a0Sjeremylt 
23fc7cf9a0Sjeremylt typedef struct {
24fc7cf9a0Sjeremylt   const CeedScalar **inputs;
25fc7cf9a0Sjeremylt   CeedScalar **outputs;
26fc7cf9a0Sjeremylt   bool setupdone;
27fc7cf9a0Sjeremylt } CeedQFunction_Memcheck;
28fc7cf9a0Sjeremylt 
29fc7cf9a0Sjeremylt CEED_INTERN int CeedQFunctionCreate_Memcheck(CeedQFunction qf);
30*3d576824SJeremy L Thompson 
31*3d576824SJeremy L Thompson #endif // _ceed_memcheck_h
32