Skip to content

Commit 07c6ec8

Browse files
committed
attempt at passing tests with 3.19
1 parent dc2cde6 commit 07c6ec8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/pdes/petsc_ts.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ int feenox_problem_solve_petsc_transient(void) {
5252
feenox_call(feenox_problem_build());
5353
}
5454

55-
feenox_check_alloc(feenox.pde.J_ts = feenox_problem_create_matrix("J_ts"));
56-
// petsc_call(MatDuplicate(feenox.pde.has_jacobian_K ? feenox.pde.JK : feenox.pde.K, MAT_COPY_VALUES, &feenox.pde.J_ts));
55+
// THINK! whats is going on here?
56+
// feenox_check_alloc(feenox.pde.J_ts = feenox_problem_create_matrix("J_ts"));
57+
petsc_call(MatDuplicate(feenox.pde.has_jacobian_K ? feenox.pde.JK : feenox.pde.K, MAT_COPY_VALUES, &feenox.pde.J_ts));
5758
petsc_call(TSSetIJacobian(feenox.pde.ts, feenox.pde.J_ts, feenox.pde.J_ts, feenox_ts_jacobian, NULL));
5859

5960
petsc_call(TSSetProblemType(feenox.pde.ts, (feenox.pde.math_type == math_type_linear) ? TS_LINEAR : TS_NONLINEAR));

0 commit comments

Comments
 (0)