Commit 0a33c222 authored by Alexander Danilov's avatar Alexander Danilov

Solver: fix compilation with USE_SOLVER=OFF

parent ff91bd01
#add_subdirectory(DrawGrid)
add_subdirectory(OldDrawGrid)
if(USE_SOLVER)
add_subdirectory(DrawMatrix)
add_subdirectory(MatSolve)
endif(USE_SOLVER)
add_subdirectory(GridGen)
if(USE_SOLVER AND USE_MESH)
add_subdirectory(FVDiscr)
add_subdirectory(Solver)
endif(USE_SOLVER AND USE_MESH)
if(USE_AUTODIFF AND USE_SOLVER AND USE_MESH)
add_subdirectory(ADFVDiscr)
add_subdirectory(ADMFD)
endif(USE_AUTODIFF AND USE_SOLVER AND USE_MESH)
#add_subdirectory(OctreeCutcell)
add_subdirectory(Solver)
\ No newline at end of file
#add_subdirectory(OctreeCutcell)
\ No newline at end of file
#define _CRT_SECURE_NO_WARNINGS
#include <iomanip>
#include "inmost_solver.h"
#if defined(USE_SOLVER)
#include "solver_ddpqiluc2.hpp"
......@@ -3435,4 +3436,5 @@ swap_algorithm:
{
if (!isFinalized()) Finalize();
}
#endif
#include "inmost_solver.h"
#if defined(USE_SOLVER)
#include "solver_mtilu2.hpp"
#define DEFAULT_TAU 0.005
......@@ -1087,4 +1089,5 @@ void MTILU2_preconditioner::DumpMatrix(interval<INMOST_DATA_ENUM_TYPE, INMOST_DA
}
info->Accumulate(output);
return true;
}
\ No newline at end of file
}
#endif
\ No newline at end of file
#define _CRT_SECURE_NO_WARNINGS
#include <iomanip>
#include "inmost_solver.h"
#if defined(USE_SOLVER)
#include "solver_mtiluc2.hpp"
#include <sstream>
//#define REPORT_ILU
......@@ -3133,4 +3134,5 @@ swap_algorithm:
{
if (!isFinalized()) Finalize();
}
#endif
#define _CRT_SECURE_NO_WARNINGS
#include "inmost_sparse.h"
#if defined(USE_SOLVER)
#include <fstream>
#include <sstream>
......@@ -1245,4 +1246,5 @@ namespace INMOST
}
}
}
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment