Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(cgf), | intent(inout) | :: | this | The routine is called on this object. |
||
class(cgf), | intent(in) | :: | gf1 | The second grid function. |
||
real(kind=wp), | intent(in) | :: | scalar | The scalar. |
||
class(cgf), | intent(in) | :: | gf2 | The third grid function. |
The interface for a procedure for storing the result of adding a second grid function with a scalar multiplying a third grid function in a grid function.
this%elems(:)%var(:) = gf1%elems(:)%var(:)+scalar*gf2%elems(:)%var(:)