sc_mult_gf1_plus_sc_mult_gf2_cgf Interface

interface


Calls

interface~~sc_mult_gf1_plus_sc_mult_gf2_cgf~~CallsGraph interface~sc_mult_gf1_plus_sc_mult_gf2_cgf sc_mult_gf1_plus_sc_mult_gf2_cgf proc~sc_mult_gf1_plus_sc_mult_gf2_cgf sc_mult_gf1_plus_sc_mult_gf2_cgf interface~sc_mult_gf1_plus_sc_mult_gf2_cgf->proc~sc_mult_gf1_plus_sc_mult_gf2_cgf

public module subroutine sc_mult_gf1_plus_sc_mult_gf2_cgf(this, gf1, scalar1, gf2, scalar2)

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

The first scalar.

class(cgf), intent(in) :: gf2

The third grid function.

real(kind=wp), intent(in) :: scalar2

The second scalar.

Description

The interface for a procedure for storing the result of adding a scalar multiplying a second grid function with another scalar multiplying a third grid function in a grid function.

this%elems(:)%var(:) = scalar1*gf1%elems(:)%var(:)+scalar2*gf2%elems(:)%var(:)