diff --git a/include/astaroth.h b/include/astaroth.h index ac20d34..2f66354 100644 --- a/include/astaroth.h +++ b/include/astaroth.h @@ -241,6 +241,10 @@ AcResult acIntegrateGBC(const AcMeshInfo config, const AcReal dt); * the caller*/ AcResult acBoundcondStep(void); +/** Applies general outer boundary conditions for the Mesh distributed among the devices visible to + * the caller*/ +AcResult acBoundcondStepGBC(const AcMeshInfo config); + /** Does a scalar reduction with the data stored in some vertex buffer */ AcReal acReduceScal(const ReductionType rtype, const VertexBufferHandle vtxbuf_handle); diff --git a/src/core/astaroth.cc b/src/core/astaroth.cc index c565699..086e512 100644 --- a/src/core/astaroth.cc +++ b/src/core/astaroth.cc @@ -117,9 +117,9 @@ acBoundcondStep(void) } AcResult -acBoundcondStepGBC(void) //TODO ADAPT +acBoundcondStepGBC(const AcMeshInfo config) { - return acNodeGeneralBoundconds(nodes[0], STREAM_DEFAULT); + return acNodeGeneralBoundconds(nodes[0], STREAM_DEFAULT, config); } AcReal