Home
last modified time | relevance | path

Searched full:examples (Results 1 – 25 of 88) sorted by relevance

1234

/libCEED/examples/nek/
H A DREADME.md1 ## libCEED + Nek5000 Examples
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.
[all …]
H A Dnek-examples.sh19 # Script for Building and Running Nek5000 examples
78 -clean clean the examples directory
79 -m|-make Make the examples
82 Build examples with:
83 ./nek-examples.sh -m -e \"bp1 bp3\"
85 ./nek-examples.sh -c /cpu/self -e \"bp1 bp3\" -n 4 -b 3
86 Clean the examples directory with:
87 ./nek-examples.sh -clean
138 # Build examples
139 echo "Building examples:"
[all …]
/libCEED/examples/
H A DREADME.md1 # libCEED: Examples
3 This page provides a brief description of the examples for the libCEED library.
5 ## Basic libCEED Examples
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…
70 ## PETSc+libCEED Surface Area Examples
72 These examples, located in the [petsc/](./petsc) folder, use the mass operator to compute the surfa…
[all …]
H A Dindex.md1 (examples)=
3 # Examples chapter
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…
/libCEED/examples/python/
H A DREADME.md1 ## libCEED Python Examples
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.
9 ### Basic Examples argument
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 Dtutorial-6-shell.ipynb7 "# 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…
/libCEED/
H A DCargo.toml5 "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 DMakefile245 # Root directories for examples using external libraries
338 # Examples
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))
344 # deal.II Examples
345 dealiiexamples.cc := $(sort $(wildcard examples/deal.II/*.cc))
346 dealiiexamples := $(dealiiexamples.cc:examples/deal.II/%.cc=$(OBJDIR)/dealii-%)
348 # MFEM Examples
[all …]
H A DREADME.md47 …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:
232 ## Examples section in libCEED: Efficient Extensible Discretization
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
[all …]
H A D.codecov.yml46 examples:
48 - examples/
/libCEED/examples/rust-qfunctions/
H A DMakefile13 CEED_LIBS ?= -Wl,-rpath,$(abspath $(CEED_DIR)/lib) -L$(CEED_DIR)/lib -lceed -L$(CEED_DIR)/examples/…
15 EXAMPLES.c = $(wildcard ex*.c)
16 EXAMPLES = $(EXAMPLES.c:%.c=%) macro
22 all: $(EXAMPLES)
30 …$(LINK.c) $(CEED_FLAGS) $(CEED_LDFLAGS) $(abspath $<) -o $@ $(CEED_LIBS) -L$(CEED_DIR)/examples/ru…
33 rm -f *~ $(EXAMPLES)
/libCEED/rust/libceed-sys/c-src/
H A DMakefile245 # Root directories for examples using external libraries
338 # Examples
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))
344 # deal.II Examples
345 dealiiexamples.cc := $(sort $(wildcard examples/deal.II/*.cc))
346 dealiiexamples := $(dealiiexamples.cc:examples/deal.II/%.cc=$(OBJDIR)/dealii-%)
348 # MFEM Examples
[all …]
/libCEED/examples/ceed/
H A DMakefile15 EXAMPLES.c = $(wildcard ex*.c)
16 EXAMPLES = $(EXAMPLES.c:%.c=%) macro
22 all: $(EXAMPLES)
27 # Rules for building the examples
32 rm -f *~ $(EXAMPLES)
H A Dindex.md3 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 DREADME.md1 ## libCEED Basic Examples
3 Two examples are provided that rely only upon libCEED without any external libraries.
/libCEED/examples/fluids/
H A Dnavierstokes.c21 …pe solver -options_file examples/fluids/gaussianwave.yaml -compare_final_state_atol 1e100 -compare…
22 …pe solver -options_file examples/fluids/gaussianwave.yaml -compare_final_state_atol 2e-11 -compare…
23 …ype solver -options_file examples/fluids/gaussianwave.yaml -compare_final_state_atol 1e-8 -compare…
24 …vpbjacobi -compare_final_state_atol 1e-10 -compare_final_state_filename examples/fluids/tests-outp…
25examples/fluids/advection.yaml -ts_max_steps 5 -wind_type translation -wind_translation -0.5547002…
26examples/fluids/blasius.yaml -ts_max_steps 5 -dm_plex_box_faces 3,20,1 -platemesh_nDelta 10 -plate…
27examples/fluids/advection.yaml -ts_max_steps 0 -advection_ic_type cosine_hill -dm_plex_box_faces 2…
28 …ype solver -options_file examples/fluids/gaussianwave.yaml -compare_final_state_atol 1e-8 -compare…
29 …x_steps 0 -compare_final_state_atol 1e-12 -compare_final_state_filename examples/fluids/tests-outp…
30 …ter -options_file examples/fluids/tests-output/blasius_test.yaml -compare_final_state_atol 5e-10 -…
[all …]
/libCEED/julia/LibCEED.jl/docs/src/
H A DExamples.md1 # Examples chapter
3 LibCEED.jl includes three short examples, which are analogues of the two
4 examples in `libCEED/examples/ceed`.
6 These examples are:
/libCEED/doc/sphinx/source/
H A Dreleasenotes.md3 On this page we provide a summary of the main API changes, new features and examples for each relea…
34 ### Examples subsection
64 ### Examples subsection
113 ### Examples subsection
197 …in PETSc based examples to better utilize PETSc DMPlex and Mat updates to support libCEED; current…
216 ### Examples subsection
245 ### Examples subsection
281 ### Examples subsection
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/).
[all …]
H A Dconf.py103 "examples/README.md",
104 "examples/ceed/README.md",
105 "examples/fluids/README.md",
106 "examples/nek/README.md",
107 "examples/petsc/README.md",
108 "examples/solid/README.md",
109 "examples/deal.II/README.md",
301 shutil.rmtree("examples")
305 rootdir, "examples/**/*.md"), recursive=True):
312 rootdir, "examples/**/*.csv"), recursive=True):
/libCEED/tests/
H A Djunit.py54 return (Path('examples') / 'rust-qfunctions' / rest).with_suffix('.c')
56 return (Path('examples') / 'petsc' / rest).with_suffix('.c')
58 return (Path('examples') / 'mfem' / rest).with_suffix('.cpp')
60 return (Path('examples') / 'nek' / 'bps' / rest).with_suffix('.usr')
62 return (Path('examples') / 'deal.II' / rest).with_suffix('.cc')
64 return (Path('examples') / 'fluids' / rest).with_suffix('.c')
66 return (Path('examples') / 'solids' / rest).with_suffix('.c')
69 return (Path('examples') / 'ceed' / test).with_suffix('.f90')
71 return (Path('examples') / 'ceed' / test).with_suffix('.c')
/libCEED/python/
H A DREADME.md11 ## Examples and Tutorials
13 For examples and short tutorials see the folder `examples/tutorials`. It
/libCEED/examples/fluids/tests-output/
H A Dstats_test.yaml35 inflow_path: "./examples/fluids/STGInflow_blasius.dat"
36 rand_path: "./examples/fluids/STGRand.dat"
44 continue_filename: ./examples/fluids/tests-output/fluids-navierstokes-turb-spanstats-IC.bin
H A Dblasius_stgtest.yaml31 inflow_path: "./examples/fluids/STGInflow_blasius.dat"
32 rand_path: "./examples/fluids/STGRand.dat"
/libCEED/rust/libceed/
H A DREADME.md8 … details on [interface concepts](https://libceed.org/en/latest/libCEEDapi/) and extensive examples.
42 ## Examples section in libceed: efficient, extensible discretization
44 Examples of libCEED can be found in the [libCEED repository](https://github.com/CEED/libCEED) under…
/libCEED/examples/mfem/
H A DREADME.md1 ## libCEED MFEM Examples
3 These examples show to write libCEED operators (BP1 and BP3) within the open-source finite element …

1234