initAdditiveDeriv Module Subroutine

module subroutine initAdditiveDeriv(this, numDerivs, expectedNumIndices, resultPower, linearCoefficients)

Initialize additive derivation object, allocating the expected number of derivation objects

Arguments

Type IntentOptional Attributes Name
class(AdditiveDerivation), intent(inout) :: this
integer(kind=ik), intent(in) :: numDerivs
integer(kind=ik), intent(in) :: expectedNumIndices
real(kind=rk), intent(in), optional :: resultPower
real(kind=rk), intent(in), optional, dimension(:) :: linearCoefficients