Desperate but perhaps wrongminded attempts.
Periodic boundary conditions are etched too deep inside...
This commit is contained in:
@@ -782,6 +782,20 @@ acNodePeriodicBoundcondStep(const Node node, const Stream stream,
|
||||
return AC_SUCCESS;
|
||||
}
|
||||
|
||||
AcResult
|
||||
acNodeGeneralBoundcondStep(const Node node, const Stream stream,
|
||||
const VertexBufferHandle vtxbuf_handle)
|
||||
{
|
||||
local_boundcondstep(node, stream, vtxbuf_handle);
|
||||
acNodeSynchronizeVertexBuffer(node, stream, vtxbuf_handle);
|
||||
|
||||
//MV: assume that global step communication is handles by acNodePeriodicBoundcondStep as above.
|
||||
//global_boundcondstep(node, stream, vtxbuf_handle);
|
||||
|
||||
|
||||
return AC_SUCCESS;
|
||||
}
|
||||
|
||||
AcResult
|
||||
acNodePeriodicBoundconds(const Node node, const Stream stream)
|
||||
{
|
||||
@@ -791,6 +805,15 @@ acNodePeriodicBoundconds(const Node node, const Stream stream)
|
||||
return AC_SUCCESS;
|
||||
}
|
||||
|
||||
AcResult
|
||||
acNodeGeneralBoundconds(const Node node, const Stream stream)
|
||||
{
|
||||
for (int i = 0; i < NUM_VTXBUF_HANDLES; ++i) {
|
||||
acNodeGeneralBoundcondStep(node, stream, (VertexBufferHandle)i);
|
||||
}
|
||||
return AC_SUCCESS;
|
||||
}
|
||||
|
||||
static AcReal
|
||||
simple_final_reduce_scal(const Node node, const ReductionType& rtype, const AcReal* results,
|
||||
const int& n)
|
||||
|
Reference in New Issue
Block a user