Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 63) sorted by relevance

123

/libCEED/doc/sphinx/source/
H A Dconf.py283 rootdir = os.path.join(
284 os.path.dirname(__file__),
292 def mkdir_p(path): argument
294 os.makedirs(path)
304 for filename in glob.glob(os.path.join(
306 destdir = os.path.dirname(os.path.relpath(filename, rootdir))
309 shutil.copy2(os.path.join(rootdir, "README.md"), ".")
311 for filename in glob.glob(os.path.join(
313 destdir = os.path.dirname(os.path.relpath(filename, rootdir))
/libCEED/examples/python/
H A Dsetup_qfunctions.py6 ceed_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
9 include_dirs = [os.path.join(ceed_dir, "include")]
12 library_dirs = [os.path.join(ceed_dir, "lib")]
H A Dex1_volume.py107 file_dir = os.path.dirname(os.path.abspath(__file__))
110 os.path.join(file_dir, "ex1-volume.h:build_mass"))
136 file_dir = os.path.dirname(os.path.abspath(__file__))
139 os.path.join(file_dir, "ex1-volume.h:apply_mass"))
H A Dex2_surface.py109 file_dir = os.path.dirname(os.path.abspath(__file__))
112 os.path.join(file_dir, "ex2-surface.h:build_diff"))
138 file_dir = os.path.dirname(os.path.abspath(__file__))
141 os.path.join(file_dir, "ex2-surface.h:apply_diff"))
H A Dex_common.py232 def find_qfs_so(name, path): argument
237 for root, dirs, files in os.walk(path):
239 return os.path.join(root, name)
247 file_dir = os.path.join(
248 os.path.dirname(os.path.abspath(__file__)),
H A Dex3_volume.py109 file_dir = os.path.dirname(os.path.abspath(__file__))
114 os.path.join(file_dir, "ex3-volume.h:build_mass_diff"))
132 os.path.join(file_dir, "ex3-volume.h:apply_mass_diff"))
/libCEED/rust/libceed/tests/
H A Dversion-numbers.rs8 use std::path::{Path, PathBuf};
12 let path = std::env::current_dir().unwrap(); in test_readme_deps() localVariable
13 version_sync::assert_markdown_deps_updated!(if path.ends_with("rust/libceed") { in test_readme_deps()
21 let path = std::env::current_dir().unwrap(); in get_rel_path() localVariable
22 if path.ends_with("rust/libceed") { in get_rel_path()
/libCEED/python/
H A Dbuild_ceed_cffi.py40 here = os.path.dirname(os.path.abspath(__file__))
41 prefix = os.path.dirname(here)
45 libdir = os.path.join(prefix, "build")
56 with open(os.path.abspath(header_path)) as f:
96 os.path.join(ceed_dir, "include")], # include path
/libCEED/python/tests/
H A Dtest-4-qfunction.py27 file_dir = os.path.dirname(os.path.abspath(__file__))
28 qfs_so = os.path.join(
43 file_dir = os.path.dirname(os.path.abspath(__file__))
47 os.path.join(file_dir, "test-qfunctions.h:setup_mass"))
53 os.path.join(file_dir, "test-qfunctions.h:apply_mass"))
100 file_dir = os.path.dirname(os.path.abspath(__file__))
104 os.path.join(file_dir, "test-qfunctions.h:setup_mass"))
110 os.path.join(file_dir, "test-qfunctions.h:apply_mass"))
162 file_dir = os.path.dirname(os.path.abspath(__file__))
166 os.path.join(file_dir, "test-qfunctions.h:setup_mass"))
[all …]
H A Dtest-5-operator.py28 file_dir = os.path.dirname(os.path.abspath(__file__))
29 qfs_so = os.path.join(
83 file_dir = os.path.dirname(os.path.abspath(__file__))
87 os.path.join(file_dir, "test-qfunctions.h:setup_mass"))
93 os.path.join(file_dir, "test-qfunctions.h:apply_mass"))
172 file_dir = os.path.dirname(os.path.abspath(__file__))
176 os.path.join(file_dir, "test-qfunctions.h:setup_mass"))
182 os.path.join(file_dir, "test-qfunctions.h:apply_mass"))
262 file_dir = os.path.dirname(os.path.abspath(__file__))
266 os.path.join(file_dir, "test-qfunctions.h:setup_mass"))
[all …]
H A Dsetup-qfunctions.py11 CEED_DIR = os.path.dirname(libceed.__file__)
17 include_dirs=[os.path.join(CEED_DIR, 'include')],
H A Dcheck.py9 caller_dirname = os.path.dirname(caller.filename)
10 output_file = os.path.join(
/libCEED/rust/libceed-sys/tests/
H A Dversion-numbers.rs1 use std::path::{Path, PathBuf};
4 let path = std::env::current_dir().unwrap(); in get_rel_path() localVariable
5 if path.ends_with("rust/libceed-sys") { in get_rel_path()
/libCEED/julia/LibCEED.jl/src/
H A DLibCEED.jl210 set_libceed_path!(path::AbstractString)
214 Sets the path of the libCEED dynamic library. `path` should be the absolute path to the library
221 the same effect as `set_libceed_path!(:prebuilt)`, unless a different path has been specified in the
225 This function sets the library path as a _preference_ associated with the currently active
229 function set_libceed_path!(path::AbstractString)
230 handle = C.dlopen(path)
231 set_preferences!(C.libCEED_jll, "libceed_path" => path; force=true)
233 Setting the libCEED library path to $path.
251 Deleting preference for libCEED library path.
272 Returns the path to the currently used libCEED library. A different libCEED library can be used by
/libCEED/examples/rust/ex3-volume/
H A DCargo.toml11 libceed = { path = "../../../rust/libceed" }
12 mesh = { path = "../mesh" }
/libCEED/examples/rust/ex1-volume/
H A DCargo.toml11 libceed = { path = "../../../rust/libceed" }
12 mesh = { path = "../mesh" }
/libCEED/examples/rust/ex2-surface/
H A DCargo.toml11 libceed = { path = "../../../rust/libceed" }
12 mesh = { path = "../mesh" }
/libCEED/examples/rust/ex3-volume-vector/
H A DCargo.toml11 libceed = { path = "../../../rust/libceed" }
12 mesh = { path = "../mesh" }
/libCEED/examples/rust/ex1-volume-vector/
H A DCargo.toml11 libceed = { path = "../../../rust/libceed" }
12 mesh = { path = "../mesh" }
/libCEED/examples/rust/ex2-surface-vector/
H A DCargo.toml11 libceed = { path = "../../../rust/libceed" }
12 mesh = { path = "../mesh" }
/libCEED/benchmarks/
H A Dbenchmark.sh37 local outvar="$1" path="$2" cur_dir="$PWD"
38 cd "$path" && path="$PWD" && cd "$cur_dir" && eval "$outvar=\"$path\""
/libCEED/examples/deal.II/
H A DREADME.md11 cmake ../ -DDEAL_II_DIR=~/path/to/dealii -DCEED_DIR=~/path/to/libceed
H A DCMakeLists.txt9 "You may want to either pass a flag -DDEAL_II_DIR=/path/to/deal.II to cmake\n"
10 "or set an environment variable \"DEAL_II_DIR\" that contains this path."
/libCEED/
H A Dsetup.py27 with open(os.path.abspath("ceed.pc.template")) as template:
40 prefix = os.path.join(self.build_lib, 'libceed')
/libCEED/examples/fluids/problems/
H A Dstg_shur14.c63 static PetscErrorCode ReadStgInflow(const MPI_Comm comm, const char path[PETSC_MAX_PATH_LEN], StgSh… in ReadStgInflow()
72 PetscCall(PhastaDatFileOpen(comm, path, char_array_len, dims, &fp)); in ReadStgInflow()
84 …es not have correct number of columns (%d instead of %" PetscInt_FMT ")", i, path, ndims, dims[1]); in ReadStgInflow()
99 …_dist[i] >= 0, comm, PETSC_ERR_FILE_UNEXPECTED, "Distance to wall in %s cannot be negative", path); in ReadStgInflow()
100 …i] >= 0, comm, PETSC_ERR_FILE_UNEXPECTED, "Turbulent length scale in %s cannot be negative", path); in ReadStgInflow()
101 …[i] >= 0, comm, PETSC_ERR_FILE_UNEXPECTED, "Turbulent dissipation in %s cannot be negative", path); in ReadStgInflow()
120 static PetscErrorCode ReadStgRand(const MPI_Comm comm, const char path[PETSC_MAX_PATH_LEN], StgShur… in ReadStgRand()
129 PetscCall(PhastaDatFileOpen(comm, path, char_array_len, dims, &fp)); in ReadStgRand()
139 …es not have correct number of columns (%d instead of %" PetscInt_FMT ")", i, path, ndims, dims[1]); in ReadStgRand()

123