addGeneralTerm Interface

interface
private pure module subroutine addGeneralTerm(this, genTerm, generalGroups, termName)

Arguments

Type IntentOptional Attributes Name
class(Model), intent(inout) :: this
class(Term), intent(inout), allocatable :: genTerm

General Term object to be reallocated to this model

integer(kind=ik), intent(in), dimension(:) :: generalGroups

General groups the added term should belong to

character(len=*), intent(in) :: termName

Name of added term for indexing purposes

Description

Add a Term object to the model (deallocating the source!), and specify which general groups it belongs to