]> SALOME platform Git repositories - tools/solverlab.git/blob
Salome HOME
242585968e1e561088701fd3e7c8989b8c39a1a4
[tools/solverlab.git] /
1
2 SET(SCRIPT
3   ../../scripts/WaveSystemUpwind/WaveSystemUpwind.py
4   )
5
6 file(COPY ${SCRIPT} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
7 install(FILES ${SCRIPT} DESTINATION share/validation/test_validation2DWaveSystemUpwind-Delaunay_triangles_source)
8
9 if (CDMATH_WITH_PYTHON AND CDMATH_WITH_PETSC AND CDMATH_WITH_POSTPRO)
10
11     SET(BCTYPE  Periodic  )
12
13     SET(SCALING  0  )
14
15     ADD_TEST(validationWaveSystem_2DFV_Upwind_Delaunay_triangles_no_scaling_source ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test_validation2DWaveSystemUpwindDelaunayTriangles_source.py ${BCTYPE} ${SCALING})
16     SET_PROPERTY(TEST validationWaveSystem_2DFV_Upwind_Delaunay_triangles_no_scaling_source PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib:${CMAKE_INSTALL_PREFIX}/lib/medcoupling:${CMAKE_INSTALL_PREFIX}/lib/med:${PETSC_DIR}/${PETSC_ARCH}/lib:${HDF5_ROOT_DIR}/lib:${PV_LIB_DIR}")
17     SET_PROPERTY(TEST validationWaveSystem_2DFV_Upwind_Delaunay_triangles_no_scaling_source APPEND PROPERTY ENVIRONMENT "PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}:${CDMATH_BINARY_DIR}/postprocessing:${CMAKE_INSTALL_PREFIX}/${MEDCOUPLING_INSTALL_PYTHON}:${PV_PYTHON_DIR}:${CMAKE_INSTALL_PREFIX}/lib/cdmath:${CMAKE_INSTALL_PREFIX}/bin/cdmath")
18
19     SET(SCALING  2  )
20
21     ADD_TEST(validationWaveSystem_2DFV_Upwind_Delaunay_triangles_scaling_source ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test_validation2DWaveSystemUpwindDelaunayTriangles_source.py ${BCTYPE} ${SCALING})
22     SET_PROPERTY(TEST validationWaveSystem_2DFV_Upwind_Delaunay_triangles_scaling_source PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib:${CMAKE_INSTALL_PREFIX}/lib/medcoupling:${CMAKE_INSTALL_PREFIX}/lib/med:${PETSC_DIR}/${PETSC_ARCH}/lib:${HDF5_ROOT_DIR}/lib:${PV_LIB_DIR}")
23     SET_PROPERTY(TEST validationWaveSystem_2DFV_Upwind_Delaunay_triangles_scaling_source APPEND PROPERTY ENVIRONMENT "PYTHONPATH=${CMAKE_CURRENT_BINARY_DIR}:${CDMATH_BINARY_DIR}/postprocessing:${CMAKE_INSTALL_PREFIX}/${MEDCOUPLING_INSTALL_PYTHON}:${PV_PYTHON_DIR}:${CMAKE_INSTALL_PREFIX}/lib/cdmath:${CMAKE_INSTALL_PREFIX}/bin/cdmath")
24
25 endif (CDMATH_WITH_PYTHON AND CDMATH_WITH_PETSC AND CDMATH_WITH_POSTPRO)
26
27