The values along the Z-axis are essentially a simple extension of the 2D case when utilizing PETSc's random number generator.
Instead of 2D random cases, it should be "real" random values!
We could use, either the random number generator from PETSc or the one from ctime standard library.
The values along the Z-axis are essentially a simple extension of the 2D case when utilizing PETSc's random number generator. Instead of 2D random cases, it should be "real" random values!
We could use, either the random number generator from PETSc or the one from
ctime
standard library.