235 lines
12 KiB
Makefile
235 lines
12 KiB
Makefile
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
# Recurse to build examples after libraries
|
|
SUBDIRS = . tests examples tutorials
|
|
|
|
CPPFLAGS += $(BOOST_CPPFLAGS)
|
|
LIBS += $(BOOST_LDFLAGS) \
|
|
$(BOOST_FILESYSTEM_LIB) \
|
|
$(BOOST_SYSTEM_LIB) \
|
|
$(BOOST_DATE_TIME_LIB) \
|
|
$(BOOST_UNIT_TEST_FRAMEWORK_LIB) \
|
|
$(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)
|
|
|
|
# Declare libraries
|
|
lib_LTLIBRARIES = libopmcore.la
|
|
|
|
libopmcore_la_SOURCES = \
|
|
opm/core/eclipse/EclipseGridInspector.cpp \
|
|
opm/core/eclipse/EclipseGridParser.cpp \
|
|
opm/core/fluid/blackoil/BlackoilPvtProperties.cpp \
|
|
opm/core/fluid/blackoil/SinglePvtDead.cpp \
|
|
opm/core/fluid/blackoil/SinglePvtLiveGas.cpp \
|
|
opm/core/fluid/blackoil/SinglePvtLiveOil.cpp \
|
|
opm/core/fluid/blackoil/SinglePvtInterface.cpp \
|
|
opm/core/fluid/BlackoilPropertiesBasic.cpp \
|
|
opm/core/fluid/BlackoilPropertiesFromDeck.cpp \
|
|
opm/core/fluid/IncompPropertiesBasic.cpp \
|
|
opm/core/fluid/IncompPropertiesFromDeck.cpp \
|
|
opm/core/fluid/PvtPropertiesBasic.cpp \
|
|
opm/core/fluid/PvtPropertiesIncompFromDeck.cpp \
|
|
opm/core/fluid/RockBasic.cpp \
|
|
opm/core/fluid/RockCompressibility.cpp \
|
|
opm/core/fluid/RockFromDeck.cpp \
|
|
opm/core/fluid/SaturationPropsBasic.cpp \
|
|
opm/core/fluid/SaturationPropsFromDeck.cpp \
|
|
opm/core/utility/MonotCubicInterpolator.cpp \
|
|
opm/core/utility/parameters/Parameter.cpp \
|
|
opm/core/utility/parameters/ParameterGroup.cpp \
|
|
opm/core/utility/parameters/ParameterTools.cpp \
|
|
opm/core/utility/parameters/ParameterXML.cpp \
|
|
opm/core/utility/parameters/tinyxml/tinystr.cpp \
|
|
opm/core/utility/parameters/tinyxml/tinyxml.cpp \
|
|
opm/core/utility/parameters/tinyxml/tinyxmlerror.cpp \
|
|
opm/core/utility/parameters/tinyxml/tinyxmlparser.cpp \
|
|
opm/core/utility/cart_grid.c \
|
|
opm/core/utility/cpgpreprocess/geometry.c \
|
|
opm/core/utility/cpgpreprocess/preprocess.c \
|
|
opm/core/utility/cpgpreprocess/readvector.cpp \
|
|
opm/core/utility/cpgpreprocess/cgridinterface.c \
|
|
opm/core/utility/cpgpreprocess/sparsetable.c \
|
|
opm/core/utility/cpgpreprocess/facetopology.c \
|
|
opm/core/utility/cpgpreprocess/uniquepoints.c \
|
|
opm/core/utility/miscUtilities.cpp \
|
|
opm/core/utility/SimulatorTimer.cpp \
|
|
opm/core/utility/StopWatch.cpp \
|
|
opm/core/utility/newwells.c \
|
|
opm/core/utility/writeVtkData.cpp \
|
|
opm/core/GridManager.cpp \
|
|
opm/core/WellsManager.cpp \
|
|
opm/core/WellsGroup.cpp \
|
|
opm/core/WellCollection.cpp \
|
|
opm/core/InjectionSpecification.cpp \
|
|
opm/core/ProductionSpecification.cpp \
|
|
opm/core/linalg/sparse_sys.c \
|
|
opm/core/linalg/LinearSolverInterface.cpp \
|
|
opm/core/pressure/cfsh.c \
|
|
opm/core/pressure/flow_bc.c \
|
|
opm/core/pressure/FlowBCManager.cpp \
|
|
opm/core/pressure/well.c \
|
|
opm/core/pressure/fsh_common_impl.c \
|
|
opm/core/pressure/fsh.c \
|
|
opm/core/pressure/tpfa/ifs_tpfa.c \
|
|
opm/core/pressure/tpfa/compr_source.c \
|
|
opm/core/pressure/tpfa/cfs_tpfa.c \
|
|
opm/core/pressure/tpfa/compr_bc.c \
|
|
opm/core/pressure/tpfa/compr_quant.c \
|
|
opm/core/pressure/tpfa/compr_quant_general.c \
|
|
opm/core/pressure/tpfa/cfs_tpfa_residual.c \
|
|
opm/core/pressure/tpfa/trans_tpfa.c \
|
|
opm/core/pressure/msmfem/coarse_conn.c \
|
|
opm/core/pressure/msmfem/partition.c \
|
|
opm/core/pressure/msmfem/hash_set.c \
|
|
opm/core/pressure/msmfem/ifsh_ms.c \
|
|
opm/core/pressure/msmfem/dfs.c \
|
|
opm/core/pressure/msmfem/coarse_sys.c \
|
|
opm/core/pressure/ifsh.c \
|
|
opm/core/pressure/mimetic/mimetic.c \
|
|
opm/core/pressure/mimetic/hybsys_global.c \
|
|
opm/core/pressure/mimetic/hybsys.c \
|
|
opm/core/transport/spu_explicit.c \
|
|
opm/core/transport/spu_implicit.c \
|
|
opm/core/transport/transport_source.c \
|
|
opm/core/transport/reorder/TransportModelInterface.cpp \
|
|
opm/core/transport/reorder/TransportModelTwophase.cpp \
|
|
opm/core/transport/reorder/reordersequence.cpp \
|
|
opm/core/transport/reorder/nlsolvers.c \
|
|
opm/core/transport/reorder/tarjan.c
|
|
|
|
nobase_include_HEADERS = \
|
|
opm/core/eclipse/CornerpointChopper.hpp \
|
|
opm/core/eclipse/EclipseGridInspector.hpp \
|
|
opm/core/eclipse/EclipseGridParser.hpp \
|
|
opm/core/eclipse/EclipseGridParserHelpers.hpp \
|
|
opm/core/eclipse/EclipseUnits.hpp \
|
|
opm/core/eclipse/SpecialEclipseFields.hpp \
|
|
opm/core/fluid/BlackoilPropertiesInterface.hpp \
|
|
opm/core/fluid/BlackoilPropertiesBasic.hpp \
|
|
opm/core/fluid/BlackoilPropertiesFromDeck.hpp \
|
|
opm/core/fluid/IncompPropertiesInterface.hpp \
|
|
opm/core/fluid/IncompPropertiesBasic.hpp \
|
|
opm/core/fluid/IncompPropertiesFromDeck.hpp \
|
|
opm/core/fluid/PvtPropertiesBasic.hpp \
|
|
opm/core/fluid/PvtPropertiesIncompFromDeck.hpp \
|
|
opm/core/fluid/RockBasic.hpp \
|
|
opm/core/fluid/RockCompressibility.hpp \
|
|
opm/core/fluid/RockFromDeck.hpp \
|
|
opm/core/fluid/SaturationPropsBasic.hpp \
|
|
opm/core/fluid/SaturationPropsFromDeck.hpp \
|
|
opm/core/fluid/SimpleFluid2p.hpp \
|
|
opm/core/fluid/blackoil/phaseUsageFromDeck.hpp \
|
|
opm/core/fluid/blackoil/BlackoilPhases.hpp \
|
|
opm/core/fluid/blackoil/BlackoilPvtProperties.hpp \
|
|
opm/core/fluid/blackoil/SinglePvtDead.hpp \
|
|
opm/core/fluid/blackoil/SinglePvtLiveGas.hpp \
|
|
opm/core/fluid/blackoil/SinglePvtLiveOil.hpp \
|
|
opm/core/fluid/blackoil/SinglePvtInterface.hpp \
|
|
opm/core/fluid/blackoil/SinglePvtConstCompr.hpp \
|
|
opm/core/utility/Average.hpp \
|
|
opm/core/utility/ErrorMacros.hpp \
|
|
opm/core/utility/Factory.hpp \
|
|
opm/core/utility/MonotCubicInterpolator.hpp \
|
|
opm/core/utility/parameters/Parameter.hpp \
|
|
opm/core/utility/parameters/ParameterGroup.hpp \
|
|
opm/core/utility/parameters/ParameterGroup_impl.hpp \
|
|
opm/core/utility/parameters/ParameterMapItem.hpp \
|
|
opm/core/utility/parameters/ParameterRequirement.hpp \
|
|
opm/core/utility/parameters/ParameterStrings.hpp \
|
|
opm/core/utility/parameters/ParameterTools.hpp \
|
|
opm/core/utility/parameters/ParameterXML.hpp \
|
|
opm/core/utility/parameters/tinyxml/tinystr.h \
|
|
opm/core/utility/parameters/tinyxml/tinyxml.h \
|
|
opm/core/utility/RootFinders.hpp \
|
|
opm/core/utility/SimulatorTimer.hpp \
|
|
opm/core/utility/SparseTable.hpp \
|
|
opm/core/utility/SparseVector.hpp \
|
|
opm/core/utility/StopWatch.hpp \
|
|
opm/core/utility/UniformTableLinear.hpp \
|
|
opm/core/utility/Units.hpp \
|
|
opm/core/utility/buildUniformMonotoneTable.hpp \
|
|
opm/core/utility/initState.hpp \
|
|
opm/core/utility/initState_impl.hpp \
|
|
opm/core/utility/linInt.hpp \
|
|
opm/core/utility/linearInterpolation.hpp \
|
|
opm/core/utility/miscUtilities.hpp \
|
|
opm/core/utility/cpgpreprocess/readvector.hpp \
|
|
opm/core/utility/cpgpreprocess/uniquepoints.h \
|
|
opm/core/utility/cpgpreprocess/preprocess.h \
|
|
opm/core/utility/cpgpreprocess/sparsetable.h \
|
|
opm/core/utility/cpgpreprocess/cgridinterface.h \
|
|
opm/core/utility/cpgpreprocess/geometry.h \
|
|
opm/core/utility/cpgpreprocess/facetopology.h \
|
|
opm/core/utility/cpgpreprocess/grdecl.h \
|
|
opm/core/utility/cart_grid.h \
|
|
opm/core/utility/writeVtkData.hpp \
|
|
opm/core/linalg/sparse_sys.h \
|
|
opm/core/linalg/blas_lapack.h \
|
|
opm/core/linalg/LinearSolverInterface.hpp \
|
|
opm/core/grid.h \
|
|
opm/core/well.h \
|
|
opm/core/newwells.h \
|
|
opm/core/WellsGroup.hpp \
|
|
opm/core/WellCollection.hpp \
|
|
opm/core/InjectionSpecification.hpp \
|
|
opm/core/ProductionSpecification.hpp \
|
|
opm/core/ColumnExtract.hpp \
|
|
opm/core/GridAdapter.hpp \
|
|
opm/core/GridManager.hpp \
|
|
opm/core/TwophaseState.hpp \
|
|
opm/core/WellsManager.hpp \
|
|
opm/core/pressure/fsh.h \
|
|
opm/core/pressure/HybridPressureSolver.hpp \
|
|
opm/core/pressure/IncompTpfa.hpp \
|
|
opm/core/pressure/TPFAPressureSolver.hpp \
|
|
opm/core/pressure/tpfa/compr_quant.h \
|
|
opm/core/pressure/tpfa/compr_source.h \
|
|
opm/core/pressure/tpfa/compr_bc.h \
|
|
opm/core/pressure/tpfa/cfs_tpfa.h \
|
|
opm/core/pressure/tpfa/compr_quant_general.h \
|
|
opm/core/pressure/tpfa/trans_tpfa.h \
|
|
opm/core/pressure/tpfa/cfs_tpfa_residual.h \
|
|
opm/core/pressure/tpfa/ifs_tpfa.h \
|
|
opm/core/pressure/TPFACompressiblePressureSolver.hpp \
|
|
opm/core/pressure/msmfem/coarse_sys.h \
|
|
opm/core/pressure/msmfem/hash_set.h \
|
|
opm/core/pressure/msmfem/ifsh_ms.h \
|
|
opm/core/pressure/msmfem/dfs.h \
|
|
opm/core/pressure/msmfem/partition.h \
|
|
opm/core/pressure/msmfem/coarse_conn.h \
|
|
opm/core/pressure/flow_bc.h \
|
|
opm/core/pressure/FlowBCManager.hpp \
|
|
opm/core/pressure/fsh_common_impl.h \
|
|
opm/core/pressure/mimetic/hybsys_global.h \
|
|
opm/core/pressure/mimetic/hybsys.h \
|
|
opm/core/pressure/mimetic/mimetic.h \
|
|
opm/core/transport/ImplicitTransport.hpp \
|
|
opm/core/transport/CSRMatrixUmfpackSolver.hpp \
|
|
opm/core/transport/CSRMatrixBlockAssembler.hpp \
|
|
opm/core/transport/SimpleFluid2pWrapper.hpp \
|
|
opm/core/transport/SinglePointUpwindTwoPhase.hpp \
|
|
opm/core/transport/NormSupport.hpp \
|
|
opm/core/transport/spu_explicit.h \
|
|
opm/core/transport/JacobianSystem.hpp \
|
|
opm/core/transport/spu_implicit.h \
|
|
opm/core/transport/ImplicitAssembly.hpp \
|
|
opm/core/transport/transport_source.h \
|
|
opm/core/transport/GravityColumnSolver.hpp \
|
|
opm/core/transport/GravityColumnSolver_impl.hpp \
|
|
opm/core/transport/reorder/TransportModelInterface.hpp \
|
|
opm/core/transport/reorder/TransportModelTwophase.hpp \
|
|
opm/core/transport/reorder/nlsolvers.h \
|
|
opm/core/transport/reorder/reordersequence.h \
|
|
opm/core/transport/reorder/tarjan.h
|
|
|
|
|
|
if UMFPACK
|
|
libopmcore_la_SOURCES += \
|
|
opm/core/linalg/call_umfpack.c \
|
|
opm/core/linalg/LinearSolverUmfpack.cpp \
|
|
opm/core/pressure/IncompTpfa.cpp
|
|
|
|
nobase_include_HEADERS += \
|
|
opm/core/linalg/call_umfpack.h \
|
|
opm/core/linalg/LinearSolverUmfpack.hpp
|
|
endif
|