
Houses class containing named derivation rules
Check whether derivation with given name is registered in the textbook
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Textbook), | intent(in) | :: | this | |||
| character(len=*), | intent(in) | :: | name |
Check whether matrix derivation with given name is registered in the textbook
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Textbook), | intent(in) | :: | this | |||
| character(len=*), | intent(in) | :: | name |
Textbook object initialization
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Textbook), | intent(inout) | :: | this |
Add derivation object to textbook
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Textbook), | intent(inout) | :: | this | |||
| class(Derivation), | intent(in) | :: | deriv | |||
| character(len=*), | intent(in) | :: | name |
Copy derivation with given name into passed deriv object, overwriting any existing derivation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Textbook), | intent(in) | :: | this | |||
| character(len=*), | intent(in) | :: | name | |||
| class(Derivation), | intent(inout), | allocatable | :: | deriv |
Add matrix derivation object to textbook
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Textbook), | intent(inout) | :: | this | |||
| class(MatDerivation), | intent(in) | :: | deriv | |||
| character(len=*), | intent(in) | :: | name |
Copy matrix derivation with given name into passed deriv object, overwriting any existing derivation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Textbook), | intent(in) | :: | this | |||
| character(len=*), | intent(in) | :: | name | |||
| class(MatDerivation), | intent(inout), | allocatable | :: | deriv |
Object storing named derivations
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
| type(DerivationContainer), | private, | allocatable, dimension(:) | :: | derivations | |||
| type(StringArray), | private, | allocatable, dimension(:) | :: | derivationNames | |||
| type(MatDerivationContainer), | private, | allocatable, dimension(:) | :: | matDerivations | |||
| type(StringArray), | private, | allocatable, dimension(:) | :: | matDerivationNames |
| procedure, public :: isDefined => isDefinedObject | |
| procedure, public :: makeDefined => makeDefinedObject | |
| procedure, public :: makeUndefined => makeUndefinedObject | |
| procedure, public :: addDerivation | |
| procedure, public :: isDerivationRegistered | |
| procedure, public :: copyDerivation | |
| procedure, public :: addMatDerivation | |
| procedure, public :: isMatDerivationRegistered | |
| procedure, public :: copyMatDerivation | |
| procedure, public :: init => initTextbook |