Skip to content

Commit 5a149f3

Browse files
authored
Merge pull request #224 from wanqing0421/postMesh
fixed the cuda bug
2 parents b2581cc + 80df6bf commit 5a149f3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

utilities/postprocessPhasicFlow/postSimulationFieldsDataBase/postSimulationFieldsDataBase.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ bool postSimulationFieldsDataBase::loadPointFieldToTime(const word &name)
2222
{
2323
allPointFields_.push_back
2424
(
25-
makeUnique<pointField_H<real>>
25+
makeUnique<pointField_D<real>>
2626
(
2727
objectFile
2828
(
@@ -40,7 +40,7 @@ bool postSimulationFieldsDataBase::loadPointFieldToTime(const word &name)
4040
{
4141
allPointFields_.push_back
4242
(
43-
makeUnique<pointField_H<realx3>>
43+
makeUnique<pointField_D<realx3>>
4444
(
4545
objectFile
4646
(
@@ -58,7 +58,7 @@ bool postSimulationFieldsDataBase::loadPointFieldToTime(const word &name)
5858
{
5959
allPointFields_.push_back
6060
(
61-
makeUnique<pointField_H<realx4>>
61+
makeUnique<pointField_D<realx4>>
6262
(
6363
objectFile
6464
(
@@ -76,7 +76,7 @@ bool postSimulationFieldsDataBase::loadPointFieldToTime(const word &name)
7676
{
7777
allPointFields_.push_back
7878
(
79-
makeUnique<pointField_H<uint32>>
79+
makeUnique<pointField_D<uint32>>
8080
(
8181
objectFile
8282
(
@@ -263,4 +263,4 @@ timeValue postSimulationFieldsDataBase::skipNextTimeFolder()
263263
return nextTime;
264264
}
265265

266-
} // namespace pFlow::postprocessData
266+
} // namespace pFlow::postprocessData

0 commit comments

Comments
 (0)