Remove unnecessary output
This commit is contained in:
parent
f76d775050
commit
dc5bc42bb8
@ -299,17 +299,12 @@ void BTCSDiffusion::setBoundaryCondition(int index, bctype type, double value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline void BTCSDiffusion::solveLES() {
|
inline void BTCSDiffusion::solveLES() {
|
||||||
|
|
||||||
std::cout << A_matrix << std::endl;
|
|
||||||
|
|
||||||
// start to solve
|
// start to solve
|
||||||
Eigen::SparseLU<Eigen::SparseMatrix<double>, Eigen::COLAMDOrdering<int>>
|
Eigen::SparseLU<Eigen::SparseMatrix<double>, Eigen::COLAMDOrdering<int>>
|
||||||
solver;
|
solver;
|
||||||
solver.analyzePattern(A_matrix);
|
solver.analyzePattern(A_matrix);
|
||||||
|
|
||||||
|
|
||||||
solver.factorize(A_matrix);
|
solver.factorize(A_matrix);
|
||||||
|
|
||||||
std::cout << solver.lastErrorMessage() << " HHHHH" << std::endl;
|
|
||||||
x_vector = solver.solve(b_vector);
|
x_vector = solver.solve(b_vector);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user