Files
opm-upscaling/CMakeLists_files.cmake
T
Bård Skaflestad 2920d59b20 Move Wave Speed Function to Separate Translation Unit
This function doesn't need to be inline so rather than adding an
'inline' specifier to guard against multiple definitions, just make
it a regular function defined in an implementation file and added
to the normal library.
2025-11-18 17:14:18 +01:00

225 lines
9.3 KiB
CMake

# This file sets up five lists:
# MAIN_SOURCE_FILES List of compilation units which will be included in
# the library. If it isn't on this list, it won't be
# part of the library. Please try to keep it sorted to
# maintain sanity.
#
# TEST_SOURCE_FILES List of programs that will be run as unit tests.
#
# TEST_DATA_FILES Files from the source three that should be made
# available in the corresponding location in the build
# tree in order to run tests there.
#
# EXAMPLE_SOURCE_FILES Other programs that will be compiled as part of the
# build, but which is not part of the library nor is
# run as tests.
#
# PUBLIC_HEADER_FILES List of public header files that should be
# distributed together with the library. The source
# files can of course include other files than these;
# you should only add to this list if the *user* of
# the library needs it.
#
# ATTIC_FILES Unmaintained files. This for the projects developers
# only. Don't expect these files to build.
# originally generated with the command:
# find tests -name '*.cpp' -a ! -wholename '*/not-unit/*' -printf '\t%p\n' | sort
list (APPEND TEST_SOURCE_FILES
tests/common/test_boundaryconditions.cpp
tests/common/test_matrix.cpp
tests/common/test_gravitypressure.cpp
)
list(APPEND MAIN_SOURCE_FILES
opm/core/transport/implicit/transport_source.c
opm/porsol/common/blas_lapack.cpp
opm/porsol/common/BoundaryPeriodicity.cpp
opm/porsol/common/ImplicitTransportDefs.cpp
opm/porsol/common/setupGridAndProps.cpp
opm/porsol/euler/ImplicitCapillarity.cpp
opm/upscaling/ParserAdditions.cpp
opm/upscaling/RelPermUtils.cpp
opm/upscaling/initCPGrid.cpp
opm/upscaling/writeECLData.cpp
opm/elasticity/boundarygrid.cpp
opm/elasticity/elasticity.cpp
opm/elasticity/elasticity_preconditioners.cpp
opm/elasticity/material.cpp
opm/elasticity/materials.cpp
opm/elasticity/matrixops.cpp
opm/elasticity/meshcolorizer.cpp
opm/elasticity/mpc.cpp
)
# originally generated with the command:
# find tests -name '*.xml' -a ! -wholename '*/not-unit/*' -printf '\t%p\n' | sort
list (APPEND TEST_DATA_FILES
tests/input_data/grids/PeriodicTilted.grdecl
tests/input_data/grids/27cellsAniso.grdecl
tests/input_data/grids/27cellsIso.grdecl
tests/input_data/grids/EightCells.grdecl
tests/input_data/grids/Hummocky.grdecl
tests/input_data/grids/benchmark_tiny_grid.grdecl
tests/input_data/grids/stone1.txt
tests/input_data/grids/stone2.txt
tests/input_data/grids/stoneAniso.txt
tests/input_data/grids/stonefile_benchmark.txt
tests/input_data/reference_solutions/upscale_perm_BCp_PeriodicTilted.txt
tests/input_data/reference_solutions/upscale_perm_BCflp_27cellsAniso.txt
tests/input_data/reference_solutions/upscale_perm_BCflp_27cellsIso.txt
tests/input_data/reference_solutions/upscale_perm_BCfl_EightCells.txt
tests/input_data/reference_solutions/upscale_perm_BCflp_Hummocky.txt
tests/input_data/reference_solutions/upscale_relperm_BCf_pts20_surfTens11_stonefile_benchmark_stonefile_benchmark_benchmark_tiny_grid.txt
tests/input_data/reference_solutions/upscale_relperm_BCf_pts30_surfTens11_stone1_stone1_EightCells.txt
tests/input_data/reference_solutions/upscale_relperm_BCf_pts30_surfTens11_stone1_stone2_EightCells.txt
tests/input_data/reference_solutions/upscale_relperm_BCf_pts20_surfTens11_stone1_stone1_EightCells.txt
tests/input_data/reference_solutions/upscale_relperm_BCl_pts30_surfTens11_stone1_stone1_EightCells.txt
tests/input_data/reference_solutions/upscale_relperm_BCf_pts30_surfTens45_stone1_stone1_EightCells.txt
tests/input_data/reference_solutions/upscale_relperm_BCf_pts30_surfTens11_stoneAniso_stoneAniso_27cellsAniso.txt
tests/input_data/reference_solutions/upscale_elasticity_mpc_EightCells.txt
tests/input_data/reference_solutions/upscale_elasticity_mortar_EightCells.txt
tests/input_data/reference_solutions/upscale_elasticity_mpc_EightCells.txt
tests/input_data/reference_solutions/upscale_elasticity_mortar_EightCells.txt
tests/input_data/reference_solutions/cpchop_PeriodicTilted.txt
)
# originally generated with the command:
# find examples -name '*.c*' -a ! -name 'twophase2_test.cpp' -printf '\t%p\n' | sort
list (APPEND EXAMPLE_SOURCE_FILES
examples/aniso_implicitcap_test.cpp
examples/aniso_simulator_test.cpp
examples/cpchop.cpp
examples/cpchop_depthtrend.cpp
examples/cpregularize.cpp
examples/exp_variogram.cpp
examples/grdecldips.cpp
examples/implicitcap_test.cpp
examples/known_answer_test.cpp
examples/mimetic_aniso_solver_test.cpp
examples/mimetic_periodic_test.cpp
examples/mimetic_solver_test.cpp
examples/sim_steadystate_explicit.cpp
examples/sim_steadystate_implicit.cpp
examples/steadystate_test_implicit.cpp
examples/upscale_avg.cpp
examples/upscale_cap.cpp
examples/upscale_cond.cpp
examples/upscale_perm.cpp
examples/upscale_relperm.cpp
examples/upscale_relpermvisc.cpp
examples/upscale_steadystate_implicit.cpp
examples/upscale_elasticity.cpp
tests/compareUpscaling.cpp
)
list (APPEND ADDITIONAL_SOURCE_FILES
benchmarks/upscale_relperm_benchmark.cpp
)
# programs listed here will not only be compiled, but also marked for
# installation
list (APPEND PROGRAM_SOURCE_FILES
examples/cpchop.cpp
examples/cpchop_depthtrend.cpp
examples/cpregularize.cpp
examples/exp_variogram.cpp
examples/grdecldips.cpp
examples/upscale_avg.cpp
examples/upscale_cap.cpp
examples/upscale_cond.cpp
examples/upscale_perm.cpp
examples/upscale_relperm.cpp
examples/upscale_relpermvisc.cpp
examples/upscale_steadystate_implicit.cpp
examples/upscale_elasticity.cpp
)
# originally generated with the command:
# find opm -name '*.h*' -a ! -name '*-pch.hpp' -printf '\t%p\n' | sort
list (APPEND PUBLIC_HEADER_FILES
opm/core/transport/implicit/ImplicitAssembly.hpp
opm/core/transport/implicit/ImplicitTransport.hpp
opm/core/transport/implicit/JacobianSystem.hpp
opm/core/transport/implicit/NormSupport.hpp
opm/core/transport/implicit/SinglePointUpwindTwoPhase.hpp
opm/core/transport/implicit/transport_source.h
opm/core/utility/Average.hpp
opm/porsol/common/BCRSMatrixBlockAssembler.hpp
opm/porsol/common/blas_lapack.hpp
opm/porsol/common/BoundaryConditions.hpp
opm/porsol/common/BoundaryPeriodicity.hpp
opm/porsol/common/fortran.hpp
opm/porsol/common/GridInterfaceEuler.hpp
opm/porsol/common/ImplicitTransportDefs.hpp
opm/porsol/common/Matrix.hpp
opm/porsol/common/MatrixInverse.hpp
opm/porsol/common/PeriodicHelpers.hpp
opm/porsol/common/ReservoirPropertyCapillaryAnisotropicRelperm.hpp
opm/porsol/common/ReservoirPropertyCapillaryAnisotropicRelperm_impl.hpp
opm/porsol/common/ReservoirPropertyCapillary.hpp
opm/porsol/common/ReservoirPropertyCapillary_impl.hpp
opm/porsol/common/ReservoirPropertyCommon.hpp
opm/porsol/common/ReservoirPropertyCommon_impl.hpp
opm/porsol/common/ReservoirPropertyFixedMobility.hpp
opm/porsol/common/ReservoirPropertyTracerFluid.hpp
opm/porsol/common/RockAnisotropicRelperm.hpp
opm/porsol/common/Rock.hpp
opm/porsol/common/Rock_impl.hpp
opm/porsol/common/RockJfunc.hpp
opm/porsol/common/setupBoundaryConditions.hpp
opm/porsol/common/setupGridAndProps.hpp
opm/porsol/common/SimulatorBase.hpp
opm/porsol/common/SimulatorTraits.hpp
opm/porsol/common/SimulatorUtilities.hpp
opm/porsol/common/Wells.hpp
opm/porsol/euler/CflCalculator.hpp
opm/porsol/euler/EulerUpstream.hpp
opm/porsol/euler/EulerUpstream_impl.hpp
opm/porsol/euler/EulerUpstreamImplicit.hpp
opm/porsol/euler/EulerUpstreamImplicit_impl.hpp
opm/porsol/euler/EulerUpstreamResidual.hpp
opm/porsol/euler/EulerUpstreamResidual_impl.hpp
opm/porsol/euler/ImplicitCapillarity.hpp
opm/porsol/euler/ImplicitCapillarity_impl.hpp
opm/porsol/euler/MatchSaturatedVolumeFunctor.hpp
opm/porsol/mimetic/IncompFlowSolverHybrid.hpp
opm/porsol/mimetic/MimeticIPAnisoRelpermEvaluator.hpp
opm/porsol/mimetic/MimeticIPEvaluator.hpp
opm/upscaling/ParserAdditions.hpp
opm/upscaling/SinglePhaseUpscaler.hpp
opm/upscaling/SteadyStateUpscaler.hpp
opm/upscaling/SteadyStateUpscaler_impl.hpp
opm/upscaling/SteadyStateUpscalerImplicit.hpp
opm/upscaling/SteadyStateUpscalerImplicit_impl.hpp
opm/upscaling/SteadyStateUpscalerManager.hpp
opm/upscaling/SteadyStateUpscalerManagerImplicit.hpp
opm/upscaling/UpscalerBase.hpp
opm/upscaling/UpscalerBase_impl.hpp
opm/upscaling/UpscalingTraits.hpp
opm/upscaling/CornerpointChopper.hpp
opm/upscaling/initCPGrid.hpp
opm/upscaling/writeECLData.hpp
opm/elasticity/applier.hpp
opm/elasticity/asmhandler.hpp
opm/elasticity/asmhandler_impl.hpp
opm/elasticity/boundarygrid.hh
opm/elasticity/elasticity.hpp
opm/elasticity/elasticity_impl.hpp
opm/elasticity/elasticity_preconditioners.hpp
opm/elasticity/elasticity_upscale.hpp
opm/elasticity/elasticity_upscale_impl.hpp
opm/elasticity/logutils.hpp
opm/elasticity/material.hh
opm/elasticity/materials.hh
opm/elasticity/matrixops.hpp
opm/elasticity/meshcolorizer.hpp
opm/elasticity/mortar_evaluator.hpp
opm/elasticity/mortar_schur.hpp
opm/elasticity/mortar_schur_precond.hpp
opm/elasticity/mortar_utils.hpp
opm/elasticity/mpc.hh
opm/elasticity/shapefunctions.hpp
opm/elasticity/uzawa_solver.hpp
)