189c6efa4Sjeremylt // Copyright (c) 2017-2018, Lawrence Livermore National Security, LLC. 289c6efa4Sjeremylt // Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707. 389c6efa4Sjeremylt // All Rights reserved. See files LICENSE and NOTICE for details. 489c6efa4Sjeremylt // 589c6efa4Sjeremylt // This file is part of CEED, a collection of benchmarks, miniapps, software 689c6efa4Sjeremylt // libraries and APIs for efficient high-order finite element and spectral 789c6efa4Sjeremylt // element discretizations for exascale applications. For more information and 889c6efa4Sjeremylt // source code availability see http://github.com/ceed. 989c6efa4Sjeremylt // 1089c6efa4Sjeremylt // The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 1189c6efa4Sjeremylt // a collaborative effort of two U.S. Department of Energy organizations (Office 1289c6efa4Sjeremylt // of Science and the National Nuclear Security Administration) responsible for 1389c6efa4Sjeremylt // the planning and preparation of a capable exascale ecosystem, including 1489c6efa4Sjeremylt // software, applications, hardware, advanced system engineering and early 1589c6efa4Sjeremylt // testbed platforms, in support of the nation's exascale computing imperative. 1689c6efa4Sjeremylt 1789c6efa4Sjeremylt #include <ceed-backend.h> 1889c6efa4Sjeremylt #include <string.h> 1989c6efa4Sjeremylt 2089c6efa4Sjeremylt typedef struct { 2189c6efa4Sjeremylt CeedInt blksize; 2289c6efa4Sjeremylt } Ceed_Opt; 2389c6efa4Sjeremylt 2489c6efa4Sjeremylt typedef struct { 2589c6efa4Sjeremylt CeedScalar *colograd1d; 2689c6efa4Sjeremylt } CeedBasis_Opt; 2789c6efa4Sjeremylt 2889c6efa4Sjeremylt typedef struct { 2989c6efa4Sjeremylt bool add; 30*16911fdaSjeremylt bool identityqf; 3189c6efa4Sjeremylt CeedElemRestriction *blkrestr; /// Blocked versions of restrictions 3289c6efa4Sjeremylt CeedVector 3389c6efa4Sjeremylt *evecs; /// E-vectors needed to apply operator (input followed by outputs) 3489c6efa4Sjeremylt CeedScalar **edata; 3589c6efa4Sjeremylt uint64_t *inputstate; /// State counter of inputs 3689c6efa4Sjeremylt CeedVector *evecsin; /// Input E-vectors needed to apply operator 3789c6efa4Sjeremylt CeedVector *evecsout; /// Output E-vectors needed to apply operator 3889c6efa4Sjeremylt CeedVector *qvecsin; /// Input Q-vectors needed to apply operator 3989c6efa4Sjeremylt CeedVector *qvecsout; /// Output Q-vectors needed to apply operator 4089c6efa4Sjeremylt CeedInt numein; 4189c6efa4Sjeremylt CeedInt numeout; 4289c6efa4Sjeremylt } CeedOperator_Opt; 4389c6efa4Sjeremylt 4489c6efa4Sjeremylt CEED_INTERN int CeedOperatorCreate_Opt(CeedOperator op); 45