textbook_procedures Submodule

Contains module procedures associated with the textbook class


Uses


Module Functions

pure module function isDerivationRegistered(this, name) result(reg)

Check whether derivation with given name is registered in the textbook

Arguments

Type IntentOptional Attributes Name
class(Textbook), intent(in) :: this
character(len=*), intent(in) :: name

Return Value logical

pure module function isMatDerivationRegistered(this, name) result(reg)

Check whether matrix derivation with given name is registered in the textbook

Arguments

Type IntentOptional Attributes Name
class(Textbook), intent(in) :: this
character(len=*), intent(in) :: name

Return Value logical


Module Subroutines

pure module subroutine initTextbook(this)

Textbook object initialization

Arguments

Type IntentOptional Attributes Name
class(Textbook), intent(inout) :: this

pure module subroutine addDerivation(this, deriv, name)

Add derivation object to textbook

Arguments

Type IntentOptional Attributes Name
class(Textbook), intent(inout) :: this
class(Derivation), intent(in) :: deriv
character(len=*), intent(in) :: name

pure module subroutine copyDerivation(this, name, deriv)

Copy derivation with given name into passed deriv object, overwriting any existing derivation

Arguments

Type IntentOptional Attributes Name
class(Textbook), intent(in) :: this
character(len=*), intent(in) :: name
class(Derivation), intent(inout), allocatable :: deriv

pure module subroutine addMatDerivation(this, deriv, name)

Add matrix derivation object to textbook

Arguments

Type IntentOptional Attributes Name
class(Textbook), intent(inout) :: this
class(MatDerivation), intent(in) :: deriv
character(len=*), intent(in) :: name

pure module subroutine copyMatDerivation(this, name, deriv)

Copy matrix derivation with given name into passed deriv object, overwriting any existing derivation

Arguments

Type IntentOptional Attributes Name
class(Textbook), intent(in) :: this
character(len=*), intent(in) :: name
class(MatDerivation), intent(inout), allocatable :: deriv