Searched refs:J_pre (Results 1 – 1 of 1) sorted by relevance
| /honee/src/ |
| H A D | setupts.c | 169 …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 176 PetscCall(PetscObjectTypeCompare((PetscObject)J_pre, MATMFFD, &J_pre_is_mffd)); in FormIJacobian_NS() 177 PetscCall(PetscObjectTypeCompare((PetscObject)J_pre, MATCEED, &J_pre_is_matceed)); in FormIJacobian_NS() 186 if (J_pre_is_matceed && J != J_pre) { in FormIJacobian_NS() 187 PetscCall(MatAssemblyBegin(J_pre, MAT_FINAL_ASSEMBLY)); in FormIJacobian_NS() 188 PetscCall(MatAssemblyEnd(J_pre, MAT_FINAL_ASSEMBLY)); in FormIJacobian_NS() 189 } else if (!J_pre_is_matceed && !J_pre_is_mffd && J != J_pre) { in FormIJacobian_NS() 190 PetscCall(MatCeedAssembleCOO(honee->mat_ijacobian, J_pre)); in FormIJacobian_NS()
|