ceed-qfunction.c (6eb0d8b4aff72517bac7a1ace48e04610a8fe084) ceed-qfunction.c (032e71eaa1e750e7a66514b4e3c9cd7b57405aab)
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/ceed.h>

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

654 // LCOV_EXCL_START
655 return CeedError(ceed, CEED_ERROR_UNSUPPORTED, "No suitable gallery QFunction");
656 // LCOV_EXCL_STOP
657
658 // Build source path
659 char *gallery_qfunction_source_path;
660
661 // Create QFunction
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/ceed.h>

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

654 // LCOV_EXCL_START
655 return CeedError(ceed, CEED_ERROR_UNSUPPORTED, "No suitable gallery QFunction");
656 // LCOV_EXCL_STOP
657
658 // Build source path
659 char *gallery_qfunction_source_path;
660
661 // Create QFunction
662 ierr = CeedGetInstalledJitPath(ceed, gallery_qfunctions[match_index].source,
663 &gallery_qfunction_source_path); CeedChk(ierr);
662 ierr = CeedGetJitAbsolutePath(ceed, gallery_qfunctions[match_index].source,
663 &gallery_qfunction_source_path); CeedChk(ierr);
664 ierr = CeedQFunctionCreateInterior(ceed,
665 gallery_qfunctions[match_index].vec_length,
666 gallery_qfunctions[match_index].f,
667 gallery_qfunction_source_path, qf);
668 CeedChk(ierr);
669 ierr = CeedFree(&gallery_qfunction_source_path); CeedChkBackend(ierr);
670
671 // QFunction specific setup

--- 401 unchanged lines hidden ---
664 ierr = CeedQFunctionCreateInterior(ceed,
665 gallery_qfunctions[match_index].vec_length,
666 gallery_qfunctions[match_index].f,
667 gallery_qfunction_source_path, qf);
668 CeedChk(ierr);
669 ierr = CeedFree(&gallery_qfunction_source_path); CeedChkBackend(ierr);
670
671 // QFunction specific setup

--- 401 unchanged lines hidden ---