Creates a new scalar field with a uniform value across all of space but a non-zero gradient.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in) | :: | val | The value of the field |
||
real(kind=r8), | intent(in), | dimension(:) | :: | grad | An array in which the |
A scalar field initated based on teh arguments of this function.