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