Lines Matching full:if
44 if (string[0] == '\0') { in ISO8601TimeDurationToSeconds()
84 if (help_set) { in ProcessCommandLineOptions()
126 if (option_set) app_ctx->checkpoint_vtk = PETSC_TRUE; in ProcessCommandLineOptions()
139 if (!rank) PetscCall(PetscMkdir(app_ctx->output_dir)); in ProcessCommandLineOptions()
143 if (app_ctx->cont_file[0] != '\0') app_ctx->use_continue_file = PETSC_TRUE; in ProcessCommandLineOptions()
161 if (option_set) PetscCall(PetscStrallocpy(amat_type, (char **)&app_ctx->amat_type)); in ProcessCommandLineOptions()
166 …if (option_set) PetscCall(PetscPrintf(comm, "Warning! -pmat_pbdiagonal no longer used. Pmat assemb… in ProcessCommandLineOptions()
169 // Provide default ceed resource if not specified in ProcessCommandLineOptions()
170 if (!ceed_flag) { in ProcessCommandLineOptions()
174 // If we request a GPU, make sure PETSc has initialized its device (which is in ProcessCommandLineOptions()
177 …if (strncmp(app_ctx->ceed_resource, "/gpu", 4) == 0) PetscCall(PetscDeviceInitialize(PETSC_DEVICE_… in ProcessCommandLineOptions()
179 // Provide default problem if not specified in ProcessCommandLineOptions()
180 if (!problem_flag) { in ProcessCommandLineOptions()
195 if (app_ctx->sgs_train_enable) honee->set_poststep = PETSC_TRUE; in ProcessCommandLineOptions()
205 if (app_ctx->check_step_interval > 0) honee->set_poststep = PETSC_TRUE; in ProcessCommandLineOptions()
218 if (max_wall_time_duration == 0) honee->max_wall_time = -1; in ProcessCommandLineOptions()