ceed-ref-qfunctioncontext.c (49aac155e7a09736f56fb3abac0f57dab29f7cbf) ceed-ref-qfunctioncontext.c (2a86cc9d4dbfce2964c7e8927a1e6db8d19a41fc)
1// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3//
4// SPDX-License-Identifier: BSD-2-Clause
5//
6// This file is part of CEED: http://github.com/ceed
7
8#include <ceed.h>

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

161 CeedCallBackend(CeedSetBackendFunction(ceed, "QFunctionContext", ctx, "RestoreDataRead", CeedQFunctionContextRestoreData_Ref));
162 CeedCallBackend(CeedSetBackendFunction(ceed, "QFunctionContext", ctx, "Destroy", CeedQFunctionContextDestroy_Ref));
163
164 CeedCallBackend(CeedCalloc(1, &impl));
165 CeedCallBackend(CeedQFunctionContextSetBackendData(ctx, impl));
166
167 return CEED_ERROR_SUCCESS;
168}
1// Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
2// All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3//
4// SPDX-License-Identifier: BSD-2-Clause
5//
6// This file is part of CEED: http://github.com/ceed
7
8#include <ceed.h>

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

161 CeedCallBackend(CeedSetBackendFunction(ceed, "QFunctionContext", ctx, "RestoreDataRead", CeedQFunctionContextRestoreData_Ref));
162 CeedCallBackend(CeedSetBackendFunction(ceed, "QFunctionContext", ctx, "Destroy", CeedQFunctionContextDestroy_Ref));
163
164 CeedCallBackend(CeedCalloc(1, &impl));
165 CeedCallBackend(CeedQFunctionContextSetBackendData(ctx, impl));
166
167 return CEED_ERROR_SUCCESS;
168}
169
169//------------------------------------------------------------------------------
170//------------------------------------------------------------------------------