Lines Matching full:if

18 // Insert Boundary values if it's a new time
21 if (user->time_bc_set != t) { in UpdateBoundaryValues()
41if (user->phys->solution_time_label) PetscCallCeed(ceed, CeedOperatorSetContextDouble(user->op_rhs… in RHS_NS()
43if (user->phys->timestep_size_label) PetscCallCeed(ceed, CeedOperatorSetContextDouble(user->op_rhs… in RHS_NS()
74 if (wall_is) { // There exist such points on this process in Surface_Forces_NS()
116if (user->phys->solution_time_label) PetscCallCeed(ceed, CeedOperatorSetContextDouble(user->op_ifu… in IFunction_NS()
118if (user->phys->timestep_size_label) PetscCallCeed(ceed, CeedOperatorSetContextDouble(user->op_ifu… in IFunction_NS()
164 if (J_is_matceed || J_is_mffd) { in FormIJacobian_NS()
169 if (J_pre_is_matceed && J != J_pre) { in FormIJacobian_NS()
172 } else if (!J_pre_is_matceed && !J_pre_is_mffd && J != J_pre) { in FormIJacobian_NS()
184 if (user->app_ctx->checkpoint_vtk) { in WriteOutput()
197 if (user->dm_viz) { in WriteOutput()
223 if (user->app_ctx->add_stepnum2bin) { in WriteOutput()
252 if (!viewer) PetscFunctionReturn(PETSC_SUCCESS); in TSMonitor_WallForce()
260 if (iascii) { in TSMonitor_WallForce()
261 if (format == PETSC_VIEWER_ASCII_CSV && !user->app_ctx->wall_forces.header_written) { in TSMonitor_WallForce()
267 if (format == PETSC_VIEWER_ASCII_CSV) { in TSMonitor_WallForce()
287if (user->app_ctx->checkpoint_interval <= 0 || step_no % user->app_ctx->checkpoint_interval != 0 || in TSMonitor_NS()
306 if (phys->implicit) { in TSSolve_NS()
308 if (user->op_ifunction) { in TSSolve_NS()
313 if (user->mat_ijacobian) { in TSSolve_NS()
324 if (app_ctx->test_type == TESTTYPE_NONE) PetscCall(TSSetErrorIfStepFails(*ts, PETSC_FALSE)); in TSSolve_NS()
329 if (user->mat_ijacobian) { in TSSolve_NS()
330 if (app_ctx->amat_type && !strcmp(app_ctx->amat_type, MATSHELL)) { in TSSolve_NS()
344 if (app_ctx->cont_steps) { // continue from previous timestep data in TSSolve_NS()
348 if (app_ctx->cont_time <= 0) { // Legacy files did not include step number and time in TSSolve_NS()
358 if (app_ctx->test_type == TESTTYPE_NONE) { in TSSolve_NS()
361 if (app_ctx->wall_forces.viewer) { in TSSolve_NS()
364 if (app_ctx->turb_spanstats_enable) { in TSSolve_NS()
370if (app_ctx->diff_filter_monitor) PetscCall(TSMonitorSet(*ts, TSMonitor_DifferentialFilter, user, … in TSSolve_NS()
372 if (app_ctx->test_type == TESTTYPE_NONE) PetscCall(PrintRunInfo(user, user->phys, problem, *ts)); in TSSolve_NS()
383 if (PetscPreLoadingOn) { in TSSolve_NS()
407 if (app_ctx->test_type == TESTTYPE_NONE) { in TSSolve_NS()
410 if (user->app_ctx->checkpoint_interval > 0 || user->app_ctx->checkpoint_interval == -1) { in TSSolve_NS()