Home
last modified time | relevance | path

Searched +full:- +full:- +full:prefix (Results 1 – 23 of 23) sorted by relevance

/libCEED/rust/libceed-sys/c-src/
H A Dceed.pc.template1 prefix=%prefix%
2 includedir=${prefix}/include
3 libdir=${prefix}/lib
9 Cflags: -I${includedir}
10 Libs: -L${libdir} -lceed
H A DMakefile1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 # SPDX-License-Identifier: BSD-2-Clause
8 # ------------------------------------------------------------
10 # ------------------------------------------------------------
14 -include $(CONFIG)
18 -include $(COMMON)
23 # Cancel built-in and old-fashioned implicit rules which we don't use
29 @mkdir -p $(@D)
35 DARWIN := $(filter Darwin,$(shell uname -s))
[all …]
/libCEED/
H A Dceed.pc.template1 prefix=%prefix%
2 includedir=${prefix}/include
3 libdir=${prefix}/lib
9 Cflags: -I${includedir}
10 Libs: -L${libdir} -lceed
H A Dsetup.py2 # the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
6 # libraries and APIs for efficient high-order finite element and spectral
10 # The CEED research is supported by the Exascale Computing Project 17-SC-20-SC,
16 # pylint: disable=no-name-in-module,import-error,unused-variable
21 # ------------------------------------------------------------------------------
23 # ------------------------------------------------------------------------------
40 prefix = os.path.join(self.build_lib, 'libceed')
41 self.make_libceed_so(prefix)
44 def make_libceed_so(self, prefix): argument
53 '-j{}'.format(nproc),
[all …]
H A DREADME.md3 [![GitHub Actions][github-badge]][github-link]
4 [![GitLab-CI][gitlab-badge]][gitlab-link]
5 [![Code coverage][codecov-badge]][codecov-link]
6 [![BSD-2-Clause][license-badge]][license-link]
7 [![Documentation][doc-badge]][doc-link]
8 [![JOSS paper][joss-badge]][joss-link]
9 [![Binder][binder-badge]][binder-link]
13 libCEED provides fast algebra for element-based discretizations, designed for performance portabili…
15 While our focus is on high-order finite elements, the approach is mostly algebraic and thus applica…
17 One of the challenges with high-order methods is that a global sparse matrix is no longer a good re…
[all …]
H A DMakefile1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 # SPDX-License-Identifier: BSD-2-Clause
8 # ------------------------------------------------------------
10 # ------------------------------------------------------------
14 -include $(CONFIG)
18 -include $(COMMON)
23 # Cancel built-in and old-fashioned implicit rules which we don't use
29 @mkdir -p $(@D)
35 DARWIN := $(filter Darwin,$(shell uname -s))
[all …]
H A DDoxyfile20 # doxygen -x [configFile]
24 # doxygen -x_noenv [configFile]
26 #---------------------------------------------------------------------------
28 #---------------------------------------------------------------------------
31 # file that follow. The default is UTF-8 which is also the encoding used for all
35 # The default value is: UTF-8.
37 DOXYFILE_ENCODING = UTF-8
40 # double-quotes, unless you are using Doxywizard) that should identify the
74 # sub-directories (in 2 levels) under the output directory of each output format
79 # control the number of sub-directories.
[all …]
/libCEED/include/
H A Dceed-fortran-name.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
14 -DUPCASE GS_SETUP, etc.
15 -DUNDERSCORE gs_setup_, etc.
16 …* a prefix for all external (non-FORTRAN) function names for example, -DPREFIX=jl_ transforms fa…
17 …* a prefix for all external FORTRAN function names for example, -DFPREFIX=jlf_ transforms gs_setup…
24 #ifdef PREFIX
25 #define PREFIXED_NAME(x) TOKEN_PASTE(PREFIX, x)
/libCEED/tests/
H A Djunit.py5 def create_argparser() -> argparse.ArgumentParser:
13 '-c',
14 '--ceed-backends',
20 '-m',
21 '--mode',
26 parser.add_argument('-n', '--nproc', type=int, default=1, help='number of MPI processes')
27 …parser.add_argument('-b', '--junit-batch', type=str, default='', help='Name of JUnit batch for out…
28 …parser.add_argument('-np', '--pool-size', type=int, default=1, help='Number of test cases to run i…
29 parser.add_argument('-s', '--search', type=str, default='.*',
31 parser.add_argument('-v', '--verbose', action='store_true', default=False,
[all …]
H A Djunit_common.py19 sys.path.insert(0, str(Path(__file__).parent / "junit-xml"))
65 csv_rtol: float = -1
66 csv_ztol: float = -1
67 cgns_tol: float = -1
88 def get_source_path(self, test: str) -> Path:
100 def get_run_path(self, test: str) -> Path:
112 def get_output_path(self, test: str, output_file: str) -> Path:
125 def test_failure_artifacts_path(self) -> Path:
132 return getattr(self, '_cgns_tol', 1.0e-12)
141 return getattr(self, '_csv_ztol', 3e-10)
[all …]
/libCEED/backends/weak/
H A Dceed-backend-weak.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
8 #include "ceed-backend-weak.h"
27 const char *prefix = va_arg(prefixes, const char *); in CeedRegister_Weak() local
29 CeedDebugEnv("Weak Register : %s", prefix); in CeedRegister_Weak()
30 ierr = CeedRegisterImpl(prefix, CeedInit_Weak, CEED_MAX_BACKEND_PRIORITY); in CeedRegister_Weak()
/libCEED/interface/
H A Dceed.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
9 #include <ceed-impl.h>
25 char prefix[CEED_MAX_RESOURCE_LEN]; member
87 Calling @ref CeedRequestWait() on a `NULL` request is a no-op.
91 @return An error code: 0 - success, otherwise - failure
102 /// ----------------------------------------------------------------------------
104 /// ----------------------------------------------------------------------------
113 @param[in] prefix Prefix of resources for this backend to respond to.
[all …]
H A Dceed-object.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
8 #include <ceed-impl.h>
15 /// ----------------------------------------------------------------------------
17 /// ----------------------------------------------------------------------------
33 @return An error code: 0 - success, otherwise - failure
38 obj->ceed = NULL; in CeedObjectCreate()
39 if (ceed) CeedCall(CeedReferenceCopy(ceed, &obj->ceed)); in CeedObjectCreate()
40 obj->View = view_function; in CeedObjectCreate()
[all …]
/libCEED/python/
H A Dbuild_ceed_cffi.py1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors
2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 # SPDX-License-Identifier: BSD-2-Clause
41 prefix = os.path.dirname(here)
45 libdir = os.path.join(prefix, "build")
46 return prefix, libdir
51 # ------------------------------------------------------------------------------
53 # ------------------------------------------------------------------------------
62 if re.search("ceed-f32.h", line) is not None:
67 elif re.search("ceed-f64.h", line) is not None:
[all …]
/libCEED/.github/workflows/
H A Dc-fortran-test-linux-osx.yml6 - main
13 os: [ubuntu-24.04, macos-15]
16 - os: macos-15
17 compiler: apple-clang
19 runs-on: ${{ matrix.os }}
22 - name: Environment setup
24 - name: Set compiler
28 if [[ "${{ matrix.os }}" == macos-* ]]; then
29 echo "CC=gcc-15" >> $GITHUB_ENV
35 if [[ "${{ matrix.os }}" == macos-* ]]; then
[all …]
/libCEED/examples/fluids/
H A Dpytorch_pkgconfig.py24 variables['prefix'] = Path(C.library_paths()[0]).parent.as_posix()
32 keywords['Cflags'] += f'-I{include_path} '
48 keywords['Libs'] += f'-L{lib_path} '
49 keywords['Libs'] += '-lc10 -ltorch_cpu '
51 keywords['Libs'] += '-lc10_cuda -ltorch_cuda '
58 keywords['Libs'] += f'-Wl,--no-as-needed,"{torch_cuda_path.as_posix()}" '
59 keywords['Libs'] += '-ltorch '
H A DREADME.md1 ## libCEED: Navier-Stokes Example
3 This page provides a description of the Navier-Stokes example for the libCEED library, based on PET…
7 The Navier-Stokes problem solves the compressible Navier-Stokes equations in three dimensions using…
10 The main Navier-Stokes solver for libCEED is defined in [`navierstokes.c`](navierstokes.c) with dif…
21 ./navierstokes -ceed [ceed] -problem [problem type] -degree [degree]
26 <!-- fluids-inclusion -->
28 The Navier-Stokes mini-app is controlled via command-line options.
31 :::{list-table} Common Runtime Options
32 :header-rows: 1
34 * - Option
[all …]
/libCEED/rust/libceed-sys/
H A Dbuild.rs19 .arg(format!("prefix={}", out_dir.to_string_lossy())) in main()
30 .current_dir("c-src"); in main()
49 println!("cargo:rerun-if-changed=c-src/include/ceed.h"); in main()
50 println!("cargo:rerun-if-changed=c-src/include/ceed/types.h"); in main()
51 println!("cargo:rerun-if-changed=c-src/Makefile"); in main()
52 if Path::new("c-src/config.mk").is_file() { in main()
53 println!("cargo:rerun-if-changed=c-src/config.mk"); in main()
62 .header("c-src/include/ceed.h") in main()
89 fn env(k: &str) -> Option<String> { in env()
/libCEED/include/ceed/
H A Dbackend.h1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
206 …If the error code is non-zero, then the error handler is called and the call from the current func…
218 …If the error code is non-zero, then the error handler is called and the call from the current func…
248 CEED_EXTERN int CeedRegister(const char *prefix, int (*init)(const char *, Ceed), unsigned int prio…
249 CEED_EXTERN int CeedRegisterImpl(const char *prefix, int (*init)(const char *, Ceed), unsigned int …
295 /// Curl-oriented element restriction
299 /// Point-in-cell element restriction
/libCEED/julia/LibCEED.jl/src/generated/
H A Dlibceed_bindings.jl24 CEED_ERROR_MAJOR = -1
25 CEED_ERROR_BACKEND = -2
26 CEED_ERROR_UNSUPPORTED = -3
920 function CeedRegister(prefix, init, priority) argument
921 ccall((:CeedRegister, libceed), Cint, (Ptr{Cchar}, Ptr{Cvoid}, Cuint), prefix, init, priority)
924 function CeedRegisterImpl(prefix, init, priority) argument
925 … ccall((:CeedRegisterImpl, libceed), Cint, (Ptr{Cchar}, Ptr{Cvoid}, Cuint), prefix, init, priority)
/libCEED/examples/fluids/src/
H A Dpetsc_ops.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
112 (*ctx)->dm_x = dm_x; in OperatorApplyContextCreate()
114 (*ctx)->dm_y = dm_y; in OperatorApplyContextCreate()
117 (*ctx)->X_loc = X_loc; in OperatorApplyContextCreate()
119 (*ctx)->Y_loc = Y_loc; in OperatorApplyContextCreate()
122 if (x_ceed) PetscCallCeed(ceed, CeedVectorReferenceCopy(x_ceed, &(*ctx)->x_ceed)); in OperatorApplyContextCreate()
123 else PetscCallCeed(ceed, CeedVectorCreate(ceed, x_size, &(*ctx)->x_ceed)); in OperatorApplyContextCreate()
125 if (y_ceed) PetscCallCeed(ceed, CeedVectorReferenceCopy(y_ceed, &(*ctx)->y_ceed)); in OperatorApplyContextCreate()
[all …]
H A Dturb_spanstats.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
8 /// Functions for setting up and performing spanwise-statistics collection
30 user->spanstats.num_comp_stats = TURB_NUM_COMPONENTS; in CreateStatsDM()
34 MPI_Comm comm = PetscObjectComm((PetscObject)user->dm); in CreateStatsDM()
38 if (stage_stats_setup == -1) PetscCall(PetscLogStageRegister("Stats Setup", &stage_stats_setup)); in CreateStatsDM()
42 PetscCall(DMGetBoundingBox(user->dm, domain_min, domain_max)); in CreateStatsDM()
43 user->spanstats.span_width = domain_max[2] - domain_min[2]; in CreateStatsDM()
52 PetscCall(DMPlexGetIsoperiodicFaceSF(user->dm, &num_isoperiodicface, &isoperiodicface)); in CreateStatsDM()
[all …]
/libCEED/doc/sphinx/source/
H A DlibCEEDapi.md5 (theoretical-framework)=
10 In particular, when high-order finite elements or spectral elements are used, the resulting sparse …
11 libCEED provides an interface for matrix-free operator description that enables efficient evaluatio…
15 We first define the $L^2$ inner product between real-valued functions
30 …$ represents all terms in {eq}`residual` which multiply the (possibly vector-valued) test function…
31 For an n-component problems in $d$ dimensions, $\bm f_0 \in \mathbb{R}^n$ and $\bm f_1 \in \mathbb{…
51 …inuous ($H^1$) elements, where we use the notions **T-vector**, **L-vector**, **E-vector** and **Q
55 - Subdomain restriction $\bm{P}$
56 - Element restriction $\bm{\mathcal{E}}$
57 - Basis (Dofs-to-Qpts) evaluator $\bm{B}$
[all …]