1*89c6efa4Sjeremylt // Copyright (c) 2017-2018, Lawrence Livermore National Security, LLC. 2*89c6efa4Sjeremylt // Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707. 3*89c6efa4Sjeremylt // All Rights reserved. See files LICENSE and NOTICE for details. 4*89c6efa4Sjeremylt // 5*89c6efa4Sjeremylt // This file is part of CEED, a collection of benchmarks, miniapps, software 6*89c6efa4Sjeremylt // libraries and APIs for efficient high-order finite element and spectral 7*89c6efa4Sjeremylt // element discretizations for exascale applications. For more information and 8*89c6efa4Sjeremylt // source code availability see http://github.com/ceed. 9*89c6efa4Sjeremylt // 10*89c6efa4Sjeremylt // The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 11*89c6efa4Sjeremylt // a collaborative effort of two U.S. Department of Energy organizations (Office 12*89c6efa4Sjeremylt // of Science and the National Nuclear Security Administration) responsible for 13*89c6efa4Sjeremylt // the planning and preparation of a capable exascale ecosystem, including 14*89c6efa4Sjeremylt // software, applications, hardware, advanced system engineering and early 15*89c6efa4Sjeremylt // testbed platforms, in support of the nation's exascale computing imperative. 16*89c6efa4Sjeremylt 17*89c6efa4Sjeremylt #include <ceed-backend.h> 18*89c6efa4Sjeremylt #include <string.h> 19*89c6efa4Sjeremylt 20*89c6efa4Sjeremylt typedef struct { 21*89c6efa4Sjeremylt CeedInt blksize; 22*89c6efa4Sjeremylt } Ceed_Opt; 23*89c6efa4Sjeremylt 24*89c6efa4Sjeremylt typedef struct { 25*89c6efa4Sjeremylt CeedScalar *colograd1d; 26*89c6efa4Sjeremylt } CeedBasis_Opt; 27*89c6efa4Sjeremylt 28*89c6efa4Sjeremylt typedef struct { 29*89c6efa4Sjeremylt bool add; 30*89c6efa4Sjeremylt CeedElemRestriction *blkrestr; /// Blocked versions of restrictions 31*89c6efa4Sjeremylt CeedVector 32*89c6efa4Sjeremylt *evecs; /// E-vectors needed to apply operator (input followed by outputs) 33*89c6efa4Sjeremylt CeedScalar **edata; 34*89c6efa4Sjeremylt uint64_t *inputstate; /// State counter of inputs 35*89c6efa4Sjeremylt CeedVector *evecsin; /// Input E-vectors needed to apply operator 36*89c6efa4Sjeremylt CeedVector *evecsout; /// Output E-vectors needed to apply operator 37*89c6efa4Sjeremylt CeedVector *qvecsin; /// Input Q-vectors needed to apply operator 38*89c6efa4Sjeremylt CeedVector *qvecsout; /// Output Q-vectors needed to apply operator 39*89c6efa4Sjeremylt CeedInt numein; 40*89c6efa4Sjeremylt CeedInt numeout; 41*89c6efa4Sjeremylt } CeedOperator_Opt; 42*89c6efa4Sjeremylt 43*89c6efa4Sjeremylt CEED_INTERN int CeedOperatorCreate_Opt(CeedOperator op); 44