[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-commits] [getfem-commits] branch master updated: Enable test to
From: |
Konstantinos Poulios |
Subject: |
[Getfem-commits] [getfem-commits] branch master updated: Enable test to run without superlu and convert file to UTF8 |
Date: |
Tue, 24 Dec 2024 18:51:00 -0500 |
This is an automated email from the git hooks/post-receive script.
logari81 pushed a commit to branch master
in repository getfem.
The following commit(s) were added to refs/heads/master by this push:
new 95c4a0ed Enable test to run without superlu and convert file to UTF8
95c4a0ed is described below
commit 95c4a0ede923619c6ccb8da4e3f70f179f95f20e
Author: Konstantinos Poulios <logari81@gmail.com>
AuthorDate: Wed Dec 25 00:50:47 2024 +0100
Enable test to run without superlu and convert file to UTF8
---
contrib/xfem_contact/xfem_dirichlet.cc | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/contrib/xfem_contact/xfem_dirichlet.cc
b/contrib/xfem_contact/xfem_dirichlet.cc
index 740d4fdc..e756bb57 100644
--- a/contrib/xfem_contact/xfem_dirichlet.cc
+++ b/contrib/xfem_contact/xfem_dirichlet.cc
@@ -788,7 +788,7 @@ int main(int argc, char *argv[]) {
//cout << "nb_dof_mult = " << mf_mult.nb_dof() << endl;
gmm::range_basis(BRBB, cols, 1e-12);
mf_mult.reduce_to_basic_dof(cols);
- // penser � l'optimisation sur les mailles ...
+ // penser à l'optimisation sur les mailles ...
// kept_dof_mult = select_dofs_from_im(pre_mf_mult, mimbounddown, N-1);
@@ -1055,9 +1055,13 @@ int main(int argc, char *argv[]) {
plain_vector BE(mf.nb_basic_dof()), BS(mf.nb_basic_dof()), BBS(nb_dof);
for (dal::bv_visitor i(dof_black_list); !i.finished(); ++i) {
BE[i] = scalar_type(1);
+#if defined(GMM_USES_SUPERLU)
// TODO: store LU decomp.
double rcond;
gmm::SuperLU_solve(EO, BS, BE, rcond);
+#else
+ gmm::MUMPS_solve(EO, BS, BE);
+#endif
gmm::mult(gmm::transposed(mf.extension_matrix()), BS, BBS);
gmm::mult(gmm::transposed(T1), BBS, gmm::mat_row(E1, i));
BE[i] = scalar_type(0);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Getfem-commits] [getfem-commits] branch master updated: Enable test to run without superlu and convert file to UTF8,
Konstantinos Poulios <=