Searched refs:J_pre (Results 1 – 3 of 3) sorted by relevance
| /libCEED/examples/solids/src/ |
| H A D | misc.c | 78 PetscErrorCode FormJacobian(SNES snes, Vec U, Mat J, Mat J_pre, void *ctx) { in FormJacobian() argument 100 PetscCall(MatAssemblyBegin(J_pre, MAT_FINAL_ASSEMBLY)); in FormJacobian() 101 PetscCall(MatAssemblyEnd(J_pre, MAT_FINAL_ASSEMBLY)); in FormJacobian() 102 if (J != J_pre) { in FormJacobian()
|
| /libCEED/examples/fluids/src/ |
| H A D | setupts.c | 152 …bian_NS(TS ts, PetscReal t, Vec Q, Vec Q_dot, PetscReal shift, Mat J, Mat J_pre, void *user_data) { in FormIJacobian_NS() argument 159 PetscCall(PetscObjectTypeCompare((PetscObject)J_pre, MATMFFD, &J_pre_is_mffd)); in FormIJacobian_NS() 160 PetscCall(PetscObjectTypeCompare((PetscObject)J_pre, MATCEED, &J_pre_is_matceed)); in FormIJacobian_NS() 169 if (J_pre_is_matceed && J != J_pre) { in FormIJacobian_NS() 170 PetscCall(MatAssemblyBegin(J_pre, MAT_FINAL_ASSEMBLY)); in FormIJacobian_NS() 171 PetscCall(MatAssemblyEnd(J_pre, MAT_FINAL_ASSEMBLY)); in FormIJacobian_NS() 172 } else if (!J_pre_is_matceed && !J_pre_is_mffd && J != J_pre) { in FormIJacobian_NS() 173 PetscCall(MatCeedAssembleCOO(user->mat_ijacobian, J_pre)); in FormIJacobian_NS()
|
| /libCEED/examples/solids/include/ |
| H A D | misc.h | 29 PetscErrorCode FormJacobian(SNES snes, Vec U, Mat J, Mat J_pre, void *ctx);
|