Lines Matching full:if

17 // @brief Insert Boundary values if it's a new time
20 if (honee->time_bc_set != t) { in UpdateBoundaryValues()
40 if (honee->phys->solution_time_label) in RHS_NS()
43 if (honee->phys->timestep_size_label) in RHS_NS()
48if (honee->app_ctx->divFdiffproj_method != DIV_DIFF_FLUX_PROJ_NONE) PetscCall(DivDiffFluxProjectio… in RHS_NS()
54 // Run PCApply manually if using ksp_type preonly -pc_type jacobi in RHS_NS()
62 if (ispreonly && isjacobi) PetscCall(PCApply(pc, R, G)); in RHS_NS()
88 if (!wall_is) continue; // No wall points on this process, skip in Surface_Forces_NS()
129if (honee->phys->solution_time_label) PetscCallCeed(ceed, CeedOperatorSetContextDouble(honee->op_i… in IFunction_NS()
131if (honee->phys->timestep_size_label) PetscCallCeed(ceed, CeedOperatorSetContextDouble(honee->op_i… in IFunction_NS()
136if (honee->app_ctx->divFdiffproj_method != DIV_DIFF_FLUX_PROJ_NONE) PetscCall(DivDiffFluxProjectio… in IFunction_NS()
156 if (honee->app_ctx->sgs_model_type == SGS_MODEL_DATA_DRIVEN) { in IFunction_NS()
181 if (J_is_matceed || J_is_mffd) { in FormIJacobian_NS()
186 if (J_pre_is_matceed && J != J_pre) { in FormIJacobian_NS()
189 } else if (!J_pre_is_matceed && !J_pre_is_mffd && J != J_pre) { in FormIJacobian_NS()
201 if (honee->app_ctx->checkpoint_vtk) { in WriteOutput()
214 if (honee->dm_viz) { in WriteOutput()
240 if (honee->app_ctx->add_stepnum2bin) { in WriteOutput()
265 if (!viewer) PetscFunctionReturn(PETSC_SUCCESS); in TSMonitor_WallForce()
273 if (is_ascii) { in TSMonitor_WallForce()
274 if (format == PETSC_VIEWER_ASCII_CSV && !honee->app_ctx->wall_forces.header_written) { in TSMonitor_WallForce()
280 if (format == PETSC_VIEWER_ASCII_CSV) { in TSMonitor_WallForce()
300if (honee->app_ctx->checkpoint_interval <= 0 || step_no % honee->app_ctx->checkpoint_interval != 0… in TSMonitor_NS()
319 if (step % honee->app_ctx->check_step_interval) PetscFunctionReturn(PETSC_SUCCESS); in TSPostStep_CheckStep()
321 if (PetscIsInfOrNanReal(norm)) { in TSPostStep_CheckStep()
338 if (step % honee->max_wall_time_interval) PetscFunctionReturn(PETSC_SUCCESS); in TSPostStep_MaxWallTime()
341if (rank == 0) is_wall_time_exceeded = time(NULL) > honee->max_wall_time ? PETSC_TRUE : PETSC_FALS… in TSPostStep_MaxWallTime()
344 if (PetscUnlikely(is_wall_time_exceeded)) { in TSPostStep_MaxWallTime()
364 if (honee->max_wall_time > 0) PetscCall(TSPostStep_MaxWallTime(ts)); in TSPostStep_Honee()
365 if (honee->app_ctx->sgs_train_enable) PetscCall(TSPostStep_SGS_DD_Training(ts)); in TSPostStep_Honee()
366 if (honee->app_ctx->check_step_interval > 0) PetscCall(TSPostStep_CheckStep(ts)); in TSPostStep_Honee()
390 if (num_sols == 0) PetscFunctionReturn(PETSC_SUCCESS); in HoneeTSEvaluationSolutions()
396 if (!is_viewer_set) { in HoneeTSEvaluationSolutions()
419 if (phys->implicit) { in TSSolve_NS()
421 if (honee->op_ifunction) { in TSSolve_NS()
426 if (honee->mat_ijacobian) { in TSSolve_NS()
437 if (app_ctx->test_type == TESTTYPE_NONE) PetscCall(TSSetErrorIfStepFails(*ts, PETSC_FALSE)); in TSSolve_NS()
442 if (honee->mat_ijacobian) { in TSSolve_NS()
443 if (app_ctx->amat_type && !strcmp(app_ctx->amat_type, MATSHELL)) { in TSSolve_NS()
457 if (app_ctx->cont_steps) { // continue from previous timestep data in TSSolve_NS()
464 if (add_ksp_postsolve_residual) { in TSSolve_NS()
473 if (honee->set_poststep) PetscCall(TSSetPostStep(*ts, TSPostStep_Honee)); in TSSolve_NS()
474 if (app_ctx->test_type == TESTTYPE_NONE) PetscCall(TSMonitorSet(*ts, TSMonitor_NS, honee, NULL)); in TSSolve_NS()
475 if (app_ctx->wall_forces.viewer) PetscCall(TSMonitorSet(*ts, TSMonitor_WallForce, honee, NULL)); in TSSolve_NS()
495if (app_ctx->sgs_train_enable) PetscCall(TSMonitorSet(*ts, TSMonitor_SGS_DD_Training, honee, NULL)… in TSSolve_NS()
497if (app_ctx->test_type == TESTTYPE_NONE) PetscCall(PrintRunInfo(honee, honee->phys, problem, *ts)); in TSSolve_NS()
498if (honee->mass_ksp) PetscCall(KSPViewFromOptions(honee->mass_ksp, NULL, "-ksp_view_pre_ts_solve")… in TSSolve_NS()
510 if (PetscPreLoadingOn) { in TSSolve_NS()
539 if (app_ctx->test_type == TESTTYPE_NONE) { in TSSolve_NS()
545 if (honee->app_ctx->checkpoint_interval > 0 || honee->app_ctx->checkpoint_interval == -1) { in TSSolve_NS()