Build the replicated global mesh; for file grids, derive n_cell/endpoints.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(mesh_1d_t), | intent(inout) | :: | mesh | |||
| character(len=*), | intent(in) | :: | grid_type | |||
| character(len=*), | intent(in) | :: | grid_file | |||
| integer, | intent(inout) | :: | n_cell | |||
| real(kind=wp), | intent(inout) | :: | x_left | |||
| real(kind=wp), | intent(inout) | :: | x_right | |||
| logical, | intent(out) | :: | is_ok | |||
| character(len=*), | intent(out) | :: | message |