Skip to content

Commit ed66cb4

Browse files
committed
bug
1 parent ce8bd37 commit ed66cb4

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

include/interfaces/poisson_problem.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ PoissonProblem<dim,spacedim,LAC>::compute_system_operators(const std::vector<sha
136136
// PETSc_preconditioner.reset (new PETScWrappers::PreconditionJacobi());
137137
// PETSc_preconditioner->initialize(matrices[0]->block(0,0));
138138
//
139-
// auto A = linear_operator<LAPETSc::VectorType::BlockType>( matrices[0]->block(0,0) );
139+
auto A = linear_operator<LAPETSc::VectorType::BlockType>( matrices[0]->block(0,0) );
140140
//
141141
// LinearOperator<LAPETSc::VectorType::BlockType> P_inv;
142142
//
@@ -145,14 +145,14 @@ PoissonProblem<dim,spacedim,LAC>::compute_system_operators(const std::vector<sha
145145
// auto P00 = P_inv;
146146
//
147147
// // ASSEMBLE THE PROBLEM:
148-
// system_op = block_operator<1, 1, LAPETSc::VectorType>({{
149-
// {{ A }}
150-
// }
151-
// });
152-
//
153-
// prec_op = block_operator<1, 1, LAPETSc::VectorType>({{
154-
// {{ P00}} ,
155-
// }
156-
// });
148+
system_op = block_operator<1, 1, LAPETSc::VectorType>({{
149+
{{ A }}
150+
}
151+
});
152+
153+
prec_op = block_operator<1, 1, LAPETSc::VectorType>({{
154+
{{ A }} ,
155+
}
156+
});
157157
}
158158
#endif

0 commit comments

Comments
 (0)