Skip to content
Snippets Groups Projects
Commit 5a42999f authored by Anna Wellmann's avatar Anna Wellmann
Browse files

Start adding geoBC

parent 8d5718c6
No related branches found
No related tags found
1 merge request!112Synchronize OpenSource GridGenerator and Develop
......@@ -89,6 +89,14 @@ void CudaKernelManager::runVelocityBCKernel(SPtr<Parameter> para)
}
}
void CudaKernelManager::runGeoBCKernel(SPtr<Parameter> para)
{
if (para->getParD()->numberOfVeloBCnodes > 0)
{
// ...
}
}
void CudaKernelManager::calculateMacroscopicValues(SPtr<Parameter> para)
{
if (para->getIsADcalculationOn()) {
......
......@@ -55,6 +55,9 @@ public:
//! \brief calls the device function of the velocity boundary condition
void runVelocityBCKernel(SPtr<Parameter> para);
//! \brief calls the device function of the geometry boundary condition
void runGeoBCKernel(SPtr<Parameter> para);
//! \brief calls the device function that calculates the macroscopic values
void calculateMacroscopicValues(SPtr<Parameter> para);
......
......@@ -84,6 +84,11 @@ struct ParameterStruct{
//! \brief number of lattice nodes for the velocity boundary condition
uint numberOfVeloBCnodes;
//////////////////////////////////////////////////////////////////////////
//! \brief stores the geometry boundary condition data
QforBoundaryConditions geometryBC;
//! \brief number of lattice nodes for the velocity boundary condition
uint numberOfgeometryBCnodes;
//////////////////////////////////////////////////////////////////////////
//! \brief sets the forcing uniform on every fluid node in all three space dimensions
real *forcing;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment