diff --git a/examples/thermomechanics/CMakeLists.txt b/examples/thermomechanics/CMakeLists.txt index eeadc247..f08ec6e1 100644 --- a/examples/thermomechanics/CMakeLists.txt +++ b/examples/thermomechanics/CMakeLists.txt @@ -4,7 +4,7 @@ target_link_libraries(ThermalDeformation LINK_PUBLIC CabanaPD) add_executable(ThermalCrack thermal_crack.cpp) target_link_libraries(ThermalCrack LINK_PUBLIC CabanaPD) -add_executable(ThermalDeformationHeatTransfer thermal_deformation.cpp) +add_executable(ThermalDeformationHeatTransfer thermal_deformation_heat_transfer.cpp) target_link_libraries(ThermalDeformationHeatTransfer LINK_PUBLIC CabanaPD) install(TARGETS ThermalDeformation ThermalCrack ThermalDeformationHeatTransfer DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/examples/thermomechanics/thermal_deformation_heat_transfer.cpp b/examples/thermomechanics/thermal_deformation_heat_transfer.cpp index 7fb21a79..3db6d4fa 100644 --- a/examples/thermomechanics/thermal_deformation_heat_transfer.cpp +++ b/examples/thermomechanics/thermal_deformation_heat_transfer.cpp @@ -113,7 +113,8 @@ void thermalDeformationHeatTransferExample( const std::string filename ) { temp( pid ) = temp0 + 5000.0 * ( x( pid, 1 ) - low_corner_y ) * t; }; - auto bc = CabanaPD::createBoundaryCondition( temp_func, plane, false ); + auto bc = CabanaPD::createBoundaryCondition( temp_func, exec_space{}, + *particles, plane, false ); // ==================================================== // Simulation run