Skip to content

Reply To: Modifying Parameters


Dear Anas,

in the main function of the example a cuboidGeometry is created:

/// Instantiation of an empty cuboidGeometry
CuboidGeometry2D<T> cuboidGeometry(cuboid, converter.getPhysDeltaX(), singleton::mpi().getSize());

Here, you can see that the number of processes is provided as an argument (singleton::mpi().getSize()). Apparently, if this equals 1 or 4, the geometry is falsified. This means for you, that the case would probably work as expected if you run it with a different number of processes, e.g., mpirun -np 3 ./squareCavity2d.

In the meantime, we’re working on a fix.

Hope that answers your question, if not, let me know.

Best regards,