| /honee/src/ |
| H A D | bc_definition.c | 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() 144 PetscErrorCode BCDefinitionViewFromOptions(BCDefinition bc_def, PetscObject obj, const char name[])… in BCDefinitionViewFromOptions() argument 147 PetscCall(PetscObjectViewFromOptions((PetscObject)bc_def, obj, name)); in BCDefinitionViewFromOptions() 159 PetscErrorCode BCDefinitionGetInfo(BCDefinition bc_def, const char *name[], PetscInt *num_label_val… in BCDefinitionGetInfo() argument 162 if (name) { in BCDefinitionGetInfo() 163 PetscAssertPointer(name, 2); in BCDefinitionGetInfo() 164 *name = bc_def->name; in BCDefinitionGetInfo() [all …]
|
| H A D | honee-file.c | 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 …not have FlowIterations array and solution name have 'FlowSolution' (found '%s')", filename, name); in HoneeLoadInitialCondition() 105 *solution_steps = atoi(&name[flowsolutionlen]); in HoneeLoadInitialCondition()
|
| H A D | setupdm.c | 98 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()
|
| H A D | mat-ceed.c | 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() 842 PetscErrorCode MatCeedGetContextDouble(Mat mat, const char *name, double *value) { in MatCeedGetContextDouble() argument 851 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(op, name, &label)); in MatCeedGetContextDouble() 854 PetscCallCeed(ctx->ceed, CeedOperatorGetContextFieldLabel(op, name, &label)); in MatCeedGetContextDouble() 879 PetscErrorCode MatCeedSetContextReal(Mat mat, const char *name, PetscReal value) { in MatCeedSetContextReal() argument 883 PetscCall(MatCeedSetContextDouble(mat, name, value_double)); in MatCeedSetContextReal() [all …]
|
| H A D | strong_boundary_conditions.c | 64 const char *name; in SetupStrongSTG_Ceed() local 66 PetscCall(BCDefinitionGetInfo(bc_def_, &name, NULL, NULL)); in SetupStrongSTG_Ceed() 67 if (!strcmp(name, "inflow")) { in SetupStrongSTG_Ceed()
|
| H A D | misc.c | 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()
|
| /honee/include/ |
| H A D | bc_definition.h | 22 char *name; member 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 D | mat-ceed.h | 20 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);
|
| H A D | smartsim-impl.h | 37 PetscErrorCode SmartRedisVerifyPutTensor(void *c_client, const char *name, const size_t name_length…
|
| H A D | mat-ceed-impl.h | 15 char *name, *coo_mat_type; member
|
| /honee/tests/junit-xml/junit_xml/ |
| H A D | __init__.py | 85 name, argument 98 self.name = name 132 test_suite_attributes["name"] = decode(self.name, encoding) 174 test_case_attributes["name"] = decode(case.name, encoding) 369 name, argument 384 self.name = name
|
| /honee/ |
| H A D | .clang-tidy | 1 Checks: "clang-diagnostic-*,clang-analyzer-*,readability-inconsistent-declaration-parameter-name,bu… 3 …AsErrors: "clang-diagnostic-*,clang-analyzer-*,readability-inconsistent-declaration-parameter-name"
|
| H A D | CONTRIBUTING.md | 21 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 D | Doxyfile | 41 # 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 …]
|
| /honee/src/smartsim/ |
| H A D | smartsim.c | 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 …st, PETSC_COMM_SELF, -1, "Tensor of name '%s' was not written to the database successfully", name); in SmartRedisVerifyPutTensor()
|
| /honee/tests/ |
| H A D | junit_common.py | 64 name: str = field(default_factory=str) variable in TestSpec 319 field_names = [f.name for f in test_fields] 580 save_path: Path = suite_spec.test_failure_artifacts_path / file.name 623 category=spec.name,) 640 category=spec.name,) 688 csv_name = ref_csv.name 692 ref_csv = (ref_csv.parent / ref_csv.name.rsplit('_', 1)[0]).with_suffix('.csv') 715 cgn_name = ref_cgn.name 719 ref_cgn = (ref_cgn.parent / ref_cgn.name.rsplit('_', 1)[0]).with_suffix('.cgns') 735 ref_name = ref_file.name [all …]
|
| /honee/problems/ |
| H A D | gaussianwave.c | 48 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 D | eulervortex.c | 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 D | channel.c | 114 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 D | stg_shur14.c | 312 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()
|
| H A D | newtonian.c | 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() 668 printf("%s[4] error %g (expected %.10e, got %.10e)\n", name, relative_error[4], Q_s[4], Q_a[4]); in CheckQWithTolerance()
|
| H A D | blasius.c | 229 const char *name; in NS_BLASIUS() local 231 PetscCall(BCDefinitionGetInfo(bc_def, &name, NULL, NULL)); in NS_BLASIUS() 232 if (!strcmp(name, "inflow")) { in NS_BLASIUS()
|
| H A D | bc_freestream.c | 188 …erance(const CeedScalar Q_s[5], const CeedScalar Q_a[5], const CeedScalar Q_b[5], const char *name, in CheckQWithTolerance() argument 203 printf("%s[0] error %g (expected %.10e, got %.10e)\n", name, relative_error[0], Q_s[0], Q_a[0]); in CheckQWithTolerance() 207 …printf("%s[%d] error %g (expected %.10e, got %.10e)\n", name, i, relative_error[i], Q_s[i], Q_a[i]… in CheckQWithTolerance() 211 printf("%s[4] error %g (expected %.10e, got %.10e)\n", name, relative_error[4], Q_s[4], Q_a[4]); in CheckQWithTolerance()
|
| /honee/tests/junit-xml/ |
| H A D | README.rst | 47 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/examples/meshes/ |
| H A D | Makefile | 24 $(info [ variable name]: $*)
|