fixed the cuda bug

This commit is contained in:
Wenxuan XU 2025-05-11 02:29:28 +08:00 committed by GitHub
parent b2581cc2a9
commit 80df6bfc9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ bool postSimulationFieldsDataBase::loadPointFieldToTime(const word &name)
{
allPointFields_.push_back
(
makeUnique<pointField_H<real>>
makeUnique<pointField_D<real>>
(
objectFile
(
@ -40,7 +40,7 @@ bool postSimulationFieldsDataBase::loadPointFieldToTime(const word &name)
{
allPointFields_.push_back
(
makeUnique<pointField_H<realx3>>
makeUnique<pointField_D<realx3>>
(
objectFile
(
@ -58,7 +58,7 @@ bool postSimulationFieldsDataBase::loadPointFieldToTime(const word &name)
{
allPointFields_.push_back
(
makeUnique<pointField_H<realx4>>
makeUnique<pointField_D<realx4>>
(
objectFile
(
@ -76,7 +76,7 @@ bool postSimulationFieldsDataBase::loadPointFieldToTime(const word &name)
{
allPointFields_.push_back
(
makeUnique<pointField_H<uint32>>
makeUnique<pointField_D<uint32>>
(
objectFile
(
@ -263,4 +263,4 @@ timeValue postSimulationFieldsDataBase::skipNextTimeFolder()
return nextTime;
}
} // namespace pFlow::postprocessData
} // namespace pFlow::postprocessData