Skip to content

Commit

Permalink
fixup: new heat transfer example compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Aug 1, 2024
1 parent 8e21e7e commit 95866fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/thermomechanics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95866fb

Please sign in to comment.