Abstract term providing basic interfaces for build terms used in explicit timestepping
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
character(len=:), | private, | allocatable | :: | evolvedVarName |
Name of evolved variable |
||
class(Operator), | private, | allocatable | :: | termOperator |
Optional operator used by this term |
Getter for userDefined
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(in) | :: | this |
Set userDefined to .true.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
Set userDefined to .false.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
Setter for termOperator
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ExplicitTerm), | intent(inout) | :: | this | |||
class(Operator), | intent(in) | :: | op |
Set evolved variable name
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ExplicitTerm), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | evolvedVarName |
Evaluates the term as outerFun * [* operatorTerm%actOn(innerFun)] depending on whether the Operator is allocated
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ExplicitTerm), | intent(in) | :: | this | |||
type(VariableContainer), | intent(in) | :: | varCont |
Default multiplicative function - returns a real vector of ones based on evolvedVarName. In general should use passed variable container to construct a vector conforming to the evolved variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ExplicitTerm), | intent(in) | :: | this | |||
type(VariableContainer), | intent(in) | :: | varCont |
Default multiplicative function - returns a real vector of ones based on evolvedVarName. In general should use passed variable container to construct a vector conforming to the evolved variable
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ExplicitTerm), | intent(in) | :: | this | |||
type(VariableContainer), | intent(in) | :: | varCont |
Default update function - just calls update on Operator if allocated
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ExplicitTerm), | intent(inout) | :: | this | |||
type(VariableContainer), | intent(in) | :: | varCont |
Variable container used in update |
||
class(ModelboundData), | intent(in), | optional | :: | modelData |
Reference model data - unused |
|
class(ModelSurrogate), | intent(in), | optional | :: | hostModel |
Host model - unused |
Get name of the evolved variable of this term
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(ExplicitTerm), | intent(in) | :: | this |