| /libCEED/ |
| H A D | Cargo.toml | 5 "examples/rust/ex1-volume", 6 "examples/rust/ex1-volume-vector", 7 "examples/rust/ex2-surface", 8 "examples/rust/ex2-surface-vector", 9 "examples/rust/ex3-volume", 10 "examples/rust/ex3-volume-vector", 11 "examples/rust/mesh", 13 exclude = ["examples/rust-qfunctions/ex1-volume-rs"]
|
| H A D | Makefile | 339 examples.c := $(sort $(wildcard examples/ceed/*.c)) 340 examples.f := $(if $(FC),$(sort $(wildcard examples/ceed/*.f90))) 341 examples := $(examples.c:examples/ceed/%.c=$(OBJDIR)/%$(EXE_SUFFIX)) macro 342 examples += $(examples.f:examples/ceed/%.f90=$(OBJDIR)/%$(EXE_SUFFIX)) 345 dealiiexamples.cc := $(sort $(wildcard examples/deal.II/*.cc)) 346 dealiiexamples := $(dealiiexamples.cc:examples/deal.II/%.cc=$(OBJDIR)/dealii-%) 349 mfemexamples.cpp := $(sort $(wildcard examples/mfem/*.cpp)) 350 mfemexamples := $(mfemexamples.cpp:examples/mfem/%.cpp=$(OBJDIR)/mfem-%) 356 rustqfunctions.c := $(sort $(wildcard examples/rust-qfunctions/*.c)) 357 rustqfunctionsexamples := $(rustqfunctions.c:examples/rust-qfunctions/%.c=$(OBJDIR)/rustqfunctions-… [all …]
|
| H A D | README.md | 47 …ages (C, C++, Fortran) and this makefile variable can also be set for testing and examples (below). 146 There are multiple supported backends, which can be selected at runtime in the examples: 234 …ibCEED comes with several examples of its usage, ranging from standalone C codes in the `/examples… 237 To build the examples, set the `MFEM_DIR`, `PETSC_DIR` (and optionally `PETSC_ARCH`), and `NEK5K_DI… 240 $ cd examples/ 243 <!-- running-examples-inclusion --> 246 # libCEED examples on CPU and GPU 255 # MFEM+libCEED examples on CPU and GPU 262 # Nek5000+libCEED examples on CPU and GPU 265 $ ./nek-examples.sh -e bp1 -ceed /cpu/self -b 3 [all …]
|
| H A D | .gitignore | 52 doc/sphinx/source/examples/
|
| /libCEED/examples/nek/ |
| H A D | README.md | 5 …19.0 or greater must be [installed](https://nek5000.mcs.anl.gov/getstarted/) to run these examples. 13 The Nek5000 examples depend on the Nek5000 tools: `genbox`, `genmap`, and `reatore2`. 20 ### Building the Nek5000 examples 22 You can build the Nek5000 libCEED examples with the command `make bps`. 24 You can also build the Nek5000 libCEED examples by invoking `nek-examples.sh` script. 26 ./nek-examples.sh -m 29 By default, the examples are built with MPI. 30 To build the examples without MPI, set the environment variable `MPI=0`. 32 Note: Nek5000 examples must be built sequentially. 33 Due to the Nek5000 build process, multiple examples cannot be built in parallel. [all …]
|
| H A D | Makefile | 41 FC=$(FC) CC=$(CC) MPI=$(MPI) NEK5K_DIR=$(NEK5K_DIR) CEED_DIR=$(CEED_DIR) && ./nek-examples.sh -m 44 NEK5K_DIR=$(NEK5K_DIR) && ./nek-examples.sh -clean
|
| H A D | nek-examples.sh | 280 sed "5s/.*/-$nex -$ney -$nez/" ${CEED_DIR}/examples/nek/boxes/b.box > b$i/b$i.box 281 cp ${CEED_DIR}/examples/nek/boxes/b1e.rea b$i/
|
| /libCEED/examples/python/ |
| H A D | README.md | 3 These examples are written using libCEED's Python interface. 7 …ng how to install the Python interface and the usage of each API object, with interactive examples. 11 The basic libCEED C examples in the folder `/examples/ceed` are also available as Python examples. 13 To build the QFunctions into a shared library that the Python examples use, run 19 To execute the examples, run:
|
| H A D | tutorial-6-shell.ipynb | 7 "# Standalone libCEED examples\n", 20 "For most of our examples, the spatial discretization\n", 29 "disjoint elements. For most examples we use unstructured meshes for which the elements\n", 41 "This example is located in the subdirectory `examples/ceed`. It illustrates a\n", 119 "Move to the examples folder " 128 "cd examples/" 135 "Then move to the standalone libCEED's examples folder" 151 "And compile the examples by running" 218 "This example is located in the subdirectory `examples/ceed`. It computes the\n", 256 …"Assuming the steps above, you should be in the `examples/ceed/` subdirectory and have already com…
|
| H A D | tutorial-0-ceed.ipynb | 7 "# libCEED for Python examples\n", 43 …"Here we show some basic examples to illustrate the `Ceed` class. In libCEED, Ceeds represent libr…
|
| /libCEED/rust/libceed-sys/c-src/ |
| H A D | Makefile | 339 examples.c := $(sort $(wildcard examples/ceed/*.c)) 340 examples.f := $(if $(FC),$(sort $(wildcard examples/ceed/*.f90))) 341 examples := $(examples.c:examples/ceed/%.c=$(OBJDIR)/%$(EXE_SUFFIX)) macro 342 examples += $(examples.f:examples/ceed/%.f90=$(OBJDIR)/%$(EXE_SUFFIX)) 345 dealiiexamples.cc := $(sort $(wildcard examples/deal.II/*.cc)) 346 dealiiexamples := $(dealiiexamples.cc:examples/deal.II/%.cc=$(OBJDIR)/dealii-%) 349 mfemexamples.cpp := $(sort $(wildcard examples/mfem/*.cpp)) 350 mfemexamples := $(mfemexamples.cpp:examples/mfem/%.cpp=$(OBJDIR)/mfem-%) 356 rustqfunctions.c := $(sort $(wildcard examples/rust-qfunctions/*.c)) 357 rustqfunctionsexamples := $(rustqfunctions.c:examples/rust-qfunctions/%.c=$(OBJDIR)/rustqfunctions-… [all …]
|
| /libCEED/examples/ |
| H A D | README.md | 3 This page provides a brief description of the examples for the libCEED library. 7 Two examples that rely only upon libCEED without any external libraries are provided in the [ceed/]… 8 … see the dedicated [documentation section](https://libceed.org/en/latest/examples/ceed/index.html). 58 …ase see the dedicated [BPs documentation section](https://libceed.org/en/latest/examples/bps.html). 63 …corresponding [fluids documentation page](https://libceed.org/en/latest/examples/fluids/index.html… 68 …corresponding [solids documentation page](https://libceed.org/en/latest/examples/solids/index.html… 72 These examples, located in the [petsc/](./petsc) folder, use the mass operator to compute the surfa… 73 …e corresponding [area documentation page](https://libceed.org/en/latest/examples/petsc/index.html#… 77 These examples, located in the [petsc/](./petsc) folder, reproduce the Bakeoff Problems 1-6 on a di… 78 …s on the cubed-sphere documentation page](https://libceed.org/en/latest/examples/petsc/index.html#… [all …]
|
| H A D | index.md | 1 (examples)= 5 This section contains a mathematical description of all examples provided with libCEED 6 in the {file}`examples/` directory. 7 These examples are meant to demonstrate use of libCEED from standalone definition of operators to i…
|
| H A D | notation.md | 5 For most of our examples, the spatial discretization uses high-order finite elements/spectral eleme… 8 For most examples we use unstructured meshes for which the elements are hexahedra (although this is…
|
| /libCEED/julia/LibCEED.jl/docs/src/ |
| H A D | Examples.md | 3 LibCEED.jl includes three short examples, which are analogues of the two 4 examples in `libCEED/examples/ceed`. 6 These examples are:
|
| /libCEED/examples/ceed/ |
| H A D | index.md | 3 The following three examples have no dependencies, and are designed to be self-contained. 4 For additional examples that use external discretization libraries (MFEM, PETSc, Nek5000 etc.) see … 10 This example is located in the subdirectory {file}`examples/ceed`. 33 This example is located in the subdirectory {file}`examples/ceed`. 67 This example is located in the subdirectory {file}`examples/ceed`.
|
| H A D | README.md | 3 Two examples are provided that rely only upon libCEED without any external libraries.
|
| /libCEED/python/ |
| H A D | README.md | 13 For examples and short tutorials see the folder `examples/tutorials`. It
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | Makefile | 13 CEED_LIBS ?= -Wl,-rpath,$(abspath $(CEED_DIR)/lib) -L$(CEED_DIR)/lib -lceed -L$(CEED_DIR)/examples/… 30 …$(LINK.c) $(CEED_FLAGS) $(CEED_LDFLAGS) $(abspath $<) -o $@ $(CEED_LIBS) -L$(CEED_DIR)/examples/ru…
|
| /libCEED/doc/sphinx/source/ |
| H A D | index.md | 10 examples/index
|
| H A D | releasenotes.md | 3 On this page we provide a summary of the main API changes, new features and examples for each relea… 197 …in PETSc based examples to better utilize PETSc DMPlex and Mat updates to support libCEED; current… 293 libCEED v0.6 contains numerous new features and examples, as well as expanded 302 [Binder](https://mybinder.org/v2/gh/CEED/libCEED/main?urlpath=lab/tree/examples/tutorials/). 306 preconditioning ingredients and are used in the libCEED's multigrid examples. 339 libCEED-0.6 contains greatly expanded examples with {ref}`new documentation <Examples>`. 342 - Standalone {ref}`ex2-surface` ({file}`examples/ceed/ex2-surface`): compute the area of 345 - PETSc {ref}`example-petsc-area` ({file}`examples/petsc/area.c`): computes surface area 351 - {file}`examples/petsc/bpsraw.c` (formerly `bps.c`): transparent CUDA support. 352 - {file}`examples/petsc/bps.c` (formerly `bpsdmplex.c`): performance improvements [all …]
|
| H A D | ffi.md | 7 …equence of [Jupyter Notebook tutorials](https://github.com/CEED/libCEED/tree/main/examples/python).
|
| /libCEED/examples/mfem/ |
| H A D | README.md | 3 These examples show to write libCEED operators (BP1 and BP3) within the open-source finite element …
|
| /libCEED/rust/libceed/ |
| H A D | README.md | 8 … details on [interface concepts](https://libceed.org/en/latest/libCEEDapi/) and extensive examples. 44 …d in the [libCEED repository](https://github.com/CEED/libCEED) under the `examples/rust` directory.
|
| /libCEED/python/tests/ |
| H A D | README.md | 3 These files provide libCEED for Python tests. Full examples of finite element
|