mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-22 16:28:30 +00:00
sphereParticles tested on CPU, iteration, write to file, particle deletion
This commit is contained in:
@ -124,11 +124,11 @@ bool pFlow::AdamsMoulton3::predictAll(
|
||||
range activeRng)
|
||||
{
|
||||
|
||||
auto d_dy = dy.deviceVectorAll();
|
||||
auto d_y = y.deviceVectorAll();
|
||||
auto d_y0 = y0_.deviceVectorAll();
|
||||
auto d_dy0 = dy0_.deviceVectorAll();
|
||||
auto d_dy1= dy1_.deviceVectorAll();
|
||||
auto d_dy = dy.deviceViewAll();
|
||||
auto d_y = y.deviceViewAll();
|
||||
auto d_y0 = y0_.deviceViewAll();
|
||||
auto d_dy0 = dy0_.deviceViewAll();
|
||||
auto d_dy1= dy1_.deviceViewAll();
|
||||
|
||||
Kokkos::parallel_for(
|
||||
"AdamsMoulton3::predict",
|
||||
@ -150,12 +150,12 @@ bool pFlow::AdamsMoulton3::intAll(
|
||||
range activeRng)
|
||||
{
|
||||
|
||||
auto d_dy = dy.deviceVectorAll();
|
||||
auto d_y = y.deviceVectorAll();
|
||||
auto d_dy = dy.deviceViewAll();
|
||||
auto d_y = y.deviceViewAll();
|
||||
|
||||
auto d_dy0 = dy0_.deviceVectorAll();
|
||||
auto d_y0 = y0_.deviceVectorAll();
|
||||
auto d_dy1 = dy1_.deviceVectorAll();
|
||||
auto d_dy0 = dy0_.deviceViewAll();
|
||||
auto d_y0 = y0_.deviceViewAll();
|
||||
auto d_dy1 = dy1_.deviceViewAll();
|
||||
|
||||
Kokkos::parallel_for(
|
||||
"AdamsMoulton3::correct",
|
||||
|
@ -144,11 +144,11 @@ bool AdamsMoulton3::predictRange(
|
||||
realx3Vector_D& dy,
|
||||
activeFunctor activeP)
|
||||
{
|
||||
auto d_dy = dy.deviceVectorAll();
|
||||
auto d_y = y.deviceVectorAll();
|
||||
auto d_y0 = y0_.deviceVectorAll();
|
||||
auto d_dy0 = dy0_.deviceVectorAll();
|
||||
auto d_dy1= dy1_.deviceVectorAll();
|
||||
auto d_dy = dy.deviceViewAll();
|
||||
auto d_y = y.deviceViewAll();
|
||||
auto d_y0 = y0_.deviceViewAll();
|
||||
auto d_dy0 = dy0_.deviceViewAll();
|
||||
auto d_dy1= dy1_.deviceViewAll();
|
||||
|
||||
auto activeRng = activeP.activeRange();
|
||||
|
||||
@ -182,12 +182,12 @@ bool pFlow::AdamsMoulton3::intRange(
|
||||
activeFunctor activeP)
|
||||
{
|
||||
|
||||
auto d_dy = dy.deviceVectorAll();
|
||||
auto d_y = y.deviceVectorAll();
|
||||
auto d_dy = dy.deviceViewAll();
|
||||
auto d_y = y.deviceViewAll();
|
||||
|
||||
auto d_dy0 = dy0_.deviceVectorAll();
|
||||
auto d_y0 = y0_.deviceVectorAll();
|
||||
auto d_dy1 = dy1_.deviceVectorAll();
|
||||
auto d_dy0 = dy0_.deviceViewAll();
|
||||
auto d_y0 = y0_.deviceViewAll();
|
||||
auto d_dy1 = dy1_.deviceViewAll();
|
||||
|
||||
auto activeRng = activeP.activeRange();
|
||||
|
||||
|
Reference in New Issue
Block a user