This serves as an simple grid generation for performance or scaling analysis without being obliged to use Seeder. You have to specify the generic grid parameters in the lua file instead of the mesh folder
mesh = { predefined='single',
origin = {0.,0.,0.},
length = 10.}
You have to specify the shape 'single', a bounding box origin and its length. The generated element will have treeID 1 and is periodic in all directions. The given length will be the length of the element, and the bounding cube will be adapted accordingly, to map this to treeID 1.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(treelmesh_type), | intent(out) | :: | me | Mesh to generate |
||
real(kind=rk), | intent(in) | :: | origin(3) | Corner of the cube |
||
real(kind=rk), | intent(in) | :: | length | Length of cube |
||
integer, | intent(in) | :: | myPart | Partition of the caller (starts with 0) |
||
integer, | intent(in) | :: | nParts | Number of partitions |
||
integer, | intent(in) | :: | comm | communicator to be used |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer(kind=long_k), | private | :: | firstID | ||||
integer(kind=long_k), | private | :: | lastID | ||||
integer, | private | :: | iPart |