Home
last modified time | relevance | path

Searched full:path (Results 1 – 23 of 23) sorted by relevance

/honee/tests/
H A Djunit.py29 …parser.add_argument('--smartredis-dir', type=str, default='', help='path to SmartSim library, if p…
57 def get_source_path(self, test: str) -> Path:
58 """Compute path to test source file
64 Path: Path to source file
67 return (Path('examples') / 'navierstokes').with_suffix('.c')
69 return (Path('tests') / test).with_suffix('.c')
71 # get path to executable
72 def get_run_path(self, test: str) -> Path:
73 """Compute path to built test executable file
79 Path: Path to test executable
[all …]
H A Djunit_common.py10 from pathlib import Path
19 sys.path.insert(0, str(Path(__file__).parent / "junit-xml"))
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
107 Path: Path to test executable
112 def get_output_path(self, test: str, output_file: str) -> Path:
113 """Compute path to expected output file
[all …]
H A Dsmartsim_regression_framework.py7 from pathlib import Path
19 sys.path.insert(0, (Path(__file__).parents[3] / "tests/junit-xml").as_posix())
24 file_dir = Path(__file__).parent.absolute()
25 test_output_dir = Path(__file__).parent.absolute() / 'output'
79 database_output_path = Path(
88 def __init__(self, directory_path: Path): argument
91 self.directory_path: Path = directory_path
92 self.original_path: Path
96 self.original_path = Path(os.getcwd())
/honee/
H A Dpytorch_pkgconfig.py4 from pathlib import Path
10 build_dir = Path('./build')
27 variables['prefix'] = Path(C.library_paths()[0]).parent.as_posix()
39 torchCMakePath = Path(tutils.cmake_prefix_path) / 'Torch/TorchConfig.cmake'
55 # Need to force linking with libtorch_cuda.so, so find path and specify linking flag to force it
58 torch_cuda_path = Path(lib_path) / 'libtorch_cuda.so'
H A Dconf.py16 # add these directories to sys.path here. If the directory is relative to the
17 # documentation root, use os.path.abspath to make it absolute, like shown here.
21 # sys.path.insert(0, os.path.abspath('.'))
27 from pathlib import Path
73 with open(Path('AUTHORS')) as f:
82 # with open(Path('ratel.pc.template')) as f:
H A D.gitlab-ci.yml86 - export LD_LIBRARY_PATH=$PETSC_DIR/lib PATH="$PATH:$PETSC_DIR/bin" # cgnsdiff
123 - export LD_LIBRARY_PATH=$PETSC_DIR/lib PATH="$PATH:$PETSC_DIR/bin" # cgnsdiff
183 …- export LD_LIBRARY_PATH=$PETSC_DIR/$PETSC_ARCH/lib PATH="$PATH:$PETSC_DIR/$PETSC_ARCH/bin" # cgns…
244 …- export LD_LIBRARY_PATH=$PETSC_DIR/$PETSC_ARCH/lib PATH="$PATH:$PETSC_DIR/$PETSC_ARCH/bin" # cgns…
307 # - export LD_LIBRARY_PATH=$PETSC_DIR/$PETSC_ARCH/lib PATH="$PATH:$PETSC_DIR/$PETSC_ARCH/bin" #…
366 …- export LD_LIBRARY_PATH=$PETSC_DIR/$PETSC_ARCH/lib PATH="$PATH:$PETSC_DIR/$PETSC_ARCH/bin" # cgns…
418 path: coverage.xml
H A DDoxyfile66 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
67 # into which the generated documentation will be written. If a relative path is
170 # If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
172 # shortest path that makes the file name unique will be used
177 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
179 # part of the path. The tag can be used to show relative paths in the file list.
180 # If left blank the directory from which doxygen is run is used as the path to
190 # path mentioned in the documentation of a class, which tells the reader which
826 # search path. See also \cite for info how to create references.
1054 # Note that the wildcards are matched against the file with absolute path, so to
[all …]
H A DREADME.md61 $ export CEED_DIR=[path to libCEED] PETSC_DIR=[path to PETSc] PETSC_ARCH=[PETSc arch]
H A DMakefile6 pkgconf-path = $(if $(wildcard $(1)/$(2).pc),$(1)/$(2).pc,$(2))
14 petsc.pc := $(call pkgconf-path,$(PETSC_DIR)/$(PETSC_ARCH)/lib/pkgconfig,petsc)
17 ceed.pc := $(call pkgconf-path,$(CEED_DIR)/lib/pkgconfig,ceed)
84 # Path to install directory for SmartRedis. Example: /software/smartredis/install
366 # make configure CC=/path/to/my/cc CUDA_DIR=/opt/cuda
373 # make configure CC=/path/to/other/clang
/honee/src/
H A Dhonee-file.c211 …This function opens the file specified by `path` using `PetscFOpen` and passes the file pointer in…
217 @param[in] path Path to the file
222 PetscErrorCode PhastaDatFileOpen(const MPI_Comm comm, const char path[], const PetscInt char_array_… in PhastaDatFileOpen() argument
228 PetscCall(PetscFOpen(comm, path, "r", fp)); in PhastaDatFileOpen()
231 …ETSC_ERR_FILE_UNEXPECTED, "Found %d dimensions instead of 2 on the first line of %s", ndims, path); in PhastaDatFileOpen()
239 @brief Get the number of rows for the PHASTA file at path.
244 @param[in] path Path to the file
247 PetscErrorCode PhastaDatFileGetNRows(const MPI_Comm comm, const char path[], PetscInt *nrows) { in PhastaDatFileGetNRows() argument
253 PetscCall(PhastaDatFileOpen(comm, path, char_array_len, dims, &fp)); in PhastaDatFileGetNRows()
263 @param[in] path Path to the file
[all …]
H A Dhonee-meshtransform.c11 static PetscErrorCode GetYNodeLocs(const MPI_Comm comm, const char path[PETSC_MAX_PATH_LEN], PetscR… in GetYNodeLocs()
19 PetscCall(PetscFOpen(comm, path, "r", &fp)); in GetYNodeLocs()
38 …T " of %s does not contain correct number of columns (%d instead of %d)", i, path, ndims, dims[1]); in GetYNodeLocs()
175 "Path to file with y node locations. " in HoneeMeshTransformFromOptions()
H A Dboundary_condition.c120 @param[in] qf_loc Absolute path to source of `CeedQFunctionUser`
168 @param[in] qf_loc Absolute path to source of `CeedQFunctionUser`
/honee/examples/
H A DstdoutParsing.py6 from pathlib import Path
20 file : Path-like object
21 Path to the file to be parsed.
49 runlogDir = Path("./")
H A Dconv_plot.py32 help='Path to the CSV file')
/honee/problems/
H A Dstg_shur14.c56 * @param[in] path Path to the STGInflow.dat file
59 static PetscErrorCode ReadStgInflow(const MPI_Comm comm, const char path[PETSC_MAX_PATH_LEN], StgSh… in ReadStgInflow()
68 PetscCall(PhastaDatFileOpen(comm, path, char_array_len, dims, &fp)); in ReadStgInflow()
80 …es not have correct number of columns (%d instead of %" PetscInt_FMT ")", i, path, ndims, dims[1]); in ReadStgInflow()
95 …_dist[i] >= 0, comm, PETSC_ERR_FILE_UNEXPECTED, "Distance to wall in %s cannot be negative", path); in ReadStgInflow()
96 …i] >= 0, comm, PETSC_ERR_FILE_UNEXPECTED, "Turbulent length scale in %s cannot be negative", path); in ReadStgInflow()
97 …[i] >= 0, comm, PETSC_ERR_FILE_UNEXPECTED, "Turbulent dissipation in %s cannot be negative", path); in ReadStgInflow()
113 * @param[in] path Path to the STGRand.dat file
116 static PetscErrorCode ReadStgRand(const MPI_Comm comm, const char path[PETSC_MAX_PATH_LEN], StgShur… in ReadStgRand()
125 PetscCall(PhastaDatFileOpen(comm, path, char_array_len, dims, &fp)); in ReadStgRand()
[all …]
H A Dsgs_dd_model.c677 …PetscCall(PetscOptionsString("-sgs_model_dd_parameter_dir", "Path to directory with model paramete… in SgsDDSetup()
/honee/include/
H A Dhonee-file.h19 PetscErrorCode PhastaDatFileOpen(const MPI_Comm comm, const char path[], const PetscInt char_array_…
20 PetscErrorCode PhastaDatFileGetNRows(const MPI_Comm comm, const char path[], PetscInt *nrows);
21 PetscErrorCode PhastaDatFileReadToArrayReal(const MPI_Comm comm, const char path[], PetscReal array…
H A Dhonee.h19 /// code path that needs at least 0.1.0
H A Dnavierstokes.h228 const char *qf_loc; // !< Absolute path to QFunction source file
/honee/tests/createPyTorchModel/
H A Dupdate_weights.py4 from pathlib import Path
8 new_parameters_Path = Path('../../dd_sgs_data')
/honee/doc/
H A Dtheory.md462 To specify the path to the PyTorch model file, use `-sgs_model_dd_torch_model_path`.
482 - Path to directory with data-driven model parameters (weights, biases, etc.)
492 - Path to the PyTorch `*.pt` file containing the DD inference model
664 - Path to the STGInflow file
669 - Path to the STGRand file
H A Druntime_options.md125 - Path to file from which to continue from. Either binary file or CGNS
H A Dexamples.md291 - Path to file with y node locations. If empty, will use mesh warping instead.