| /libCEED/tests/junit-xml/junit_xml/ |
| H A D | __init__.py | 2 # -*- coding: UTF-8 -*- 22 <?xml version="1.0" encoding="utf-8"?> 25 package="testdb" tests="4" timestamp="2012-11-15T01:02:29"> 27 <property name="assert-passed" value="1"/> 29 <testcase classname="testdb.directory" name="1-passed-test" time="10"/> 30 <testcase classname="testdb.directory" name="2-failed-test" time="20"> 32 the output of the testcase 35 <testcase classname="package.directory" name="3-errord-test" time="15"> 37 the output of the testcase 40 <testcase classname="package.directory" name="3-skipped-test" time="0"> [all …]
|
| /libCEED/tests/ |
| H A D | junit_common.py | 19 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: 89 """Compute path to test source file 95 Path: Path to source file 100 def get_run_path(self, test: str) -> Path: 101 """Compute path to built test executable file 112 def get_output_path(self, test: str, output_file: str) -> Path: [all …]
|
| H A D | junit.py | 5 def create_argparser() -> argparse.ArgumentParser: 11 parser = argparse.ArgumentParser('Test runner with JUnit and TAP output') 13 '-c', 14 '--ceed-backends', 20 '-m', 21 '--mode', 24 help='Output mode, junit or tap', 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… [all …]
|
| H A D | t539-operator.h | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 18 // out[0] is output to multiply against v_0, size (Q) in apply() 19 // out[1] is output to multiply against v_1, size (Q) in apply() 20 // out[2] is output to multiply against gradient v_0, shape [2, num_comp=2, Q] in apply()
|
| /libCEED/ |
| H A D | Doxyfile | 3 # This file describes the settings to be used by the documentation system 18 # Use doxygen to compare the used configuration file with the template 19 # configuration file: 20 # doxygen -x [configFile] 21 # Use doxygen to compare the used configuration file with the template 22 # configuration file without replacing the environment variables or CMake type 24 # doxygen -x_noenv [configFile] 26 #--------------------------------------------------------------------------- 28 #--------------------------------------------------------------------------- 31 # file that follow. The default is UTF-8 which is also the encoding used for all [all …]
|
| H A D | common.mk | 1 # 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 6 # This file is part of CEED: http://github.com/ceed 8 # Output using the 216-color rules mode 12 ansicolor = $(shell echo $(call last_path,$(1)) | cksum | cut -b1-2 | xargs -IS expr 2 \* S + 17) 14 color_out = @if [ -t 1 ]; then \ 20 output = $(if $(TERM:dumb=),$(call color_out,$1,$2),$(call emacs_out,$1,$2)) 22 # if V is set to non-nil, turn the verbose mode 23 quiet = $(if $(V),$($(1)),$(call output,$1,$@);$($(1))) [all …]
|
| /libCEED/doc/sphinx/source/ |
| H A D | conf.py | 2 # -*- coding: utf-8 -*- 4 # libCEED documentation build configuration file, created by 5 # sphinx-quickstart on Tue Jan 7 18:59:28 2020. 7 # This file is execfile()d with the current directory set to its 11 # autogenerated file. 31 # -- General configuration ------------------------------------------------ 60 # The following, if true, allows figures, tables and code-blocks to be 115 # If true, `todo` and `todoList` produce output, else they produce nothing. 118 # sphinxcontrib-bibtex 2.0 requires listing all bibtex files here 134 # -- Options for HTML output ---------------------------------------------- [all …]
|
| H A D | gpu.md | 9 …path should typically be an absolute path to ensure the JiT compilation can locate the source file. 13 The entire contents of this source file and all included files are used during JiT compilation for … 16 These source file must only contain syntax constructs supported by C99 and all targeted backends (i… 23 …edVector` and `CeedQFunctionContext` have read-only and read-write accessors, and `CeedVector` all… 24 Read-only access of `CeedVector` and `CeedQFunctionContext` memory spaces must be respected for to … 25 Write-only access of `CeedVector` memory spaces asserts that all data in the `CeedVector` is invali… 27 …-only and all output arrays are write-only and the {c:type}`CeedQFunctionUser` must adhere to thes… 28 …er` have read-write access for `CeedQFunctionContext` data, unless {c:func}`CeedQFunctionSetContex… 30 The `/cpu/self/memcheck` backends explicitly verify read-only and write-only memory access assumpti…
|
| /libCEED/include/ceed/jit-source/gallery/ |
| H A D | ceed-identity-to-scalar.h | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 9 @brief Identity QFunction that copies first input component directly into output 16 // out[0] is output, size (Q) in IdentityScalar() 17 CeedScalar *output = out[0]; in IdentityScalar() local 20 …CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++) { output[i] = input[i]; } // End of Quadrature Poi… in IdentityScalar()
|
| H A D | ceed-identity.h | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 24 // out[0] is output, size (Q*size) in Identity() 25 CeedScalar *output = out[0]; in Identity() local 28 …CeedPragmaSIMD for (CeedInt i = 0; i < Q * size; i++) { output[i] = input[i]; } // End of Quadrat… in Identity()
|
| H A D | ceed-scale.h | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 21 // out[0] is output, size (Q*size) in Scale() 22 CeedScalar *output = out[0]; in Scale() local 25 …CeedPragmaSIMD for (CeedInt i = 0; i < Q * size; i++) { output[i] = input[i] * scale[i]; } // End… in Scale()
|
| H A D | ceed-scale-scalar.h | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 21 // out[0] is output, size (Q*size) in ScaleScalar() 22 CeedScalar *output = out[0]; in ScaleScalar() local 26 for (CeedInt j = 0; j < size; j++) output[i + j * Q] = input[i + j * Q] * scale[i]; in ScaleScalar()
|
| /libCEED/examples/fluids/ |
| H A D | conv_test.sh | 4 # Produced at the Lawrence Livermore National Laboratory. LLNL-CODE-734707. 7 # This file is part of CEED, a collection of benchmarks, miniapps, software 8 # libraries and APIs for efficient high-order finite element and spectral 12 # The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 19 declare -A run_flags 28 run_flags[ts_rtol]=1e-10 29 run_flags[ts_atol]=1e-10 31 declare -A test_flags 50 if ! [[ -z ${run_flags[$arg]} ]]; then 51 args="$args -$arg ${run_flags[$arg]}" [all …]
|
| H A D | navierstokes.c | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 8 // libCEED + PETSc Example: Navier-Stokes 10 // This example demonstrates a simple usage of libCEED with PETSc to solve a Navier-Stokes problem. 18 // ./navierstokes -ceed /cpu/self -options_file gaussianwave.yml 19 // ./navierstokes -ceed /gpu/cuda -problem advection -degree 1 21 …-ceed {ceed_resource} -test_type solver -options_file examples/fluids/gaussianwave.yaml -compare_f… 22 …-ceed {ceed_resource} -test_type solver -options_file examples/fluids/gaussianwave.yaml -compare_f… [all …]
|
| H A D | README.md | 1 ## 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/gallery/identity/ |
| H A D | ceed-identity-to-scalar.c | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 10 #include <ceed/jit-source/gallery/ceed-identity-to-scalar.h> 15 @brief Set fields identity `CeedQFunction` that copies first input component directly into output 23 …// QFunction fields 'input' and 'output' with requested emodes added by the library rather than be… in CeedQFunctionInit_IdentityScalar() 30 @brief Register identity `CeedQFunction` that copies first input component directly into output
|
| /libCEED/examples/solids/ |
| H A D | Makefile | 1 # 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 6 # This file is part of CEED: http://github.com/ceed 9 -include $(COMMON) 12 # PETSC_ARCH - for example when using PETSc installed through Spack. 17 CC = $(call pkgconf, --variable=ccompiler $(PETSc.pc) $(ceed.pc)) 18 CFLAGS = -std=c11 \ 19 $(call pkgconf, --variable=cflags_extra $(PETSc.pc)) \ 20 $(call pkgconf, --cflags-only-other $(PETSc.pc)) \ [all …]
|
| /libCEED/examples/fluids/src/ |
| H A D | cloptions.c | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 8 /// @file 9 /// Command line option processing for Navier-Stokes example using PETSc 18 app_ctx->problems = NULL; in RegisterProblems_NS() 21 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "density_current", NS_DENSITY_CURRENT)); in RegisterProblems_NS() 22 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "euler_vortex", NS_EULER_VORTEX)); in RegisterProblems_NS() 23 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "shocktube", NS_SHOCKTUBE)); in RegisterProblems_NS() [all …]
|
| /libCEED/backends/cuda/ |
| H A D | ceed-cuda-compile.cpp | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 8 #include "ceed-cuda-compile.h" 12 #include <ceed/jit-tools.h> 28 #include "ceed-cuda-common.h" 44 //------------------------------------------------------------------------------ 46 //------------------------------------------------------------------------------ 49 FILE *output_stream = popen((command + std::string(" 2>&1")).c_str(), "r"); in CeedCallSystem_Core() [all …]
|
| /libCEED/rust/libceed-sys/c-src/ |
| H A D | common.mk | 1 # 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 6 # This file is part of CEED: http://github.com/ceed 8 # Output using the 216-color rules mode 12 ansicolor = $(shell echo $(call last_path,$(1)) | cksum | cut -b1-2 | xargs -IS expr 2 \* S + 17) 14 color_out = @if [ -t 1 ]; then \ 20 output = $(if $(TERM:dumb=),$(call color_out,$1,$2),$(call emacs_out,$1,$2)) 22 # if V is set to non-nil, turn the verbose mode 23 quiet = $(if $(V),$($(1)),$(call output,$1,$@);$($(1))) [all …]
|
| /libCEED/backends/sycl/ |
| H A D | ocloc_api.h | 1 //===------- ocloc_api.h --------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file is copied from 10 // https://github.com/intel/compute-runtime/blob/master/shared/offline_compiler/source/ocloc_api.h 35 /// at https://github.com/intel/compute-runtime. 39 /// Output params should be freed using oclocFreeOutput() when 47 /// \param NumSources is the number of in-memory representations 50 /// \param DataSources is an array of in-memory representations 53 /// \param LenSources is an array of sizes of in-memory representations [all …]
|
| /libCEED/interface/ |
| H A D | ceed-qfunction.c | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 8 #include <ceed-impl.h> 11 #include <ceed/jit-tools.h> 17 /// @file 43 /// ---------------------------------------------------------------------------- 45 /// ---------------------------------------------------------------------------- 53 … Absolute path to source of `CeedQFunction`, "\path\CEED_DIR\gallery\folder\file.h:function_name" [all …]
|
| /libCEED/tests/junit-xml/ |
| H A D | README.rst | 1 python-junit-xml 3 .. image:: https://travis-ci.org/kyrus/python-junit-xml.png?branch=master 6 ----- 16 searches and the Jenkins JUnit XML reader source code. File a bug if 21 ------------ 27 pip install junit-xml 29 easy_install junit-xml 35 git clone https://github.com/kyrus/python-junit-xml.git 39 ----- 43 .. code-block:: python [all …]
|
| /libCEED/backends/blocked/ |
| H A D | ceed-blocked.h | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 23 CeedVector *e_vecs_full; /* Full E-vectors, inputs followed by outputs */ 24 CeedVector *e_vecs_in; /* Element block input E-vectors */ 25 CeedVector *e_vecs_out; /* Element block output E-vectors */ 26 CeedVector *q_vecs_in; /* Element block input Q-vectors */ 27 CeedVector *q_vecs_out; /* Element block output Q-vectors */
|
| /libCEED/backends/opt/ |
| H A D | ceed-opt.h | 1 // 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 6 // This file is part of CEED: http://github.com/ceed 26 CeedVector *e_vecs_full; /* Full E-vectors, inputs followed by outputs */ 28 CeedVector *e_vecs_in; /* Element block input E-vectors */ 29 CeedVector *e_vecs_out; /* Element block output E-vectors */ 30 CeedVector *q_vecs_in; /* Element block input Q-vectors */ 31 CeedVector *q_vecs_out; /* Element block output Q-vectors */
|