gf1_plus_sc_mult_gf2_cgf Interface

interface


Calls

interface~~gf1_plus_sc_mult_gf2_cgf~~CallsGraph interface~gf1_plus_sc_mult_gf2_cgf gf1_plus_sc_mult_gf2_cgf proc~gf1_plus_sc_mult_gf2_cgf gf1_plus_sc_mult_gf2_cgf interface~gf1_plus_sc_mult_gf2_cgf->proc~gf1_plus_sc_mult_gf2_cgf

public module subroutine gf1_plus_sc_mult_gf2_cgf(this, gf1, scalar, gf2)

Arguments

Type IntentOptional AttributesName
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.

Description

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(:)