Added acBoundcondStepGBC() for flexible boundary conditions.

This commit is contained in:
Miikka Vaisala
2020-11-20 15:42:54 +08:00
parent 8732480cd9
commit f87d65408c
2 changed files with 6 additions and 2 deletions

View File

@@ -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);

View File

@@ -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