Home
last modified time | relevance | path

Searched full:name (Results 1 – 25 of 39) sorted by relevance

12

/honee/include/
H A Dbc_definition.h22 char *name; member
46 @param[in] name String that sets the name of the `BCDefinition`
50 #define PetscOptionsBCDefinition(opt, text, man, name, bc_def, set) \ argument
51 PetscOptionsBCDefinition_Private(PetscOptionsObject, opt, text, man, name, bc_def, set)
53 … const char name[], BCDefinition *bc_def, PetscBool *set);
55 PetscErrorCode BCDefinitionCreate(MPI_Comm comm, const char *name, PetscInt num_label_values, Petsc…
56 PetscErrorCode BCDefinitionGetInfo(BCDefinition bc_def, const char *name[], PetscInt *num_label_val…
58 PetscErrorCode BCDefinitionViewFromOptions(BCDefinition bc_def, PetscObject obj, const char name[]);
H A Dmat-ceed.h20 PETSC_CEED_INTERN PetscErrorCode MatCeedSetContextDouble(Mat mat, const char *name, double value);
21 PETSC_CEED_INTERN PetscErrorCode MatCeedGetContextDouble(Mat mat, const char *name, double *value);
22 PETSC_CEED_EXTERN PetscErrorCode MatCeedSetContextReal(Mat mat, const char *name, PetscReal value);
23 PETSC_CEED_EXTERN PetscErrorCode MatCeedGetContextReal(Mat mat, const char *name, PetscReal *value);
/honee/examples/
H A Dnavierstokes.c188 //TESTARGS(name="Channel explicit div(F_diff) verify") -ceed {ceed_resource} -test_type solver -opt…
189 //TESTARGS(name="Gaussian Wave, CGNS load",only="cpu") -ceed {ceed_resource} -options_file tests/ga…
190 //TESTARGS(name="Taylor-Green Vortex Total KE") -ceed {ceed_resource} -test_type solver -options_fi…
191 //TESTARGS(name="Flat Plate STG",only="cpu") -ceed {ceed_resource} -options_file examples/flatplate…
192 //TESTARGS(name="Advection 2D, boundary layer IC",only="cpu") -ceed {ceed_resource} -test_type solv…
193 //TESTARGS(name="Advection 2D, implicit square wave, direct div(F_diff)") -ceed {ceed_resource} -te…
194 //TESTARGS(name="Advection 2D, explicit square wave, indirect div(F_diff)") -ceed {ceed_resource} -…
195 //TESTARGS(name="Advection 2D, sine wave IC",only="cpu") -ceed {ceed_resource} -test_type solver -o…
196 //TESTARGS(name="Newtonian and Riemann Solver Unit Tests",only="cpu") -ceed {ceed_resource} -test_t…
197 //TESTARGS(name="Gaussian Wave, IDL and Entropy variables") -ceed {ceed_resource} -test_type solver…
[all …]
/honee/src/
H A Dbc_definition.c32 @param[in] name Name of the boundary condition
37 PetscErrorCode BCDefinitionCreate(MPI_Comm comm, const char *name, PetscInt num_label_values, Petsc… in BCDefinitionCreate() argument
45 PetscCall(PetscStrallocpy(name, &bc_def_->name)); in BCDefinitionCreate()
46 PetscCall(PetscObjectSetName((PetscObject)bc_def_, name)); in BCDefinitionCreate()
65 if (bc_def_->name) PetscCall(PetscFree(bc_def_->name)); in BCDefinitionDestroy()
142 @param[in] name Option string that is used to activate viewing
144 PetscErrorCode BCDefinitionViewFromOptions(BCDefinition bc_def, PetscObject obj, const char name[])… in BCDefinitionViewFromOptions() argument
147 PetscCall(PetscObjectViewFromOptions((PetscObject)bc_def, obj, name)); in BCDefinitionViewFromOptions()
155 @param[out] name Name of the `BCDefinition`
159 PetscErrorCode BCDefinitionGetInfo(BCDefinition bc_def, const char *name[], PetscInt *num_label_val… in BCDefinitionGetInfo() argument
[all …]
H A Dhonee-file.c95 if (!set) { // Based on assumption that solution name of has form "FlowSolutionXXX" in HoneeLoadInitialCondition()
96 const char *name, flowsolution[] = "FlowSolution"; in HoneeLoadInitialCondition() local
100 PetscCall(PetscViewerCGNSGetSolutionName(viewer, &name)); in HoneeLoadInitialCondition()
102 PetscCall(PetscStrncmp(flowsolution, name, flowsolutionlen, &isFlowSolution)); in HoneeLoadInitialCondition()
104 … does not have FlowIterations array and solution name have 'FlowSolution' (found '%s')", filename,… in HoneeLoadInitialCondition()
105 *solution_steps = atoi(&name[flowsolutionlen]); in HoneeLoadInitialCondition()
H A Dsetupdm.c98 const char *name; in SetUpDM() local
103 PetscCall(BCDefinitionGetInfo(bc_def, &name, &num_label_values, &label_values)); in SetUpDM()
104 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, name, label, num_label_values, label_values, 0, num_e… in SetUpDM()
112 // Empty name for conserved field (because there is only one field) in SetUpDM()
H A Dmat-ceed.c319 @note The name of the second parameter must be `PetscOptionsObject` due to abuse of PETSc macros
786 @param[in] name Name of the context field
791 PetscErrorCode MatCeedSetContextDouble(Mat mat, const char *name, double value) { in MatCeedSetContextDouble() argument
800 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(ctx->op_mult, name, &label)); in MatCeedSetContextDouble()
804 PetscCall(MatCeedGetContextDouble(mat, name, &set_value)); in MatCeedSetContextDouble()
812 … PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(ctx->op_mult_transpose, name, &label)); in MatCeedSetContextDouble()
816 PetscCall(MatCeedGetContextDouble(mat, name, &set_value)); in MatCeedSetContextDouble()
837 @param[in] name Name of the context field
842 PetscErrorCode MatCeedGetContextDouble(Mat mat, const char *name, double *value) { in MatCeedGetContextDouble() argument
851 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(op, name, &label)); in MatCeedGetContextDouble()
[all …]
H A Dmisc.c206 @param[in] name Name of the option (with `-` prepended to it)
209 PetscErrorCode HoneeOptionsSetValueDefault(PetscOptions options, const char name[], const char valu… in HoneeOptionsSetValueDefault() argument
213 PetscCall(PetscOptionsHasName(options, NULL, name, &has_option)); in HoneeOptionsSetValueDefault()
214 if (!has_option) PetscCall(PetscOptionsSetValue(options, name, value)); in HoneeOptionsSetValueDefault()
278 " Host Name : %s\n" in PrintRunInfo()
/honee/src/smartsim/
H A Dsmartsim.c90 @brief Checks if a tensor with `name` is in the SmartRedis database
95 @param[in] name Name of the tensor
96 @param[in] name_length Length of the tensor name
99 PetscErrorCode SmartRedisVerifyPutTensor(void *c_client, const char *name, const size_t name_length… in SmartRedisVerifyPutTensor() argument
104 PetscCallSmartRedis(tensor_exists(c_client, name, name_length, &does_exist)); in SmartRedisVerifyPutTensor()
105 …k(does_exist, PETSC_COMM_SELF, -1, "Tensor of name '%s' was not written to the database successful… in SmartRedisVerifyPutTensor()
/honee/tests/
H A Djunit_common.py64 name: str = field(default_factory=str) variable in TestSpec
92 test (str): Name of test
104 test (str): Name of test
116 test (str): Name of test
117 output_file (str): File name of output file
176 test (str): Name of test
185 test (str): Name of test
199 test (str): Name of test
213 test (str): Name of test
227 test (str): Name of test
[all …]
H A Djunit.py27 …parser.add_argument('-b', '--junit-batch', type=str, default='', help='Name of JUnit batch for out…
61 test (str): Name of test
76 test (str): Name of test
87 test (str): Name of test
88 output_file (str): File name of output file
99 test (str): Name of test
117 test (str): Name of test
128 return f'CGNS not installed in PETSc for {test}, {spec.name}'
130 return f'Tet mesh generator not installed for {test}, {spec.name}'
137 test (str): Name of test
[all …]
/honee/tests/junit-xml/junit_xml/
H A D__init__.py24 <testsuite errors="1" failures="1" hostname="localhost" id="0" name="test1"
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">
35 <testcase classname="package.directory" name="3-errord-test" time="15">
40 <testcase classname="package.directory" name="3-skipped-test" time="0">
45 <testcase classname="testdb.directory" name="3-passed-test" time="10">
85 name, argument
98 self.name = name
132 test_suite_attributes["name"] = decode(self.name, encoding)
[all …]
/honee/examples/meshes/
H A Dcylinder.geo3 Name "Parameters/Zspan"}
8 Name "Parameters/Height"}
13 Name "Parameters/XL"}
18 Name "Parameters/XR"}
23 Name "Parameters/CylDiameter"}
28 Name "Parameters/ElementsPerQuadrant"}
33 Name "Parameters/RadialRatio"}
37 Name "Parameters/RadialProgression"}
/honee/
H A D.gitlab-ci.yml135name":"Transfer Size (KB)","value":"19.5","desiredSize":"smaller"},{"name":"Speed Index","value":0…
190name":"Transfer Size (KB)","value":"19.5","desiredSize":"smaller"},{"name":"Speed Index","value":0…
251name":"Transfer Size (KB)","value":"19.5","desiredSize":"smaller"},{"name":"Speed Index","value":0…
314name":"Transfer Size (KB)","value":"19.5","desiredSize":"smaller"},{"name":"Speed Index","value":0…
373name":"Transfer Size (KB)","value":"19.5","desiredSize":"smaller"},{"name":"Speed Index","value":0…
421 name: coverage/$CI_COMMIT_REF_NAME
447 name: review/$CI_COMMIT_REF_NAME
454 pages: # this job name has special meaning to GitLab
H A D.clang-tidy1 Checks: "clang-diagnostic-*,clang-analyzer-*,readability-inconsistent-declaration-parameter-name,bu…
3 …AsErrors: "clang-diagnostic-*,clang-analyzer-*,readability-inconsistent-declaration-parameter-name"
H A DDoxyfile41 # project for which the documentation is generated. This name is used in the
139 # following values are used ($name is automatically replaced with the name of
140 # the entity):The $name class, The $name widget, The $name file, is, provides,
143 ABBREVIATE_BRIEF = "The $name class" \
144 "The $name widget" \
145 "The $name file" \
171 # before files name in the file list and in the header files. If set to NO the
172 # shortest path that makes the file name unique will be used
191 # header file to include in order to use a class. If left blank only the name of
273 # name=value
[all …]
H A DCONTRIBUTING.md21 Please use a real name and email for your author information (`git config user.name` and `user.emai…
22 …ook at `git shortlog -se`), please edit `.mailmap` to obtain your preferred name and email address.
54 Maintainers will do their best to notice when contributions reach this level and add your name to `…
H A Dconf.py111 # The name of the Pygments (syntax highlighting) style to use.
180 # Output file base name for HTML help builder.
221 # (source start file, target name, title,
230 # (source start file, name, description, authors, manual section).
238 # (source start file, target name, title, author,
H A DLICENSE-APACHE45 separable from, or merely link (or bind by name) to the interfaces of,
185 file or class name and description of purpose be included on the
189 Copyright [yyyy] [name of copyright owner]
/honee/tests/junit-xml/
H A DREADME.rst47 test_cases = [TestCase('Test1', 'some.class.name', 123.345, 'I am stdout!', 'I am stderr!')]
58 <testsuite errors="0" failures="0" name="my test suite" tests="1">
59 <testcase classname="some.class.name" name="Test1" time="123.345000">
/honee/problems/
H A Dgaussianwave.c48 const char *name; in NS_GAUSSIAN_WAVE() local
50 PetscCall(BCDefinitionGetInfo(bc_def, &name, NULL, NULL)); in NS_GAUSSIAN_WAVE()
51 if (!strcmp(name, "freestream")) { in NS_GAUSSIAN_WAVE()
H A Deulervortex.c23 " Problem Name : %s\n" in PRINT_EULER_VORTEX()
159 const char *name; in NS_EULER_VORTEX() local
161 PetscCall(BCDefinitionGetInfo(bc_def, &name, NULL, NULL)); in NS_EULER_VORTEX()
162 if (!strcmp(name, "outflow")) { in NS_EULER_VORTEX()
173 } else if (!strcmp(name, "inflow")) { in NS_EULER_VORTEX()
H A Dchannel.c114 const char *name; in NS_CHANNEL() local
116 PetscCall(BCDefinitionGetInfo(bc_def, &name, NULL, NULL)); in NS_CHANNEL()
117 if (honee->phys->state_var == STATEVAR_CONSERVATIVE && !strcmp(name, "outflow")) { in NS_CHANNEL()
129 } else if (honee->phys->state_var == STATEVAR_CONSERVATIVE && !strcmp(name, "inflow")) { in NS_CHANNEL()
H A Dnewtonian.c28 " Problem Name : %s\n" in PRINT_NEWTONIAN()
613 const char *name; in NS_NEWTONIAN_IG() local
615 PetscCall(BCDefinitionGetInfo(bc_def, &name, NULL, NULL)); in NS_NEWTONIAN_IG()
616 if (!strcmp(name, "slip")) { in NS_NEWTONIAN_IG()
618 } else if (!strcmp(name, "freestream")) { in NS_NEWTONIAN_IG()
620 } else if (!strcmp(name, "outflow")) { in NS_NEWTONIAN_IG()
622 } else if (!strcmp(name, "inflow")) { in NS_NEWTONIAN_IG()
644 …erance(const CeedScalar Q_s[5], const CeedScalar Q_a[5], const CeedScalar Q_b[5], const char *name, in CheckQWithTolerance() argument
660 printf("%s[0] error %g (expected %.10e, got %.10e)\n", name, relative_error[0], Q_s[0], Q_a[0]); in CheckQWithTolerance()
664 …printf("%s[%d] error %g (expected %.10e, got %.10e)\n", name, i, relative_error[i], Q_s[i], Q_a[i]… in CheckQWithTolerance()
[all …]
H A Dstg_shur14.c312 const char *name; in SetupStg() local
314 PetscCall(BCDefinitionGetInfo(bc_def, &name, NULL, NULL)); in SetupStg()
315 if (!strcmp(name, "inflow")) { in SetupStg()
359 const char *name; in SetupStrongStg() local
361 PetscCall(BCDefinitionGetInfo(bc_def, &name, NULL, NULL)); in SetupStrongStg()
362 if (!strcmp(name, "inflow")) PetscCall(BCDefinitionSetEssential(bc_def, num_comps, comps)); in SetupStrongStg()

12