Commit 8c2a20a9 authored by Antonio Cervone's avatar Antonio Cervone
Browse files

cmake update for ZeroDimensional classes

parent f349942e
add_library ( lifealg SolverAmesos.cpp
PreconditionerML.cpp
PreconditionerComposed.cpp
LinearEpetraOperatorBlock.cpp
add_library ( lifealg LinearEpetraOperatorBlock.cpp
SolverAztecOO.cpp
EigenSolver.cpp
Preconditioner.cpp
PreconditionerIfpack.cpp
PreconditionerAztecOO.cpp
SolverAztecOO.cpp
Preconditioner.cpp )
PreconditionerComposed.cpp
PreconditionerML.cpp
SolverAmesos.cpp
PreconditionerAztecOO.cpp )
install ( TARGETS lifealg DESTINATION lib )
install ( FILES ComposedOperator.hpp
EigenSolver.hpp
......
add_library ( lifearray MapEpetra.cpp
add_library ( lifearray VectorEpetra.cpp
MatrixElemental.cpp
VectorEpetraStructuredView.cpp
VectorElemental.cpp
VectorEpetraStructured.cpp
VectorEpetra.cpp )
MapEpetra.cpp
VectorEpetraStructured.cpp )
install ( TARGETS lifearray DESTINATION lib )
install ( FILES ArraySimple.hpp
MapEpetra.hpp
......
add_library ( lifecore LifeVersion.cpp
LifeV.cpp
LifeDebug.cpp
EncoderBase64.cpp
Displayer.cpp
StringUtility.cpp
Parser.cpp
EncoderBase64.cpp
StringData.cpp
StringUtility.cpp
LifeAssertSmart.cpp
LifeDebug.cpp
Switch.cpp
FactoryTypeInfo.cpp
LifeAssertSmart.cpp )
Parser.cpp
FactoryTypeInfo.cpp )
install ( TARGETS lifecore DESTINATION lib )
install ( FILES CBlas.hpp
CLapack.hpp
......
add_library ( lifefem QuadraturePoint.cpp
add_library ( lifefem BCBase.cpp
QuadratureRuleProvider.cpp
BCHandler.cpp
FEDefinitions.cpp
OneDFSIBC.cpp
CurrentBoundaryFE.cpp
BCInterfaceData0D.cpp
BCManage.cpp
ReferenceFE.cpp
ReferenceFEHybrid.cpp
BCFunction.cpp
AssemblyElemental.cpp
CurrentFE.cpp
BCInterfaceData3D.cpp
ReferenceFEHdiv.cpp
BCInterfaceData.cpp
CurrentBoundaryFEBase.cpp
ReferenceFEScalar.cpp
DOFLocalPattern.cpp
OneDFSIBCHandler.cpp
QuadratureRule.cpp
CurrentBoundaryFEBase.cpp
OneDFSIBC.cpp
DOF.cpp
BCVector.cpp
GeometricMap.cpp
BCDataInterpolator.cpp
ReferenceFEHdiv.cpp
DOFInterface3Dto2D.cpp
DOFInterface3Dto3D.cpp
BCIdentifier.cpp
BCInterfaceData1D.cpp
BCManage.cpp
BCHandler.cpp
ReferenceFEScalar.cpp
CurrentBoundaryFE.cpp
BCIdentifier.cpp
ReferenceFEHybrid.cpp
DOFInterface.cpp
DOFLocalPattern.cpp
QuadratureRule.cpp
BCDataInterpolator.cpp
BCInterfaceData3D.cpp
BCFunction.cpp
ReferenceElement.cpp
DOFInterface3Dto2D.cpp
BCVector.cpp
DOFInterface3Dto3D.cpp
TimeData.cpp
BCBase.cpp
QuadratureRuleProvider.cpp )
CurrentFE.cpp
AssemblyElemental.cpp
QuadraturePoint.cpp
GeometricMap.cpp )
install ( TARGETS lifefem DESTINATION lib )
install ( FILES AssemblyElemental.hpp
Assembly.hpp
......@@ -38,8 +39,10 @@ BCDataInterpolator.hpp
BCFunction.hpp
BCHandler.hpp
BCIdentifier.hpp
BCInterface0D.hpp
BCInterface1D.hpp
BCInterface3D.hpp
BCInterfaceData0D.hpp
BCInterfaceData1D.hpp
BCInterfaceData3D.hpp
BCInterfaceData.hpp
......@@ -78,4 +81,6 @@ TimeAdvanceBDFNavierStokes.hpp
TimeAdvanceBDFVariableStep.hpp
TimeAdvance.hpp
TimeAdvanceNewmark.hpp
TimeData.hpp DESTINATION include/life/lifefem)
TimeData.hpp
ZeroDimensionalBCHandler.hpp
ZeroDimensionalBC.hpp DESTINATION include/life/lifefem)
add_library ( lifefilters ImporterMesh3D.cpp
Exporter.cpp
Importer.cpp )
add_library ( lifefilters Exporter.cpp
Importer.cpp
ImporterMesh3D.cpp )
install ( TARGETS lifefilters DESTINATION lib )
install ( FILES ExporterEmpty.hpp
ExporterEnsight.hpp
......
add_library (lifefunctions BCInterfaceFunctionSolverDefined.cpp
OneDFSIFunctionSolverDefined.cpp RossEthierSteinmanDec.cpp
RossEthierSteinmanInc.cpp Womersley.cpp bessel/bessik.cpp
bessel/bessjy.cpp bessel/cbessik.cpp bessel/cbessjy.cpp bessel/gamma.cpp
)
install (TARGETS lifefunctions DESTINATION lib)
install (FILES BCInterfaceFactory.hpp BCInterfaceFunction.hpp BCInterfaceFunctionParserFile.hpp BCInterfaceFunctionParserFileSolver.hpp BCInterfaceFunctionParser.hpp BCInterfaceFunctionParserSolver.hpp BCInterfaceFunctionSolverDefined.hpp BCInterfaceFunctionUserDefined.hpp OneDFSIFunction.hpp OneDFSIFunctionSolverDefined.hpp RossEthierSteinmanDec.hpp RossEthierSteinmanInc.hpp Womersley.hpp DESTINATION include/life/lifefunctions)
install (FILES bessel/bessel.hpp DESTINATION include/life/lifefunctions/bessel)
add_library ( lifefunctions KimMoin.cpp
OneDFSIFunctionSolverDefined.cpp
RossEthierSteinmanDec.cpp
bessel/cbessik.cpp
bessel/cbessjy.cpp
bessel/bessjy.cpp
bessel/bessik.cpp
bessel/gamma.cpp
Womersley.cpp
BCInterfaceFunctionSolverDefined.cpp
RossEthierSteinmanInc.cpp )
install ( TARGETS lifefunctions DESTINATION lib )
install ( FILES BCInterfaceFactory.hpp
BCInterfaceFunction.hpp
BCInterfaceFunctionParserFile.hpp
BCInterfaceFunctionParserFileSolver.hpp
BCInterfaceFunctionParser.hpp
BCInterfaceFunctionParserSolver.hpp
BCInterfaceFunctionSolverDefined.hpp
BCInterfaceFunctionUserDefined.hpp
KimMoin.hpp
OneDFSIFunction.hpp
OneDFSIFunctionSolverDefined.hpp
RossEthierSteinmanDec.hpp
RossEthierSteinmanInc.hpp
Womersley.hpp DESTINATION include/life/lifefunctions)
install ( FILES bessel.hpp DESTINATION include/life/lifefunctions/bessel)
add_library ( lifemesh RegionMesh3DStructured.cpp
ElementShapes.cpp
MeshElementBare.cpp
InternalEntitySelector.cpp
MeshData.cpp
RegionMesh.cpp
MeshVertex.cpp
ElementShapes.cpp
RegionMesh.cpp
MeshElementBare.cpp
MeshUtility.cpp
Marker.cpp )
Marker.cpp
MeshData.cpp )
install ( TARGETS lifemesh DESTINATION lib )
install ( FILES BareMesh.hpp
ElementShapes.hpp
......
add_library ( lifesolver OneDFSISourceNonLinear.cpp
add_library ( lifesolver OseenData.cpp
MonolithicBlockComposedDNND.cpp
FSISolver.cpp
MonolithicBlockMatrix.cpp
ADRData.cpp
MonolithicBlockComposedDNND.cpp
OneDFSIFluxLinear.cpp
FSIMonolithicGE.cpp
HeartIonicData.cpp
MonolithicRobinInterface.cpp
FSIOperator.cpp
OneDFSIData.cpp
MonolithicBlockComposed.cpp
OneDFSIFluxNonLinear.cpp
MonolithicBlockComposedDN.cpp
MonolithicBlockMatrixRN.cpp
MonolithicBlockComposedDND.cpp
ZeroDimensionalData.cpp
OneDFSISourceLinear.cpp
OneDFSISolver.cpp
FSIMonolithic.cpp
HeartFunctors.cpp
HeartBidomainData.cpp
VenantKirchhoffElasticData.cpp
MonolithicBlockComposed.cpp
HeartMonodomainData.cpp
MonolithicBlockComposedNN.cpp
FSIExactJacobian.cpp
OseenData.cpp
OneDFSIData.cpp
FSIMonolithicGE.cpp
FSIData.cpp
OneDFSIPhysicsNonLinear.cpp
FSISolver.cpp
LevelSetData.cpp
FSIFixedPoint.cpp
HeartMonodomainData.cpp
FSIMonolithicGI.cpp
MonolithicBlockMatrixRN.cpp
MonolithicBlock.cpp
FSIData.cpp
OneDFSIPhysicsLinear.cpp
VenantKirchhoffViscoelasticData.cpp )
OneDFSIFluxNonLinear.cpp
ZeroDimensionalCircuitData.cpp
HeartBidomainData.cpp
FSIFixedPoint.cpp
HeartFunctors.cpp
OneDFSIFluxLinear.cpp
FSIOperator.cpp
FSIMonolithicGI.cpp
MonolithicBlockComposedDND.cpp
OneDFSISolver.cpp
ZeroDimensionalRythmosModelInterface.cpp
VenantKirchhoffElasticData.cpp
FSIExactJacobian.cpp
HeartIonicData.cpp
MonolithicRobinInterface.cpp
OneDFSISourceNonLinear.cpp
ZeroDimensionalSolver.cpp
MonolithicBlockComposedDN.cpp
VenantKirchhoffViscoelasticData.cpp
ZeroDimensionalRythmosSolverInterface.cpp )
install ( TARGETS lifesolver DESTINATION lib )
install ( FILES ADRAssembler.hpp
ADRAssemblerIP.hpp
......@@ -94,4 +99,10 @@ VenantKirchhoffElasticHandler.hpp
VenantKirchhoffSolver.hpp
VenantKirchhoffSolverLinear.hpp
VenantKirchhoffViscoelasticData.hpp
VenantKirchhoffViscoelasticSolver.hpp DESTINATION include/life/lifesolver)
VenantKirchhoffViscoelasticSolver.hpp
ZeroDimensionalCircuitData.hpp
ZeroDimensionalData.hpp
ZeroDimensionalDefinitions.hpp
ZeroDimensionalRythmosModelInterface.hpp
ZeroDimensionalRythmosSolverInterface.hpp
ZeroDimensionalSolver.hpp DESTINATION include/life/lifesolver)
set (FOLDER_LIST test_MatrixEpetraStructuredFramework test_TemplateTest lifearray lifecore test_Parser test_VectorContainer lifefem test_FEFunction lifefilters lifemesh test_navierStokes test_ADRAssembler test_bdf test_darcy test_fsi test_hyperbolic test_LevelSetSolver test_structure test_partition test_timeAdvance_orderI test_timeAdvance_orderII test_monolithic)
set (TEST_LIST test_MatrixEpetraStructuredFramework test_TemplateTest test_meshentitycontainer test_vectorsmall test_getPot test_Parser test_VectorContainer test_currentFE test_quadRule test_interpolate test_FEFunction test_filters testExport testImport test_mesh test_navierStokes test_navierStokes_2d test_ADRAssembler test_ADRAssembler_2d test_bdf test_bdf_2d test_darcy test_fsi test_hyperbolic test_LevelSetSolver test_structure test_partition test_cylinder test_timeAdvance1 test_timeAdvance2 test_monolithic)
set (FOLDER_LIST test_MatrixEpetraStructuredFramework test_TemplateTest
lifearray lifecore test_Parser test_VectorContainer lifefem test_FEFunction
lifefilters lifemesh test_navierStokes test_ADRAssembler test_bdf test_darcy
test_fsi test_hyperbolic test_LevelSetSolver test_structure test_partition
test_timeAdvance_orderI test_timeAdvance_orderII test_monolithic
test_ZeroDimensional)
set (TEST_LIST test_MatrixEpetraStructuredFramework test_TemplateTest
test_meshentitycontainer test_vectorsmall test_getPot test_Parser
test_VectorContainer test_currentFE test_quadRule test_interpolate
test_FEFunction test_filters testExport testImport test_mesh test_navierStokes
test_navierStokes_2d test_ADRAssembler test_ADRAssembler_2d test_bdf
test_bdf_2d test_darcy test_fsi test_hyperbolic test_LevelSetSolver
test_structure test_partition test_cylinder test_timeAdvance1
test_timeAdvance2 test_monolithic test_ZeroDimensional)
foreach (component ${FOLDER_LIST})
add_subdirectory(${component})
......
# Add the executable
add_executable (test_ZeroDimensional EXCLUDE_FROM_ALL main.cpp)
target_link_libraries (test_ZeroDimensional ${LIBS})
add_custom_target (test_ZeroDimensional_links
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/RythmosAztecOOParams.xml;RythmosAztecOOParams.xml
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/RythmosAztecOOParamsLowsf.xml;RythmosAztecOOParamsLowsf.xml
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/RythmosBelosParams.xml;RythmosBelosParams.xml
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/data.dat;data.dat
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/circuitFile.dat;circuitFile.dat
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_CURRENT_SOURCE_DIR}/inputFile.dat;inputFile.dat
VERBATIM)
# Fake dependency to ensure that links are made prior to running the test
add_dependencies (test_ZeroDimensional DEPENDS test_ZeroDimensional_links)
add_test (NAME LifeSolver::ZeroDimensional COMMAND test_ZeroDimensional)
Supports Markdown
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