ij_int_derivation_class Module

Houses Shkarofsky I and J integral derivation object


Used by


Interfaces

interface

  • private module function calculateIJInt(this, inputArray, indices) result(output)

    Arguments

    Type IntentOptional Attributes Name
    class(IJIntDerivation), intent(inout) :: this
    type(RealArray), intent(in), dimension(:) :: inputArray
    integer(kind=ik), intent(in), dimension(:) :: indices

    Return Value real(kind=rk), allocatable, dimension(:)

interface

  • private module subroutine initIJInt(this, vSpaceObj, ind, isJInt)

    Initialize Shkarofsky I/J integral derivation derivation

    Arguments

    Type IntentOptional Attributes Name
    class(IJIntDerivation), intent(inout) :: this
    type(VSpace), intent(in) :: vSpaceObj
    integer(kind=ik), intent(in) :: ind

    Index of indegral

    logical, intent(in), optional :: isJInt

    If true the lower triangular J integral is calculated instead of the I integral. Defaults to false.


Derived Types

type, public, extends(Derivation) ::  IJIntDerivation

Calculates the Shkarofsky I or J integrals for each passed harmonic.

Components

Type Visibility Attributes Name Initial
logical, public :: userDefined = .false.

True only if user explicitly sets it to true

type(SparseRowData), private :: ijMatBuffer

Sparse buffer used to calculate the integrals

integer(kind=ik), private :: numV

Type-Bound Procedures

procedure, public :: isDefined => isDefinedObject
procedure, public :: makeDefined => makeDefinedObject
procedure, public :: makeUndefined => makeUndefinedObject
procedure, public :: init => initIJInt
procedure, public :: calculate => calculateIJInt