modification for coupling, data transfer

This commit is contained in:
hamidrezanorouzi
2023-01-02 14:31:40 +03:30
parent 7e858a116f
commit fef0c4fe96
14 changed files with 499 additions and 67 deletions

View File

@ -100,6 +100,16 @@ public:
return velocity_;
}
inline auto velocityHostAll()
{
return velocity_.hostVectorAll();
}
inline auto pointPositionHostAll()
{
return pStruct_.pointPositionHostAll();
}
auto markDeleteOutOfBox(const box& domain)
{
return pStruct_.markDeleteOutOfBox(domain);

View File

@ -67,7 +67,7 @@ protected:
realx3PointField_D& contactForce_;
realx3PointField_D& contactTorque_;
realx3PointField_D& contactTorque_;
// - object handling particle id

View File

@ -108,6 +108,10 @@ public:
return tmp;
}
real startTime()const
{
return startTime_;
}
real currentTime() const
{

View File

@ -255,6 +255,12 @@ public:
FUNCTION_H
const int8Field_HD& pointFlag()const;
INLINE_FUNCTION_H
auto pointPositionHostAll()
{
return pointPosition_.hostVectorAll();
}
// - size of data structure
FUNCTION_H
label size()const;