Skip to content

Commit

Permalink
Merge branch 'feature/vehicle_tests'
Browse files Browse the repository at this point in the history
  • Loading branch information
rserban committed Feb 3, 2025
2 parents 6c57c7e + 3769d59 commit cc8a7ff
Show file tree
Hide file tree
Showing 10 changed files with 1,804 additions and 177 deletions.
2 changes: 2 additions & 0 deletions archive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ Support for GPU (CUDA) implementation of MPM in the Chrono::Multicore module.
Implementation of BiCGStab and GMRES for ISPH

- Retired on 29 January 2025


2 changes: 1 addition & 1 deletion configuration_tests/fsi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ set(DEMOS
# Invoke find_package in CONFIG mode
find_package(Chrono QUIET
COMPONENTS FSI Multicore
OPTIONAL_COMPONENTS OpenGL
OPTIONAL_COMPONENTS OpenGL VSG
CONFIG
)

Expand Down
439 changes: 263 additions & 176 deletions configuration_tests/fsi/demo_FSI_cylinderDrop.cpp

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions projects/vehicle_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ set(ALL_DEPENDENCY_DLLS "${ALL_DEPENDENCY_DLLS}" PARENT_SCOPE)
message(STATUS "Programs...")
add_subdirectory(test_steeringControl)
add_subdirectory(test_FEDA)
add_subdirectory(test_BMW_E90)
add_subdirectory(test_Cherokee)

if (CHRONO_IRRLICHT_FOUND)
message(STATUS "Programs using Chrono::Irrlicht...")
Expand Down
25 changes: 25 additions & 0 deletions projects/vehicle_tests/test_BMW_E90/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#--------------------------------------------------------------
# List of all executables
#--------------------------------------------------------------

SET(DEMOS
test_VEH_BMW_E90_wall2wall
)

#--------------------------------------------------------------
# Loop over all demo programs and build them
#--------------------------------------------------------------

FOREACH(PROGRAM ${DEMOS})
MESSAGE(STATUS "...add ${PROGRAM}")

ADD_EXECUTABLE(${PROGRAM} "${PROGRAM}.cpp")
SOURCE_GROUP("" FILES "${PROGRAM}.cpp")

target_compile_definitions(${PROGRAM} PUBLIC "CHRONO_DATA_DIR=\"${CHRONO_DATA_DIR}\"")
target_compile_definitions(${PROGRAM} PUBLIC "CHRONO_VEHICLE_DATA_DIR=\"${CHRONO_VEHICLE_DATA_DIR}\"")
target_compile_options(${PROGRAM} PUBLIC ${CHRONO_CXX_FLAGS})
target_link_options(${PROGRAM} PUBLIC ${CHRONO_LINKER_FLAGS})
target_link_libraries(${PROGRAM} ${CHRONO_LIBRARIES})

ENDFOREACH()
Loading

0 comments on commit cc8a7ff

Please sign in to comment.