Skip to content
Snippets Groups Projects
Commit 3b2f322d authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fic comp

parent 65942139
No related branches found
No related tags found
No related merge requests found
...@@ -798,6 +798,7 @@ void PrintOptionsDoc() ...@@ -798,6 +798,7 @@ void PrintOptionsDoc()
fprintf(file, "@end ftable\n"); fprintf(file, "@end ftable\n");
fclose(file); fclose(file);
#if !defined(HAVE_NO_MESH)
file = fopen("opt_fields.texi", "w"); file = fopen("opt_fields.texi", "w");
if(!file) { if(!file) {
Msg::Error("Unable to open file 'opt_fields.texi'"); Msg::Error("Unable to open file 'opt_fields.texi'");
...@@ -828,6 +829,7 @@ void PrintOptionsDoc() ...@@ -828,6 +829,7 @@ void PrintOptionsDoc()
} }
fprintf(file, "@end ftable\n"); fprintf(file, "@end ftable\n");
fclose(file); fclose(file);
#endif
#endif #endif
} }
......
...@@ -508,10 +508,10 @@ GFaceCompound::GFaceCompound(GModel *m, int tag, std::list<GFace*> &compound, ...@@ -508,10 +508,10 @@ GFaceCompound::GFaceCompound(GModel *m, int tag, std::list<GFace*> &compound,
{ {
if (!_lsys) { if (!_lsys) {
#if defined(HAVE_PETSC) #if defined(HAVE_TAUCS)
_lsys = new linearSystemPETSc<double>;
#elif defined(HAVE_TAUCS)
_lsys = new linearSystemCSRTaucs<double>; _lsys = new linearSystemCSRTaucs<double>;
#elif defined(HAVE_PETSC)
_lsys = new linearSystemPETSc<double>;
#elif defined(HAVE_GMM) #elif defined(HAVE_GMM)
linearSystemGmm<double> *_lsysb = new linearSystemGmm<double>; linearSystemGmm<double> *_lsysb = new linearSystemGmm<double>;
_lsysb->setGmres(1); _lsysb->setGmres(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment