mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
bug remove for GPU run after CPU MPI parallelization
- specialization of VectorSingle for word - dummyFile creation to solve write to file in MPI mode
This commit is contained in:
@ -62,7 +62,7 @@ public:
|
||||
INLINE_FUNCTION_HD
|
||||
realx3 linVelocityPoint(const realx3 &)const
|
||||
{
|
||||
return zero3;
|
||||
return realx3(0);
|
||||
}
|
||||
|
||||
INLINE_FUNCTION_HD
|
||||
|
@ -76,8 +76,6 @@ protected:
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void impl_setTime(uint32 iter, real t, real dt)const;
|
||||
|
||||
public:
|
||||
|
||||
@ -90,6 +88,7 @@ public:
|
||||
const dictionary& dict,
|
||||
repository* owner);
|
||||
|
||||
using fileDictionary::write;
|
||||
|
||||
bool write(iOstream& os, const IOPattern& iop)const override;
|
||||
|
||||
@ -98,6 +97,9 @@ public:
|
||||
{
|
||||
return rotatingAxis({0,0,0}, {1,0,0}, 0.0);
|
||||
}
|
||||
|
||||
// TODO: make this method protected
|
||||
void impl_setTime(uint32 iter, real t, real dt)const;
|
||||
};
|
||||
|
||||
} // pFlow
|
||||
|
@ -84,6 +84,8 @@ public:
|
||||
repository* owner);
|
||||
|
||||
|
||||
using fileDictionary::write;
|
||||
|
||||
bool write(iOstream& os, const IOPattern& iop)const override;
|
||||
|
||||
static
|
||||
|
@ -82,7 +82,6 @@ protected:
|
||||
return true;
|
||||
}
|
||||
|
||||
void impl_setTime(uint32 iter, real t, real dt)const;
|
||||
|
||||
public:
|
||||
|
||||
@ -99,15 +98,20 @@ public:
|
||||
/// Destructor
|
||||
~vibratingMotion()override = default;
|
||||
|
||||
using fileDictionary::write;
|
||||
|
||||
bool write(iOstream& os, const IOPattern& iop)const override;
|
||||
|
||||
|
||||
|
||||
static
|
||||
auto noneComponent()
|
||||
{
|
||||
return vibrating();
|
||||
}
|
||||
|
||||
// TODO: make this protected
|
||||
void impl_setTime(uint32 iter, real t, real dt)const;
|
||||
};
|
||||
|
||||
} // pFlow
|
||||
|
Reference in New Issue
Block a user