I want to set y and z direction as periodic BC by:
IndicatorIdentity3D<bool,T> Pore(cuboid+inflow+outflow-Sphere1-Sphere2);
CuboidGeometry3D<T> *cuboidGeometry = new CuboidGeometry3D<T>(Pore, 0.00001/N, singleton::mpi().getSize() );
*cuboidGeometry.setPeriodicity(false, true, true);
The error message is:
” request for member ‘setPeriodicity in ‘cuboidGeometry , which is of non-class type ‘olb::CuboidGeometry 3d<double>*”
In other examples, the Periodic BC can be set by:
CuboidGeometry3D<T> cuboidGeometry(0, 0, 0, 1, nx, ny, nz, noOfCuboids);
cuboidGeometry.setPeriodicity(true, true, true);
So I assume I can set mine as well, but I couldn’t.
Thank you for your help Robin